﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --primary: #FFD700; /* Sunny Yellow */
    --secondary: #FF6B6B; /* Soft Coral */
    --accent: #4D96FF; /* Sky Blue */
    --bg-light: #FFF9F0; /* Creamy White */
    --text-dark: #2D3436;
    --card-bg: #FFFFFF;
}

body {
    background: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    cursor: none; /* Hide default cursor */
}

/* CUSTOM CURSOR */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
}

.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 1000000;
    pointer-events: none; /* Crucial: clicks pass through */
}

/* Cursor Hover State */
.cursor-outline.hover {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 215, 0, 0.1);
    border-color: var(--accent);
    border-width: 3px;
}

/* DRAGON PET GAME STYLES */
.dragon-container {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

/* HEALTH BAR */
.dragon-health-bar {
    width: 75px;
    height: 8px;
    background: rgba(0,0,0,0.45);
    border-radius: 10px;
    margin-bottom: 4px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.health-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #FFD700, #2ecc71);
    border-radius: 10px;
    transition: width 0.35s ease, background 0.6s ease, box-shadow 0.6s ease;
}

/* DRAGON NAME TAG */
.dragon-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.5rem;
    font-weight: 900;
    color: #FFD700;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(255,215,0,0.6);
    margin-top: 2px;
    opacity: 0.8;
}

/* FEED ME message */
.dragon-msg {
    position: absolute;
    top: -32px;
    background: linear-gradient(135deg, #FF6B6B, #FF4500);
    color: #fff;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 900;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(255,69,0,0.4);
}
.dragon-msg::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #FF4500;
}

/* DRAGON BODY */
.dragon-body {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dragon-icon {
    font-size: 2.6rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px var(--primary));
    z-index: 2;
    transform: scaleX(-1);
    transition: color 0.5s, filter 0.5s;
}
.dragon-icon i {
    display: inline-block;
    animation: dragon-float 2.8s ease-in-out infinite;
}

/* â”€â”€ DRAGON STATES â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* FULL HEALTH (â‰¥70%) â€” happy, bouncy, bright gold fire */
.dragon-container.full-health .dragon-icon {
    color: #FFD700 !important;
    filter: drop-shadow(0 0 18px #FFD700) drop-shadow(0 0 30px rgba(255,215,0,0.5)) !important;
}
.dragon-container.full-health .dragon-icon i {
    animation: dragon-happy 0.9s ease-in-out infinite !important;
}
@keyframes dragon-happy {
    0%, 100% { transform: scaleX(-1) translateY(0)   rotate(-6deg) scale(1); }
    50%       { transform: scaleX(-1) translateY(-16px) rotate(6deg)  scale(1.05); }
}

/* HUNGRY (25â€“55%) â€” mild warning, droopy float */
.dragon-container.hungry .dragon-msg { opacity: 1; animation: msg-shake 0.5s infinite; }
@keyframes msg-shake {
    0%, 100% { transform: translateX(0); }
    25%  { transform: translateX(-3px); }
    75%  { transform: translateX(3px); }
}

/* LOW HEALTH (<25%) â€” orange glow, smoke */
.dragon-container.low-health .dragon-icon {
    color: #FF8C00 !important;
    filter: drop-shadow(0 0 12px #FF4500) !important;
}
.dragon-container.low-health .dragon-icon i {
    animation: dragon-tired 1.5s ease-in-out infinite !important;
}
@keyframes dragon-tired {
    0%, 100% { transform: scaleX(-1) translateY(0)  rotate(8deg)  scale(0.92); }
    50%       { transform: scaleX(-1) translateY(6px) rotate(12deg) scale(0.9); }
}

/* SLEEPING (health = 0) â€” soft blue, no site gray effect */
.dragon-container.sleeping .dragon-icon {
    color: #7fb3d3 !important;
    filter: drop-shadow(0 0 8px #4a90d9) grayscale(0.5) !important;
    opacity: 0.7;
}
.dragon-container.sleeping .dragon-icon i {
    animation: dragon-sleep 3s ease-in-out infinite !important;
}
@keyframes dragon-sleep {
    0%, 100% { transform: scaleX(-1) translateY(0)   rotate(18deg); }
    50%       { transform: scaleX(-1) translateY(7px)  rotate(22deg); }
}
.dragon-container.sleeping .dragon-zzz { opacity: 1; }
.dragon-container.sleeping .dragon-name { color: #7fb3d3; text-shadow: none; }

/* ROAR combo state */
.dragon-container.dragon-roar {
    transform: scale(1.35) !important;
    filter: drop-shadow(0 0 25px #FF4500) drop-shadow(0 0 50px rgba(255,69,0,0.6)) !important;
}
.dragon-container.dragon-roar .dragon-icon {
    color: #FF4500 !important;
    filter: drop-shadow(0 0 20px #FF4500) !important;
}
.dragon-container.dragon-roar .dragon-icon i {
    animation: dragon-roar-anim 0.12s ease-in-out infinite !important;
}
@keyframes dragon-roar-anim {
    0%, 100% { transform: scaleX(-1) scale(1.2) rotate(-10deg); }
    50%       { transform: scaleX(-1) scale(1.3) rotate(10deg); }
}

/* WAKE UP animation */
.dragon-container.dragon-wakeup {
    animation: wakeup-bounce 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes wakeup-bounce {
    0%   { transform: scale(0.7) rotate(-10deg); }
    60%  { transform: scale(1.25) rotate(5deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* SLEEP ZZZ BUBBLES */
.dragon-zzz {
    position: absolute;
    top: -10px;
    right: -14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}
.dragon-zzz span {
    font-weight: 900;
    color: #7fb3d3;
    font-family: 'Orbitron', sans-serif;
    line-height: 1;
    animation: zzz-float 2.4s ease-in-out infinite;
    opacity: 0;
}
.z1 { font-size: 0.55rem; animation-delay: 0s    !important; }
.z2 { font-size: 0.75rem; animation-delay: 0.7s  !important; }
.z3 { font-size: 1rem;    animation-delay: 1.4s  !important; }
@keyframes zzz-float {
    0%   { transform: translate(0, 0)     scale(0.6); opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 0.8; }
    100% { transform: translate(10px,-28px) scale(1.1); opacity: 0; }
}

/* BREATH â€” fire (full) / smoke (low) */
.dragon-breath {
    position: absolute;
    left: 26px;
    top: -12px;
    width: 130px;
    height: 65px;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
}
.dragon-breath div {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    opacity: 0;
}
/* Fire breath (full health) */
.dragon-container.full-health .dragon-breath div {
    background: radial-gradient(circle, #ffe566, #ff8c00, transparent);
    filter: blur(3.5px);
    box-shadow: 0 0 18px #FF6B00;
    animation: breath-fire 0.85s infinite linear;
}
/* Smoke breath (low health) */
.dragon-container.low-health .dragon-breath div {
    background: radial-gradient(circle, #aaa, #555, transparent);
    filter: blur(7px);
    animation: breath-smoke 1.2s infinite linear;
}
@keyframes breath-fire {
    0%   { transform: translate(0,0)      scale(0.2); opacity: 0; }
    15%  { opacity: 1; }
    100% { transform: translate(110px,-18px) scale(3); opacity: 0; }
}
@keyframes breath-smoke {
    0%   { transform: translate(0,0)      scale(0.3); opacity: 0; }
    15%  { opacity: 0.6; }
    100% { transform: translate(90px,-30px) scale(2.5); opacity: 0; }
}
/* Staggered delays for 8 particles */
.p1 { animation-delay: 0s    !important; }
.p2 { animation-delay: 0.12s !important; }
.p3 { animation-delay: 0.24s !important; }
.p4 { animation-delay: 0.36s !important; }
.p5 { animation-delay: 0.48s !important; }
.p6 { animation-delay: 0.60s !important; }
.p7 { animation-delay: 0.72s !important; }
.p8 { animation-delay: 0.84s !important; }

/* CLICK FIRE BURST particles */
.fire-particle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99997;
    animation: fire-burst 0.55s ease-out forwards;
}
@keyframes fire-burst {
    0%   { transform: translate(0,0) scale(1);   opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

/* FLOATING FEED TEXT */
.dragon-feed-text {
    position: fixed;
    font-size: 0.88rem;
    font-weight: 900;
    color: #FFD700;
    text-shadow: 0 0 12px rgba(255,215,0,0.9), 0 2px 4px rgba(0,0,0,0.5);
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, 0);
    white-space: nowrap;
    animation: feed-float 1s ease-out forwards;
}
@keyframes feed-float {
    0%   { transform: translate(-50%, 0)     scale(0.7); opacity: 1; }
    40%  { transform: translate(-50%, -20px) scale(1.1); opacity: 1; }
    100% { transform: translate(-50%, -55px) scale(0.9); opacity: 0; }
}

/* MASCOT SPEECH BUBBLE */
.mascot-speech {
    position: absolute;
    top: -60px;
    background: #fff;
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 3px solid var(--accent);
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
    pointer-events: none;
    z-index: 100;
}

.mascot-speech::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--accent);
}

/* Show Speech Bubble when mascot is talking */
.phantom-mascot.talking .mascot-speech {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

/* GRABBING STATES */
.cursor-outline.grabbing {
    width: 30px;
    height: 30px;
    border-radius: 5px; /* Square grip look */
    background: rgba(255, 215, 0, 0.3);
    border-width: 4px;
}

/* Mascot Flying State */
.phantom-mascot.flying .mascot-sprite {
    animation: spin-throw 0.6s linear infinite;
}

@keyframes spin-throw {
    from { transform: rotate(0deg) scale(1.2); }
    to { transform: rotate(360deg) scale(1.2); }
}

/* Fix Speech Bubble visibility during drag */
.phantom-mascot.dragging .mascot-speech {
    opacity: 0.5;
    transform: translateY(-20px) scale(0.8);
}

/* PHANTOM PRISON / CAGE */
.phantom-cage {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 120px;
    height: 150px;
    border: 3px solid rgba(77, 150, 255, 0.3);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    z-index: 9990;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.phantom-cage.active {
    border-color: #ff0000;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
}

.cage-bars {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, transparent, transparent 15px, rgba(77, 150, 255, 0.5) 15px, rgba(77, 150, 255, 0.5) 20px);
    opacity: 0.3;
    transition: 0.3s;
}

.phantom-cage.active .cage-bars {
    background: repeating-linear-gradient(90deg, transparent, transparent 15px, #ff0000 15px, #ff0000 20px);
    opacity: 1;
    animation: laser-flicker 0.1s infinite;
}

@keyframes laser-flicker {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

.cage-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6rem;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.repair-timer {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    display: none;
}

.phantom-cage.active .repair-timer { display: block; }

/* Trapped State */
.phantom-mascot.trapped {
    position: fixed !important;
    top: auto !important;
    left: auto !important;
    bottom: 60px !important;
    right: 60px !important;
    transform: scale(0.7) !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* PERMANENT DEATH STATE */
.phantom-mascot.dead {
    position: fixed !important;
    top: auto !important;
    left: auto !important;
    bottom: 65px !important;
    right: 60px !important;
    transform: scale(0.6) !important;
    opacity: 0.8;
    pointer-events: none;
    z-index: 9991;
}

/* PHANTOM JUMPER GAME - DESTRUCTIVE MODE */
.phantom-mascot {
    position: absolute; /* CHANGED FROM FIXED TO ABSOLUTE */
    top: 0;
    left: 0;
    z-index: 9997;
    pointer-events: auto;
    cursor: grab;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: left 0.8s cubic-bezier(0.45, 0.05, 0.55, 0.95), top 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
}

/* POP IMPACT EFFECT */
.ui-pop-impact {
    animation: element-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.5) forwards !important;
}

@keyframes element-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2) rotate(2deg); filter: brightness(1.5); }
    100% { transform: scale(1); }
}

/* Sparkle Particles */
.pop-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    animation: particle-fly 0.6s ease-out forwards;
}

@keyframes particle-fly {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

.phantom-mascot:active { cursor: grabbing; }

.mascot-sprite {
    font-size: 2.5rem;
    color: var(--accent);
    filter: drop-shadow(0 0 15px var(--accent));
    transition: transform 0.3s, color 0.5s;
}

/* Angry State */
.phantom-mascot.angry .mascot-sprite {
    color: #ff0000;
    filter: drop-shadow(0 0 20px #ff0000);
    animation: shake 0.1s infinite;
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    50% { transform: translate(-1px, -2px) rotate(-1deg); }
    100% { transform: translate(1px, 1px) rotate(1deg); }
}

/* INTENSE BROKEN UI EFFECT */
.ui-broken {
    position: relative !important;
    pointer-events: auto !important;
    filter: sepia(1) hue-rotate(-50deg) contrast(1.8) !important;
    transform: rotate(-6deg) skew(12deg) scale(0.9) translateY(15px) !important;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.8), inset 0 0 20px rgba(255, 0, 0, 0.4) !important;
    opacity: 0.8;
    transition: 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
    animation: shatter-impact 0.3s ease-out forwards;
}

@keyframes shatter-impact {
    0% { transform: scale(1.2) rotate(0); filter: brightness(2); }
    100% { transform: rotate(-6deg) skew(12deg) scale(0.9) translateY(15px); filter: brightness(1); }
}

.ui-broken::after {
    content: 'âœ– BROKEN âœ–';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    background: #ff0000;
    color: #fff;
    padding: 3px 12px;
    font-weight: 900;
    border: 2px solid #fff;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    white-space: nowrap;
    z-index: 101;
    font-family: 'Orbitron', sans-serif;
}

.ui-broken::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.1) 10px, rgba(255,255,255,0.1) 11px);
    pointer-events: none;
    z-index: 99;
}

/* Fix broken element on hover */
.ui-broken:hover {
    filter: none !important;
    transform: none !important;
    opacity: 1;
}

/* Impact Ripple */
.impact-ripple {
    position: fixed;
    border: 2px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9996;
    animation: ripple-out 0.6s ease-out forwards;
}

@keyframes ripple-out {
    from { width: 0; height: 0; opacity: 1; }
    to { width: 100px; height: 100px; opacity: 0; transform: translate(-50%, -50%); }
}


h1, h2, .logo {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

/* PROFESSIONAL NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(0, 0, 0, 0.6); /* Deep Glass */
    backdrop-filter: blur(20px) saturate(150%);
    border-top: 3px solid var(--primary); /* Golden Brand Line */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2000;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 12px 8%;
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    position: relative;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.04em;
}

.logo-name-accent {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    background: linear-gradient(90deg, #ffd700, #ff9f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.6));
}
.logo:hover .logo-name { color: #ffd700; }

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    position: relative;
    padding: 5px 0;
}

/* Minimalist Underline Hover */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary) !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* ROCKSTAR HERO */
#home {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: #000;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    width: 400%; /* 100% per video (4 videos) */
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.hero-video {
    width: 25%; /* 1/4 of the container */
    height: 100vh;
    object-fit: cover;
    flex-shrink: 0;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 42%),
        linear-gradient(to bottom, rgba(4, 10, 22, 0.76), rgba(4, 10, 22, 0.46), rgba(4, 10, 22, 0.88));
    backdrop-filter: blur(8px) saturate(0.9);
    -webkit-backdrop-filter: blur(8px) saturate(0.9);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    max-width: 900px;
    padding: 34px 36px;
    position: relative;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(9, 18, 36, 0.6), rgba(9, 18, 36, 0.28));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px) saturate(1.08);
    -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.hero-tag {
    display: inline-block;
    background: #FFD700;
    color: #000;
    padding: 5px 15px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    border-radius: 4px;
}

.hero-content h1 {
    font-size: 5rem;
    color: #fff;
    line-height: 0.9;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: -2px;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.62);
}

.hero-content p {
    font-size: 1.2rem;
    color: #f3f6fb;
    margin-bottom: 40px;
    max-width: 600px;
    margin-inline: auto;
    font-weight: 500;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

/* ROCKSTAR BUTTONS */
.btn-rockstar {
    padding: 18px 45px;
    font-weight: 900;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    transition: 0.3s;
    display: inline-block;
    border-radius: 4px;
    font-size: 1rem;
}

/* KID-FRIENDLY ATTRACTIVE BUTTONS */
.primary-r, .game-btn {
    background: linear-gradient(to bottom, #a2ff00, #4caf50) !important;
    color: #fff !important;
    border: none !important;
    border-bottom: 6px solid #2e7d32 !important; 
    border-radius: 50px !important;
    font-size: 1.2rem !important;
    font-weight: 900 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    box-shadow: 0 10px 25px rgba(162, 255, 0, 0.4);
    transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    animation: button-wiggle 3s infinite;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px !important;
    position: relative;
    overflow: hidden;
}

/* Shine Effect Refined - Thin Beam */
.primary-r::after, .game-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50px;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    transform: skewX(-20deg);
    transition: 0.6s;
    pointer-events: none;
}

.primary-r:hover::after, .game-btn:hover::after {
    left: 150%;
}

@media screen and (max-width: 768px) {
    .hero-content h1 { font-size: 3rem; }
    .btn-rockstar { width: 100%; margin: 10px 0 !important; }
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.primary {
    background: #fff;
    color: var(--secondary);
}

.primary:hover {
    transform: scale(1.1) rotate(-2deg);
    background: var(--accent);
    color: #fff;
}

.secondary-r {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid #fff;
    color: #fff !important;
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 900 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 15px 35px !important;
    border-radius: 50px !important;
}

.secondary-r:hover {
    background: var(--primary); /* Golden Yellow */
    color: #000 !important;
    border-color: var(--primary);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

.btn-icon-small {
    background: #fff;
    color: #000;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    transition: 0.3s;
}

.secondary-r:hover .btn-icon-small {
    background: #000;
    color: #fff;
}

/* =====================================================
   HERO HEADER â€” INTERACTIVE UPGRADES
   ===================================================== */

/* Cycling word in h1 */
.hero-word {
    display: inline-block;
    background: linear-gradient(90deg, #FFD700, #FF6B6B, #4D96FF, #a855f7);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: hero-word-gradient 3s linear infinite;
    transition: opacity 0.2s, transform 0.2s;
}
.hero-word.switching {
    opacity: 0;
    transform: translateY(-12px) scale(0.9);
}
@keyframes hero-word-gradient {
    0%   { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* Mini-stats row */
.hero-mini-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}
.hero-mini-stats span {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    letter-spacing: 0.03em;
}
.hms-sep { color: rgba(255,255,255,0.25) !important; }

/* Floating bg deco emojis */
.hero-deco-field { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero-deco {
    position: absolute;
    font-size: 2rem;
    opacity: 0.12;
    animation: hdeco-float ease-in-out infinite;
    user-select: none;
}
.hd1 { left: 6%;  top: 20%; font-size:2.6rem; animation-duration:9s; animation-delay:0s; }
.hd2 { left: 88%; top: 30%; font-size:2.2rem; animation-duration:7s; animation-delay:-2s; }
.hd3 { left: 15%; top: 75%; font-size:2.8rem; animation-duration:11s; animation-delay:-4s; }
.hd4 { left: 78%; top: 72%; font-size:2rem;   animation-duration:8s;  animation-delay:-1s; }
.hd5 { left: 50%; top: 10%; font-size:2.4rem; animation-duration:10s; animation-delay:-6s; }
@keyframes hdeco-float {
    0%,100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-22px) rotate(12deg); }
}

/* Arcade HUD */
.hero-hud {
    position: absolute;
    top: 88px;
    right: 5%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    pointer-events: none;
}
.hero-hud-score {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,215,0,0.35);
    border-radius: 14px;
    padding: 8px 16px 8px 12px;
    backdrop-filter: blur(8px);
}
.hero-hud-coin { font-size: 1.5rem; animation: hud-coin-spin 2s linear infinite; }
@keyframes hud-coin-spin {
    0%,100% { transform: rotateY(0deg); }
    50%      { transform: rotateY(180deg); }
}
.hero-hud-info { display: flex; flex-direction: column; align-items: flex-start; }
.hero-hud-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255,215,0,0.6);
}
.hero-hud-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #FFD700;
    line-height: 1;
    min-width: 60px;
    transition: transform 0.15s;
}
.hero-hud-num.pop {
    animation: hud-pop 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes hud-pop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.4); }
    100% { transform: scale(1); }
}
.hero-hud-combo {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    color: #FF6B6B;
    letter-spacing: 0.08em;
    text-align: right;
    text-shadow: 0 0 10px rgba(255,107,107,0.8);
    min-height: 20px;
}

/* Collectible items */
.hero-collectible {
    position: absolute;
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
    z-index: 9;
    pointer-events: all;
    transform: translate(-50%, -50%);
    animation: coll-float 2s ease-in-out infinite;
    transition: transform 0.1s;
    filter: drop-shadow(0 0 8px rgba(255,215,0,0.7));
}
.hero-collectible:hover {
    transform: translate(-50%,-50%) scale(1.3);
    filter: drop-shadow(0 0 16px rgba(255,215,0,1));
}
.hero-collectible.collected {
    animation: coll-collect 0.3s ease-out forwards !important;
    pointer-events: none;
}
@keyframes coll-float {
    0%,100% { transform: translate(-50%,-50%) translateY(0) rotate(-5deg); }
    50%      { transform: translate(-50%,-50%) translateY(-14px) rotate(5deg); }
}
@keyframes coll-collect {
    0%   { transform: translate(-50%,-50%) scale(1);   opacity: 1; }
    60%  { transform: translate(-50%,-50%) scale(1.6); opacity: 0.8; }
    100% { transform: translate(-50%,-50%) scale(0);   opacity: 0; }
}

/* Score popup floating text */
.hero-score-pop {
    position: absolute;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    pointer-events: none;
    z-index: 12;
    transform: translate(-50%, -50%);
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    animation: score-pop-fly 0.9s ease-out forwards;
}
@keyframes score-pop-fly {
    0%   { transform: translate(-50%,-50%) scale(0.6) translateY(0);   opacity: 1; }
    30%  { transform: translate(-50%,-50%) scale(1.2) translateY(0);   opacity: 1; }
    100% { transform: translate(-50%,-50%) scale(1)   translateY(-70px); opacity: 0; }
}

/* Burst particles */
.hero-burst-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 11;
    animation: burst-out 0.55s ease-out forwards;
}
@keyframes burst-out {
    0%   { transform: translate(0,0) scale(1);   opacity: 1; }
    100% { transform: translate(var(--bx), var(--by)) scale(0); opacity: 0; }
}

/* Milestone banner */
.hero-milestone {
    position: absolute;
    left: 50%;
    top: 28%;
    transform: translate(-50%,-50%);
    z-index: 15;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 800;
    color: #FFD700;
    text-shadow: 0 0 30px rgba(255,215,0,0.8), 0 4px 12px rgba(0,0,0,0.6);
    pointer-events: none;
    text-align: center;
    animation: milestone-pop 2.2s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes milestone-pop {
    0%   { opacity: 0; transform: translate(-50%,-50%) scale(0.4); }
    20%  { opacity: 1; transform: translate(-50%,-50%) scale(1.1); }
    70%  { opacity: 1; transform: translate(-50%,-50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%,-50%) scale(0.9) translateY(-40px); }
}

/* Click hint */
.hero-click-hint {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    font-weight: 600;
    letter-spacing: 0.06em;
    pointer-events: none;
    animation: hint-pulse 2.5s ease-in-out infinite;
}
.hero-click-hint.hidden { opacity: 0; transition: opacity 1s; }
@keyframes hint-pulse {
    0%,100% { opacity: 0.4; }
    50%      { opacity: 0.9; }
}

/* STATS UPGRADED */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    padding: 90px 6%;
    background: #fff;
    margin-top: -80px;
    border-radius: 60px 60px 0 0;
    position: relative;
    z-index: 5;
    box-shadow: 0 -20px 40px rgba(0,0,0,0.05);
    max-width: 1280px;
    margin-inline: auto;
    overflow: hidden;
}

.stats::before {
    content: "";
    position: absolute;
    top: -120px;
    left: -120px;
    width: 350px;
    height: 350px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.10;
    filter: blur(40px);
    pointer-events: none;
}

.stats::after {
    content: "";
    position: absolute;
    bottom: -120px;
    right: -120px;
    width: 350px;
    height: 350px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.10;
    filter: blur(40px);
    pointer-events: none;
}

.stat-card {
    position: relative;
    text-align: center;
    padding: 36px 22px 32px;
    background: #fff;
    border-radius: 30px;
    border-bottom: 7px solid #FFD700;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    overflow: hidden;
    z-index: 1;
}

.stat-card:nth-child(1) { border-bottom-color: #E6A800; }
.stat-card:nth-child(2) { border-bottom-color: #E55858; }
.stat-card:nth-child(3) { border-bottom-color: #3B7BD9; }
.stat-card:nth-child(4) { border-bottom-color: #00B894; }

.stat-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 180px;
    height: 180px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.6s ease;
    z-index: -1;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.10);
}

.stat-card:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
}

.stat-card:hover::before {
    opacity: 0.20;
    transform: scale(1.4);
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    margin-bottom: 20px;
    font-size: 1.9rem;
    color: #fff;
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.stat-card:nth-child(1) .stat-icon {
    background: linear-gradient(to bottom, #FFD700, #FFA500);
    border-bottom: 5px solid #E6A800;
    box-shadow: 0 8px 18px rgba(255, 215, 0, 0.35);
}
.stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(to bottom, #FF8B8B, #FF6B6B);
    border-bottom: 5px solid #E55858;
    box-shadow: 0 8px 18px rgba(255, 107, 107, 0.35);
}
.stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(to bottom, #6BAEFF, #4D96FF);
    border-bottom: 5px solid #3B7BD9;
    box-shadow: 0 8px 18px rgba(77, 150, 255, 0.35);
}
.stat-card:nth-child(4) .stat-icon {
    background: linear-gradient(to bottom, #2BE5BD, #00D4AA);
    border-bottom: 5px solid #00B894;
    box-shadow: 0 8px 18px rgba(0, 212, 170, 0.35);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(-8deg);
}

.stat-card h2 {
    font-size: 3rem;
    margin-bottom: 8px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(90deg, #FFD700, #FF6B6B);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    letter-spacing: 0.5px;
}

.stat-card p {
    color: #636e72;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 2px;
    margin-top: 4px;
    position: relative;
    display: inline-block;
}

.stat-card p::after {
    content: "";
    display: block;
    width: 24px;
    height: 3px;
    margin: 10px auto 0;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.4s ease, background 0.4s ease;
}

.stat-card:hover p::after {
    width: 50px;
}
.stat-card:nth-child(2):hover p::after { background: var(--secondary); }
.stat-card:nth-child(3):hover p::after { background: var(--accent); }
.stat-card:nth-child(4):hover p::after { background: #00D4AA; }

@media screen and (max-width: 768px) {
    .stats {
        margin-top: -40px;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 50px 4%;
        border-radius: 40px 40px 0 0;
    }
    .stat-card {
        padding: 26px 12px 22px;
        border-radius: 22px;
    }
    .stat-card h2 { font-size: 2rem; }
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 12px;
        border-radius: 18px;
    }
    .stat-card p {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
    }
}

/* DROPDOWN */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0px 15px 30px rgba(255, 107, 107, 0.15);
    z-index: 1;
    border-radius: 20px;
    top: 100%;
    left: 0;
    overflow: hidden;
    border: 2px solid var(--bg-light);
}

.dropdown::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.dropdown-content a {
    color: var(--text-dark) !important;
    padding: 15px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    transition: 0.3s;
}

.dropdown-content a:hover {
    background-color: var(--primary);
    color: var(--text-dark) !important;
    padding-left: 30px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* JOYFUL GAME SHOWCASE */
.game-showcase {
    padding: 80px 8%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    transition: padding 0.5s ease;
}

.game-showcase.expanded {
    padding-bottom: 100px;
}

.showcase-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.showcase-video {
    flex: 1;
    min-width: 300px;
    height: 320px;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    border: 6px solid #fff;
    transform: rotate(-1.5deg);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.game-showcase:nth-child(even) .showcase-video {
    transform: rotate(2deg);
}

.game-showcase:hover .showcase-video {
    transform: rotate(0deg) scale(1.02);
}

/* Make any video fill the showcase card regardless of its native size/aspect */
.showcase-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase-text {
    flex: 1;
    min-width: 350px;
    display: flex;
    flex-direction: column;
}

.scroll-desc {
    max-height: 180px;
    overflow-y: auto;
    margin-bottom: 25px;
    padding-right: 15px;
}

/* Custom Scrollbar for Descriptions */
.scroll-desc::-webkit-scrollbar {
    width: 6px;
}

.scroll-desc::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.scroll-desc::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.scroll-desc::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

.soon-blur video {
    filter: blur(8px) grayscale(1);
}

@media screen and (max-width: 768px) {
    .showcase-content {
        flex-direction: column;
        text-align: center;
    }
    
    .showcase-content.reverse {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .showcase-video {
        width: 100%;
        height: 250px;
        min-width: auto;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        background: transparent;
        display: none;
    }
}

/* FEATURES */
#features {
    background: #FFEAA7;
    padding: 100px 10%;
    border-radius: 100px;
    margin: 0 5% 100px 5%;
}

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

.feature-card {
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    width: 300px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* ABOUT SECTION UPGRADED */
#about {
    padding: 120px 10%;
    background: #fff;
    border-radius: 100px 100px 0 0;
    overflow: hidden;
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.about-visual {
    flex: 0.7;
    position: relative;
    min-width: 300px;
    max-width: 400px;
}

.about-shape {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 40px;
    z-index: 1;
    opacity: 0.3;
}

.main-about-img {
    width: 100%;
    border-radius: 40px;
    position: relative;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: var(--accent);
    color: #fff;
    padding: 20px 30px;
    border-radius: 25px;
    text-align: center;
    z-index: 3;
    box-shadow: 0 15px 30px rgba(77, 150, 255, 0.4);
    animation: bounce 3s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.experience-badge span {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
}

.experience-badge p {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.about-content {
    flex: 1.2;
    min-width: 350px;
}

.sub-title {
    color: var(--secondary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.story-title {
    font-size: 3rem;
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--text-dark);
}

.main-p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #636e72;
    margin-bottom: 30px;
}

.story-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.s-feature {
    display: flex;
    gap: 15px;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 20px;
    transition: 0.3s;
}

.s-feature:hover {
    transform: scale(1.05);
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.s-icon {
    font-size: 2rem;
}

.s-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.s-text p {
    font-size: 0.9rem;
    color: #636e72;
}

.about-btns {
    display: flex;
    gap: 20px;
}

/* COMMUNITY SECTION */
/* =====================================================
   COMMUNITY SECTION
   ===================================================== */
#community {
    position: relative;
    padding: 110px 8% 120px;
    background: linear-gradient(160deg, #05080f 0%, #0b0618 45%, #080d1a 100%);
    overflow: hidden;
}

/* Floating emoji shapes */
.comm-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.comm-shape {
    position: absolute;
    font-size: 2rem;
    opacity: 0.07;
    animation: comm-float linear infinite;
    user-select: none;
}
.comm-shape.s1 { left: 5%;  top: 15%; font-size: 2.8rem; animation-duration: 14s; animation-delay: 0s; }
.comm-shape.s2 { left: 18%; top: 70%; font-size: 1.8rem; animation-duration: 11s; animation-delay: -3s; }
.comm-shape.s3 { left: 82%; top: 12%; font-size: 3rem;   animation-duration: 16s; animation-delay: -6s; }
.comm-shape.s4 { left: 90%; top: 60%; font-size: 2rem;   animation-duration: 13s; animation-delay: -2s; }
.comm-shape.s5 { left: 50%; top: 80%; font-size: 2.4rem; animation-duration: 18s; animation-delay: -8s; }
.comm-shape.s6 { left: 35%; top: 5%;  font-size: 2.2rem; animation-duration: 12s; animation-delay: -4s; }
@keyframes comm-float {
    0%   { transform: translateY(0px) rotate(0deg); }
    50%  { transform: translateY(-30px) rotate(10deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.comm-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.comm-header { text-align: center; margin-bottom: 56px; }

.comm-tag {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: #FFD700;
    border: 1px solid rgba(255,215,0,0.35);
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 18px;
    background: rgba(255,215,0,0.06);
}

.comm-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.2;
}
.comm-title-gold {
    background: linear-gradient(90deg, #FFD700, #FF9F00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comm-desc {
    color: rgba(255,255,255,0.45);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.75;
}

/* Stats strip */
.comm-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 60px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 28px 0;
    flex-wrap: wrap;
}

.comm-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 100px;
}
.comm-stat-num {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    background: linear-gradient(90deg, #FFD700, #FF6B6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.comm-stat-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}
.comm-stat-sep {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}

/* Platform cards */
.comm-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.comm-card {
    position: relative;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 28px 24px 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s, box-shadow 0.3s;
}
.comm-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(var(--c-rgb, 77,150,255), 0.45);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px color-mix(in srgb, var(--accent-color, #4d96ff) 20%, transparent);
}

/* Shine sweep on hover */
.comm-card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.06) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.55s ease;
    pointer-events: none;
}
.comm-card:hover .comm-card-shine { transform: translateX(100%); }

.comm-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.comm-card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--c) 15%, transparent);
    border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.comm-card:hover .comm-card-icon-wrap {
    background: color-mix(in srgb, var(--c) 25%, transparent);
}
.comm-card-icon-wrap img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.comm-card-badge {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--c);
    background: color-mix(in srgb, var(--c) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--c) 25%, transparent);
    padding: 4px 9px;
    border-radius: 20px;
}

.comm-card-body { flex: 1; }
.comm-card-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}
.comm-card-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.42);
    line-height: 1.65;
    margin: 0;
}

.comm-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--c);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 14px;
    transition: gap 0.25s;
    gap: 6px;
}
.comm-card:hover .comm-card-footer { gap: 10px; }
.comm-card-footer i { font-size: 0.75rem; }

/* CTA Banner */
.comm-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(90deg, rgba(255,215,0,0.08) 0%, rgba(77,150,255,0.08) 100%);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 22px;
    padding: 32px 40px;
    flex-wrap: wrap;
}

.comm-banner-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.comm-banner-emoji {
    font-size: 2.8rem;
    line-height: 1;
    animation: comm-float 4s ease-in-out infinite;
}
.comm-banner-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px;
}
.comm-banner-sub {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    margin: 0;
}

.comm-banner-btn {
    flex-shrink: 0;
    background: linear-gradient(90deg, #FFD700, #FF9F00);
    color: #0a0a0a;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
}
.comm-banner-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 28px rgba(255,215,0,0.35);
}

/* Responsive */
@media (max-width: 1024px) {
    .comm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .comm-grid { grid-template-columns: 1fr; }
    .comm-banner { flex-direction: column; text-align: center; padding: 28px 24px; }
    .comm-banner-left { flex-direction: column; }
    .comm-stats { gap: 10px; }
}

/* CONTACT */
/* =====================================================
   CONTACT SECTION
   ===================================================== */
#contact {
    position: relative;
    padding: 120px 8%;
    background: linear-gradient(170deg, #080b18 0%, #0d0820 50%, #080b18 100%);
    overflow: hidden;
}

.contact-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(77,150,255,0.12) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}
.contact-bg-glow::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168,85,247,0.1) 0%, transparent 70%);
    bottom: -200px;
    left: -100px;
}

.contact-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* LEFT â€” info */
.contact-tag {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #4d96ff;
    border: 1px solid rgba(77,150,255,0.35);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 22px;
    background: rgba(77,150,255,0.06);
}

.contact-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 18px;
}
.contact-heading-accent {
    background: linear-gradient(90deg, #4d96ff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-desc {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0 0 36px;
    max-width: 380px;
}

/* Info cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 14px 18px;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.contact-info-card:hover {
    background: rgba(77,150,255,0.08);
    border-color: rgba(77,150,255,0.3);
    transform: translateX(6px);
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(77,150,255,0.2), rgba(168,85,247,0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4d96ff;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.contact-info-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.contact-info-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}
.contact-info-value {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* Social buttons */
.contact-socials {
    display: flex;
    gap: 12px;
}
.contact-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.contact-social-btn:hover {
    background: linear-gradient(135deg, #4d96ff, #a855f7);
    border-color: transparent;
    color: #fff;
    transform: translateY(-4px);
}

/* RIGHT â€” form */
.contact-right {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 44px 40px;
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cf-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.cf-label {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}

.cf-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    padding: 12px 15px;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    resize: none;
    width: 100%;
    box-sizing: border-box;
}
.cf-input::placeholder { color: rgba(255,255,255,0.2); }
.cf-input:focus {
    border-color: #4d96ff;
    background: rgba(77,150,255,0.06);
    box-shadow: 0 0 0 3px rgba(77,150,255,0.15);
}
.cf-textarea { min-height: 130px; }

.cf-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, #4d96ff 0%, #a855f7 100%);
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.cf-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}
.cf-submit:hover::before { transform: translateX(100%); }
.cf-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(77,150,255,0.4);
}
.cf-submit:active { transform: scale(0.98); }

.cf-sent {
    display: none;
    text-align: center;
    color: #4ade80;
    font-size: 0.88rem;
    margin: 0;
}
.cf-sent.visible { display: block; }

/* Responsive */
@media (max-width: 900px) {
    .contact-inner { grid-template-columns: 1fr; gap: 50px; }
    .contact-desc { max-width: 100%; }
}
@media (max-width: 560px) {
    .cf-row { grid-template-columns: 1fr; }
    .contact-right { padding: 30px 22px; }
}

/* PROFESSIONAL STUDIO FOOTER */
.studio-footer {
    background: #0a0a0a;
    padding: 80px 8% 40px 8%;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-left {
    flex: 2;
    min-width: 300px;
}

.footer-links-row {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links-row a {
    color: #999;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: 0.3s;
    position: relative;
}

.footer-links-row a:hover {
    color: var(--primary);
}

.secondary-links a {
    font-size: 0.75rem;
    color: #666;
    letter-spacing: 1px;
}

.copyright {
    margin-top: 40px;
    color: #444;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    min-width: 250px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: #fff;
    font-size: 1.4rem;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.05);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.social-icons a:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-left {
        order: 2;
    }
    .footer-right {
        order: 1;
        justify-content: center;
        width: 100%;
    }
    .footer-links-row {
        justify-content: center;
        gap: 20px;
    }
}

/* MOBILE HAMBURGER */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background: var(--secondary);
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media screen and (max-width: 768px) {
    .navbar {
        padding: 10px 4% !important;
    }
    .logo-img {
        height: 32px;
    }
    .logo-name {
        font-size: 0.75rem;
    }
    .logo-name-accent {
        font-size: 0.55rem;
    }
    .nav-right {
        gap: 6px;
    }
    .today-game-btn span, 
    .today-game-btn .fa-caret-down {
        display: none;
    }
    .today-game-btn {
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    .today-game-dropdown {
        right: -48px;
    }
    .profile-btn {
        width: 40px;
        height: 40px;
    }
    .hamburger { 
        display: flex; 
        width: 40px;
        height: 40px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        margin-left: 2px;
        z-index: 2002; /* Above nav-links */
        position: relative;
    }
    .hamburger span {
        width: 20px;
        height: 2px;
        margin: 3px;
        background: #fff; /* Ensure white bars on mobile */
    }
    .hamburger.active {
        background: rgba(255, 107, 107, 0.2); /* Reddish tint when active */
    }
    .hamburger.active span {
        background: var(--secondary); /* Coral color for the X */
    }
    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 100%;
        background: rgba(10, 10, 20, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
        backdrop-filter: blur(20px);
        z-index: 2001;
        padding-top: 60px;
    }
    .nav-links.active { right: 0; }
    .nav-links li {
        margin: 15px 0;
    }
    .nav-links a {
        font-size: 1.2rem !important;
    }

    /* Home Section Fixes */
    #home {
        padding: 0 5%;
    }
    .hero-content {
        padding: 25px 20px;
        width: 100%;
        max-width: 100%;
    }
    .hero-tag {
        font-size: 0.75rem;
        padding: 4px 10px;
        margin-bottom: 15px;
    }
    .hero-content h1 { 
        font-size: 2.2rem !important; 
        line-height: 1.1;
        margin-bottom: 15px;
    }
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    .btn-rockstar, .secondary-r {
        width: 100%;
        margin-left: 0 !important;
        padding: 14px 25px !important;
        font-size: 0.9rem !important;
        text-align: center;
        justify-content: center;
    }
    .hero-mini-stats {
        margin-top: 15px;
        gap: 8px;
    }
    .hero-mini-stats span {
        font-size: 0.75rem;
    }
    
    .about-container {
        flex-direction: column;
        text-align: center;
    }
}

/* TRAILER MODAL */
.trailer-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    padding-top: 80px;
    overflow-y: auto;
}

.trailer-modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    position: fixed;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    z-index: 1;
}

.close-modal {
    position: absolute;
    top: -60px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    transition: 0.3s;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.close-modal:hover {
    background: var(--accent);
    color: #fff;
    transform: rotate(90deg);
}

.video-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
    border: 2px solid rgba(255,255,255,0.1);
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    backdrop-filter: blur(5px);
}

.modal-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(77, 150, 255, 0.5);
}

.modal-nav.prev {
    left: -80px;
}

.modal-nav.next {
    right: -80px;
}

@media (max-width: 1100px) {
    .modal-nav.prev { left: 10px; }
    .modal-nav.next { right: 10px; }
    .modal-nav {
        width: 50px;
        height: 50px;
        background: rgba(0, 0, 0, 0.5);
    }
}

/* DYNAMIC GALLERY SECTION */
#gallery {
    padding: 100px 5%;
    background: #fff;
    overflow: hidden;
}

.scrollable-gallery-container {
    width: 100%;
    overflow-x: auto;
    padding: 40px 20px;
    cursor: grab;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.scrollable-gallery-container:active {
    cursor: grabbing;
}

.dynamic-gallery-grid {
    display: flex;
    gap: 30px;
    width: max-content;
}

.gallery-card {
    width: 350px;
    height: 250px;
    border-radius: 30px;
    overflow: hidden;
    background: #000;
    flex-shrink: 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 4px solid #fff;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: 0.5s;
}

.gallery-card:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: 0 25px 50px rgba(77, 150, 255, 0.3);
    border-color: var(--accent);
}

.gallery-card:hover img {
    transform: scale(1.1);
    opacity: 1;
}

.scrollable-gallery-container::-webkit-scrollbar {
    height: 8px;
}

.scrollable-gallery-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.scrollable-gallery-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* ============================================================
   HERO GUARDIAN CHARACTER - HUMAN-LIKE SUPERHERO
   ============================================================ */

#hero-character {
    position: fixed;
    z-index: 9995;
    pointer-events: none;
    left: -150px;
    top: 40%;
    transform: translate(-50%, -50%) scale(0.62);
    transform-origin: center center;
    filter: drop-shadow(0 8px 28px rgba(77, 150, 255, 0.65));
}

/* SPEECH BUBBLE */
.hero-speech {
    position: absolute;
    top: -58px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #fff;
    color: #2D3436;
    padding: 8px 14px;
    border-radius: 14px;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border: 2.5px solid #e74c3c;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    z-index: 10;
}
.hero-speech::after {
    content: '';
    position: absolute;
    bottom: -9px; left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 9px solid #e74c3c;
}
#hero-character.hero-talking .hero-speech {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* HERO FIGURE CONTAINER */
.hero-figure {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: hero-hover 2.2s ease-in-out infinite;
}
@keyframes hero-hover {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50%       { transform: translateY(-11px) rotate(4deg); }
}

/* CAPE â€” sits behind the entire figure */
.hero-cape {
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 54px;
    background: linear-gradient(180deg, #e74c3c 0%, #8e1c14 100%);
    clip-path: polygon(16% 0%, 84% 0%, 100% 100%, 50% 74%, 0% 100%);
    z-index: 0;
    animation: cape-wave 2s ease-in-out infinite;
}
@keyframes cape-wave {
    0%, 100% { clip-path: polygon(16% 0%, 84% 0%, 100% 100%, 50% 74%, 0% 100%); }
    50%       { clip-path: polygon(12% 0%, 88% 0%, 97% 100%, 50% 81%, 3% 100%); }
}

/* HEAD */
.hero-head {
    width: 30px;
    height: 30px;
    background: #f4a68c;
    border-radius: 50%;
    position: relative;
    z-index: 3;
    box-shadow: inset -3px -3px 0 rgba(0,0,0,0.08);
}
/* Ears */
.hero-head::before, .hero-head::after {
    content: '';
    position: absolute;
    width: 7px; height: 9px;
    background: #f4a68c;
    border-radius: 50%;
    top: 9px;
}
.hero-head::before { left: -3px; }
.hero-head::after  { right: -3px; }

/* Hair */
.hero-hair {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 13px;
    background: #1a0800;
    border-radius: 50% 50% 20% 20%;
    z-index: 2;
}

/* Mask (visor strip) */
.hero-mask {
    position: absolute;
    top: 10px; left: 3px;
    width: 24px; height: 8px;
    background: #4D96FF;
    border-radius: 3px;
    z-index: 3;
}

/* Eyes */
.hero-eyes {
    position: absolute;
    top: 12px; left: 3px;
    width: 24px;
    display: flex;
    justify-content: space-between;
    z-index: 4;
}
.hero-pupil {
    display: block;
    width: 5px; height: 5px;
    background: #fff;
    border-radius: 50%;
}

/* Smile */
.hero-smile {
    position: absolute;
    bottom: 4px; left: 50%;
    transform: translateX(-50%);
    width: 12px; height: 5px;
    border-bottom: 2px solid #8b2500;
    border-radius: 0 0 8px 8px;
    z-index: 4;
}

/* NECK */
.hero-neck {
    width: 9px; height: 4px;
    background: #f4a68c;
    z-index: 2;
}

/* UPPER BODY ROW: arm | torso | arm */
.hero-upper {
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

/* TORSO */
.hero-torso {
    width: 34px; height: 36px;
    background: linear-gradient(145deg, #4D96FF 0%, #2471C8 100%);
    border-radius: 5px 5px 9px 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: inset -3px -4px 0 rgba(0,0,0,0.12);
}
/* Belt stripe */
.hero-torso::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 7px;
    background: #1a252f;
    border-radius: 0 0 9px 9px;
}
.hero-logo {
    font-style: normal;
    font-size: 13px;
    color: #FFD700;
    text-shadow: 0 0 8px rgba(255,215,0,0.9);
    position: relative;
    z-index: 1;
    margin-top: -4px;
}

/* ARMS */
.hero-arm {
    width: 10px; height: 27px;
    background: linear-gradient(145deg, #4D96FF, #2471C8);
    border-radius: 4px;
    position: relative;
    box-shadow: inset -2px -2px 0 rgba(0,0,0,0.12);
}
.hero-arm.left  { border-radius: 7px 3px 4px 7px; transform: rotate(-16deg); transform-origin: top center; }
.hero-arm.right { border-radius: 3px 7px 7px 4px; transform: rotate(16deg);  transform-origin: top center; }
.hero-hand {
    width: 10px; height: 10px;
    background: #f4a68c;
    border-radius: 50%;
    position: absolute;
    bottom: -4px; left: 0;
}

/* LEGS */
.hero-legs {
    display: flex;
    gap: 4px;
    position: relative;
    z-index: 2;
    margin-top: 1px;
}
.hero-leg {
    width: 13px; height: 24px;
    background: #1a252f;
    border-radius: 2px 2px 0 0;
    position: relative;
    box-shadow: inset -2px -2px 0 rgba(0,0,0,0.15);
}
.hero-boot {
    position: absolute;
    bottom: -6px; left: -2px;
    width: 17px; height: 8px;
    background: #e74c3c;
    border-radius: 3px 3px 4px 4px;
    box-shadow: inset -2px -2px 0 rgba(0,0,0,0.15);
}

/* === HERO STATE ANIMATIONS === */

/* Incoming: aggressive charge */
#hero-character.hero-incoming .hero-figure {
    animation: hero-charge 0.28s ease-in-out infinite;
}
#hero-character.hero-incoming {
    filter: drop-shadow(0 8px 32px rgba(231,76,60,0.9));
}
@keyframes hero-charge {
    0%, 100% { transform: rotate(-14deg) scaleY(1.06); }
    50%       { transform: rotate(14deg)  scaleY(0.94); }
}

/* Fighting: rapid punch */
#hero-character.hero-fighting .hero-figure {
    animation: hero-punch 0.14s ease-in-out infinite;
}
#hero-character.hero-fighting {
    filter: drop-shadow(0 0 32px rgba(255,215,0,1));
}
@keyframes hero-punch {
    0%   { transform: scale(1.25) rotate(-22deg); }
    50%  { transform: scale(0.88) rotate(22deg); }
    100% { transform: scale(1.25) rotate(-22deg); }
}

/* Victory */
#hero-character.hero-victory .hero-figure {
    animation: hero-win 0.55s ease-in-out infinite;
}
#hero-character.hero-victory {
    filter: drop-shadow(0 8px 28px rgba(255,215,0,0.9));
}
@keyframes hero-win {
    0%, 100% { transform: translateY(0)    rotate(0deg); }
    30%       { transform: translateY(-20px) rotate(-8deg); }
    70%       { transform: translateY(-20px) rotate(8deg); }
}

/* === FIGHT EFFECTS === */

/* Phantom shakes when hero hits it */
.fight-shake {
    animation: fight-shake-anim 0.09s ease-in-out infinite !important;
}
@keyframes fight-shake-anim {
    0%   { transform: translate(0,0)     rotate(0deg); }
    25%  { transform: translate(-9px,-6px) rotate(-12deg); }
    50%  { transform: translate(9px,6px)  rotate(12deg); }
    75%  { transform: translate(-6px,9px) rotate(-6deg); }
    100% { transform: translate(6px,-9px) rotate(6deg); }
}

/* Screen flash on fight impact */
.fight-flash::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.45);
    z-index: 99996;
    pointer-events: none;
    animation: flash-anim 0.35s ease-out forwards;
}
@keyframes flash-anim {
    0%   { opacity: 1; }
    100% { opacity: 0; }
}

/* Impact star burst when hero hits phantom */
.fight-star {
    position: fixed;
    font-size: 2.8rem;
    font-style: normal;
    pointer-events: none;
    z-index: 99995;
    animation: star-burst 0.7s ease-out forwards;
    transform-origin: center;
    transform: translate(-50%, -50%);
}
@keyframes star-burst {
    0%   { transform: translate(-50%,-50%) scale(0.2) rotate(0deg);   opacity: 1; }
    40%  { transform: translate(-50%,-50%) scale(1.4) rotate(180deg); opacity: 1; }
    100% { transform: translate(-50%,-50%) scale(0.8) rotate(360deg); opacity: 0; }
}

/* Hero grabbing pose */
#hero-character.hero-grabbing .hero-figure {
    animation: hero-grab-pulse 0.18s ease-in-out infinite;
}
#hero-character.hero-grabbing {
    filter: drop-shadow(0 0 28px rgba(255,215,0,0.95));
}
@keyframes hero-grab-pulse {
    0%, 100% { transform: scale(1.35) rotate(-18deg); }
    50%       { transform: scale(1.15) rotate(18deg); }
}

/* Phantom tumbling through air when thrown */
.phantom-mascot.phantom-thrown {
    pointer-events: none !important;
}
.phantom-mascot.phantom-thrown .mascot-sprite {
    animation: phantom-tumble 0.22s linear infinite !important;
    color: #ff6600 !important;
    filter: drop-shadow(0 0 18px #ff6600) !important;
}
@keyframes phantom-tumble {
    from { transform: rotate(0deg) scale(1.15); }
    to   { transform: rotate(360deg) scale(1.15); }
}

/* Phantom squash on floor impact */
.phantom-mascot.floor-slam .mascot-sprite {
    animation: floor-squash 0.18s ease-out forwards !important;
}
@keyframes floor-squash {
    0%   { transform: scaleX(1.8) scaleY(0.35) translateY(6px); }
    60%  { transform: scaleX(0.85) scaleY(1.3) translateY(-5px); }
    100% { transform: scaleX(1) scaleY(1) translateY(0); }
}

/* Phantom stunned after settling */
.phantom-mascot.phantom-stunned .mascot-sprite {
    animation: stunned-wobble 0.55s ease-in-out infinite !important;
    color: #aaa !important;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.4)) !important;
}
@keyframes stunned-wobble {
    0%, 100% { transform: rotate(-20deg) scale(0.9); }
    50%       { transform: rotate(20deg)  scale(0.9); }
}

/* Floor shockwave ring on impact */
.floor-shockwave {
    position: fixed;
    width: 12px;
    height: 12px;
    border: 3px solid #FFD700;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99994;
    transform: translate(-50%, -50%);
    animation: shockwave-ring 0.45s ease-out forwards;
}
@keyframes shockwave-ring {
    from { width: 12px;  height: 12px;  opacity: 1; }
    to   { width: 160px; height: 40px;  opacity: 0; }
}

/* Dust puff on floor hit */
.floor-dust {
    position: fixed;
    font-size: 1.6rem;
    pointer-events: none;
    z-index: 99993;
    transform: translate(-50%, -50%);
    animation: dust-puff 0.6s ease-out forwards;
}
@keyframes dust-puff {
    0%   { transform: translate(-50%,-50%) scale(0.3); opacity: 1; }
    60%  { transform: translate(-50%,-60%) scale(1.2); opacity: 0.8; }
    100% { transform: translate(-50%,-80%) scale(1.5); opacity: 0; }
}

/* =====================================================
   PROFILE BUTTON
   ===================================================== */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.today-game-menu {
    position: relative;
}

.today-game-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.86rem;
    letter-spacing: 0.01em;
    backdrop-filter: blur(6px);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
}
.today-game-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.85);
}

.today-game-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(8, 24, 35, 0.94);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 9999;
}

.today-game-menu.open .today-game-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.today-game-dropdown a {
    display: block;
    padding: 11px 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.today-game-dropdown a:last-child {
    border-bottom: none;
}

.today-game-dropdown a:hover {
    background: rgba(77, 150, 255, 0.25);
}

.today-game-dropdown a.special-game-link {
    position: relative;
    background: #ff7fb3;
    color: #fff;
    border-left: 3px solid #ff2f6f;
    padding-left: 12px;
    padding-right: 12px;
    overflow: hidden;
    animation: special-game-pulse 1.8s ease-in-out infinite;
}

.today-game-dropdown a.special-game-link .special-name {
    position: relative;
    z-index: 2;
    display: inline-block;
    font-weight: 800;
}

.today-game-dropdown a.special-game-link .special-hearts {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.today-game-dropdown a.special-game-link .special-hearts i {
    position: absolute;
    top: -14px;
    color: rgba(255, 26, 86, 0.95);
    font-style: normal;
    font-size: 0.62rem;
    animation: special-heart-fall 1.9s linear infinite;
}

.today-game-dropdown a.special-game-link .special-hearts i:nth-child(1) { left: 10%; animation-delay: 0s; }
.today-game-dropdown a.special-game-link .special-hearts i:nth-child(2) { left: 28%; animation-delay: 0.35s; }
.today-game-dropdown a.special-game-link .special-hearts i:nth-child(3) { left: 50%; animation-delay: 0.7s; }
.today-game-dropdown a.special-game-link .special-hearts i:nth-child(4) { left: 72%; animation-delay: 1.05s; }
.today-game-dropdown a.special-game-link .special-hearts i:nth-child(5) { left: 88%; animation-delay: 1.4s; }

.today-game-dropdown a.special-game-link .special-hearts i:nth-child(even) {
    color: rgba(204, 0, 51, 0.96);
}

.today-game-dropdown a.special-game-link:hover {
    background: #ff6aa4;
}

@keyframes special-game-pulse {
    0% { transform: translateX(0); }
    50% { transform: translateX(1px); }
    100% { transform: translateX(0); }
}

@keyframes special-heart-fall {
    0% { transform: translateY(-14px) scale(0.9); opacity: 0; }
    15% { opacity: 1; }
    100% { transform: translateY(36px) scale(1.05); opacity: 0; }
}

.profile-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #4d96ff 0%, #a855f7 100%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s, box-shadow 0.25s;
    z-index: 1;
    outline: none;
}
.profile-btn::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(#4d96ff, #a855f7, #ff6b6b, #4d96ff);
    z-index: -1;
    animation: profile-spin 2.5s linear infinite;
}
@keyframes profile-spin {
    to { transform: rotate(360deg); }
}
.profile-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 0 20px rgba(77, 150, 255, 0.6);
}
.profile-btn-icon {
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    z-index: 2;
    position: relative;
}

@media (max-width: 700px) {
    .today-game-btn span, 
    .today-game-btn .fa-caret-down {
        display: none;
    }
    .today-game-btn {
        width: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    .today-game-dropdown {
        right: -48px;
    }
}

/* =====================================================
   SIGNUP MODAL
   ===================================================== */
.su-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.su-modal.open {
    opacity: 1;
    pointer-events: all;
}

.su-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
}

.su-card {
    position: relative;
    width: min(480px, 94vw);
    background: linear-gradient(155deg, rgba(14,17,35,0.97) 0%, rgba(20,10,40,0.97) 100%);
    border: 1px solid rgba(77,150,255,0.22);
    border-radius: 24px;
    padding: 48px 44px 44px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(168,85,247,0.12);
    overflow: hidden;
    transform: translateY(40px) scale(0.94);
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.35s ease;
    opacity: 0;
}
.su-modal.open .su-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Floating orb decorations */
.su-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(55px);
    pointer-events: none;
    opacity: 0.35;
}
.su-orb1 { width: 220px; height: 220px; background: #4d96ff; top: -80px; left: -60px; animation: su-orb-float 7s ease-in-out infinite; }
.su-orb2 { width: 180px; height: 180px; background: #a855f7; bottom: -60px; right: -50px; animation: su-orb-float 9s ease-in-out infinite reverse; }
.su-orb3 { width: 140px; height: 140px; background: #ff6b6b; top: 40%; left: 55%; animation: su-orb-float 11s ease-in-out infinite 2s; }
@keyframes su-orb-float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50%       { transform: translateY(-18px) scale(1.05); }
}

/* Close button */
.su-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.6);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.su-close:hover { background: rgba(255,50,50,0.2); color: #fff; }

/* Brand header */
.su-brand { text-align: center; margin-bottom: 32px; }
.su-logo { width: 54px; height: 54px; object-fit: contain; margin-bottom: 10px; border-radius: 12px; }
.su-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    background: linear-gradient(90deg, #4d96ff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 4px;
    letter-spacing: 0.06em;
}
.su-subtitle { color: rgba(255,255,255,0.42); font-size: 0.82rem; margin: 0; }

/* Form fields */
.su-form { display: flex; flex-direction: column; gap: 18px; }

.su-field-wrap { display: flex; flex-direction: column; gap: 6px; }

.su-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.su-label i { color: #4d96ff; margin-right: 5px; }

.su-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 0.92rem;
    padding: 11px 14px;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
    font-family: 'Inter', sans-serif;
    width: 100%;
    box-sizing: border-box;
}
.su-input::placeholder { color: rgba(255,255,255,0.22); }
.su-input:focus {
    border-color: #4d96ff;
    box-shadow: 0 0 0 3px rgba(77,150,255,0.15);
    background: rgba(77,150,255,0.06);
}
.su-field-wrap.has-error .su-input {
    border-color: #ff4466;
    box-shadow: 0 0 0 3px rgba(255,68,102,0.15);
    animation: su-shake 0.38s ease;
}
@keyframes su-shake {
    0%,100% { transform: translateX(0); }
    18%      { transform: translateX(-7px); }
    36%      { transform: translateX(7px); }
    54%      { transform: translateX(-5px); }
    72%      { transform: translateX(5px); }
}

.su-field-err {
    color: #ff4466;
    font-size: 0.74rem;
    min-height: 16px;
    display: block;
}

/* Password toggle */
.su-pw-wrap { position: relative; }
.su-pw-wrap .su-input { padding-right: 42px; }
.su-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.35);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0;
    transition: color 0.2s;
}
.su-eye:hover { color: rgba(255,255,255,0.75); }

/* Submit button */
.su-submit {
    margin-top: 6px;
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, #4d96ff 0%, #a855f7 100%);
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    position: relative;
    overflow: hidden;
}
.su-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.5s;
}
.su-submit:hover::before { transform: translateX(100%); }
.su-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(77,150,255,0.45);
}
.su-submit:active { transform: scale(0.97); }
.su-submit-icon { font-size: 1rem; }

/* Success screen */
.su-success {
    display: none;
    text-align: center;
    padding: 20px 0;
    animation: su-pop-in 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.su-success.visible { display: block; }
.su-success-icon { font-size: 4rem; margin-bottom: 16px; }
.su-success h3 {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(90deg, #4d96ff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
    margin: 0 0 8px;
}
.su-success p { color: rgba(255,255,255,0.6); line-height: 1.6; margin: 0; }
@keyframes su-pop-in {
    0%   { transform: scale(0.7); opacity: 0; }
    100% { transform: scale(1);   opacity: 1; }
}

/* Knocked cursor */
.knocked-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    animation: knocked-fly var(--dur, 0.8s) cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes knocked-fly {
    0%   { transform: translate(0, 0) rotate(0deg) scale(1);   opacity: 1; }
    60%  { opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.2); opacity: 0; }
}

/* Hero punch-rush class */
.hero-punching {
    transition: left 0.22s linear, top 0.22s linear !important;
}
.hero-punch-arm {
    animation: hero-punch-anim 0.25s ease-out !important;
}
@keyframes hero-punch-anim {
    0%   { transform: translateX(0); }
    40%  { transform: translateX(28px); }
    100% { transform: translateX(0); }
}

/* OPTIMIZED DOUBLE SHUTTER TRANSITION */
.shutter-wrapper {
    position: fixed;
    inset: 0;
    z-index: 10001;
    pointer-events: none;
    display: flex;
}

.shutter-half {
    flex: 1;
    height: 100%;
    background: #05070a;
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
    will-change: transform;
}

.shutter-left { transform: translateX(0); border-right: 1px solid rgba(255, 215, 0, 0.1); }
.shutter-right { transform: translateX(0); border-left: 1px solid rgba(255, 215, 0, 0.1); }

body.page-loaded .shutter-left { transform: translateX(-100%); }
body.page-loaded .shutter-right { transform: translateX(100%); }

.shutter-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10002;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

body.page-loaded .shutter-logo {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.2);
}

/* Page content entrance */
.page-content-reveal {
    opacity: 0;
    transform: scale(1.05);
    filter: blur(10px);
    transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: 0.2s;
}

body.page-loaded .page-content-reveal {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

/* Hide old transition classes */
.page-transition-overlay { display: none !important; }

/* CUSTOM CURSOR REFINEMENT FOR NEW PAGES */
@media screen and (max-width: 768px) {
    body { cursor: auto !important; }
    .cursor-dot, .cursor-outline { display: none !important; }
}


/* LOCKED SECTION STYLES */
.locked-section {
    position: relative !important;
    pointer-events: none !important;
    user-select: none !important;
    overflow: hidden !important;
}

.locked-section > *, .locked-section * {
    filter: blur(12px) !important;
    opacity: 0.6 !important;
    transition: filter 0.5s ease, opacity 0.5s ease !important;
}

.locked-section::before {
    content: 'STRATEGIC CONTENT LOCKED';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    color: var(--primary);
    padding: 20px 40px;
    border: 3px solid var(--primary);
    border-radius: 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-align: center;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.6);
    pointer-events: auto !important;
    white-space: nowrap;
}

.locked-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    border-radius: inherit;
}

/* ========================================
   GAME EXPAND / DETAILS PANEL
   ======================================== */
.game-expand-toggle {
    align-self: flex-start;
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: #fff;
    color: var(--text-dark);
    border: none;
    border-bottom: 5px solid var(--primary);
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.3s ease,
                background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.showcase-content.reverse + .game-details-panel,
.game-expand-toggle {
    z-index: 2;
}

.game-expand-toggle:hover {
    transform: translateY(-3px);
    background: linear-gradient(to bottom, #FFFAE5, #FFF3CC);
    box-shadow: 0 14px 24px rgba(255, 215, 0, 0.25);
}

.game-expand-toggle:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.expand-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #FFD700, #FF6B6B);
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 3px 8px rgba(255, 107, 107, 0.3);
}

.game-expand-toggle[aria-expanded="true"] .expand-arrow {
    transform: rotate(180deg);
}

.game-expand-toggle[aria-expanded="true"] .expand-label::after {
    content: " (CLOSE)";
    opacity: 0.6;
}

/* Per-game Privacy Policy link (auto-injected by privacy/privacy-buttons.js) */
.game-privacy-link {
    align-self: flex-start;
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-dark);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    opacity: 0.85;
    transition: all 0.25s ease;
    position: relative;
    z-index: 2;
}

.game-privacy-link i { color: var(--primary); }

.game-privacy-link:hover {
    opacity: 1;
    border-color: var(--primary);
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.dark-mode .game-privacy-link {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: #f0f0f0;
}

/* Details panel */
.game-details-panel {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.5s ease,
                transform 0.5s ease,
                margin-top 0.5s ease;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.game-details-panel[hidden] {
    display: block !important;
}

.game-details-panel.open {
    max-height: 2000px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 40px;
}

.details-inner {
    background: #fff;
    border-radius: 40px;
    padding: 45px 40px 35px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-top: 6px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.details-inner::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 280px;
    height: 280px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(20px);
    pointer-events: none;
}

.details-inner::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 280px;
    height: 280px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(20px);
    pointer-events: none;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    position: relative;
    z-index: 1;
}

.details-card-wide {
    grid-column: span 2;
}

.details-card {
    background: var(--bg-light);
    padding: 26px 24px;
    border-radius: 24px;
    border-bottom: 5px solid #FFD700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.details-card:nth-child(2) { border-bottom-color: #FF6B6B; }
.details-card:nth-child(3) { border-bottom-color: #4D96FF; }

.details-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

.details-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 16px;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.details-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #FFD700, #FF6B6B);
    border-radius: 12px;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.25);
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: detail-counter;
}

.details-list li {
    position: relative;
    padding: 8px 0 8px 32px;
    font-size: 0.95rem;
    color: #2d3436;
    line-height: 1.5;
    border-bottom: 1px dashed rgba(0,0,0,0.06);
}

.details-list li:last-child {
    border-bottom: none;
}

.details-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(255, 215, 0, 0.35);
}

ol.details-list {
    counter-reset: detail-counter;
}

ol.details-list li {
    counter-increment: detail-counter;
}

ol.details-list li::before {
    content: counter(detail-counter);
    background: linear-gradient(135deg, #4D96FF, #6C5CE7);
    box-shadow: 0 3px 6px rgba(77, 150, 255, 0.35);
    font-size: 0.75rem;
}

.details-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #2d3436;
}

.game-collapse-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    margin: 30px auto 0;
    padding: 14px 32px;
    background: linear-gradient(to bottom, #FF8B8B, #FF6B6B);
    color: #fff;
    border: none;
    border-bottom: 5px solid #E55858;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(255, 107, 107, 0.35);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.game-collapse-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(255, 107, 107, 0.45);
}

.game-collapse-btn:active {
    transform: translateY(1px);
    box-shadow: 0 6px 12px rgba(255, 107, 107, 0.3);
}

.collapse-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    font-size: 0.7rem;
}

@media screen and (max-width: 768px) {
    .game-expand-toggle {
        align-self: stretch;
        justify-content: center;
        margin-top: 14px;
        padding: 11px 20px;
        font-size: 0.78rem;
        letter-spacing: 1px;
    }
    .details-inner {
        padding: 28px 20px 22px;
        border-radius: 28px;
    }
    .details-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .details-card-wide {
        grid-column: span 1;
    }
    .details-card {
        padding: 20px 18px;
        border-radius: 18px;
    }
    .details-heading {
        font-size: 1rem;
    }
    .details-emoji {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    .game-collapse-btn {
        margin-top: 22px;
        padding: 12px 26px;
        font-size: 0.78rem;
    }
    .game-details-panel.open {
        margin-top: 24px;
    }
}

/* ========================================
   THEME TOGGLE BUTTON
   ======================================== */
.theme-toggle {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s, background 0.4s;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
}
.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 10px 22px rgba(255, 215, 0, 0.55);
}
.theme-toggle-icon {
    position: absolute;
    color: #fff;
    font-size: 1rem;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                opacity 0.3s ease;
}
.theme-icon-sun { transform: translateY(0) rotate(0); opacity: 1; }
.theme-icon-moon { transform: translateY(150%) rotate(-90deg); opacity: 0; }

html.dark-mode .theme-toggle {
    background: linear-gradient(135deg, #6C5CE7, #4D96FF);
    box-shadow: 0 6px 16px rgba(108, 92, 231, 0.5);
}
html.dark-mode .theme-toggle:hover {
    box-shadow: 0 10px 22px rgba(108, 92, 231, 0.65);
}
html.dark-mode .theme-icon-sun { transform: translateY(-150%) rotate(90deg); opacity: 0; }
html.dark-mode .theme-icon-moon { transform: translateY(0) rotate(0); opacity: 1; }

@media screen and (max-width: 700px) {
    .theme-toggle { width: 40px; height: 40px; }
}

/* ========================================
   DARK MODE
   ======================================== */
html.dark-mode body {
    background: #0d0e1f;
    color: #e8e8f0;
}

/* Hero / sections that already work in dark, no changes */

/* Stats section */
html.dark-mode .stats {
    background: #15162b;
    box-shadow: 0 -20px 40px rgba(0,0,0,0.4);
}
html.dark-mode .stats::before { background: #FFD700; opacity: 0.08; }
html.dark-mode .stats::after { background: #4D96FF; opacity: 0.10; }
html.dark-mode .stat-card {
    background: #1f2040;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
html.dark-mode .stat-card p { color: #a8a8c0; }

/* Game showcase */
html.dark-mode .game-showcase { color: #e8e8f0; }
html.dark-mode .showcase-text .story-title,
html.dark-mode .game-showcase h2,
html.dark-mode .game-showcase h3 { color: #f0f0f8; }
html.dark-mode .game-showcase .main-p,
html.dark-mode .game-showcase p { color: #b8b8d0; }
html.dark-mode .showcase-video {
    border-color: #1f2040;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

/* Game expand button & details */
html.dark-mode .game-expand-toggle {
    background: #1f2040;
    color: #f0f0f8;
    box-shadow: 0 8px 18px rgba(0,0,0,0.4);
}
html.dark-mode .game-expand-toggle:hover {
    background: linear-gradient(to bottom, #2a2b50, #1f2040);
}
html.dark-mode .details-inner {
    background: #15162b;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
html.dark-mode .details-card {
    background: #1f2040;
}
html.dark-mode .details-card p,
html.dark-mode .details-list li {
    color: #c8c8e0;
    border-bottom-color: rgba(255,255,255,0.08);
}
html.dark-mode .details-heading { color: #f0f0f8; }

/* Features section */
html.dark-mode #features,
html.dark-mode .features-section,
html.dark-mode section.features,
html.dark-mode #features.reveal {
    background: #0d0e1f;
}
html.dark-mode .feature-card {
    background: #1f2040;
    color: #e8e8f0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
html.dark-mode .feature-card h3,
html.dark-mode .feature-card h2 { color: #f0f0f8; }
html.dark-mode .feature-card p { color: #b8b8d0; }

/* About section */
html.dark-mode #about {
    background: #15162b;
}
html.dark-mode #about h2,
html.dark-mode .about-content h2,
html.dark-mode .about-content h3 { color: #f0f0f8; }
html.dark-mode .about-content p,
html.dark-mode #about p { color: #b8b8d0; }

/* Contact section */
html.dark-mode #contact {
    background: #0d0e1f;
}
html.dark-mode .contact-heading,
html.dark-mode .contact-desc,
html.dark-mode .contact-info-label,
html.dark-mode .contact-info-value { color: #f0f0f8; }
html.dark-mode .contact-desc,
html.dark-mode .contact-info-label { color: #b8b8d0; }
html.dark-mode .contact-info-card {
    background: #1f2040;
    box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}
html.dark-mode .contact-form,
html.dark-mode .cf-input {
    background: #1f2040;
    color: #f0f0f8;
    border-color: rgba(255,255,255,0.10);
}
html.dark-mode .cf-input::placeholder { color: #6e6e88; }
html.dark-mode .cf-label { color: #c8c8e0; }

/* Generic headings & text fallback for sections */
html.dark-mode h1,
html.dark-mode h2,
html.dark-mode h3,
html.dark-mode h4 {
    color: #f0f0f8;
}

/* Gallery */
html.dark-mode #gallery {
    background: #15162b;
}
html.dark-mode .gallery-card,
html.dark-mode .full-gallery-item {
    background: #1f2040;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Community section already dark in original — leave alone */

/* Section base backgrounds */
html.dark-mode section {
    background-color: transparent;
}
html.dark-mode section[style*="background"] {
    /* keep inline backgrounds */
}

