/* =========================================
   1. VARIABLES & THEME - BLACK & RED
   ========================================= */
:root {
    /* Colors - Deep Black & Crimson Red */
    --bg-deep: #0a0a0a;
    --bg-darker: #050505;
    --bg-panel: rgba(15, 15, 20, 0.8);
    --bg-card: rgba(20, 20, 25, 0.6);
    
    /* Primary Red */
    --primary: #ff1744;
    --primary-dark: #d50000;
    --primary-glow: rgba(255, 23, 68, 0.6);
    --primary-light: rgba(255, 23, 68, 0.1);
    
    /* Secondary - Dark Red */
    --secondary: #b71c1c;
    --secondary-glow: rgba(183, 28, 28, 0.5);
    
    /* Accent */
    --accent: #ff5252;
    --accent-glow: rgba(255, 82, 82, 0.4);
    
    /* Text */
    --text-main: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #757575;
    --text-dim: #424242;
    
    /* Borders */
    --glass-border: rgba(255, 23, 68, 0.15);
    --glass-border-hover: rgba(255, 23, 68, 0.4);
    
    /* Easing */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

@font-face {
    font-family: 'BlackRed';
    src: url('font/font-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

button {
    font-family: "BlackRed", sans-serif;
    font-size: 16px;
}


/* =========================================
   2. RESET & BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-darker);
    color: var(--text-main);
    font-family: 'BlackRed', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

/* =========================================
   3. BACKGROUND EFFECTS
   ========================================= */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

/* Animated Grid Background */
.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 23, 68, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 23, 68, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

/* Floating Orbs */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 10s ease-in-out infinite;
}

.bg-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.bg-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(183, 28, 28, 0.4), transparent 70%);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.bg-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -2.5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

/* Noise Texture Overlay */
.bg-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Scanlines */
.bg-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

/* =========================================
   4. LOADER - RED THEME
   ========================================= */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.loader-content {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
}

.ring-1 {
    width: 100%;
    height: 100%;
    border-top-color: var(--primary);
    border-right-color: var(--primary);
    animation: spin 1.5s linear infinite;
    box-shadow: 
        0 0 30px var(--primary-glow),
        inset 0 0 30px var(--primary-glow);
}

.ring-2 {
    width: 75%;
    height: 75%;
    border-bottom-color: var(--accent);
    border-left-color: var(--accent);
    animation: spin-reverse 1s linear infinite;
    box-shadow: 0 0 20px var(--accent-glow);
}

.ring-3 {
    width: 50%;
    height: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

.loader-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 0 15px var(--primary));
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-text {
    margin-top: 40px;
    font-size: 0.85rem;
    letter-spacing: 6px;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    animation: flicker 2s infinite;
}

@keyframes spin { 
    0% { transform: rotate(0deg); } 
    100% { transform: rotate(360deg); } 
}

@keyframes spin-reverse { 
    0% { transform: rotate(0deg); } 
    100% { transform: rotate(-360deg); } 
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
    52% { opacity: 1; }
    54% { opacity: 0.3; }
    56% { opacity: 1; }
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* =========================================
   5. HEADER - GLASS & GLOW
   ========================================= */
.HYDRAPVP-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1300px;
    z-index: 1000;
    animation: slideDown 1s var(--ease-elastic) forwards;
    opacity: 0;
}

.header-container {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px 0 20px;
    height: 70px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-smooth);
}

.header-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
}

.header-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-light), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.header-container:hover::after {
    opacity: 1;
}

.header-container:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 
        0 0 40px rgba(255, 23, 68, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Brand */
.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    text-decoration: none;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s var(--ease-elastic);
    box-shadow: 
        0 0 20px var(--primary-glow),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.logo-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 0 40px var(--primary-glow),
        0 0 80px rgba(255, 23, 68, 0.3);
}

.logo-icon:hover::before {
    opacity: 1;
    animation: borderRotate 2s linear infinite;
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    filter: brightness(0) invert(1);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
}

.brand-name::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.brand-wrapper:hover .brand-name::after {
    width: 100%;
}

.brand-sub {
    font-size: 0.6rem;
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Navigation */
.nav-links {
    display: flex;
    gap: 4px;
    background: rgba(0, 0, 0, 0.3);
    padding: 6px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s;
    opacity: 0.2;
}

.nav-item:hover {
    color: #fff;
}

.nav-item:hover::before {
    width: 100%;
    height: 100%;
    border-radius: 50px;
}

.nav-item.active {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-connect {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 20px var(--primary-glow),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-connect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.6s;
}

.btn-connect:hover::before {
    left: 100%;
}

.btn-connect:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 40px var(--primary-glow),
        0 0 60px rgba(255, 23, 68, 0.3);
}

.btn-connect:active {
    transform: translateY(-1px);
}

.btn-discord {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-discord::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #5865F2;
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.3s;
}

.btn-discord:hover::before {
    transform: scale(1);
}

.btn-discord:hover {
    border-color: #5865F2;
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(88, 101, 242, 0.5);
}

.btn-discord svg {
    position: relative;
    z-index: 1;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

@keyframes slideDown {
    0% { transform: translateX(-50%) translateY(-100px); opacity: 0; }
    100% { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* =========================================
   6. HERO SECTION - IMMERSIVE
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Holographic Effect */
.holo-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: 
        conic-gradient(from 0deg, 
            transparent 0deg,
            var(--primary) 60deg,
            transparent 120deg,
            var(--accent) 180deg,
            transparent 240deg,
            var(--primary) 300deg,
            transparent 360deg
        );
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(100px);
    animation: holoRotate 20s linear infinite;
}

@keyframes holoRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Hero Particles */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: particleFloat 15s infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) scale(1);
    }
    100% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
}

/* Hero Content */
.hero-content {
    max-width: 1000px;
    z-index: 2;
    position: relative;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 24px;
    background: rgba(255, 23, 68, 0.1);
    border: 1px solid var(--primary);
    border-radius: 100px;
    margin-bottom: 50px;
    animation: fadeInUp 1s var(--ease-out-expo) forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.status-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 23, 68, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 15px #00ff88;
    animation: statusPulse 1.5s infinite;
    position: relative;
    z-index: 1;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 15px #00ff88; }
    50% { transform: scale(1.2); box-shadow: 0 0 25px #00ff88; }
}

.status-text {
    color: #00ff88;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.player-count {
    color: var(--text-muted);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

/* Hero Logo */
.hero-logo-wrapper {
    margin-bottom: 40px;
    animation: fadeInUp 1s var(--ease-out-expo) 0.1s forwards;
    opacity: 0;
}

.hero-logo-container {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto;
}

.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

.hero-ring-1 {
    width: 100%;
    height: 100%;
    border-top-color: var(--primary);
    border-right-color: var(--primary);
    animation: spin 3s linear infinite;
    box-shadow: 
        0 0 30px var(--primary-glow),
        inset 0 0 30px var(--primary-glow);
}

.hero-ring-2 {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-bottom-color: var(--accent);
    border-left-color: var(--accent);
    animation: spin-reverse 2s linear infinite;
    box-shadow: 0 0 20px var(--accent-glow);
}

.hero-ring-3 {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-top-color: #fff;
    border-right-color: #fff;
    animation: spin 1.5s linear infinite;
    opacity: 0.5;
}

.hero-ring-4 {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border: 3px solid var(--primary);
    animation: pulseRing 2s ease-in-out infinite;
}

@keyframes pulseRing {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.hero-logo-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35%;
    height: 35%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px var(--primary));
    animation: logoGlow 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 20px var(--primary)); }
    50% { filter: drop-shadow(0 0 40px var(--primary)) drop-shadow(0 0 60px var(--primary-glow)); }
}

/* Hero Title */
.hero-title {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 25px;
    background: linear-gradient(180deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s var(--ease-out-expo) 0.2s forwards;
    opacity: 0;
    position: relative;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 30px var(--primary-glow));
}

/* Glitch Effect */
.glitch-wrapper {
    position: relative;
    display: inline-block;
}

.glitch-wrapper::before,
.glitch-wrapper::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-wrapper::before {
    color: var(--primary);
    animation: glitch1 3s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.glitch-wrapper::after {
    color: var(--accent);
    animation: glitch2 2s infinite linear alternate-reverse;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitch1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(-3px, -3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(3px, -3px); }
}

@keyframes glitch2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(3px, -3px); }
    40% { transform: translate(3px, 3px); }
    60% { transform: translate(-3px, -3px); }
    80% { transform: translate(-3px, 3px); }
}

/* Hero Subtitle */
.hero-sub {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 50px;
    min-height: 2em;
    animation: fadeInUp 1s var(--ease-out-expo) 0.4s forwards;
    opacity: 0;
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 1.3em;
    background: var(--primary);
    margin-left: 4px;
    animation: cursorBlink 1s step-end infinite;
    box-shadow: 0 0 10px var(--primary);
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s var(--ease-out-expo) 0.6s forwards;
    opacity: 0;
}

.cta-btn {
    padding: 18px 42px;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-elastic);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.cta-btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 
        0 0 30px var(--primary-glow),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.cta-btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.6s;
}

.cta-btn.primary:hover::before {
    left: 100%;
}

.cta-btn.primary:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 
        0 15px 50px var(--primary-glow),
        0 0 80px rgba(255, 23, 68, 0.4);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.cta-btn.secondary:hover {
    background: rgba(255, 23, 68, 0.1);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 23, 68, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 1s var(--ease-out-expo) 1s forwards;
    opacity: 0;
}

.scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

.scroll-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   7. STATS SECTION
   ========================================= */
.stats-section {
    padding: 120px 20px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.section-header .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* Card Base */
.card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 45px 35px;
    overflow: hidden;
    transition: all 0.5s var(--ease-elastic);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: default;
    opacity: 0;
    transform: translateY(40px);
    animation: cardReveal 0.8s var(--ease-out-expo) forwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }

@keyframes cardReveal {
    to { opacity: 1; transform: translateY(0); }
}

/* Card Glow Effect */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        var(--primary-light),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-10px);
    box-shadow: 
        0 30px 80px rgba(255, 23, 68, 0.15),
        0 0 0 1px var(--glass-border-hover);
}

/* Card Corner Accent */
.card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at top right, var(--primary-light), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.card:hover::after {
    opacity: 1;
}

/* Card Icon */
.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), transparent);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 30px;
    transition: all 0.4s var(--ease-elastic);
    position: relative;
    z-index: 1;
}

.card:hover .card-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 
        0 0 40px var(--primary-glow),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    border-color: transparent;
}

/* Card Content */
.card-content {
    position: relative;
    z-index: 1;
}

.card h3 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 800;
    transition: color 0.3s;
}

.card:hover h3 {
    color: var(--primary);
}

.card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
    transition: color 0.3s;
}

.card:hover p {
    color: var(--text-secondary);
}

/* Card Number/Stat */
.card-stat {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 10px;
    text-shadow: 0 0 30px var(--primary-glow);
}

/* =========================================
   8. TEAM SECTION
   ========================================= */
.team-section {
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.team-section .section-header {
    margin-bottom: 60px;
}

/* Slider Container */
.team-slider-container {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 0;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

/* Slider Track */
.team-slider-track {
    display: flex;
    gap: 30px;
    width: max-content;
    will-change: transform;
    animation: teamSlide 35s linear infinite;
}

.team-slider-track:hover {
    animation-play-state: paused;
}

@keyframes teamSlide {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Team Member Card */
.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 35px 30px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    min-width: 200px;
    transition: all 0.4s var(--ease-elastic);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.team-member::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-light), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.team-member::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 26px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
    filter: blur(15px);
}

.team-member:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: transparent;
    box-shadow: 0 30px 60px rgba(255, 23, 68, 0.25);
}

.team-member:hover::before {
    opacity: 1;
}

.team-member:hover::after {
    opacity: 0.6;
}

/* Avatar */
.member-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: var(--bg-darker);
}

.team-member:hover .member-avatar {
    transform: scale(1.1);
    box-shadow: 0 0 40px var(--primary-glow);
}

/* Member Info */
.member-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    text-align: center;
    transition: color 0.3s;
}

.team-member:hover .member-name {
    color: var(--primary);
}

.member-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
    text-align: center;
    transition: color 0.3s;
}

.team-member:hover .member-role {
    color: var(--accent);
}

/* =========================================
   9. FOOTER
   ========================================= */
.footer {
    position: relative;
    background: linear-gradient(180deg, var(--bg-darker) 0%, #000 100%);
    margin-top: 100px;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse at center top, var(--primary-glow), transparent 70%);
    opacity: 0.15;
    pointer-events: none;
}

/* Footer Main */
.footer-main {
    padding: 80px 0 50px;
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 50px);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 50px;
}

/* Footer Brand */
.footer-brand {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
}

.footer-logo {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 25px var(--primary-glow));
    transition: all 0.4s ease;
}

.footer-logo-img:hover {
    filter: drop-shadow(0 0 40px var(--primary-glow));
    transform: scale(1.08);
}

.footer-desc {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-muted);
    margin: 25px 0 30px;
    text-align: center;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    color: var(--text-muted);
    transition: all 0.4s var(--ease-elastic);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    transform: scale(0);
    border-radius: 12px;
    transition: transform 0.3s;
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link:hover {
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-6px) rotate(5deg);
    box-shadow: 0 15px 35px var(--primary-glow);
}

.social-link svg {
    width: 22px;
    height: 22px;
    position: relative;
    z-index: 1;
}

/* Footer Links */
.footer-links {
    min-width: 180px;
}

.footer-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 2px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-list a {
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding-right: 0;
}

.footer-list a::before {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-list a:hover {
    color: var(--primary);
    padding-right: 25px;
}

.footer-list a:hover::before {
    opacity: 1;
    right: 0;
}

/* Footer Bottom */
.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.footer-bottom-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 50px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Credit */
.footer-credit {
    flex: 1;
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-credit a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
}

.footer-credit a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-credit a:hover::after {
    width: 100%;
}

.footer-credit a:hover {
    text-shadow: 0 0 15px var(--primary-glow);
}

/* Copyright */
.footer-copyright {
    flex: 2;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.copyright-symbol {
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
}

.copyright-year {
    color: #fff;
    font-weight: 600;
}

.copyright-brand {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Spacer */
.footer-spacer {
    flex: 1;
}

/* =========================================
   10. SCROLL TO TOP BUTTON
   ========================================= */
.scroll-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.8);
    transition: all 0.4s var(--ease-elastic);
    z-index: 1000;
    box-shadow: 
        0 10px 40px var(--primary-glow),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.scroll-top::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    filter: blur(15px);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 
        0 20px 60px var(--primary-glow),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
}

.scroll-top:hover::before {
    opacity: 1;
}

.scroll-top:hover svg {
    transform: translateY(-3px);
}

.scroll-top:active {
    transform: translateY(-4px) scale(1.05);
}

/* =========================================
   11. CUSTOM SCROLLBAR
   ========================================= */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    border-radius: 5px;
    border: 2px solid var(--bg-darker);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent), var(--primary));
}

/* =========================================
   12. SELECTION
   ========================================= */
::selection {
    background: var(--primary);
    color: #fff;
}

::-moz-selection {
    background: var(--primary);
    color: #fff;
}

/* =========================================
   13. RESPONSIVE - TABLET
   ========================================= */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 15px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: clamp(3rem, 8vw, 5rem);
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .team-member {
        min-width: 180px;
        padding: 30px 25px;
    }
    
    .member-avatar {
        width: 85px;
        height: 85px;
    }
}

/* =========================================
   14. RESPONSIVE - MOBILE
   ========================================= */
@media (max-width: 768px) {
    .HYDRAPVP-header {
        top: 15px;
        width: calc(100% - 30px);
    }
    
    .header-container {
        height: 60px;
        border-radius: 16px;
    }
    
    .logo-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }
    
    .brand-name {
        font-size: 1.1rem;
    }
    
    .brand-sub {
        display: none;
    }
    
    .btn-connect {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .btn-discord {
        width: 40px;
        height: 40px;
    }
    
    /* Hero */
    .hero {
        padding: 120px 20px 60px;
    }
    
    .hero-logo-container {
        width: 160px;
        height: 160px;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .hero-sub {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
    }
    
    .status-badge {
        flex-direction: column;
        gap: 8px;
        padding: 15px 25px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    /* Stats */
    .stats-section {
        padding: 80px 20px;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .section-header h2 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .card {
        padding: 35px 25px;
    }
    
    .card-icon {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }
    
    .card h3 {
        font-size: 1.4rem;
    }
    
    /* Team */
    .team-section {
        padding: 60px 15px;
    }
    
    .team-slider-container {
        padding: 30px 0;
    }
    
    .team-member {
        min-width: 160px;
        padding: 25px 20px;
        gap: 14px;
    }
    
    .member-avatar {
        width: 70px;
        height: 70px;
    }
    
    .member-name {
        font-size: 0.85rem;
    }
    
    .member-role {
        font-size: 0.65rem;
    }
    
    /* Footer */
    .footer-main {
        padding: 60px 0 40px;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-list a::before {
        display: none;
    }
    
    .footer-list a:hover {
        padding-right: 0;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-credit,
    .footer-copyright {
        justify-content: center;
    }
    
    .footer-spacer {
        display: none;
    }
    
    /* Scroll Top */
    .scroll-top {
        bottom: 25px;
        right: 25px;
        width: 50px;
        height: 50px;
    }
}

/* =========================================
   15. RESPONSIVE - SMALL MOBILE
   ========================================= */
@media (max-width: 480px) {
    .hero-logo-container {
        width: 130px;
        height: 130px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-sub {
        font-size: 1rem;
    }
    
    .cta-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .card {
        padding: 30px 20px;
    }
    
    .card-stat {
        font-size: 2.8rem;
    }
    
    .team-member {
        min-width: 140px;
        padding: 20px 15px;
    }
    
    .member-avatar {
        width: 60px;
        height: 60px;
    }
    
    .footer-logo-img {
        height: 55px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
}

/* =========================================
   16. ACCESSIBILITY
   ========================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .team-slider-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .bg-grid,
    .bg-orb,
    .bg-scanlines {
        animation: none;
    }
    
    .scroll-top.visible {
        transform: scale(1);
    }
}

/* Focus States */
a:focus-visible,
button:focus-visible,
.nav-item:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

.social-link:focus-visible,
.scroll-top:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

/* =========================================
   17. PRINT STYLES
   ========================================= */
@media print {
    .bg-effects,
    #loader,
    .scroll-top,
    .hero-bg,
    .hero-particles {
        display: none !important;
    }
    
    body {
        background: #fff;
        color: #000;
    }
    
    .card,
    .team-member,
    .footer {
        background: #f5f5f5;
        border: 1px solid #ddd;
    }
}

/* =========================================
   18. DARK MODE (Already Dark, but enhanced)
   ========================================= */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
    }
}

/* =========================================
   19. HIGH CONTRAST MODE
   ========================================= */
@media (prefers-contrast: high) {
    :root {
        --text-muted: #aaa;
        --glass-border: rgba(255, 255, 255, 0.3);
    }
    
    .card {
        border-width: 2px;
    }
    
    .btn-connect,
    .cta-btn.primary {
        border: 2px solid #fff;
    }
}

/* =========================================
   20. UTILITY CLASSES
   ========================================= */
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-white { color: #fff; }

.bg-primary { background: var(--primary); }
.bg-dark { background: var(--bg-darker); }

.glow-primary { box-shadow: 0 0 30px var(--primary-glow); }
.glow-accent { box-shadow: 0 0 30px var(--accent-glow); }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}