    :root {
                --primary: #ff3e3e;
                --primary-dim: #a82020;
                --accent-glow: #ff3e3e;
                
                --bg-deep: #050505;
                --bg-card: rgba(20, 20, 20, 0.6);
                --bg-card-hover: rgba(30, 30, 30, 0.8);
                
                --text-main: #ffffff;
                --text-muted: #888888;
                
                --glass-border: rgba(255, 255, 255, 0.08);
                --glass-blur: 20px;

                /* Rank Colors */
                --rank-owner: #ff3e3e;     /* Red */
                --rank-admin: #5865F2;     /* Discord Blue/Purple */
                --rank-dev: #2ecc71;       /* Emerald Green */
            }

            * {
                box-sizing: border-box;
                scroll-behavior: smooth;
            }

            body {
                background-color: var(--bg-deep);
                background-image: 
                    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
                background-size: 50px 50px;
                color: var(--text-main);
                font-family: 'Outfit', sans-serif;
                margin: 0;
                padding: 0;
                line-height: 1.6;
                overflow-x: hidden;
            }

            /* Ambient Glow Orb */
            .glow-orb {
                position: fixed;
                top: 50%;
                left: 50%;
                width: 600px;
                height: 600px;
                background: radial-gradient(circle, rgba(255, 62, 62, 0.15) 0%, transparent 70%);
                transform: translate(-50%, -50%);
                z-index: -1;
                pointer-events: none;
                filter: blur(80px);
                animation: breathe 10s infinite alternate;
            }

            @keyframes breathe {
                0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.8); }
                100% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
            }

            /* --- Floating Navigation --- */
            nav {
                position: fixed;
                top: 20px;
                left: 50%;
                transform: translateX(-50%);
                width: 90%;
                max-width: 1000px;
                padding: 12px 25px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                background: rgba(10, 10, 10, 0.7);
                backdrop-filter: blur(var(--glass-blur));
                -webkit-backdrop-filter: blur(var(--glass-blur));
                border: 1px solid var(--glass-border);
                border-radius: 100px;
                z-index: 1000;
                box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            }

            .nav-logo {
                font-weight: 800;
                font-size: 1.2rem;
                text-transform: uppercase;
                color: white;
                text-decoration: none;
                letter-spacing: 1px;
                display: flex;
                align-items: center;
                gap: 10px;
                cursor: pointer;
            }
            
            .pulse-dot {
                width: 10px; height: 10px;
                background: var(--primary);
                border-radius: 50%;
                box-shadow: 0 0 10px var(--primary);
            }

            .nav-links {
                display: flex;
                gap: 5px;
                background: rgba(255,255,255,0.05);
                padding: 5px;
                border-radius: 50px;
            }

            .nav-links a {
                color: var(--text-muted);
                text-decoration: none;
                padding: 8px 18px;
                border-radius: 50px;
                font-weight: 600;
                font-size: 0.85rem;
                transition: all 0.3s;
                cursor: pointer;
            }
            
            .nav-links a:hover { color: white; background: rgba(255,255,255,0.1); }
            .nav-links a.active { background: var(--primary); color: white; }

            /* VIEW MANAGEMENT */
            .view-section {
                display: block;
                width: 100%;
                min-height: 100vh;
                animation: fadeIn 0.5s ease-out forwards; /* 'forwards' ensures it stays visible */
                opacity: 1 !important; /* Force opacity just in case */
            }
            .hidden {
                display: none !important;
            }

            @keyframes fadeIn {
                from { opacity: 0; transform: translateY(10px); }
                to { opacity: 1; transform: translateY(0); }
            }

            /* --- Hero Section --- */
            .hero {
                min-height: 100vh;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                text-align: center;
                padding: 140px 20px 80px;
            }

            .hero h1 {
                font-size: 4.5rem;
                line-height: 1;
                margin: 0 0 15px;
                font-weight: 800;
                letter-spacing: -2px;
                background: linear-gradient(180deg, #fff 0%, #aaa 100%);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
            }

            .hero p {
                font-size: 1.1rem;
                color: var(--text-muted);
                margin: 0 auto 50px;
                max-width: 500px;
                font-family: 'JetBrains Mono', monospace;
            }

            /* --- HARDWARE PLAYER CARD --- */
            .player-wrapper {
                position: relative;
                z-index: 10;
            }

            .player-wrapper::before {
                content: '';
                position: absolute;
                top: 20px; left: 0; right: 0; bottom: -20px;
                background: var(--primary);
                border-radius: 40px;
                filter: blur(50px);
                opacity: 0.3;
                z-index: -1;
                transition: opacity 0.3s;
            }
            
            .playing .player-wrapper::before { opacity: 0.5; }

            .player-card {
                background: #0f0f0f;
                border: 1px solid rgba(255,255,255,0.1);
                padding: 5px; 
                border-radius: 40px;
                width: 360px;
                box-shadow: 0 20px 50px rgba(0,0,0,0.8);
                position: relative;
                overflow: hidden;
            }

            .player-inner {
                background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
                border-radius: 35px;
                padding: 35px 25px;
                display: flex;
                flex-direction: column;
                align-items: center;
                border: 1px solid rgba(255,255,255,0.05);
            }

            /* Visualizer */
            .visualizer {
                display: flex;
                align-items: flex-end;
                justify-content: center;
                gap: 6px;
                height: 50px;
                margin-bottom: 30px;
            }
            .bar {
                width: 8px;
                background: linear-gradient(to top, var(--primary), #ff8888);
                border-radius: 4px;
                height: 6px;
                transition: height 0.1s;
                box-shadow: 0 0 10px var(--primary-dim);
            }
            .playing .bar { animation: bounce 1s infinite ease-in-out; }
            .playing .bar:nth-child(1) { animation-delay: 0.0s; }
            .playing .bar:nth-child(2) { animation-delay: 0.2s; }
            .playing .bar:nth-child(3) { animation-delay: 0.4s; }
            .playing .bar:nth-child(4) { animation-delay: 0.1s; }
            .playing .bar:nth-child(5) { animation-delay: 0.3s; }

            @keyframes bounce {
                0%, 100% { height: 8px; opacity: 0.5; }
                50% { height: 40px; opacity: 1; }
            }

            /* Play Button */
            .play-btn {
                background: #e0e0e0;
                border: none;
                width: 80px; height: 80px;
                border-radius: 50%;
                color: #111;
                font-size: 26px;
                cursor: pointer;
                box-shadow: 
                    0 0 0 5px rgba(255,255,255,0.05),
                    0 10px 20px rgba(0,0,0,0.5);
                transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
                display: grid;
                place-items: center;
                position: relative;
                z-index: 2;
            }
            
            .play-btn:hover { 
                transform: scale(1.05); 
                background: #fff;
                box-shadow: 
                    0 0 0 5px rgba(255, 62, 62, 0.2), 
                    0 0 20px var(--primary);
            }
            
            .play-btn.active {
                background: var(--primary);
                color: white;
                box-shadow: 0 0 30px var(--primary);
            }
            
            .play-btn:disabled { 
                opacity: 0.8; cursor: wait; transform: scale(0.95); 
            }

            .play-btn i { width: 30px; margin-left: 4px; transition: 0.2s; }
            .play-btn.active i { margin-left: 0; }
            .fa-spinner { margin-left: 0 !important; }

            /* Status & Song Info */
            .status {
                margin-top: 25px;
                font-size: 0.7rem;
                font-weight: 700;
                letter-spacing: 2px;
                color: #444;
                font-family: 'JetBrains Mono', monospace;
                text-transform: uppercase;
                background: rgba(0,0,0,0.3);
                padding: 5px 10px;
                border-radius: 4px;
            }
            .playing .status { color: var(--primary); background: rgba(255, 62, 62, 0.1); }

            .song-info {
                margin-top: 15px;
                text-align: center;
                width: 100%;
                overflow: hidden;
            }

            .song-title {
                font-size: 1.1rem;
                font-weight: 700;
                color: white;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                margin-bottom: 5px;
            }
            
            .song-artist {
                font-size: 0.8rem;
                color: var(--text-muted);
                font-family: 'JetBrains Mono', monospace;
            }

            /* Volume Slider */
            .volume-container {
                width: 100%;
                margin-top: 25px;
                display: flex;
                align-items: center;
                gap: 15px;
                color: #555;
            }

            .volume-slider {
                -webkit-appearance: none;
                width: 100%;
                height: 4px;
                background: #333;
                border-radius: 2px;
                outline: none;
            }

            .volume-slider::-webkit-slider-thumb {
                -webkit-appearance: none;
                width: 10px;
                height: 10px;
                background: #fff;
                border-radius: 50%;
                cursor: pointer;
                transition: 0.2s;
                box-shadow: 0 0 10px rgba(255,255,255,0.5);
            }
            .volume-slider::-webkit-slider-thumb:hover { transform: scale(1.5); background: var(--primary); }

            /* --- Sections --- */
            .section {
                padding: 100px 20px;
                max-width: 1100px;
                margin: 0 auto;
            }

            .section-header { margin-bottom: 60px; text-align: center; }
            .section-header h2 { 
                font-size: 2.5rem; margin-bottom: 10px; font-weight: 800; 
                text-shadow: 0 0 30px rgba(255,255,255,0.1);
            }
            
            .grid-3 {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                gap: 20px;
            }
            
            .grid-2 {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 40px;
                align-items: center;
            }

            .feature-card {
                background: var(--bg-card);
                border: 1px solid var(--glass-border);
                padding: 30px;
                border-radius: 20px;
                transition: 0.3s;
                position: relative;
                overflow: hidden;
            }
            
            .feature-card:hover {
                border-color: rgba(255, 62, 62, 0.4);
                transform: translateY(-5px);
                background: var(--bg-card-hover);
            }

            .feature-card i {
                font-size: 2rem;
                color: var(--primary);
                margin-bottom: 20px;
                background: rgba(255, 62, 62, 0.1);
                width: 60px; height: 60px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 12px;
            }
            
            .feature-card h3 { margin: 0 0 10px; font-size: 1.3rem; }
            .feature-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

            /* Stats Box */
            .stats-box {
                background: linear-gradient(135deg, #111, #1a1a1a);
                padding: 40px;
                border-radius: 30px;
                border: 1px solid rgba(255,255,255,0.05);
                box-shadow: 0 20px 40px rgba(0,0,0,0.3);
            }
            .stat-item strong { 
                font-size: 2.5rem; 
                display: block; 
                color: white; 
                font-family: 'JetBrains Mono', monospace;
            }

                /* --- TEAM STYLES --- */
                .tier-label {
                    text-align: center;
                    font-size: 0.85rem;
                    font-weight: 700;
                    text-transform: uppercase;
                    letter-spacing: 4px;
                    color: var(--text-muted);
                    margin: 60px 0 40px;
                    position: relative;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-family: 'JetBrains Mono', monospace;
                }
                
                .tier-label::before, .tier-label::after {
                    content: '';
                    height: 1px;
                    width: 40px;
                    background: rgba(255,255,255,0.1);
                    margin: 0 20px;
                }

                .tier-grid {
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: center;
                    gap: 30px;
                }

                .team-card {
                    background: var(--bg-card);
                    border: 1px solid var(--glass-border);
                    border-radius: 24px;
                    padding: 35px;
                    text-align: center;
                    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
                    position: relative;
                    overflow: hidden;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    width: 320px;
                    backdrop-filter: blur(10px);
                }

                .team-card:hover {
                    transform: translateY(-10px) scale(1.02);
                    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
                    background: var(--bg-card-hover);
                }

                /* Rank Specific Styles */
                .team-card.rank-exec {
                    width: 380px; 
                    border-top: 2px solid var(--rank-owner);
                    background: linear-gradient(180deg, rgba(255, 62, 62, 0.08) 0%, rgba(10,10,10,0.8) 100%);
                }
                .team-card.rank-exec:hover { box-shadow: 0 30px 80px rgba(255, 62, 62, 0.2); }

                .team-card.rank-mgmt { border-top: 2px solid var(--rank-admin); }
                .team-card.rank-mgmt:hover { 
                    box-shadow: 0 30px 60px rgba(88, 101, 242, 0.2); 
                    border-color: rgba(88, 101, 242, 0.4);
                }

                .team-card.rank-dev { border-top: 2px solid var(--rank-dev); }
                .team-card.rank-dev:hover { 
                    box-shadow: 0 30px 60px rgba(46, 204, 113, 0.2); 
                    border-color: rgba(46, 204, 113, 0.4);
                }

            /* PFP */
            .pfp-wrapper {
                width: 110px; height: 110px;
                margin-bottom: 25px;
                position: relative;
                z-index: 2;
            }
            .rank-exec .pfp-wrapper { width: 140px; height: 140px; }

            .pfp-wrapper img {
                width: 100%; height: 100%;
                border-radius: 50%;
                object-fit: cover;
                border: 2px solid rgba(255,255,255,0.1);
                padding: 4px;
                background: transparent;
                transition: 0.3s;
            }

            .team-card:hover .pfp-wrapper img {
                border-color: white;
                background: rgba(255,255,255,0.1);
            }
            
            .rank-exec:hover .pfp-wrapper img { border-color: var(--rank-owner); background: rgba(255,62,62,0.1); }
            .rank-mgmt:hover .pfp-wrapper img { border-color: var(--rank-admin); background: rgba(88,101,242,0.1); }
            .rank-dev:hover .pfp-wrapper img { border-color: var(--rank-dev); background: rgba(46,204,113,0.1); }

            .role-badge {
                font-size: 0.7rem; font-weight: 700;
                padding: 6px 14px; border-radius: 50px;
                text-transform: uppercase; letter-spacing: 1px;
                margin-bottom: 15px; display: inline-block;
                font-family: 'JetBrains Mono', monospace;
            }

            .rank-exec .role-badge { background: rgba(255, 62, 62, 0.15); color: var(--rank-owner); border: 1px solid rgba(255,62,62,0.2); }
            .rank-mgmt .role-badge { background: rgba(88, 101, 242, 0.15); color: var(--rank-admin); border: 1px solid rgba(88,101,242,0.2); }
            .rank-dev .role-badge { background: rgba(46, 204, 113, 0.15); color: var(--rank-dev); border: 1px solid rgba(46,204,113,0.2); }

            .member-name { font-size: 1.5rem; font-weight: 800; margin: 0 0 10px; color: white; letter-spacing: -0.5px; }
            .member-bio { font-size: 0.95rem; color: #999; margin-bottom: 10px; line-height: 1.6; max-width: 90%; }

            /* Skills Ticker */
            .skills-container {
                width: 100%; overflow: hidden; white-space: nowrap;
                position: absolute; bottom: 0; left: 0; padding: 12px 0;
                background: rgba(0,0,0,0.8); border-top: 1px solid rgba(255,62,62,0.2);
                mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
            }

            .skills-ticker { display: inline-block; animation: ticker 30s linear infinite; }
            .skills-ticker span { display: inline-block; padding: 0 15px; font-size: 0.75rem; color: #ccc; font-family: 'JetBrains Mono', monospace; opacity: 0.8; }
            .skills-ticker span i { margin-right: 6px; color: var(--rank-owner); }

            @keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

            /* Discord Section */
            .discord-section {
                background: linear-gradient(180deg, rgba(88, 101, 242, 0.05), transparent);
                border-radius: 30px;
                padding: 80px 20px;
                text-align: center;
                border: 1px solid rgba(88, 101, 242, 0.15);
                position: relative;
            }
            
            .btn-discord {
                display: inline-flex;
                align-items: center;
                gap: 12px;
                background: #5865F2;
                color: white;
                padding: 16px 40px;
                border-radius: 12px;
                text-decoration: none;
                font-weight: 700;
                font-size: 1.1rem;
                margin-top: 30px;
                transition: 0.3s;
                border: 1px solid rgba(255,255,255,0.1);
            }
            .btn-discord:hover {
                background: #4752c4;
                transform: translateY(-2px);
                box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
            }

            /* Footer */
            footer {
                border-top: 1px solid var(--glass-border);
                padding: 60px 20px;
                text-align: center;
                margin-top: 100px;
                color: #555;
                font-size: 0.9rem;
            }
            .socials a { color: #888; margin: 0 15px; font-size: 1.3rem; transition: 0.2s; }
            .socials a:hover { color: white; }

            /* Warning Popup */
            .warning-popup {
                position: fixed;
                bottom: 30px; right: 30px;
                background: rgba(255, 204, 0, 0.9);
                backdrop-filter: blur(10px);
                color: black;
                padding: 25px;
                border-radius: 15px;
                width: 320px;
                display: none;
                z-index: 2000;
                box-shadow: 0 20px 50px rgba(0,0,0,0.5);
                font-weight: 600;
                border: 1px solid rgba(255,255,255,0.2);
                animation: slideUp 0.5s ease-out;
            }
            @keyframes slideUp { from { transform: translateY(100px); opacity: 0; } to { transform: translateY(0); opacity: 1; }}

            /* Mobile */
            @media (max-width: 768px) {
                .hero h1 { font-size: 3rem; }
                nav { width: 95%; padding: 15px 20px; }
                .nav-links { display: none; }
                .grid-2 { grid-template-columns: 1fr; }
                .player-card { width: 100%; max-width: 340px; }
                .team-card { width: 100%; max-width: 350px; }
                .skills-container { mask-image: none; }
            }
            /* --- HEADER ALIGNMENT FIX --- */
    .page-header {
        width: 100%;
        text-align: center;            /* Centers the text horizontally */
        padding-top: 180px;            /* Pushes it down below the navbar */
        padding-bottom: 40px;          /* Adds space between text and cards */
        display: flex;
        flex-direction: column;
        align-items: center;           /* Ensures flex children are centered */
        justify-content: center;
    }

    .page-header h1 {
        font-size: 4rem;
        margin-bottom: 10px;
        /* Optional: Makes the title pop more */
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.1); 
    }

    .page-header p {
        font-size: 1.2rem;
        color: var(--text-muted, #888); /* Fallback color if var missing */
        max-width: 600px;              /* Prevents text from stretching too wide */
        margin: 0 auto;                /* Centers the paragraph block */
    }
