:root {
    --indigo: #3f00ff;
    --pink: #fc78b9;
    --mint: #00f5d4;
    --dark-space: #050508;
    --panel-bg: rgba(15, 15, 25, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #e0e0e0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--dark-space);
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(63, 0, 255, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(252, 120, 185, 0.08) 0%, transparent 40%);
    background-attachment: fixed;
    padding: 20px;
    line-height: 1.6;
}

.container { max-width: 1100px; margin: 0 auto; }

.glass-card {
    background: var(--panel-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    margin-bottom: 24px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.7);
    overflow: hidden; /* Ensures banner doesn't spill out of corners */
}

/* --- UPDATED 1920x480 HEADER --- */
.main-header { 
    border-top: 4px solid var(--indigo);
}

.banner-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 480; /* Maintains the cinematic shape */
    background: #111;
}

.wide-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pfp-container {
    position: absolute;
    bottom: -40px;
    left: 40px;
    z-index: 10;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid var(--dark-space);
    outline: 2px solid var(--pink);
    background: #1a1a1a;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.header-content {
    padding: 60px 40px 40px; /* Space for the overlapping PFP */
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.title-group h1 { font-size: 2.2rem; color: #fff; letter-spacing: -1px; }
.tagline { color: var(--pink); font-weight: 500; }

/* Buttons & Navigation */
.nav-links { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
    text-decoration: none; padding: 12px 24px; border-radius: 12px;
    font-weight: 700; font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 1px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex; align-items: center;
    background: rgba(255, 255, 255, 0.03);
}

.btn-yt { border: 1.5px solid var(--pink); color: var(--pink); }
.btn-twitch { border: 1.5px solid var(--indigo); color: var(--indigo); }
.btn-discord { border: 1.5px solid var(--mint); color: var(--mint); }

.btn-yt:hover { background: var(--pink); color: #000; box-shadow: 0 0 20px rgba(252, 120, 185, 0.4); }
.btn-twitch:hover { background: var(--indigo); color: #fff; box-shadow: 0 0 20px rgba(63, 0, 255, 0.5); }
.btn-discord:hover { background: var(--mint); color: #000; box-shadow: 0 0 20px rgba(0, 245, 212, 0.4); }
.btn:hover { transform: translateY(-4px); }

/* Support Strip */
.support-strip { display: flex; align-items: center; justify-content: space-between; border-left: 4px solid var(--mint); padding: 30px 40px; }
.support-btns { display: flex; gap: 12px; }

/* Content Sections */
.section-title { margin: 40px 40px 25px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 3px; color: var(--indigo); display: flex; align-items: center; gap: 15px; }
.section-title::after { content: ""; height: 1px; flex-grow: 1; background: var(--glass-border); }

.video-main { margin: 0 40px 30px; aspect-ratio: 16/9; background: #000; border-radius: 16px; overflow: hidden; }
.series-grid { padding: 0 40px 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.series-card { background: rgba(255,255,255,0.02); padding: 20px; border-radius: 16px; border: 1px solid var(--glass-border); }
.series-card h3 { color: var(--pink); font-size: 0.85rem; margin-bottom: 12px; }
.yt-thumb { width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 8px; }

/* Server Box */
.server-box { margin: 0 40px 40px; display: flex; align-items: center; justify-content: center; gap: 30px; padding: 30px; background: rgba(0, 245, 212, 0.03); border-radius: 20px; border: 1px dashed rgba(0, 245, 212, 0.2); }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: #333; }
.status-dot.online { background: var(--mint); box-shadow: 0 0 15px var(--mint); }
.ip-text { font-family: 'Courier New', monospace; font-size: 1.2rem; color: var(--mint); }

/* Mobile Adjustments */
/* --- MOBILE FIX FOR BANNER & PFP --- */
@media (max-width: 768px) {
    /* 1. Reset the PFP container so it doesn't overlap the banner */
    .pfp-container { 
        position: relative; /* Removes it from the "floating" layer */
        bottom: 0; 
        left: 0; 
        transform: none;
        margin: -60px auto 0; /* Pulls it halfway up over the bottom edge */
        display: flex;
        justify-content: center;
    }

    /* 2. Ensure the banner keeps its shape and isn't covered */
    .banner-wrapper {
        aspect-ratio: 1920 / 480; /* Maintains the ultrawide look */
        margin-bottom: 20px; /* Adds space for the PFP below it */
    }

    /* 3. Center the text and buttons for mobile */
    .header-content {
        text-align: center;
        padding: 20px 20px 40px;
        justify-content: center;
    }

    .nav-links {
        justify-content: center;
        width: 100%;
    }
}
