/* ═══════════════════════════════════════════════════════════
   SENAI Gamer — Design System Premium
   Tema: Cyberpunk Gamer com Neon & Glassmorphism
   Autor: Prof. Esp. Leandro Gaudio Rosa
   ═══════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* ── CSS Custom Properties (Design Tokens) ── */
:root {
    color-scheme: dark;
    /* Cores primárias */
    --primary: #ff003c;
    --primary-rgb: 255, 0, 60;
    --secondary: #a1a1aa;
    --secondary-rgb: 161, 161, 170;
    --accent: #e11d48;
    --accent-rgb: 225, 29, 72;

    /* Aliases para compatibilidade */
    --neon-cyan: var(--primary);
    --neon-purple: var(--secondary);

    /* Cores de fundo */
    --bg-dark: #000000;
    --bg-card: rgba(20, 20, 20, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.07);
    --bg-surface: #121214;

    /* Texto */
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    /* Status */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-secondary: linear-gradient(135deg, var(--secondary), #52525b);
    --gradient-neon: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-dark: linear-gradient(180deg, #000000 0%, #121214 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);

    /* Sombras */
    --shadow-neon: 0 0 20px rgba(var(--primary-rgb), 0.25), 0 0 60px rgba(var(--primary-rgb), 0.08);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 15px rgba(var(--primary-rgb), 0.4);

    /* Bordas */
    --border-glass: 1px solid rgba(255, 255, 255, 0.05);
    --border-neon: 1px solid rgba(var(--primary-rgb), 0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Tipografia */
    --font-display: 'Orbitron', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Espaçamento */
    --section-padding: 100px 0;
    --container-max: 1200px;

    /* Transições */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scanlines retro CRT filter */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%);
    background-size: 100% 4px;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.4;
}

/* Pulsing effect and custom animation tokens */
@keyframes neon-pulse {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(255, 0, 60, 0.3), 0 0 20px rgba(255, 0, 60, 0.1);
        border-color: rgba(255, 0, 60, 0.4);
    }

    50% {
        box-shadow: 0 0 16px rgba(255, 0, 60, 0.6), 0 0 35px rgba(255, 0, 60, 0.3);
        border-color: rgba(255, 0, 60, 0.8);
    }
}

.pulse-border {
    animation: neon-pulse 2s infinite ease-in-out;
}

/* Glitch Shake Animation for easter egg and visual micro-interactions */
@keyframes screen-glitch-shake {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    10% {
        transform: translate(-2px, -1px) rotate(-0.5deg);
    }

    20% {
        transform: translate(1px, 2px) rotate(0.5deg);
    }

    30% {
        transform: translate(-1px, 1px) rotate(0deg);
    }

    40% {
        transform: translate(2px, -1px) rotate(0.5deg);
    }

    50% {
        transform: translate(-1px, -2px) rotate(-0.5deg);
    }

    60% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(-2px, 1px) rotate(0.5deg);
    }

    80% {
        transform: translate(2px, -1px) rotate(-0.5deg);
    }

    99% {
        transform: translate(-1px, 2px) rotate(0deg);
    }
}

.glitch-active {
    animation: screen-glitch-shake 0.3s infinite;
}

/* Modern Hover Micro-animations */
.btn,
.btn-primary,
.btn-secondary {
    transition: var(--transition);
}

.card,
.glass-panel,
.game-card {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover,
.glass-panel:hover,
.game-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 0, 60, 0.15);
    border-color: rgba(255, 0, 60, 0.4) !important;
}

/* Interactive brand logo rotation/scale */
.navbar-brand .logo-img {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.navbar-brand .logo-img:hover {
    transform: rotate(8deg) scale(1.15);
}

.navbar-brand .logo-img:active {
    transform: rotate(-10deg) scale(0.9);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-dark);
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 4px;
}

/* ── Seleção de texto ── */
::selection {
    background: rgba(var(--primary-rgb), 0.3);
    color: #fff;
}

/* ── Links ── */
a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

/* ── Container ── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════
   NAVBAR
   ═══════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: var(--border-glass);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand .logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.navbar-brand .logo-img {
    height: 40px;
    width: auto;
}

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

.nav-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-username {
    display: inline-block;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Botão CTA na navbar */
.nav-cta {
    background: var(--gradient-primary) !important;
    color: #000 !important;
    font-weight: 700 !important;
    padding: 10px 24px !important;
    border-radius: 10px !important;
    box-shadow: var(--shadow-glow);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(var(--primary-rgb), 0.6);
}

/* Menu mobile */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px 0;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ═══════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%),
        radial-gradient(ellipse at 80% 50%, rgba(var(--secondary-rgb), 0.06) 0%, transparent 50%),
        var(--bg-dark);
    padding: 120px 0 60px;
    box-sizing: border-box;
}

.hero-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* ── Pacman & Ghost Easter Egg ── */
.pacman-track {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px dashed rgba(255, 255, 255, 0.05);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    z-index: 5;
    animation: fadeInDown 0.8s ease-out, pacman-track-flash 24s linear infinite;
}

.pacman-container {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -20%;
    display: flex;
    align-items: center;
    z-index: 2;
    animation: pacman-walk-24s 24s linear infinite;
}

.pacman {
    position: relative;
    width: 32px;
    height: 32px;
    transform: translateX(var(--pacman-x, 36px)) scale(var(--pacman-scale, 1));
    animation: pacman-state-cycle 24s linear infinite;
    filter: drop-shadow(var(--pacman-glow, 0 0 0px transparent));
    transition: filter 0.15s ease;
}

.pacman::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    width: 35px;
    height: 16px;
    background: linear-gradient(to left, var(--pacman-color, #f59e0b) 0%, transparent 100%);
    opacity: 0.6;
    z-index: -1;
    clip-path: polygon(100% 0, 0 35%, 0 45%, 100% 10%, 100% 90%, 0 55%, 0 65%, 100% 100%);
    animation: speed-trail-flicker 0.1s infinite linear;
}

.pacman-top, .pacman-bottom {
    position: absolute;
    width: 0;
    height: 0;
    border: 16px solid var(--pacman-color, #f59e0b);
    border-radius: 50%;
    left: 0;
    top: 0;
    transition: border-color 0.15s ease;
}

.pacman-top {
    border-right-color: transparent !important;
    border-bottom-color: transparent !important;
    animation: pacman-mouth-top 0.3s ease-in-out infinite alternate;
}

.pacman-bottom {
    border-right-color: transparent !important;
    border-top-color: transparent !important;
    animation: pacman-mouth-bottom 0.3s ease-in-out infinite alternate;
}

.ghost {
    position: relative;
    width: 24px;
    height: 24px;
    background: var(--ghost-color, #ff003c);
    border-radius: 12px 12px 0 0;
    margin-right: 12px;
    transform: translateX(var(--ghost-x, 0px)) translateY(calc(var(--ghost-y, 0px) + var(--ghost-shake-y, 0px)));
    animation: ghost-state-cycle 24s linear infinite, ghost-float-vars 0.3s ease-in-out infinite alternate;
    transition: background 0.15s ease;
}

.ghost::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    width: 35px;
    height: 16px;
    background: linear-gradient(to left, var(--ghost-color, #ff003c) 0%, transparent 100%);
    opacity: 0.6;
    z-index: -1;
    clip-path: polygon(100% 0, 0 35%, 0 45%, 100% 10%, 100% 90%, 0 55%, 0 65%, 100% 100%);
    animation: speed-trail-flicker 0.1s infinite linear;
}

.ghost::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: transparent;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: 10;
    pointer-events: none;
    animation: ghost-eat-explosion 24s linear infinite;
}

.ghost-eyes {
    position: absolute;
    top: 6px;
    left: 4px;
    display: flex;
    gap: 4px;
}

.ghost-eye {
    width: 6px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    position: relative;
}

.ghost-pupil {
    width: 3px;
    height: 3px;
    background: #0000ff;
    border-radius: 50%;
    position: absolute;
    left: var(--pupil-left, auto);
    right: var(--pupil-right, 0px);
    top: 2px;
}

.ghost-skirt {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, transparent 33.3%, var(--ghost-color, #ff003c) 33.3%, var(--ghost-color, #ff003c) 66.6%, transparent 66.6%),
                linear-gradient(-45deg, transparent 33.3%, var(--ghost-color, #ff003c) 33.3%, var(--ghost-color, #ff003c) 66.6%, transparent 66.6%);
    background-size: 8px 8px;
    transition: background 0.15s ease;
}

.ghost-score {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 900;
    color: #38bdf8;
    text-shadow: 0 0 5px #38bdf8;
    opacity: 0;
    white-space: nowrap;
    z-index: 10;
    animation: ghost-score-active 24s linear infinite;
    transition: transform 0.1s ease;
}

.pacman-dots {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 8px;
    transform: translateY(-50%);
    z-index: 1;
}

.pacman-dot {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px #fff;
}

.pacman-dot:nth-child(1) { left: 8%; animation: eat-dot-1 24s infinite; }
.pacman-dot:nth-child(2) { left: 17%; animation: eat-dot-2 24s infinite; }
.pacman-dot:nth-child(3) { left: 26%; animation: eat-dot-3 24s infinite; }
.pacman-dot:nth-child(4) { left: 35%; animation: eat-dot-4 24s infinite; }
.pacman-dot:nth-child(5) { left: 44%; animation: eat-dot-5 24s infinite; }
.pacman-dot:nth-child(6) { left: 53%; animation: eat-dot-6 24s infinite; }
.pacman-dot:nth-child(7) { left: 62%; animation: eat-dot-7 24s infinite; }
.pacman-dot:nth-child(8) { left: 71%; animation: eat-dot-8 24s infinite; }
.pacman-dot:nth-child(9) { left: 80%; animation: eat-dot-9 24s infinite; }
.pacman-dot:nth-child(10) {
    left: 89%;
    width: 10px;
    height: 10px;
    background: #ff00ff;
    box-shadow: 0 0 10px #ff00ff;
    animation: eat-dot-10 24s infinite, pellet-flash 0.5s infinite alternate;
}

.speed-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    animation: speed-particles-direction 24s step-end infinite;
}

.speed-particle {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), transparent);
    border-radius: 1px;
    animation: speed-particle-move 1.5s linear infinite;
}

.speed-particle:nth-child(1) { top: 20%; width: 30px; animation-duration: 1.2s; animation-delay: 0.1s; }
.speed-particle:nth-child(2) { top: 40%; width: 50px; animation-duration: 0.8s; animation-delay: 0.5s; }
.speed-particle:nth-child(3) { top: 60%; width: 25px; animation-duration: 1.5s; animation-delay: 0.2s; }
.speed-particle:nth-child(4) { top: 80%; width: 40px; animation-duration: 1s; animation-delay: 0.7s; }

@keyframes speed-particles-direction {
    0%, 66.6% { transform: scaleX(1); }
    66.7%, 100% { transform: scaleX(-1); }
}

@keyframes speed-particle-move {
    0% { right: -10%; opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { right: 110%; opacity: 0; }
}

@keyframes speed-trail-flicker {
    0% { opacity: 0.3; transform: translateY(-50%) scaleY(0.8); }
    100% { opacity: 0.7; transform: translateY(-50%) scaleY(1.2); }
}

@keyframes pellet-flash {
    0% { transform: translate(-50%, -50%) scale(1); filter: brightness(1); }
    100% { transform: translate(-50%, -50%) scale(1.4); filter: brightness(1.5) drop-shadow(0 0 6px #ff00ff); }
}

@keyframes pacman-walk-24s {
    /* Run 1: 0% to 33.3% */
    0% { left: -20%; transform: translateY(-50%) scaleX(1); }
    33.3% { left: 105%; transform: translateY(-50%) scaleX(1); }
    
    /* Run 2: 33.4% to 66.6% */
    33.4% { left: -20%; transform: translateY(-50%) scaleX(1); }
    66.6% { left: 105%; transform: translateY(-50%) scaleX(1); }
    
    /* Run 3: 66.7% to 100% */
    66.7% { left: 105%; transform: translateY(-50%) scaleX(-1); }
    100% { left: -20%; transform: translateY(-50%) scaleX(-1); }
}

@keyframes pacman-mouth-top {
    0% { transform: rotate(var(--mouth-angle-top-start, -30deg)); }
    100% { transform: rotate(var(--mouth-angle-top-end, 0deg)); }
}

@keyframes pacman-mouth-bottom {
    0% { transform: rotate(var(--mouth-angle-bottom-start, 30deg)); }
    100% { transform: rotate(var(--mouth-angle-bottom-end, 0deg)); }
}

@keyframes ghost-float-vars {
    0% { --ghost-y: 0px; }
    100% { --ghost-y: -3px; }
}

@keyframes ghost-score-active {
    /* Runs 1 & 2: Hidden (parent scaleX(1)) */
    0%, 83.3% { opacity: 0; transform: translateX(-50%) scaleX(1) scale(0) translateY(0); }
    /* Run 3 (eaten): Pop up mirrored back to read correctly (+200) */
    83.8% { opacity: 1; transform: translateX(-50%) scaleX(-1) scale(1) translateY(0); }
    88% { opacity: 0; transform: translateX(-50%) scaleX(-1) scale(1) translateY(-25px); }
    88.1%, 100% { opacity: 0; transform: translateX(-50%) scaleX(1) scale(0) translateY(0); }
}

@keyframes eat-dot-1 {
    0%, 7.4% { opacity: 1; }
    7.5%, 33.3% { opacity: 0; }
    33.4%, 40.8% { opacity: 1; }
    40.9%, 66.6% { opacity: 0; }
    66.7%, 92.5% { opacity: 1; }
    92.6%, 100% { opacity: 0; }
}
@keyframes eat-dot-2 {
    0%, 9.8% { opacity: 1; }
    9.9%, 33.3% { opacity: 0; }
    33.4%, 43.2% { opacity: 1; }
    43.3%, 66.6% { opacity: 0; }
    66.7%, 90.1% { opacity: 1; }
    90.2%, 100% { opacity: 0; }
}
@keyframes eat-dot-3 {
    0%, 12.2% { opacity: 1; }
    12.3%, 33.3% { opacity: 0; }
    33.4%, 45.6% { opacity: 1; }
    45.7%, 66.6% { opacity: 0; }
    66.7%, 87.7% { opacity: 1; }
    87.8%, 100% { opacity: 0; }
}
@keyframes eat-dot-4 {
    0%, 14.6% { opacity: 1; }
    14.7%, 33.3% { opacity: 0; }
    33.4%, 48.0% { opacity: 1; }
    48.1%, 66.6% { opacity: 0; }
    66.7%, 85.3% { opacity: 1; }
    85.4%, 100% { opacity: 0; }
}
@keyframes eat-dot-5 {
    0%, 17.0% { opacity: 1; }
    17.1%, 33.3% { opacity: 0; }
    33.4%, 50.4% { opacity: 1; }
    50.5%, 66.6% { opacity: 0; }
    66.7%, 82.9% { opacity: 1; }
    83.0%, 100% { opacity: 0; }
}
@keyframes eat-dot-6 {
    0%, 19.4% { opacity: 1; }
    19.5%, 33.3% { opacity: 0; }
    33.4%, 52.8% { opacity: 1; }
    52.9%, 66.6% { opacity: 0; }
    66.7%, 80.5% { opacity: 1; }
    80.6%, 100% { opacity: 0; }
}
@keyframes eat-dot-7 {
    0%, 21.8% { opacity: 1; }
    21.9%, 33.3% { opacity: 0; }
    33.4%, 55.2% { opacity: 1; }
    55.3%, 66.6% { opacity: 0; }
    66.7%, 78.1% { opacity: 1; }
    78.2%, 100% { opacity: 0; }
}
@keyframes eat-dot-8 {
    0%, 24.2% { opacity: 1; }
    24.3%, 33.3% { opacity: 0; }
    33.4%, 57.6% { opacity: 1; }
    57.7%, 66.6% { opacity: 0; }
    66.7%, 75.7% { opacity: 1; }
    75.8%, 100% { opacity: 0; }
}
@keyframes eat-dot-9 {
    0%, 26.6% { opacity: 1; }
    26.7%, 33.3% { opacity: 0; }
    33.4%, 60.0% { opacity: 1; }
    60.1%, 66.6% { opacity: 0; }
    66.7%, 73.3% { opacity: 1; }
    73.4%, 100% { opacity: 0; }
}
@keyframes eat-dot-10 {
    0%, 29.0% { opacity: 1; }
    29.1%, 33.3% { opacity: 0; }
    33.4%, 62.4% { opacity: 1; }
    62.5%, 66.6% { opacity: 0; }
    66.7%, 70.9% { opacity: 1; }
    71.0%, 100% { opacity: 0; }
}

@keyframes pacman-state-cycle {
    /* Run 1: Normal yellow Pacman leading (0s to 8s) */
    0%, 33.3% {
        --pacman-x: 36px;
        --pacman-color: #f59e0b;
        --pacman-glow: 0 0 0px transparent;
        --pacman-scale: 1;
        --mouth-angle-top-start: -30deg;
        --mouth-angle-top-end: 0deg;
        --mouth-angle-bottom-start: 30deg;
        --mouth-angle-bottom-end: 0deg;
    }
    /* Run 2: Rainbow color trailing (8s to 16s) */
    33.4% {
        --pacman-x: 0px;
        --pacman-color: #ff0000;
        --pacman-glow: 0 0 15px #ff0000;
        --pacman-scale: 1;
        --mouth-angle-top-start: -30deg;
        --mouth-angle-top-end: 0deg;
        --mouth-angle-bottom-start: 30deg;
        --mouth-angle-bottom-end: 0deg;
    }
    37.5% { --pacman-color: #ff7f00; --pacman-glow: 0 0 15px #ff7f00; }
    41.6% { --pacman-color: #ffff00; --pacman-glow: 0 0 15px #ffff00; }
    45.8% { --pacman-color: #00ff00; --pacman-glow: 0 0 15px #00ff00; }
    50% { --pacman-color: #00ffff; --pacman-glow: 0 0 15px #00ffff; }
    54.1% { --pacman-color: #0000ff; --pacman-glow: 0 0 15px #0000ff; }
    58.3% { --pacman-color: #8b00ff; --pacman-glow: 0 0 15px #8b00ff; }
    62.5% { --pacman-color: #ff00ff; --pacman-glow: 0 0 15px #ff00ff; }
    /* Run 3: Rainbow color trailing and catching ghost (16s to 24s) */
    66.6% {
        --pacman-x: 0px;
        --pacman-color: #ff0000;
        --pacman-glow: 0 0 15px #ff0000;
        --pacman-scale: 1;
        --mouth-angle-top-start: -30deg;
        --mouth-angle-top-end: 0deg;
        --mouth-angle-bottom-start: 30deg;
        --mouth-angle-bottom-end: 0deg;
    }
    70.8% { --pacman-color: #ff7f00; --pacman-glow: 0 0 15px #ff7f00; }
    75% { --pacman-color: #ffff00; --pacman-glow: 0 0 15px #ffff00; }
    79.2% { --pacman-color: #00ff00; --pacman-glow: 0 0 15px #00ff00; }
    80% {
        --pacman-x: 0px;
        --pacman-scale: 1;
        --mouth-angle-top-start: -30deg;
        --mouth-angle-top-end: 0deg;
        --mouth-angle-bottom-start: 30deg;
        --mouth-angle-bottom-end: 0deg;
    }
    82.5% {
        --pacman-x: 40px;
        --pacman-color: #00ffff;
        --pacman-glow: 0 0 15px #00ffff;
        --pacman-scale: 1.15;
        --mouth-angle-top-start: -60deg;
        --mouth-angle-top-end: -60deg;
        --mouth-angle-bottom-start: 60deg;
        --mouth-angle-bottom-end: 60deg;
    } /* Opens mouth wide! */
    83.3% {
        --pacman-x: 80px;
        --pacman-color: #00ffff;
        --pacman-glow: 0 0 15px #00ffff;
        --pacman-scale: 1.25;
        --mouth-angle-top-start: 0deg;
        --mouth-angle-top-end: 0deg;
        --mouth-angle-bottom-start: 0deg;
        --mouth-angle-bottom-end: 0deg;
    } /* Catches ghost, snaps shut! */
    83.8% {
        --pacman-x: 80px;
        --pacman-color: #ffffff;
        --pacman-glow: 0 0 45px #ffffff;
        --pacman-scale: 1.7;
        --mouth-angle-top-start: 0deg;
        --mouth-angle-top-end: 0deg;
        --mouth-angle-bottom-start: 0deg;
        --mouth-angle-bottom-end: 0deg;
    } /* Eating flash chomp! */
    84.5% {
        --pacman-x: 80px;
        --pacman-color: #0000ff;
        --pacman-glow: 0 0 15px #0000ff;
        --pacman-scale: 0.95;
        --mouth-angle-top-start: -30deg;
        --mouth-angle-top-end: 0deg;
        --mouth-angle-bottom-start: 30deg;
        --mouth-angle-bottom-end: 0deg;
    } /* Squash rebound & normal mouth */
    87.5% { --pacman-color: #8b00ff; --pacman-glow: 0 0 15px #8b00ff; }
    91.6% { --pacman-color: #ff00ff; --pacman-glow: 0 0 15px #ff00ff; }
    95.8% { --pacman-color: #ff0000; --pacman-glow: 0 0 15px #ff0000; }
    99.9% {
        --pacman-x: 80px;
        --pacman-color: #f59e0b;
        --pacman-glow: 0 0 0px transparent;
        --pacman-scale: 1;
        --mouth-angle-top-start: -30deg;
        --mouth-angle-top-end: 0deg;
        --mouth-angle-bottom-start: 30deg;
        --mouth-angle-bottom-end: 0deg;
    }
    100% {
        --pacman-x: 36px;
        --pacman-color: #f59e0b;
        --pacman-glow: 0 0 0px transparent;
        --pacman-scale: 1;
        --mouth-angle-top-start: -30deg;
        --mouth-angle-top-end: 0deg;
        --mouth-angle-bottom-start: 30deg;
        --mouth-angle-bottom-end: 0deg;
    }
}

@keyframes ghost-state-cycle {
    /* Run 1: Normal red Blinky, chasing Pacman (0s to 8s) */
    0%, 33.3% {
        --ghost-color: #ff003c;
        --ghost-x: 0px;
        --pupil-left: auto;
        --pupil-right: 0px;
        --ghost-shake-y: 0px;
    }
    /* Run 2: Frightened blue ghost, chased by Pacman (8s to 16s) */
    33.4%, 66.5% {
        --ghost-color: #1d4ed8;
        --ghost-x: 80px;
        --pupil-left: 0px;
        --pupil-right: auto;
        --ghost-shake-y: 0px;
    }
    /* Run 3: Second psychedelic run (16s to 24s) - Ghost gets eaten */
    66.6%, 80% {
        --ghost-color: #1d4ed8;
        --ghost-x: 110px; /* Run way ahead! */
        --pupil-left: 0px;
        --pupil-right: auto;
        --ghost-shake-y: 0px;
    }
    82.5% {
        --ghost-color: #1d4ed8;
        --ghost-x: 112px;
        --pupil-left: 0px;
        --pupil-right: auto;
        --ghost-shake-y: 0px;
    }
    83.3% {
        --ghost-color: #1d4ed8;
        --ghost-x: 115px;
        --pupil-left: 0px;
        --pupil-right: auto;
        --ghost-shake-y: -6px; /* Caught shake */
    }
    83.5% {
        --ghost-color: #1d4ed8;
        --ghost-x: 115px;
        --pupil-left: 0px;
        --pupil-right: auto;
        --ghost-shake-y: 6px; /* Caught shake */
    }
    83.8% {
        --ghost-color: transparent;
        --ghost-x: 115px;
        --pupil-left: 0px;
        --pupil-right: auto;
        --ghost-shake-y: 0px;
    }
    84.2% {
        --ghost-color: transparent;
        --ghost-x: 115px;
        --pupil-left: 0px;
        --pupil-right: auto;
        --ghost-shake-y: 0px;
    }
    95% {
        --ghost-color: transparent;
        --ghost-x: -300px;
        --pupil-left: 0px;
        --pupil-right: auto;
        --ghost-shake-y: 0px;
    }
    99.9% {
        --ghost-color: transparent;
        --ghost-x: -300px;
        --pupil-left: 0px;
        --pupil-right: auto;
        --ghost-shake-y: 0px;
    }
    100% {
        --ghost-color: #ff003c;
        --ghost-x: 0px;
        --pupil-left: auto;
        --pupil-right: 0px;
        --ghost-shake-y: 0px;
    }
}

@keyframes ghost-eat-explosion {
    0%, 83.2% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
        box-shadow: none;
    }
    83.3% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
        box-shadow: 
            0 -10px 0 #00ffff, 
            0 10px 0 #00ffff, 
            -10px 0 0 #00ffff, 
            10px 0 0 #00ffff,
            -7px -7px 0 #ff00ff,
            7px -7px 0 #ff00ff,
            -7px 7px 0 #ff00ff,
            7px 7px 0 #ff00ff;
    }
    84.2% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
        box-shadow: 
            0 -25px 0 transparent, 
            0 25px 0 transparent, 
            -25px 0 0 transparent, 
            25px 0 0 transparent,
            -18px -18px 0 transparent,
            18px 18px 0 transparent,
            -18px 18px 0 transparent,
            -18px 18px 0 transparent;
    }
    84.3%, 100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
        box-shadow: none;
    }
}

@keyframes pacman-track-flash {
    0%, 83.2% {
        background: rgba(0, 0, 0, 0.15);
        border-top-color: rgba(255, 255, 255, 0.05);
        border-bottom-color: rgba(255, 255, 255, 0.05);
    }
    83.3% {
        background: rgba(0, 255, 255, 0.1);
        border-top-color: rgba(0, 255, 255, 0.4);
        border-bottom-color: rgba(0, 255, 255, 0.4);
        box-shadow: inset 0 0 15px rgba(0, 255, 255, 0.2);
    }
    83.8% {
        background: rgba(255, 0, 255, 0.15);
        border-top-color: rgba(255, 0, 255, 0.6);
        border-bottom-color: rgba(255, 0, 255, 0.6);
        box-shadow: inset 0 0 25px rgba(255, 0, 255, 0.3);
    }
    84.5% {
        background: rgba(0, 0, 0, 0.15);
        border-top-color: rgba(255, 255, 255, 0.05);
        border-bottom-color: rgba(255, 255, 255, 0.05);
        box-shadow: none;
    }
    100% {
        background: rgba(0, 0, 0, 0.15);
        border-top-color: rgba(255, 255, 255, 0.05);
        border-bottom-color: rgba(255, 255, 255, 0.05);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--bg-glass);
    border: var(--border-neon);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease-out;
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 24px;
    gap: 30px;
}

.hero-logo-container .hero-title {
    margin: 0;
    width: auto;
    flex-shrink: 0;
}

.hero-title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    width: 100%;
}

.hero-logo {
    display: block;
    width: 100%;
    max-width: 650px;
    height: auto;
    max-height: min(450px, 45vh);
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(var(--primary-rgb), 0.45));
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    animation: logo-float 5s ease-in-out infinite;
}

.hero-logo-info {
    position: absolute;
    width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 0 10px rgba(var(--primary-rgb), 0.05);
    padding: 18px 22px;
    border-radius: 12px;
    backdrop-filter: blur(15px);
    overflow: hidden;
    z-index: 10;
}

.hero-logo-info::before {
    content: '';
    position: absolute;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.6);
}

.left-info {
    right: calc(50% + 345px);
    transform: translateX(30px);
    text-align: right;
}

.left-info::before {
    right: 0;
    left: auto;
}

.right-info {
    left: calc(50% + 345px);
    transform: translateX(-30px);
    text-align: left;
}

.right-info::before {
    left: 0;
    right: auto;
}

@keyframes logo-pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 25px rgba(var(--primary-rgb), 0.45));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 45px rgba(var(--primary-rgb), 0.75));
    }
}

/* Hover effect - Pulse central logo */
.hero-logo-container:has(.hero-logo:hover) .hero-logo,
.hero-logo-container:has(.hero-logo-info:hover) .hero-logo {
    animation: logo-pulse 2s ease-in-out infinite;
}

/* Hover effect - Slide in and show left info panel */
.hero-logo-container:has(.hero-logo:hover) .left-info,
.hero-logo-container:has(.hero-logo-info:hover) .left-info {
    opacity: 1;
    visibility: visible;
    right: calc(50% + 340px);
    transform: translateX(0);
    border-color: rgba(var(--primary-rgb), 0.5);
    box-shadow: 0 0 35px rgba(var(--primary-rgb), 0.18), 0 8px 32px rgba(0, 0, 0, 0.7);
}

/* Hover effect - Slide in and show right info panel */
.hero-logo-container:has(.hero-logo:hover) .right-info,
.hero-logo-container:has(.hero-logo-info:hover) .right-info {
    opacity: 1;
    visibility: visible;
    left: calc(50% + 340px);
    transform: translateX(0);
    border-color: rgba(var(--primary-rgb), 0.5);
    box-shadow: 0 0 35px rgba(var(--primary-rgb), 0.18), 0 8px 32px rgba(0, 0, 0, 0.7);
}

/* Inner elements */
.hero-logo-info .info-title {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(var(--primary-rgb), 0.4);
    border-bottom: 1px dashed rgba(var(--primary-rgb), 0.2);
    padding-bottom: 6px;
}

.hero-logo-info .info-item {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-primary);
    margin: 8px 0;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-logo-info .info-item:hover {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(var(--primary-rgb), 0.8);
}

.left-info .info-item:hover {
    transform: translateX(-4px);
}

.right-info .info-item:hover {
    transform: translateX(4px);
}

/* Mobile responsive styles */
@media (max-width: 992px) {
    .hero-logo-container {
        flex-direction: column;
        gap: 20px;
    }

    .hero-logo-info {
        position: static;
        width: 100%;
        max-width: 320px;
        text-align: center;
        opacity: 1;
        visibility: visible;
        transform: none !important;
        transition: none;
    }

    .left-info {
        right: auto;
    }

    .left-info::before {
        left: 0;
        right: 0;
        top: 0;
        width: 100%;
        height: 3px;
    }

    .right-info {
        left: auto;
    }

    .right-info::before {
        left: 0;
        right: 0;
        top: 0;
        width: 100%;
        height: 3px;
    }

    .hero-logo {
        max-width: 320px;
    }
}

@keyframes logo-float {

    0%,
    100% {
        transform: translateY(0);
        filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.45));
    }

    50% {
        transform: translateY(-12px);
        filter: drop-shadow(0 0 35px rgba(var(--primary-rgb), 0.65));
    }
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Countdown */
.hero-countdown {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    gap: 12px;
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(var(--primary-rgb), 0.25), 0 8px 32px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.countdown-close {
    position: absolute;
    top: 4px;
    right: 8px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
    z-index: 2;
}

.countdown-close:hover {
    color: var(--primary);
}

.hero-countdown::before {
    content: "O EVENTO COMEÇA EM";
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

.countdown-item {
    text-align: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    min-width: 65px;
}

.countdown-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    text-shadow: 0 0 8px rgba(var(--primary-rgb), 0.4);
}

.countdown-label {
    font-size: 0.6rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* ═══════════════════════════════════
   SEÇÃO GENÉRICA
   ═══════════════════════════════════ */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 12px;
    padding: 6px 16px;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: 100px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Separador neon */
.section-divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-neon);
    margin: 16px auto 0;
    border-radius: 3px;
}

/* ═══════════════════════════════════
   BOTÕES
   ═══════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #000;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.5);
    color: #000;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--primary);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #dc2626);
    color: #fff;
}

.btn-danger:hover {
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #059669);
    color: #fff;
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning), #d97706);
    color: #000;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 8px;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ═══════════════════════════════════
   CARDS
   ═══════════════════════════════════ */
.card {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.5), transparent);
    opacity: 0;
    transition: var(--transition);
}

.card:hover::before {
    opacity: 1;
}

.card-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.card:hover .card-image img {
    transform: scale(1.08);
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
}

.card-body {
    padding: 24px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.card-meta {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: var(--border-glass);
}

.card-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card-meta-item .icon {
    color: var(--primary);
}

/* Badge para status do jogo */
.game-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-badge.team {
    background: rgba(var(--accent-rgb), 0.2);
    color: var(--accent);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
}

.game-badge.solo {
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
}

.game-badge.fee {
    background: rgba(var(--warning), 0.15);
    color: var(--warning);
    border: 1px solid rgba(var(--warning), 0.3);
}

/* ═══════════════════════════════════
   GRID DE JOGOS
   ═══════════════════════════════════ */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

/* ═══════════════════════════════════
   FORMULÁRIOS
   ═══════════════════════════════════ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
    background: rgba(var(--primary-rgb), 0.03);
}

.form-control::placeholder {
    color: var(--text-muted);
}

select.form-control {
    appearance: none;
    background-color: #121214 !important;
    color: var(--text-primary) !important;
    color-scheme: dark;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239ca3af' fill='none' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

select.form-control option {
    background-color: #121214 !important;
    color: #f4f4f5 !important;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.form-error {
    font-size: 0.8rem;
    color: var(--danger);
    margin-top: 6px;
}

/* Checkbox / Radio customizado */
.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 0;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* ═══════════════════════════════════
   AUTH PAGES (Login / Registro)
   ═══════════════════════════════════ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 40px;
    background: radial-gradient(ellipse at top, rgba(var(--primary-rgb), 0.05), transparent 60%),
        var(--bg-dark);
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    box-shadow: var(--shadow-card);
    position: relative;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-neon);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.auth-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

/* ═══════════════════════════════════
   ALERTS / FLASH MESSAGES
   ═══════════════════════════════════ */
.alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    animation: slideDown 0.3s ease-out;
}

.alert-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--warning);
}

.alert-info {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--info);
}

.alert-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.alert-close:hover {
    opacity: 1;
}

/* ═══════════════════════════════════
   TABELAS
   ═══════════════════════════════════ */
.table-container {
    overflow-x: auto;
    border-radius: var(--radius);
    border: var(--border-glass);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: rgba(var(--primary-rgb), 0.06);
}

th {
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: var(--border-neon);
    white-space: nowrap;
}

td {
    padding: 14px 18px;
    font-size: 0.9rem;
    border-bottom: var(--border-glass);
    color: var(--text-secondary);
}

tr:hover td {
    background: var(--bg-glass);
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-paid {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.status-pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.status-exempt_pending {
    background: rgba(59, 130, 246, 0.15);
    color: var(--info);
}

.status-exempt_approved {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.status-pending_payment {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

/* ═══════════════════════════════════
   GALERIA LIGHTBOX
   ═══════════════════════════════════ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    font-size: 2rem;
    color: #fff;
}

/* Lightbox modal */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-nav:hover {
    background: rgba(var(--primary-rgb), 0.3);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* ═══════════════════════════════════
   CAMPEÕES / PÓDIO
   ═══════════════════════════════════ */
.podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 16px;
    margin: 40px 0;
}

.podium-item {
    text-align: center;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--gradient-card);
    border: var(--border-glass);
    backdrop-filter: blur(20px);
    transition: var(--transition);
    min-width: 200px;
}

.podium-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
}

.podium-item.gold {
    order: 2;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.02) 100%);
    border-color: rgba(255, 215, 0, 0.3);
    padding-bottom: 60px;
}

.podium-item.silver {
    order: 1;
    padding-bottom: 40px;
}

.podium-item.bronze {
    order: 3;
    padding-bottom: 30px;
}

.podium-position {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.podium-item.gold .podium-position {
    color: #ffd700;
}

.podium-item.silver .podium-position {
    color: #c0c0c0;
}

.podium-item.bronze .podium-position {
    color: #cd7f32;
}

.podium-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 8px;
}

.podium-trophy {
    font-size: 3rem;
    margin-bottom: 8px;
}

/* ═══════════════════════════════════
   TIMELINE (CRONOGRAMA)
   ═══════════════════════════════════ */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
    border: 2px solid var(--bg-dark);
}

/* ═══════════════════════════════════
   PIX PAYMENT
   ═══════════════════════════════════ */
.pix-container {
    text-align: center;
    padding: 40px;
    background: var(--gradient-card);
    border: var(--border-glass);
    border-radius: var(--radius-xl);
    max-width: 500px;
    margin: 0 auto;
    backdrop-filter: blur(20px);
}

.pix-qr {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    display: inline-block;
    margin: 20px 0;
}

.pix-qr img {
    width: 200px;
    height: 200px;
}

.pix-code {
    background: var(--bg-glass);
    border: var(--border-glass);
    border-radius: var(--radius);
    padding: 16px;
    font-family: monospace;
    font-size: 0.85rem;
    word-break: break-all;
    margin: 16px 0;
    color: var(--text-secondary);
    position: relative;
}

.pix-copy-btn {
    margin-top: 12px;
}

.pix-status {
    margin-top: 24px;
    padding: 16px;
    border-radius: var(--radius);
    font-weight: 600;
}

.pix-status.pending {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--warning);
}

.pix-status.approved {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
}

/* ═══════════════════════════════════
   FOOTER
   ═══════════════════════════════════ */
.footer {
    background: linear-gradient(180deg, var(--bg-dark), #050508);
    border-top: var(--border-glass);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: var(--border-glass);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-author {
    color: var(--primary);
    font-weight: 500;
}

/* ═══════════════════════════════════
   ANIMAÇÕES
   ═══════════════════════════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

@keyframes neonPulse {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(var(--primary-rgb), 0.3), 0 0 20px rgba(var(--primary-rgb), 0.1);
    }

    50% {
        box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.5), 0 0 40px rgba(var(--primary-rgb), 0.2);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Scroll-triggered reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Efeito de aparecimento explosivo para os cards de jogos */
.games-grid .card.reveal {
    opacity: 0;
    transform: scale(0.3) translateY(50px);
    filter: brightness(0.2) blur(8px);
}

.games-grid .card.reveal.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: brightness(1) blur(0);
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), 
                transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), 
                filter 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.games-grid .card.reveal.visible:hover {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.3s ease, 
                border-color 0.3s ease;
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-left.visible,
.reveal-right.visible {
    transform: translateX(0);
}

.reveal-scale {
    transform: scale(0.9);
    opacity: 0;
}

.reveal-scale.visible {
    transform: scale(1);
    opacity: 1;
}

/* Stagger delay para grids */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

/* ═══════════════════════════════════
   UTILIDADES
   ═══════════════════════════════════ */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-danger {
    color: var(--danger) !important;
}

.text-warning {
    color: var(--warning) !important;
}

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mt-4 {
    margin-top: 32px;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.mb-4 {
    margin-bottom: 32px;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-1 {
    gap: 8px;
}

.gap-2 {
    gap: 16px;
}

.gap-3 {
    gap: 24px;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.hidden {
    display: none !important;
}

.visible {
    display: block;
}

.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
}

/* ═══════════════════════════════════
   RESPONSIVO
   ═══════════════════════════════════ */
@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        padding: 80px 24px 24px;
        gap: 4px;
        transition: right 0.3s ease;
        border-left: var(--border-glass);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-toggle {
        display: block;
    }

    .hero-title {
        margin-bottom: 16px;
    }

    .hero-logo {
        max-height: 30vh;
    }

    .hero-subtitle {
        margin-bottom: 24px;
    }

    .hero-countdown {
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 16px;
        justify-content: space-between;
        padding: 16px 12px 8px;
        gap: 6px;
        flex-wrap: nowrap;
    }

    .hero-countdown::before {
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
    }

    .countdown-item {
        flex: 1;
        min-width: 0;
        padding: 6px 4px;
    }

    .countdown-number {
        font-size: calc(1.1rem + 1vw);
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .podium {
        flex-direction: column;
        align-items: stretch;
    }

    .podium-item {
        order: unset !important;
        padding-bottom: 24px !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .auth-card {
        padding: 32px 24px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        width: 100%;
        max-width: 300px;
    }

    .hero-logo {
        max-height: 25vh;
    }

    .hero-title {
        margin-bottom: 12px;
    }

    .hero-subtitle {
        margin-bottom: 20px;
    }
}

/* ═══════════════════════════════════
   PRELOADER
   ═══════════════════════════════════ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(var(--primary-rgb), 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ═══════════════════════════════════
   REGULAMENTO / CONTEÚDO RICH TEXT
   ═══════════════════════════════════ */
.rich-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-secondary);
}

.rich-content h1,
.rich-content h2,
.rich-content h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin: 32px 0 16px;
}

.rich-content h2 {
    font-size: 1.5rem;
    border-bottom: var(--border-glass);
    padding-bottom: 8px;
}

.rich-content h3 {
    font-size: 1.2rem;
}

.rich-content p {
    margin-bottom: 16px;
}

.rich-content ul,
.rich-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.rich-content li {
    margin-bottom: 8px;
}

.rich-content strong {
    color: var(--text-primary);
}

/* ═══════════════════════════════════
   ALBUM CARDS
   ═══════════════════════════════════ */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.album-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    transition: var(--transition);
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
}

.album-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.album-card:hover img {
    transform: scale(1.08);
}

.album-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.album-card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

.album-card-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ── Botão Admin Compacto ── */
.nav-admin-btn {
    background: var(--gradient-primary) !important;
    color: #000 !important;
    font-weight: 600 !important;
    padding: 6px 14px !important;
    border-radius: 8px !important;
    font-size: 0.85rem !important;
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.2);
    transition: var(--transition) !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-shadow: none !important;
}

.nav-admin-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.4) !important;
}

.nav-admin-btn svg {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.nav-admin-btn:hover svg {
    transform: rotate(90deg) !important;
}

/* ── Transição Suave de Modo ── */
.mode-transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mode-transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mode-transition-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mode-transition-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(var(--primary-rgb), 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.2);
}

.mode-transition-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

.mode-transition-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ═══════════════════════════════════
   EFEITOS AMBIENTAIS DINÂMICOS (GLITCH E RELÂMPAGO)
   ═══════════════════════════════════ */
@keyframes logo-glitch-anim {
    0% {
        clip-path: inset(40% 0 61% 0);
        transform: skew(0.3deg) translate(-2px, 2px);
        filter: hue-rotate(90deg) drop-shadow(-2px 0 var(--primary)) drop-shadow(2px 0 var(--secondary));
    }

    20% {
        clip-path: inset(92% 0 1% 0);
        transform: skew(-0.5deg) translate(3px, -1px);
        filter: hue-rotate(180deg) drop-shadow(-3px 0 var(--secondary)) drop-shadow(3px 0 var(--primary));
    }

    40% {
        clip-path: inset(15% 0 80% 0);
        transform: skew(0.8deg) translate(-3px, 3px);
        filter: hue-rotate(0deg);
    }

    60% {
        clip-path: inset(80% 0 5% 0);
        transform: skew(-0.3deg) translate(2px, -2px);
        filter: hue-rotate(270deg) drop-shadow(2px -2px var(--primary));
    }

    80% {
        clip-path: inset(3% 0 92% 0);
        transform: skew(0.5deg) translate(-1px, 1px);
        filter: hue-rotate(90deg);
    }

    100% {
        clip-path: inset(0 0 0 0);
        transform: none;
        filter: drop-shadow(0 0 25px rgba(var(--primary-rgb), 0.45));
    }
}

.logo-glitch-active {
    animation: logo-glitch-anim 0.4s steps(2, end) infinite;
}

.lightning-flash {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle, rgba(255, 0, 60, 0.25) 0%, rgba(255, 255, 255, 0.75) 100%);
    opacity: 0;
    pointer-events: none;
}

@keyframes lightning-anim {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 0.25;
    }

    10% {
        opacity: 0;
    }

    15% {
        opacity: 0.3;
    }

    20% {
        opacity: 0.05;
    }

    25% {
        opacity: 0.25;
    }

    30% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.lightning-active {
    animation: lightning-anim 0.6s ease-out;
}

/* ── Transição do Cronômetro para o Crédito ao Autor ── */

.hero-countdown.loaded {
    animation: none !important;
}

/* Partículas da Explosão */
.explosion-particle {
    position: absolute;
    width: var(--size);
    height: var(--size);
    background: var(--color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color), 0 0 20px var(--color);
    transform: translate(-50%, -50%) scale(1);
    z-index: 1000;
    pointer-events: none;
    animation: particle-explode 0.8s cubic-bezier(0.08, 0.8, 0.25, 1) var(--delay) forwards;
}

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

/* Animações de desintegração do widget */
.hero-countdown.exploding {
    pointer-events: none;
    animation: countdown-shake 0.3s ease-in-out infinite, countdown-shrink 0.4s ease-in 0.3s forwards !important;
}

@keyframes countdown-shake {
    0%, 100% { transform: translate(0, 0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(3px, -3px); }
    60% { transform: translate(-3px, -3px); }
    80% { transform: translate(3px, 3px); }
}

@keyframes countdown-shrink {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0); opacity: 0; }
}

/* Modo de Créditos do Widget */
.hero-countdown.credits-mode {
    border-color: rgba(0, 119, 181, 0.4) !important;
    padding: 12px 24px !important;
}

.hero-countdown.credits-mode::before {
    content: "AUTOR" !important;
    background: linear-gradient(135deg, #0077b5, #00a0dc) !important;
    box-shadow: 0 0 10px rgba(0, 119, 181, 0.5) !important;
}

.hero-countdown.credits-active {
    animation: countdown-grow 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
    box-shadow: 0 0 25px rgba(0, 119, 181, 0.4), 0 8px 32px rgba(0, 0, 0, 0.7) !important;
}

.hero-countdown.restoring {
    animation: countdown-grow 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

@keyframes countdown-grow {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Estilização do link de Crédito */
.author-credit-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-primary) !important;
    font-family: var(--font-heading);
    font-weight: 700;
    transition: var(--transition);
    outline: none;
}

.author-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-name-text {
    font-size: 1.15rem;
    font-family: var(--font-display);
    background: linear-gradient(90deg, #0077b5, #00a0dc, #0077b5);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 12px rgba(0, 119, 181, 0.35);
    letter-spacing: 0.5px;
    transition: var(--transition);
    animation: shine-text 3s linear infinite;
}

@keyframes shine-text {
    to { background-position: 200% center; }
}

.author-linkedin-icon {
    color: #0077b5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 119, 181, 0.1);
    padding: 8px;
    border-radius: 50%;
    border: 1px solid rgba(0, 119, 181, 0.25);
    transition: var(--transition);
}

.author-credit-content:hover .author-linkedin-icon {
    background: #0077b5;
    color: #fff;
    transform: scale(1.12) rotate(15deg);
    box-shadow: 0 0 15px rgba(0, 119, 181, 0.6);
    border-color: #00a0dc;
}

.author-credit-content:hover .author-name-text {
    filter: brightness(1.25);
    text-shadow: 0 0 18px rgba(0, 119, 181, 0.6);
}

/* Modal do Jogo Arkanoid Easter Egg */
.game-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 10, 0.95);
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.game-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.game-modal-container {
    position: relative;
    width: 90vw;
    height: 85vh;
    max-width: 1000px;
    background: #000;
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.game-modal-overlay.active .game-modal-container {
    transform: scale(1);
}

.game-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 0, 60, 0.2);
    color: #fff;
    border: 1px solid var(--primary);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition);
}

.game-modal-close:hover {
    background: var(--primary);
    color: #000;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 15px var(--primary);
}

.game-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
}