:root {
    --bg-dark: #050505;
    --bg-darker: #000000;
    --bg-card: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --accent-primary: #7c3aed;
    --accent-glow: rgba(124, 58, 237, 0.25);
    --accent-secondary: #a855f7;
    --border: rgba(255, 255, 255, 0.08);
    --border-bright: rgba(255, 255, 255, 0.2);
    --bg-primary: #080808;
    --border-primary: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #020202;
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    position: relative;
}

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* Containers */
.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.nav-minimal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 20, 0.7);
    backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.nav-minimal.scrolled {
    background: rgba(10, 14, 20, 0.95);
    border-bottom: 1px solid var(--border-bright);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo wrapper s animovaným textem */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: var(--accent-primary);
    text-shadow: 0 0 20px var(--accent-glow);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo:hover {
    text-shadow: 0 0 30px var(--accent-glow), 0 0 40px var(--accent-glow);
    transform: scale(1.05);
}

.logo img {
    height: 32px !important;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Glitch efekt pro MLRP text */
.glitch {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    position: relative;
    display: inline-block;
    text-shadow: 
        0 0 10px var(--accent-glow),
        0 0 20px var(--accent-glow),
        0 0 30px var(--accent-glow);
    animation: glowPulse 3s ease-in-out infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    color: #ff00de;
    animation: glitchTop 2.5s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
    text-shadow: 2px 0 #ff00de;
}

.glitch::after {
    color: #00fff9;
    animation: glitchBottom 2s infinite;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
    text-shadow: -2px 0 #00fff9;
}

@keyframes glitchTop {
    0%, 90%, 100% {
        transform: translate(0);
    }
    92% {
        transform: translate(-2px, -2px);
    }
    94% {
        transform: translate(2px, 1px);
    }
    96% {
        transform: translate(-1px, 2px);
    }
}

@keyframes glitchBottom {
    0%, 85%, 100% {
        transform: translate(0);
    }
    87% {
        transform: translate(2px, 2px);
    }
    89% {
        transform: translate(-2px, -1px);
    }
    91% {
        transform: translate(1px, -2px);
    }
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 
            0 0 10px var(--accent-glow),
            0 0 20px var(--accent-glow),
            0 0 30px var(--accent-glow);
        filter: brightness(1);
    }
    50% {
        text-shadow: 
            0 0 15px var(--accent-glow),
            0 0 30px var(--accent-glow),
            0 0 45px var(--accent-glow),
            0 0 60px var(--accent-glow);
        filter: brightness(1.2);
    }
}

.logo-subtitle {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    opacity: 0.6;
    animation: fadeSlide 2s ease-in-out infinite;
}

@keyframes fadeSlide {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(0);
    }
    50% {
        opacity: 0.9;
        transform: translateX(2px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .logo-text {
        display: none;
    }
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.server-pulse {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid var(--border-bright);
    border-radius: 8px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--accent-glow);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

.status-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.nav-link:hover {
    color: var(--text-primary);
}


.nav-link-store {
    padding: 8px 18px !important;
    background: linear-gradient(135deg, #7c3aed 0%, #ff00de 100%) !important;
    color: white !important;
    font-weight: 800;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    border: none !important;
    display: inline-flex !important;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.nav-link-store::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    animation: storeShine 3s infinite;
}

.nav-link-store:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 0, 222, 0.6);
    background: linear-gradient(135deg, #8a4bff 0%, #ff1aef 100%) !important;
}

@keyframes storeShine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.nav-link-special {
    padding: 11px 26px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link-special:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-primary);
}

/* Hero Section */
/* Hero Modern Section */
.hero-modern {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 40px 60px;
    overflow: hidden;
    background: black;
}

/* Background Image Overlay on Right Side */
.hero-modern::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background-image: url('img/Navrh_bez_nazvu_11.png');
    background-size: contain;
    background-position: bottom right;
    background-repeat: no-repeat;
    mask-image: linear-gradient(to right, transparent, black 10%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%);
    opacity: 0.8;
    z-index: 0;
    pointer-events: none;
}
/* If Navrh_bez_nazvu_11.png is transparent character cutouts, this approach might look wrong if it has a white bg.
   Assuming consistent dark style or transparent PNG. */

.hero-grid {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge-server {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 15, 25, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
    width: fit-content;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.hero-badge-server:hover {
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.25);
    transform: translateY(-2px);
}

.status-dot-pulse {
    width: 10px;
    height: 10px;
    background-color: #a855f7;
    border-radius: 50%;
    box-shadow: 0 0 15px #a855f7;
    animation: pulse 2s infinite;
    position: relative;
}

.status-dot-pulse::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    border-radius: 50%;
    border: 1px solid #a855f7;
    animation: ripple 2s infinite;
    opacity: 0;
}

@keyframes ripple {
    0% { transform: scale(0.5); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.status-text-server {
    font-size: 13px;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.hero-title-large {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: clamp(48px, 6vw, 96px);
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: white;
}

.hero-title-large .text-purple {
    color: #8b5cf6;
    text-shadow: 0 0 100px rgba(139, 92, 246, 0.3);
}

.hero-description-simple {
    font-size: 18px;
    line-height: 1.6;
    color: #9ca3af;
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background-color: #7c3aed;
    color: white;
    font-weight: 700;
    font-size: 16px;
    border-radius: 8px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-play:hover {
    background-color: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6);
}

.btn-discord-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 700;
    font-size: 16px;
    border-radius: 8px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-discord-outline:hover {
    border-color: white;
}

.btn-discord-login {
    background: #5865F2;
    background: linear-gradient(135deg, #5865F2 0%, #4752c4 100%);
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-discord-login::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.btn-discord-login:hover {
    background-color: #4752c4;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.5) !important;
}

.btn-discord-login:hover::before {
    transform: translateX(100%);
}

.nav-link {
    color: #e5e7eb;
    font-weight: 600;
    font-size: 15px;
    text-transform: capitalize;
    transition: color 0.2s;
    text-decoration: none;
    margin: 0 12px;
}

.nav-link:hover {
    color: white;
}


.hero-particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.15), transparent);
    background-size: 200% 200%;
    animation: particles 20s linear infinite;
    opacity: 0.4;
}

@keyframes particles {
    0%, 100% { background-position: 0% 0%, 50% 50%, 100% 100%, 0% 100%; }
    50% { background-position: 100% 100%, 0% 0%, 50% 50%, 100% 0%; }
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(100, 181, 246, 0.4) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(156, 39, 176, 0.3) 0%, transparent 70%);
    top: 50%;
    right: -150px;
    animation-delay: 2s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.25) 0%, transparent 70%);
    bottom: -100px;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 255, 127, 0.1);
    border: 1px solid rgba(0, 255, 127, 0.3);
    border-radius: 50px;
    width: fit-content;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #00ff7f;
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 127, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(0, 255, 127, 0); }
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #00ff7f;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(56px, 8vw, 88px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.title-line {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}

.title-line.highlight {
    background: linear-gradient(135deg, #64b5f6 0%, #9c27b0 50%, #00d9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
    text-shadow: 0 0 60px rgba(100, 181, 246, 0.5);
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 24px;
}

/* Server IP Box */
.server-ip-box {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(145, 70, 255, 0.1));
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 12px;
    margin-bottom: 32px;
}

.ip-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--accent-primary);
    text-transform: uppercase;
}

.ip-value {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ip-text {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.copy-ip-btn {
    background: rgba(0, 217, 255, 0.15);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 6px;
    padding: 6px 8px;
    color: var(--accent-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-ip-btn:hover {
    background: rgba(0, 217, 255, 0.25);
    border-color: var(--accent-primary);
    transform: scale(1.05);
}

.copy-ip-btn:active {
    transform: scale(0.95);
}

.hero-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(35, 38, 45, 0.6);
    border: 1px solid var(--border);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.stat-box:hover {
    background: rgba(35, 38, 45, 0.9);
    border-color: var(--border-bright);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-primary);
    font-family: 'Courier New', monospace;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    font-weight: 800;
    font-size: 16px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.btn-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #64b5f6, #9c27b0, #00d9ff);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.btn-primary:hover .btn-glow {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(59, 130, 246, 0.5);
    filter: brightness(1.2);
}

.btn-text,
.btn-arrow {
    position: relative;
    z-index: 1;
    transition: color 0.4s;
}

.btn-arrow {
    transition: transform 0.3s;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(145, 70, 255, 0.5);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    border-radius: 12px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(145, 70, 255, 0.1);
    border-color: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(145, 70, 255, 0.3);
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(35, 38, 45, 0.8);
    border: 2px solid var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-left: -12px;
    transition: transform 0.3s;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar:hover {
    transform: translateY(-4px);
    z-index: 10;
}

.avatar-more {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(100, 181, 246, 0.2);
    border: 2px solid var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-left: -12px;
}

.social-text {
    font-size: 14px;
    color: var(--text-muted);
}

.social-text strong {
    color: var(--text-primary);
    font-weight: 700;
}

.hero-right {
    position: relative;
}

.hero-showcase {
    position: relative;
    height: 500px;
}

.showcase-card {
    position: absolute;
    width: 280px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(35, 38, 45, 0.95) 0%, rgba(30, 33, 40, 0.9) 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.showcase-card:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: var(--border-bright);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.card-1 {
    top: 0;
    left: 0;
    animation: float-card 6s ease-in-out infinite;
}

.card-2 {
    top: 120px;
    right: 0;
    animation: float-card 6s ease-in-out infinite 2s;
}

.card-3 {
    bottom: 0;
    left: 40px;
    animation: float-card 6s ease-in-out infinite 4s;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.card-icon {
    font-size: 32px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.card-status {
    padding: 4px 12px;
    background: rgba(0, 255, 127, 0.15);
    border: 1px solid rgba(0, 255, 127, 0.3);
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #00ff7f;
}

.card-2 .card-status {
    background: rgba(255, 107, 107, 0.15);
    border-color: rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
}

.card-3 .card-status {
    background: rgba(100, 181, 246, 0.15);
    border-color: rgba(100, 181, 246, 0.3);
    color: #64b5f6;
}

.card-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 8px;
}

.card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.scroll-hint {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
    color: #52525b;
}

/* Horizontal line effect */
.scroll-hint::before {
    content: '';
    position: absolute;
    top: 45px; /* Adjust to center of mouse */
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 30%, rgba(255, 255, 255, 0.05) 70%, transparent 100%);
    z-index: -1;
}

.mouse-icon {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    position: relative;
    background: #000; /* Black background to hide the line behind mouse */
    margin-bottom: 16px;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.mouse-wheel {
    width: 4px;
    height: 6px;
    background: #7c3aed; /* Purple */
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel-scroll 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(124, 58, 237, 0.4);
}

.scroll-hint span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #52525b; /* Darker gray text */
    text-transform: uppercase;
}

@keyframes wheel-scroll {
    0% { transform: translate(-50%, 0); opacity: 0; }
    20% { transform: translate(-50%, 0); opacity: 1; }
    80% { transform: translate(-50%, 8px); opacity: 0; }
    100% { transform: translate(-50%, 8px); opacity: 0; }
    50% { opacity: 1; transform: translateY(10px); }
}

/* World Section */
/* World Experience Section */
.world-experience {
    padding: 140px 0;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
    position: relative;
}

.world-experience::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.section-header-left {
    max-width: 800px;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.section-heading {
    font-size: clamp(40px, 7vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.highlight-gradient {
    background: linear-gradient(135deg, #64b5f6 0%, #9c27b0 50%, #00d9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
}

.section-description {
    font-size: 19px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 700px;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
    position: relative;
}

.experience-card {
    background: linear-gradient(135deg, rgba(35, 38, 45, 0.95) 0%, rgba(30, 33, 40, 0.85) 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    backdrop-filter: blur(20px);
}

.card-background {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.experience-card:hover .card-background {
    opacity: 1;
}

.card-economy .card-background {
    background: radial-gradient(circle at top right, rgba(76, 175, 80, 0.15) 0%, transparent 60%);
}

.card-politics .card-background {
    background: radial-gradient(circle at top right, rgba(33, 150, 243, 0.15) 0%, transparent 60%);
}

.card-crime .card-background {
    background: radial-gradient(circle at top right, rgba(244, 67, 54, 0.15) 0%, transparent 60%);
}

.card-media .card-background {
    background: radial-gradient(circle at top right, rgba(255, 193, 7, 0.15) 0%, transparent 60%);
}

.card-story .card-background {
    background: radial-gradient(circle at top right, rgba(156, 39, 176, 0.15) 0%, transparent 60%);
}

.card-community .card-background {
    background: radial-gradient(circle at top right, rgba(0, 217, 255, 0.15) 0%, transparent 60%);
}

.experience-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.card-economy:hover {
    border-color: rgba(76, 175, 80, 0.6);
    box-shadow: 0 30px 70px rgba(76, 175, 80, 0.3);
}

.card-politics:hover {
    border-color: rgba(33, 150, 243, 0.6);
    box-shadow: 0 30px 70px rgba(33, 150, 243, 0.3);
}

.card-crime:hover {
    border-color: rgba(244, 67, 54, 0.6);
    box-shadow: 0 30px 70px rgba(244, 67, 54, 0.3);
}

.card-media:hover {
    border-color: rgba(255, 193, 7, 0.6);
    box-shadow: 0 30px 70px rgba(255, 193, 7, 0.3);
}

.card-story:hover {
    border-color: rgba(156, 39, 176, 0.6);
    box-shadow: 0 30px 70px rgba(156, 39, 176, 0.3);
}

.card-community:hover {
    border-color: rgba(0, 217, 255, 0.6);
    box-shadow: 0 30px 70px rgba(0, 217, 255, 0.3);
}

.card-hover-effect {
    position: absolute;
    inset: -100%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.experience-card:hover .card-hover-effect {
    transform: translateX(100%);
}

.card-icon-large {
    font-size: 56px;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: transform 0.4s;
}

.experience-card:hover .card-icon-large {
    transform: scale(1.1) rotate(5deg);
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid var(--border);
}

.card-heading {
    font-size: 26px;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.card-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.card-metrics {
    display: flex;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.metric {
    flex: 1;
}

.metric-value {
    font-size: 28px;
    font-weight: 900;
    color: var(--accent-primary);
    margin-bottom: 4px;
    font-family: 'Courier New', monospace;
    letter-spacing: -0.02em;
}

.metric-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

/* Factions Section */
.factions {
    padding: 140px 0;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    position: relative;
}

.factions::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
    opacity: 0.3;
}

.section-header-center {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.faction-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    position: relative;
}

.faction-card {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(5, 5, 5, 0.9) 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
}

.faction-card.featured {
    border: 2px solid rgba(156, 39, 176, 0.5);
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.15) 0%, rgba(35, 38, 45, 0.95) 50%);
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.9), rgba(123, 31, 162, 0.9));
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: white;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.4);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(156, 39, 176, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(156, 39, 176, 0.6); }
}

.faction-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(100, 181, 246, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.faction-card:hover .faction-glow {
    opacity: 1;
}

.faction-card:hover {
    border-color: rgba(100, 181, 246, 0.6);
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 60px rgba(100, 181, 246, 0.3), 0 0 0 1px rgba(100, 181, 246, 0.4);
}

.faction-card[data-faction="law"]:hover {
    border-color: rgba(33, 150, 243, 0.7);
    box-shadow: 0 25px 60px rgba(33, 150, 243, 0.35), 0 0 0 1px rgba(33, 150, 243, 0.6);
}

.faction-card[data-faction="law"] .faction-glow {
    background: radial-gradient(circle at center, rgba(33, 150, 243, 0.2) 0%, transparent 70%);
}

.faction-card[data-faction="medical"]:hover {
    border-color: rgba(76, 175, 80, 0.7);
    box-shadow: 0 25px 60px rgba(76, 175, 80, 0.35), 0 0 0 1px rgba(76, 175, 80, 0.6);
}

.faction-card[data-faction="medical"] .faction-glow {
    background: radial-gradient(circle at center, rgba(76, 175, 80, 0.2) 0%, transparent 70%);
}

.faction-card[data-faction="underground"]:hover {
    border-color: rgba(156, 39, 176, 0.8);
    box-shadow: 0 25px 60px rgba(156, 39, 176, 0.4), 0 0 0 1px rgba(156, 39, 176, 0.7);
}

.faction-card[data-faction="underground"] .faction-glow {
    background: radial-gradient(circle at center, rgba(156, 39, 176, 0.25) 0%, transparent 70%);
}

.faction-card[data-faction="business"]:hover {
    border-color: rgba(255, 193, 7, 0.7);
    box-shadow: 0 25px 60px rgba(255, 193, 7, 0.35), 0 0 0 1px rgba(255, 193, 7, 0.6);
}

.faction-card[data-faction="business"] .faction-glow {
    background: radial-gradient(circle at center, rgba(255, 193, 7, 0.2) 0%, transparent 70%);
}

.faction-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.faction-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.faction-icon {
    font-size: 52px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s;
}

.faction-card:hover .faction-icon {
    transform: scale(1.1) rotate(5deg);
}

.faction-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.faction-badge.hot {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.3), rgba(244, 67, 54, 0.3));
    border-color: rgba(255, 87, 34, 0.6);
    color: #ff6f61;
    box-shadow: 0 0 15px rgba(255, 87, 34, 0.4);
}

.faction-difficulty {
    text-align: right;
}

.difficulty-label {
    display: block;
    font-size: 9px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 6px;
}

.difficulty-bars {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
}

.difficulty-bars .bar {
    width: 20px;
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    transition: all 0.3s;
}

.difficulty-bars .bar.filled {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.5));
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.faction-card[data-faction="law"] .difficulty-bars .bar.filled {
    background: linear-gradient(90deg, rgba(33, 150, 243, 0.9), rgba(33, 150, 243, 0.6));
    box-shadow: 0 0 8px rgba(33, 150, 243, 0.4);
}

.faction-card[data-faction="medical"] .difficulty-bars .bar.filled {
    background: linear-gradient(90deg, rgba(76, 175, 80, 0.9), rgba(76, 175, 80, 0.6));
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
}

.faction-card[data-faction="underground"] .difficulty-bars .bar.filled {
    background: linear-gradient(90deg, rgba(156, 39, 176, 0.9), rgba(156, 39, 176, 0.6));
    box-shadow: 0 0 8px rgba(156, 39, 176, 0.4);
}

.faction-card[data-faction="business"] .difficulty-bars .bar.filled {
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.9), rgba(255, 193, 7, 0.6));
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.4);
}

.faction-card h3 {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
    color: var(--accent-primary);
    text-transform: uppercase;
}

.faction-card p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.7;
}

.faction-roles {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
    flex-grow: 1;
}

.faction-roles li {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.faction-roles li:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.role-icon {
    color: var(--accent-primary);
    font-size: 12px;
    opacity: 0.7;
}

.faction-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.faction-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.stat-text strong {
    color: var(--accent-primary);
    font-size: 16px;
    font-weight: 800;
}

.stat-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.9), rgba(0, 200, 100, 0.9));
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 12px rgba(0, 255, 127, 0.6);
}

.faction-trend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 12px;
    background: rgba(0, 255, 127, 0.1);
    color: #00ff7f;
}

.faction-trend svg {
    width: 12px;
    height: 12px;
}

.faction-trend.positive {
    color: #00ff7f;
}

.faction-trend.negative {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

/* Timeline Section */
.timeline {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--bg-darker), var(--bg-dark));
}

.timeline-events {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-events::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
}

.timeline-event {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;
    margin-bottom: 48px;
    position: relative;
}

.event-date {
    text-align: right;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
    padding-top: 4px;
}

.event-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    position: relative;
    transition: all 0.3s;
}

.event-content::before {
    content: "";
    position: absolute;
    left: -9px;
    top: 24px;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-glow);
}

.event-content:hover {
    border-color: var(--border-bright);
    transform: translateX(10px);
}

.event-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.event-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* Join Section - Modern Redesign */
.join-section-modern {
    position: relative;
    padding: 140px 0 120px;
    overflow: hidden;
}

.join-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.join-gradient-1 {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(145, 70, 255, 0.15) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.join-gradient-2 {
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.12) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
}

.join-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.join-header {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 80px;
}

.join-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(145, 70, 255, 0.1);
    border: 1px solid rgba(145, 70, 255, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent-secondary);
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 16px;
}

.join-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.highlight-gradient {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.join-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Timeline Design */
.join-timeline {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto 80px;
}

.timeline-line {
    position: absolute;
    left: 31px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: linear-gradient(180deg, 
        transparent,
        rgba(145, 70, 255, 0.5) 20%,
        rgba(0, 217, 255, 0.5) 80%,
        transparent
    );
}

.timeline-step {
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 32px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-step:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-step:nth-child(3) {
    animation-delay: 0.4s;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-marker {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.marker-inner {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(35, 38, 45, 0.9), rgba(26, 29, 35, 0.9));
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.timeline-step:hover .marker-inner {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent-primary);
    box-shadow: 0 0 30px var(--accent-glow);
}

.timeline-step[data-step="2"]:hover .marker-inner {
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
    box-shadow: 0 0 30px rgba(145, 70, 255, 0.4);
}

.timeline-step[data-step="3"]:hover .marker-inner {
    border-color: #00ff88;
    color: #00ff88;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.timeline-content {
    background: linear-gradient(135deg, rgba(35, 38, 45, 0.6), rgba(26, 29, 35, 0.6));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-step:hover .timeline-content {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.step-number {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-primary);
    text-transform: uppercase;
    margin-bottom: 12px;
    opacity: 0.7;
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.step-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.step-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.step-link:hover {
    gap: 12px;
    color: var(--accent-secondary);
}

.step-link svg {
    transition: transform 0.3s ease;
}

.step-link:hover svg {
    transform: translateX(4px);
}

/* Join CTA Card */
.join-cta-wrapper {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.join-cta-card {
    background: linear-gradient(135deg, 
        rgba(145, 70, 255, 0.1) 0%,
        rgba(0, 217, 255, 0.05) 100%
    );
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 24px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.join-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.join-cta-card:hover::before {
    opacity: 1;
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.cta-text {
    font-size: 16px;
    color: var(--text-secondary);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-join-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-join-primary .btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-join-primary:hover .btn-glow {
    opacity: 1;
}

.btn-join-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 217, 255, 0.4);
}

.btn-join-primary svg {
    transition: transform 0.3s ease;
}

.btn-join-primary:hover svg {
    transform: translateX(4px);
}

.btn-join-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-join-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-bright);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .join-section-modern {
        padding: 80px 0 60px;
    }

    .join-header {
        margin-bottom: 60px;
    }

    .join-title {
        font-size: 32px;
    }

    .join-subtitle {
        font-size: 16px;
    }

    .timeline-step {
        grid-template-columns: 48px 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .timeline-line {
        left: 23px;
    }

    .timeline-marker {
        width: 48px;
        height: 48px;
    }

    .marker-inner {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .marker-inner svg {
        width: 20px;
        height: 20px;
    }

    .timeline-content {
        padding: 24px;
    }

    .step-title {
        font-size: 20px;
    }

    .step-description {
        font-size: 14px;
    }

    .join-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .cta-title {
        font-size: 24px;
    }

    .cta-buttons {
        width: 100%;
        flex-direction: column;
    }

    .btn-join-primary,
    .btn-join-secondary {
        width: 100%;
        justify-content: center;
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Footer */
/* Footer Minimal */
.footer-minimal {
    background: #020202;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px 40px;
    margin-top: auto;
    width: 100%;
}

.footer-minimal .footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-minimal .footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-minimal .footer-year {
    color: var(--text-muted);
    font-size: 14px;
    padding-right: 12px;
    border-right: 1px solid var(--border);
}

.footer-minimal .footer-name {
    color: white;
}

.footer-minimal .footer-links {
    display: flex;
    gap: 32px;
}

.footer-minimal .footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.footer-minimal .footer-link:hover {
    color: var(--accent-primary);
}

.footer-minimal .footer-creator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-minimal .creator-name {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 768px) {
    .footer-minimal .footer-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    
    .footer-minimal .footer-year {
        border-right: none;
        padding-right: 0;
    }
}

/* Footer Modern */
.footer-modern {
    background-color: #030303;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 32px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.brand-col {
    padding-right: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.brand-text {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.5px;
    color: white;
}

.brand-text .highlight {
    color: var(--accent-primary);
}

.footer-desc {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 32px;
    max-width: 380px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
}

.social-link.discord:hover {
    background: #5865F2;
    border-color: #5865F2;
}

.footer-heading {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.footer-ul li a:hover {
    color: var(--accent-primary);
    transform: translateX(4px);
}

.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-indicator.online {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

.contact-link {
    color: var(--text-secondary) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2px;
}

.contact-link:hover {
    color: white !important;
    border-color: var(--accent-primary);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
}

.made-by a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
}

.made-by a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
    
    .brand-col {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .brand-col {
        grid-column: span 1;
        padding-right: 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Kodex Categories Grid */
.kodex-categories-section {
    padding: 80px 0 120px;
    background: linear-gradient(to bottom, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.kodex-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.kodex-category-card {
    background: linear-gradient(135deg, rgba(35, 38, 45, 0.9) 0%, rgba(35, 38, 45, 0.6) 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 32px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.kodex-category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(100, 181, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.kodex-category-card:hover::before {
    opacity: 1;
}

.kodex-category-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(100, 181, 246, 0.5);
    box-shadow: 0 20px 50px rgba(100, 181, 246, 0.3);
}

.kodex-category-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s;
}

.kodex-category-icon.red {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(220, 38, 38, 0.2) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.kodex-category-icon.blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.kodex-category-icon.green {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.2) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.kodex-category-icon.purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(147, 51, 234, 0.2) 100%);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #a855f7;
}

.kodex-category-icon.yellow {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.2) 0%, rgba(202, 138, 4, 0.2) 100%);
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: #eab308;
}

.kodex-category-card:hover .kodex-category-icon {
    transform: scale(1.1) rotate(5deg);
}

.kodex-category-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.kodex-category-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.kodex-category-arrow {
    font-size: 24px;
    color: var(--accent-primary);
    transition: transform 0.3s;
}

.kodex-category-card:hover .kodex-category-arrow {
    transform: translateX(8px);
}

/* Detail Section */
.kodex-detail-section {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: linear-gradient(to bottom, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.kodex-detail-header {
    margin-bottom: 48px;
}

.kodex-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 32px;
}

.kodex-back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-bright);
    color: var(--text-primary);
    transform: translateX(-4px);
}

/* Kodex Page - Modern UI */
.kodex-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 160px 40px 80px;
    overflow: hidden;
}

.kodex-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26, 29, 35, 0.5) 0%, rgba(26, 29, 35, 0.9) 100%);
    z-index: 1;
}

.kodex-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.kodex-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.2) 0%, rgba(156, 39, 176, 0.2) 100%);
    border: 1px solid rgba(100, 181, 246, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-primary);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.kodex-intro {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.kodex-quick-nav {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.kodex-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, rgba(35, 38, 45, 0.8) 0%, rgba(35, 38, 45, 0.4) 100%);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.kodex-nav-item:hover {
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.15) 0%, rgba(156, 39, 176, 0.15) 100%);
    border-color: rgba(100, 181, 246, 0.5);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(100, 181, 246, 0.2);
}

.kodex-nav-icon {
    font-size: 20px;
}

/* Kodex Sections */
.kodex-section {
    padding: 80px 0;
    position: relative;
}

.kodex-section:nth-child(even) {
    background: linear-gradient(to bottom, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.kodex-section:nth-child(odd) {
    background: linear-gradient(to bottom, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.kodex-category {
    margin-bottom: 40px;
}

.kodex-category-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 48px;
}

.kodex-number {
    font-size: 56px;
    font-weight: 900;
    color: var(--accent-primary);
    opacity: 0.2;
    font-family: 'Courier New', monospace;
    line-height: 1;
}

.kodex-category-header h2 {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 900;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #b8bcc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.kodex-category-header p {
    font-size: 16px;
    color: var(--text-muted);
}

/* ====================================
   GITBOOK STYLE LAYOUT
   ==================================== */

.gitbook-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 80px;
}

.gitbook-sidebar {
    position: fixed;
    left: 0;
    top: 80px;
    bottom: 0;
    width: 300px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 100;
    overflow-y: auto;
}

.gitbook-sidebar::-webkit-scrollbar {
    width: 6px;
}

.gitbook-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.gitbook-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.gitbook-sidebar-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.gitbook-home {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gitbook-home:hover {
    color: var(--primary-color);
    transform: translateX(2px);
}

.gitbook-home svg {
    color: var(--primary-color);
}

.gitbook-nav {
    flex: 1;
    padding: 24px 0;
}

.gitbook-nav-section {
    margin-bottom: 8px;
}

.gitbook-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    font-weight: 500;
    position: relative;
}

.gitbook-nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gitbook-nav-item:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.gitbook-nav-item.active {
    color: var(--primary-color);
    background: rgba(100, 181, 246, 0.1);
}

.gitbook-nav-item.active::before {
    height: 24px;
}

.gitbook-nav-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.gitbook-sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.gitbook-discord {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1), rgba(88, 101, 242, 0.05));
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 8px;
    color: #5865f2;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gitbook-discord:hover {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.2), rgba(88, 101, 242, 0.1));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.gitbook-content {
    margin-left: 300px;
    flex: 1;
    padding: 40px 60px 60px;
    max-width: 900px;
}

.gitbook-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--text-secondary);
}

.gitbook-breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.gitbook-breadcrumbs a:hover {
    color: var(--primary-color);
}

.gitbook-breadcrumbs span {
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 600;
}

.gitbook-section {
    display: none;
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gitbook-section.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gitbook-page-header {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gitbook-page-title h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--text-primary), rgba(255, 255, 255, 0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gitbook-page-title p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.gitbook-page-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gitbook-nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gitbook-nav-btn:hover:not(:disabled) {
    background: rgba(100, 181, 246, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(100, 181, 246, 0.2);
}

.gitbook-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gitbook-nav-btn svg {
    flex-shrink: 0;
}

.gitbook-content-footer {
    margin-top: 80px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gitbook-cta {
    padding: 40px;
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.1) 0%, rgba(156, 39, 176, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-align: center;
}

.gitbook-cta h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.gitbook-cta p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gitbook-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #5865f2, #4752c4);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gitbook-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(88, 101, 242, 0.4);
}

@media (max-width: 1024px) {
    .gitbook-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .gitbook-sidebar.open {
        transform: translateX(0);
    }
    
    .gitbook-content {
        margin-left: 0;
        padding: 24px;
    }
    
    .gitbook-page-title h1 {
        font-size: 32px;
    }
    
    .gitbook-page-nav {
        flex-direction: column;
    }
    
    .gitbook-nav-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Kodex Rules Grid */
.kodex-rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.kodex-rule-card {
    background: linear-gradient(135deg, rgba(35, 38, 45, 0.9) 0%, rgba(35, 38, 45, 0.6) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.kodex-rule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #64b5f6 0%, #9c27b0 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.kodex-rule-card:hover::before {
    opacity: 1;
}

.kodex-rule-card:hover {
    border-color: rgba(100, 181, 246, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(100, 181, 246, 0.2);
}

.kodex-rule-card.critical {
    border-color: rgba(239, 68, 68, 0.5);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(35, 38, 45, 0.8) 100%);
}

.kodex-rule-card.critical::before {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

.kodex-rule-card.critical:hover {
    border-color: rgba(239, 68, 68, 0.8);
    box-shadow: 0 16px 40px rgba(239, 68, 68, 0.3);
}

.kodex-rule-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.kodex-rule-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.kodex-rule-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.kodex-rule-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Kodex Examples and Notes */
.kodex-example {
    margin-top: 16px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.1) 0%, rgba(100, 181, 246, 0.05) 100%);
    border-left: 3px solid #64b5f6;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.kodex-example strong {
    color: #64b5f6;
    display: block;
    margin-bottom: 8px;
}

.kodex-note {
    margin-top: 16px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    border-left: 3px solid #ffc107;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.kodex-note strong {
    color: #ffc107;
}

/* Punishment System */
.punishment-system {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.punishment-card {
    background: linear-gradient(135deg, rgba(35, 38, 45, 0.9) 0%, rgba(35, 38, 45, 0.6) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.punishment-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
}

.punishment-icon.warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
}

.punishment-icon.kick {
    background: rgba(33, 150, 243, 0.1);
    border-color: rgba(33, 150, 243, 0.3);
}

.punishment-icon.tempban {
    background: rgba(156, 39, 176, 0.1);
    border-color: rgba(156, 39, 176, 0.3);
}

.punishment-icon.permban {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.punishment-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.punishment-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.punishment-level {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.punishment-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-bright);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.punishment-card.critical:hover {
    border-color: rgba(239, 68, 68, 0.8);
    box-shadow: 0 16px 40px rgba(239, 68, 68, 0.3);
}

/* Kodex Final Note */
.kodex-final-note {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(100, 181, 246, 0.1) 0%, rgba(156, 39, 176, 0.1) 100%);
    border: 1px solid rgba(100, 181, 246, 0.3);
    border-radius: 16px;
    padding: 32px;
    margin-top: 48px;
}

.kodex-final-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.kodex-final-note h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.kodex-final-note p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Kodex CTA Section */
.kodex-cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.kodex-cta-card {
    background: linear-gradient(135deg, rgba(35, 38, 45, 0.9) 0%, rgba(35, 38, 45, 0.6) 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 64px;
    text-align: center;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.kodex-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(100, 181, 246, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.kodex-cta-card h2 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 900;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.kodex-cta-card p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.kodex-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .kodex-hero {
        padding: 120px 24px 60px;
    }
    
    .kodex-quick-nav {
        flex-direction: column;
    }
    
    .kodex-nav-item {
        width: 100%;
        justify-content: center;
    }
    
    .kodex-category-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .kodex-number {
        font-size: 40px;
    }
    
    .kodex-rules-grid {
        grid-template-columns: 1fr;
    }
    
    .punishment-system {
        grid-template-columns: 1fr;
    }
    
    .kodex-cta-card {
        padding: 40px 24px;
    }
    
    .kodex-final-note {
        flex-direction: column;
    }
}

/* Rules Page Styles */
.rules-hero {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
}

.glitch-text-small {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 900;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.rules-intro {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 48px;
}

.rules-nav {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.rule-nav-link {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.rule-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-bright);
    color: var(--text-primary);
}

.rules-section {
    padding: 60px 0;
}

.rule-category {
    margin-bottom: 60px;
}

.category-header {
    margin-bottom: 48px;
}

.category-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 16px;
}

.category-header h2 {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 900;
    margin-bottom: 12px;
}

.category-header p {
    font-size: 16px;
    color: var(--text-muted);
}

.rule-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--text-primary);
    border-radius: 12px;
    padding: 36px;
    margin-bottom: 24px;
    transition: all 0.3s;
}

.rule-item:hover {
    border-color: var(--border-bright);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transform: translateX(3px);
}

.rule-item.critical {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.rule-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.rule-icon {
    font-size: 28px;
}

.rule-title h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.rule-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.punishment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.punishment-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
}

.punishment-card:hover {
    border-color: var(--border-bright);
    background: rgba(255, 255, 255, 0.04);
}

.punishment-card.critical {
    border-color: rgba(239, 68, 68, 0.5);
}

.punishment-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--accent-primary);
}

.punishment-card.critical h4 {
    color: #ef4444;
}

.punishment-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.rules-footer {
    padding: 80px 0;
    background: var(--bg-dark);
}

.rules-cta {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 64px 40px;
}

.rules-cta h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    margin-bottom: 16px;
}

.rules-cta p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
    .world-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .timeline-event {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .event-date {
        text-align: left;
    }
    
    .timeline-events::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .container-wide,
    .container-narrow {
        padding: 0 24px;
    }
    
    .nav-content {
        padding: 16px 24px;
    }
    
    .nav-right {
        gap: 16px;
    }
    
    .server-pulse {
        display: none;
    }
    
    .hero-cinematic {
        padding: 100px 24px 60px;
    }
    
    .world-intro,
    .factions,
    .timeline,
    .join-section {
        padding: 80px 0;
    }
    
    .join-card {
        padding: 40px 24px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
    
    .rules-hero {
        padding: 120px 0 60px;
    }
}

/* ====================================
   NEW RULES PAGE STYLES (Non-Gitbook)
   ==================================== */

.rules-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 16px 0 20px;
    background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.rules-content {
    padding: 60px 0 120px;
    position: relative;
    z-index: 1;
}

.rule-section {
    margin-bottom: 100px;
}

.rule-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.rule-emoji {
    font-size: 40px;
}

.rule-header h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.rule-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.rule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), rgba(255, 255, 255, 0.5));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rule-card:hover::before {
    transform: scaleX(1);
}

.rule-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.rule-card.critical {
    border-color: rgba(255, 100, 100, 0.3);
    background: rgba(255, 50, 50, 0.05);
}

.rule-card.critical::before {
    background: linear-gradient(90deg, #ff4444, #ff8888);
}

.rule-card.critical:hover {
    border-color: rgba(255, 100, 100, 0.5);
    background: rgba(255, 50, 50, 0.08);
}

.rule-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.rule-icon {
    font-size: 28px;
}

.rule-card-header h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.rule-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.rule-example {
    margin-top: 16px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border-left: 3px solid var(--accent-primary);
    font-size: 14px;
    line-height: 1.7;
}

.rule-note {
    margin-top: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    font-size: 14px;
    line-height: 1.7;
}

.punishment-system {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.punishment-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.punishment-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.punishment-card.critical {
    border-color: rgba(255, 100, 100, 0.3);
    background: rgba(255, 50, 50, 0.05);
}

.punishment-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.punishment-card h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.punishment-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.punishment-level {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.rules-cta {
    text-align: center;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    margin-top: 80px;
}

.rules-cta h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.rules-cta p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 40px;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
    }
    
    .punishment-system {
        grid-template-columns: 1fr;
    }
    
    .rule-header h2 {
        font-size: 28px;
    }
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(35, 38, 45, 0.98), rgba(26, 29, 35, 0.98));
    border: 2px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 280px;
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-notification.toast-success {
    border-color: rgba(34, 197, 94, 0.5);
}

.toast-notification.toast-success .toast-icon {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.15);
}

.toast-notification.toast-error {
    border-color: rgba(239, 68, 68, 0.5);
}

.toast-notification.toast-error .toast-icon {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
}

.toast-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-message {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

/* Responsive Toast */
@media (max-width: 768px) {
    .toast-notification {
        right: 15px;
        left: 15px;
        min-width: unset;
    }
}

/* =============================================
   STREAMERS LOADING & ERROR STATES
   ============================================= */

.streamers-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    gap: 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(145, 70, 255, 0.2);
    border-top-color: #9146ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.streamers-loading p {
    color: var(--text-secondary);
    font-size: 16px;
}

.streamers-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
}

.streamers-error p {
    color: #f87171;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.streamers-error small {
    color: var(--text-muted);
    font-size: 14px;
}

/* Stream Title Display */
.stream-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(145, 70, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 16px;
    border: 1px solid rgba(145, 70, 255, 0.2);
}

.stream-title .title-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.stream-title .title-text {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Compact Stats */
.compact-stats {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.compact-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Offline Badge Style */
.partner-badge.offline,
.compact-badge.offline {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

/* Live Badge Enhancement */
.partner-badge.live,
.compact-badge.live {
    animation: live-glow 2s ease-in-out infinite;
}

@keyframes live-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(145, 70, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(145, 70, 255, 0.6);
    }
}

/* =============================================
   PARTNERS SECTION - MODERN REDESIGN
   ============================================= */

.partners-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

/* Streamers Grid */
.featured-partners {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin: 50px 0;
}

/* Partner Card */
.partner-card {
    position: relative;
    background: rgba(20, 23, 28, 0.6);
    border: 1px solid rgba(145, 70, 255, 0.15);
    border-radius: 20px;
    padding: 28px 20px 24px;
    text-align: center;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
}

.partner-card:hover {
    transform: translateY(-6px);
    border-color: rgba(145, 70, 255, 0.6);
    background: rgba(20, 23, 28, 0.85);
    box-shadow: 0 20px 60px rgba(145, 70, 255, 0.25);
}

/* Live/Offline Badge */
.partner-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.partner-badge.live {
    background: linear-gradient(135deg, #9146ff, #a855f7);
    color: #fff;
    animation: badge-glow 2s ease-in-out infinite;
}

.partner-badge.offline {
    background: rgba(107, 114, 128, 0.3);
    color: #9ca3af;
    border: 1px solid rgba(107, 114, 128, 0.4);
}

@keyframes badge-glow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(145, 70, 255, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(145, 70, 255, 0.7);
    }
}

.badge-pulse {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* Avatar with Rotating Border */
.partner-avatar {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.avatar-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #9146ff, #00d9ff, #9146ff);
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.avatar-image {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #14171c;
    z-index: 2;
}

.avatar-icon {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid #14171c;
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.3), rgba(0, 217, 255, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    z-index: 2;
}

/* Platform Badge */
.platform-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #14171c;
    z-index: 3;
}

.platform-badge.twitch {
    background: #9146ff;
}

/* Partner Info */
.partner-info {
    margin-top: 12px;
}

.partner-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.partner-role {
    color: #a78bfa;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.partner-desc {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 18px;
    min-height: 40px;
}

/* Stats */
.partner-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(145, 70, 255, 0.05);
    border-radius: 12px;
}

.partner-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.stat-icon {
    font-size: 18px;
}

.stat-value {
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(135deg, #9146ff, #00d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Stream Title */
.stream-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: rgba(145, 70, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 16px;
}

.title-icon {
    font-size: 16px;
}

.title-text {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: left;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Link Buttons Container */
.partner-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

/* Link Button */
.partner-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 12px 18px;
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.1), rgba(145, 70, 255, 0.05));
    border: 1px solid rgba(145, 70, 255, 0.3);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.partner-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(145, 70, 255, 0.3), transparent);
    transition: left 0.5s;
}

.partner-link:hover::before {
    left: 100%;
}

.partner-link:hover {
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.2), rgba(145, 70, 255, 0.1));
    border-color: rgba(145, 70, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(145, 70, 255, 0.3);
}

.partner-link svg {
    transition: transform 0.3s;
    filter: drop-shadow(0 0 8px rgba(145, 70, 255, 0.4));
}

.partner-link:hover svg {
    transform: scale(1.1);
}

/* Kick Platform Specific Styling */
.partner-link.kick-link {
    background: linear-gradient(135deg, rgba(83, 255, 113, 0.1), rgba(83, 255, 113, 0.05));
    border: 1px solid rgba(83, 255, 113, 0.3);
}

.partner-link.kick-link::before {
    background: linear-gradient(90deg, transparent, rgba(83, 255, 113, 0.3), transparent);
}

.partner-link.kick-link:hover {
    background: linear-gradient(135deg, rgba(83, 255, 113, 0.2), rgba(83, 255, 113, 0.1));
    border-color: rgba(83, 255, 113, 0.5);
    box-shadow: 0 8px 20px rgba(83, 255, 113, 0.3);
}

.partner-link.kick-link svg {
    filter: drop-shadow(0 0 8px rgba(83, 255, 113, 0.4));
}

/* Compact Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.partner-card-compact {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.8), rgba(5, 5, 5, 0.8));
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 28px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.compact-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.partner-card-compact:hover {
    transform: translateY(-4px);
    border-color: rgba(145, 70, 255, 0.4);
}

.partner-card-compact:hover .compact-card-bg {
    opacity: 1;
}

.partner-card-compact.developer {
    border-color: rgba(59, 130, 246, 0.3);
}

.partner-card-compact.developer:hover {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
}

.partner-card-compact.placeholder {
    border-style: dashed;
    border-color: rgba(251, 191, 36, 0.3);
    cursor: pointer;
}

.partner-card-compact.placeholder:hover {
    border-color: rgba(251, 191, 36, 0.6);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.05), rgba(245, 158, 11, 0.05));
}

.compact-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.compact-badge.offline {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.compact-badge.developer {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.compact-badge.soon {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.compact-badge.open {
    background: rgba(168, 85, 247, 0.2);
    color: #a78bfa;
}

.compact-avatar {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
}

.compact-avatar .avatar-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #9146ff, #00d9ff);
    animation: rotate 8s linear infinite;
    z-index: 0;
}

.compact-avatar .avatar-ring::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: transparent;
    border-radius: 50%;
}

.avatar-icon-small {
    position: absolute;
    inset: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.3), rgba(0, 217, 255, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 3;
}

.avatar-image-small {
    position: absolute;
    inset: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    border-radius: 50%;
    object-fit: cover;
    z-index: 3;
    background: var(--bg-darker);
}

.compact-content {
    text-align: center;
}

.compact-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.compact-role {
    font-size: 12px;
    font-weight: 600;
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
}

.compact-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.compact-platform {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

.compact-platform.twitch {
    background: rgba(145, 70, 255, 0.2);
    color: #9146ff;
}

.compact-platform.github {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.compact-cta {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    transition: all 0.3s;
}

.partner-card-compact.placeholder:hover .compact-cta {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: var(--bg-darker);
    transform: rotate(90deg);
}

/* Partners CTA */
.partners-cta {
    margin-top: 80px;
    padding: 48px;
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.1), rgba(168, 85, 247, 0.05));
    border: 2px solid rgba(145, 70, 255, 0.3);
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
    position: relative;
    overflow: hidden;
}

.partners-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(145, 70, 255, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
}

.partners-cta:hover::before {
    opacity: 1;
}

.cta-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 32px;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #9146ff, #00d9ff);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    flex-shrink: 0;
    box-shadow: 0 12px 40px rgba(145, 70, 255, 0.4);
}

.cta-text {
    flex: 1;
}

.cta-title {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #9146ff, #00d9ff);
    border: none;
    border-radius: 14px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s;
    flex-shrink: 0;
}

.cta-button .btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.cta-button:hover .btn-glow {
    opacity: 1;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(145, 70, 255, 0.5);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-arrow {
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.cta-button:hover .btn-arrow {
    transform: translateX(4px);
}

.cta-stats {
    display: flex;
    gap: 32px;
}

.cta-stat {
    text-align: center;
    padding: 16px 24px;
    background: rgba(145, 70, 255, 0.1);
    border-radius: 12px;
}

.cta-stat .stat-number {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #9146ff, #00d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}

.cta-stat .stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .featured-partners {
        grid-template-columns: 1fr;
    }
    
    .partners-cta {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 80px 0;
    }
    
    .featured-partners {
        gap: 24px;
        grid-template-columns: 1fr;
    }
    
    .partner-card {
        padding: 32px 24px;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-cta {
        padding: 32px 24px;
        gap: 32px;
    }
    
    .cta-stats {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .partner-name {
        font-size: 24px;
    }
    
    .partner-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .cta-title {
        font-size: 22px;
    }
    
    .cta-desc {
        font-size: 14px;
    }
}

/* --- NEW JOIN SECTION STYLES --- */

.join-section-dark {
    position: relative;
    padding: 120px 0;
    background-color: #000000;
    overflow: hidden;
}

/* Add a subtle purple glow effect behind */
.join-section-dark::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.container-narrow {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.join-header-center {
    text-align: center;
    margin-bottom: 80px;
}

.join-heading-large {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: #ffffff;
    text-transform: uppercase;
}

.join-description {
    font-size: 18px;
    color: #9ca3af;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 100px;
}

.step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.step-icon-box {
    margin-bottom: 24px;
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.1);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon-box {
    background: #7c3aed;
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.step-num {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 64px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
    transition: color 0.3s;
}

.step-card:hover .step-num {
    color: rgba(124, 58, 237, 0.1);
}

.step-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 32px;
    flex-grow: 1;
}

.step-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s;
}

.step-btn:hover {
    color: #7c3aed;
    border-color: #7c3aed;
    padding-right: 8px;
}

.step-btn .arrow {
    transition: transform 0.2s;
}

.step-btn:hover .arrow {
    transform: translateX(4px);
}

/* Ready CTA Box */
.ready-cta-box {
    background: linear-gradient(135deg, #111111 0%, #0a0a0a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ready-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #7c3aed, transparent);
    opacity: 0.5;
}

.ready-cta-box h3 {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 32px;
    letter-spacing: -0.5px;
}

.cta-buttons-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary-glow {
    background: #7c3aed;
    color: #ffffff;
    padding: 16px 40px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 10px 30px -10px rgba(124, 58, 237, 0.6);
}

.btn-primary-glow:hover {
    background: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -10px rgba(124, 58, 237, 0.8);
}

.btn-outline-simple {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 40px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-outline-simple:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Mobile Responsiveness for Join Section */
@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .join-heading-large {
        font-size: 36px;
    }
    
    .ready-cta-box {
        padding: 40px 24px;
    }
}


/* --- ACTIVITIES SECTION STYLES --- */
.activities-section {
    padding: 100px 0;
    background-color: #050505;
    position: relative;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.activity-card {
    background: #0f0f0f;
    border: 1px solid #222;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.activity-card:hover {
    transform: translateY(-5px);
    border-color: #7c3aed;
    box-shadow: 0 10px 40px -10px rgba(124, 58, 237, 0.2);
    z-index: 2;
}

.activity-image-box {
    height: 160px;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fallback background if no image */
.activity-image-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, #222 0%, #111 100%);
    opacity: 0.5;
}

.activity-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.activity-card:hover .activity-img {
    opacity: 0.9;
    transform: scale(1.05);
}

.activity-placeholder-icon {
    position: absolute;
    font-size: 64px;
    opacity: 0.2;
    z-index: 0;
}

.activity-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.activity-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.activity-icon-small {
    font-size: 18px;
    color: #fff;
}

.activity-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.activity-text {
    font-size: 13px;
    color: #a1a1aa;
    line-height: 1.5;
    margin-bottom: 24px;
    flex: 1;
}

.activity-meta {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.activity-pay {
    color: #4ade80;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Consolas', monospace;
    display: flex;
    align-items: center;
    gap: 8px;
}

.activity-risk-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    width: 100%;
}

.risk-icon {
    font-size: 14px;
}

/* Variable Risk Styles */
.risk-none {
    background: rgba(124, 58, 237, 0.15);
    color: #c4b5fd;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.risk-low {
    background: rgba(124, 58, 237, 0.25);
    color: #ddd6fe;
    border: 1px solid rgba(124, 58, 237, 0.4);
}

.risk-medium {
    background: rgba(124, 58, 237, 0.4);
    color: #fff;
    border: 1px solid rgba(124, 58, 237, 0.6);
}

.risk-high {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: white;
    border: 1px solid rgba(124, 58, 237, 0.5);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.risk-extreme {
    background: linear-gradient(135deg, #4c1d95 0%, #2e1065 100%);
    color: #fff;
    border: 1px solid #7c3aed;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
    position: relative;
    overflow: hidden;
}

.risk-extreme::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@media (max-width: 768px) {
    .activities-grid {
        grid-template-columns: 1fr;
    }
}


/* --- STREAMERS / PARTNERS PRO SECTION --- */

.streamers-section-dark {
    position: relative;
    padding: 120px 0;
    background-color: #050505;
    overflow: hidden;
}

/* Atmospheric background globs */
.streamers-section-dark::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.streamers-section-dark::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.streamers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

/* Modern Pro Card */
.streamer-card {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    height: 100%;
}

.streamer-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.5);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 
                0 0 20px rgba(124, 58, 237, 0.15);
}

/* Gradient Top Bar */
.streamer-cover-box {
    height: 110px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    position: relative;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* Animated Pattern Overlay */
.streamer-cover-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.1;
}

/* Status Badges - Sleek Pills */
.streamer-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    z-index: 2;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #555;
    border-radius: 50%;
}

.badge-live .badge-dot {
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
    animation: pulse 2s infinite;
}

.badge-live {
    border-color: rgba(239, 68, 68, 0.3);
    color: #fff;
}

/* Avatar - Center Stage */
.streamer-avatar-container {
    width: 96px;
    height: 96px;
    margin: -48px auto 16px; /* Centering hack */
    position: relative;
    z-index: 5;
}

.streamer-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid #0f0f0f; /* Matches card bg to look cut-out */
    background: #1a1a1a;
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    transition: transform 0.4s ease;
}

.streamer-card:hover .streamer-avatar {
    transform: scale(1.05);
    border-color: #7c3aed;
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.25);
}

/* Platform Icon Floating */
.streamer-play-icon {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    background: #18171c;
    border-radius: 50%;
    border: 2px solid #0f0f0f;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 6;
}

/* Content Layout */
.streamer-info {
    padding: 0 24px 32px;
    display: flex;
    flex-direction: column;
    text-align: center;
    flex: 1;
}

.streamer-name-row {
    justify-content: center;
    margin-bottom: 8px;
}

.streamer-name {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    background: linear-gradient(180deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s;
}

.streamer-card:hover .streamer-name {
    background: linear-gradient(180deg, #fff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.streamer-role {
    font-size: 11px;
    font-weight: 700;
    color: #7c3aed;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    display: block;
}

.streamer-desc {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer & Follow Button */
.streamer-footer {
    margin-top: auto;
    display: flex;
    justify-content: center;
    border-top: none;
    padding-top: 0;
}

.streamer-action-btn {
    width: 100%;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.streamer-card:hover .streamer-action-btn {
    background: #7c3aed;
    border-color: #7c3aed;
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

.streamer-action-btn svg {
    transition: transform 0.3s;
}

.streamer-card:hover .streamer-action-btn svg {
    transform: translateX(3px);
}

/* CTA Box - Matching Style */
.partner-cta-box-dark {
    margin-top: 80px;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9), rgba(10, 10, 10, 0.95));
    border: 1px solid rgba(124, 58, 237, 0.2);
    box-shadow: 0 0 50px rgba(124, 58, 237, 0.05);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.partner-cta-box-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
}

@media (max-width: 900px) {
    .partner-cta-box-dark {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .cta-dark-desc {
        margin-left: 0;
        margin-top: 16px;
    }
    
    .cta-dark-header {
        justify-content: center;
        flex-direction: column;
        gap: 8px;
    }
    
    .cta-dark-stats {
        width: 100%;
        justify-content: center;
        padding: 24px 0;
        border-top: 1px solid rgba(255,255,255,0.05);
        border-bottom: 1px solid rgba(255,255,255,0.05);
        margin: 20px 0;
    }
}


/* --- WORLD SECTION DARK REDESIGN --- */

.world-section-dark {
    padding: 120px 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.world-section-dark::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.world-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin-top: 60px;
}

/* Feature Card Base */
.world-card {
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.world-card:hover {
    border-color: #333;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.8);
}

.world-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.world-card:hover::after {
    opacity: 1;
}

/* Specific Card Layouts */
.card-large {
    grid-column: span 8;
    background: linear-gradient(135deg, #0f0f0f 0%, #050505 100%);
    min-height: 340px;
    justify-content: flex-end;
}

.card-medium {
    grid-column: span 4;
}

.card-small {
    grid-column: span 4;
    min-height: 280px;
}

/* Card Content */
.world-icon-box {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.world-card:hover .world-icon-box {
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.2);
    color: #7c3aed;
    transform: scale(1.1) rotate(5deg);
}

.world-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.world-card p {
    font-size: 14px;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

/* Metrics in Cards */
.world-metrics {
    margin-top: auto;
    display: flex;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.w-metric {
    display: flex;
    flex-direction: column;
}

.wm-value {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    font-family: 'Consolas', monospace;
}

.wm-label {
    font-size: 10px;
    color: #52525b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Feature Lists inside Large Card */
.feature-list-row {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.fl-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.fl-icon {
    margin-top: 2px;
    color: #7c3aed;
}

.fl-content h4 {
    font-size: 15px;
    color: #e4e4e7;
    margin-bottom: 4px;
    font-weight: 600;
}

.fl-content p {
    font-size: 13px;
    color: #71717a;
    margin: 0;
}

@media (max-width: 1024px) {
    .world-grid {
        grid-template-columns: 1fr;
    }
    
    .card-large, .card-medium, .card-small {
        grid-column: span 1;
        min-height: auto;
    }
    
    .feature-list-row {
        flex-direction: column;
        gap: 24px;
    }
}



