/* ═══════════════════════════════════════════════════════════
   GAMERLOG — landing.css
   Arquivo: wwwroot/css/landing.css
═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   1. DESIGN TOKENS
───────────────────────────────────────── */
:root {
    --gl-navy:      #080f1c;
    --gl-navy-2:    #0d1829;
    --gl-navy-3:    #112038;
    --gl-blue:      #2563eb;
    --gl-blue-b:    #3b82f6;
    --gl-blue-c:    #60a5fa;
    --gl-cyan:      #06b6d4;
    --gl-cyan-dim:  #0891b2;
    --gl-magenta:   #e879f9;
    --gl-yellow:    #fbbf24;
    --gl-green:     #22c55e;
    --gl-white:     #e8f0ff;
    --gl-muted:     #4a6080;
    --gl-muted-2:   #7a90b0;
    --gl-card:      #0a1422;
    --gl-glow-cyan: rgba(6, 182, 212, 0.3);
    --gl-glow-blue: rgba(37, 99, 235, 0.35);
}

/* ─────────────────────────────────────────
   2. RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    background: var(--gl-navy);
    color: var(--gl-white);
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden;
}

/* ─────────────────────────────────────────
   3. EFEITOS GLOBAIS
───────────────────────────────────────── */

/* Scanlines */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.06) 2px,
        rgba(0, 0, 0, 0.06) 4px
    );
    pointer-events: none;
    z-index: 900;
}

/* Grid de fundo */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(6, 182, 212, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}


/* ─────────────────────────────────────────
   5. CANTOS HUD
───────────────────────────────────────── */
.hud-corner {
    position: fixed;
    width: 60px;
    height: 60px;
    z-index: 50;
    pointer-events: none;
}

.hud-tl { top: 16px;    left: 16px;  border-top:    2px solid var(--gl-cyan); border-left:  2px solid var(--gl-cyan); }
.hud-tr { top: 16px;    right: 16px; border-top:    2px solid var(--gl-cyan); border-right: 2px solid var(--gl-cyan); }
.hud-bl { bottom: 16px; left: 16px;  border-bottom: 2px solid var(--gl-cyan); border-left:  2px solid var(--gl-cyan); }
.hud-br { bottom: 16px; right: 16px; border-bottom: 2px solid var(--gl-cyan); border-right: 2px solid var(--gl-cyan); }

/* ─────────────────────────────────────────
   6. ACHIEVEMENT TOAST
───────────────────────────────────────── */
.achievement-toast {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 300;
    width: 300px;
    background: var(--gl-card);
    border: 1px solid var(--gl-yellow);
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateX(340px);
    transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.15);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.achievement-toast.show { transform: translateX(0); }

.ach-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(251, 191, 36, 0.05) 50%, transparent 100%);
    animation: achShine 3s ease infinite;
}

@keyframes achShine {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

.ach-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #92400e, var(--gl-yellow));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.ach-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: .6rem;
    color: var(--gl-yellow);
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.ach-name {
    font-family: 'Orbitron', monospace;
    font-size: .8rem;
    font-weight: 700;
    color: var(--gl-white);
    line-height: 1.2;
}

.ach-desc { font-size: .72rem; color: var(--gl-muted-2); margin-top: 2px; }

/* ─────────────────────────────────────────
   7. NAVEGAÇÃO
───────────────────────────────────────── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 2.5rem;
    background: linear-gradient(to bottom, rgba(8, 15, 28, .98) 0%, rgba(8, 15, 28, 0) 100%);
    backdrop-filter: blur(2px);
}

.nav-logo {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.15rem;
    letter-spacing: .12em;
    text-decoration: none;
    color: var(--gl-white);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.nav-logo .logo-bracket { color: var(--gl-cyan); font-size: 1.3rem; line-height: 1; }

.nav-right { display: flex; align-items: center; gap: 2.5rem; }

.nav-link {
    color: var(--gl-muted-2);
    text-decoration: none;
    font-size: .78rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-weight: 600;
    transition: color .2s;
    font-family: 'Share Tech Mono', monospace;
}

.nav-link:hover { color: var(--gl-cyan); }

/* ─────────────────────────────────────────
   8. BOTÕES
───────────────────────────────────────── */
.btn-hud {
    background: transparent;
    border: 1px solid var(--gl-cyan);
    color: var(--gl-cyan);
    padding: .45rem 1.3rem;
    font-family: 'Orbitron', monospace;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    transition: all .2s;
    text-decoration: none;
    display: inline-block;
    position: relative;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.btn-hud::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gl-cyan);
    opacity: 0;
    transition: opacity .2s;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.btn-hud:hover { color: var(--gl-navy); box-shadow: 0 0 20px var(--gl-glow-cyan); }
.btn-hud:hover::before { opacity: 1; }
.btn-hud span { position: relative; z-index: 1; }

.btn-primary-hud {
    background: linear-gradient(135deg, var(--gl-blue), var(--gl-cyan-dim));
    color: var(--gl-white);
    padding: .85rem 2.2rem;
    font-family: 'Orbitron', monospace;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all .25s;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
    text-decoration: none;
    display: inline-block;
}

.btn-primary-hud::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 60%);
}

.btn-primary-hud:hover {
    box-shadow: 0 0 30px rgba(6,182,212,.4), 0 4px 20px rgba(37,99,235,.4);
    transform: translateY(-2px);
    color: var(--gl-white);
}

.btn-outline-hud {
    background: transparent;
    color: var(--gl-muted-2);
    padding: .85rem 2rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: .75rem;
    letter-spacing: .1em;
    border: 1px solid rgba(255,255,255,.1);
    transition: all .2s;
    text-decoration: none;
    display: inline-block;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
}

.btn-outline-hud:hover { color: var(--gl-white); border-color: rgba(255,255,255,.3); }

/* ─────────────────────────────────────────
   9. HERO
───────────────────────────────────────── */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 7rem 2rem 4rem;
    overflow: hidden;
    text-align: center;
}

.hero-horizon {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 45%;
    pointer-events: none;
    overflow: hidden;
}

.horizon-grid {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 100%;
}

.horizon-grid line { stroke: rgba(6,182,212,.12); stroke-width: 1; }

.hero-orb {
    position: absolute;
    top: 30%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,.15) 0%, rgba(6,182,212,.08) 40%, transparent 70%);
    pointer-events: none;
    animation: orbPulse 6s ease-in-out infinite;
}

@keyframes orbPulse {
    0%, 100% { transform: translate(-50%,-50%) scale(1);   opacity: 1; }
    50%       { transform: translate(-50%,-50%) scale(1.1); opacity: .7; }
}

.hud-status {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(6,182,212,.06);
    border: 1px solid rgba(6,182,212,.2);
    padding: .45rem 1.2rem;
    margin-bottom: 2.5rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: .68rem;
    letter-spacing: .12em;
    color: var(--gl-cyan);
    animation: fadeUp .7s ease both;
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.hud-status .dot {
    width: 5px; height: 5px;
    background: var(--gl-green);
    border-radius: 50%;
    animation: blink 2s infinite;
    box-shadow: 0 0 6px var(--gl-green);
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }

.hud-status .sep { color: rgba(6,182,212,.3); }

/* Título com glitch */
.hero-title {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: clamp(3.5rem, 10vw, 7.5rem);
    line-height: 1;
    letter-spacing: -.02em;
    margin-bottom: .6rem;
    position: relative;
    animation: fadeUp .7s ease .1s both;
}

.hero-title .t1 { display: block; color: var(--gl-white); }

.hero-title .t2 {
    display: block;
    background: linear-gradient(90deg, var(--gl-blue-b), var(--gl-cyan), var(--gl-blue-b));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
    filter: drop-shadow(0 0 30px rgba(6,182,212,.4));
}

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

.hero-title::before,
.hero-title::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    text-align: center;
    pointer-events: none;
    opacity: 0;
}

.hero-title::before {
    color: var(--gl-cyan);
    clip-path: polygon(0 20%, 100% 20%, 100% 35%, 0 35%);
    animation: glitch1 8s infinite .3s;
}

.hero-title::after {
    color: var(--gl-magenta);
    clip-path: polygon(0 60%, 100% 60%, 100% 70%, 0 70%);
    animation: glitch2 8s infinite;
}

@keyframes glitch1 {
    0%, 94%, 100% { opacity: 0; transform: none; }
    95% { opacity: .7; transform: translate(-3px, 0); }
    97% { opacity: .7; transform: translate(3px, 0); }
    99% { opacity: 0; }
}

@keyframes glitch2 {
    0%, 92%, 100% { opacity: 0; transform: none; }
    93% { opacity: .5; transform: translate(4px, 0); }
    96% { opacity: .5; transform: translate(-2px, 0); }
    98% { opacity: 0; }
}

.hero-tagline {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    color: var(--gl-muted-2);
    letter-spacing: .12em;
    margin-bottom: .5rem;
    animation: fadeUp .7s ease .2s both;
}

.hero-tagline .accent { color: var(--gl-cyan); }

.hero-sub {
    font-size: 1.05rem;
    color: var(--gl-muted-2);
    max-width: 500px;
    line-height: 1.7;
    font-weight: 400;
    margin: 0 auto 3rem;
    animation: fadeUp .7s ease .25s both;
}

/* XP Bar */
.xp-bar-wrap {
    width: 340px;
    margin: 0 auto 3rem;
    animation: fadeUp .7s ease .3s both;
}

.xp-label {
    display: flex;
    justify-content: space-between;
    font-family: 'Share Tech Mono', monospace;
    font-size: .65rem;
    color: var(--gl-muted-2);
    letter-spacing: .1em;
    margin-bottom: .4rem;
}

.xp-label span:last-child { color: var(--gl-cyan); }

.xp-track {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(6,182,212,.15);
    overflow: hidden;
}

.xp-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gl-blue), var(--gl-cyan));
    transition: width 2s cubic-bezier(.4, 0, .2, 1) 1s;
    position: relative;
}

.xp-fill::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 20px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.4));
    animation: xpShine 2s ease-in-out infinite 3s;
}

@keyframes xpShine { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

.hero-ctas {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    animation: fadeUp .7s ease .4s both;
}

/* ─────────────────────────────────────────
   10. STATS HUD
───────────────────────────────────────── */
.stats-hud {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
    animation: fadeUp .7s ease .5s both;
}

.stat-hud {
    flex: 1;
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(6,182,212,.03);
    border: 1px solid rgba(6,182,212,.1);
    border-right: none;
    position: relative;
    transition: background .3s;
}

.stat-hud:last-child { border-right: 1px solid rgba(6,182,212,.1); }
.stat-hud:hover { background: rgba(6,182,212,.07); }

.stat-hud::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gl-cyan), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.stat-hud:hover::before { opacity: 1; }

.stat-num-hud {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gl-cyan);
    display: block;
    text-shadow: 0 0 20px rgba(6,182,212,.3);
}

.stat-lbl-hud {
    font-family: 'Share Tech Mono', monospace;
    font-size: .62rem;
    color: var(--gl-muted);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-top: .3rem;
    display: block;
}

/* ─────────────────────────────────────────
   11. SEÇÃO GENÉRICA
───────────────────────────────────────── */
.gl-section {
    position: relative;
    z-index: 1;
    padding: 5rem 2rem;
    max-width: 1140px;
    margin: 0 auto;
}

.section-eyebrow {
    font-family: 'Share Tech Mono', monospace;
    font-size: .65rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gl-cyan);
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.2rem;
}

.section-eyebrow::before { content: '//'; color: var(--gl-muted); }

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    max-width: 520px;
    margin-bottom: 3.5rem;
}

.section-title em { font-style: normal; color: var(--gl-cyan); }

/* ─────────────────────────────────────────
   12. FEATURES GRID
───────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(6,182,212,.08);
    border: 1px solid rgba(6,182,212,.1);
}

.feat-card {
    background: var(--gl-card);
    padding: 2.2rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: background .3s;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1.2rem;
    align-items: start;
}

.feat-card:hover { background: #0c1c32; }

.feat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--gl-blue), var(--gl-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.feat-card:hover::before { transform: scaleX(1); }

.feat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6,182,212,.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s;
}

.feat-card:hover::after { opacity: 1; }

.feat-icon-wrap {
    width: 48px; height: 48px;
    border: 1px solid rgba(6,182,212,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gl-cyan);
    flex-shrink: 0;
    transition: border-color .3s, box-shadow .3s;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.feat-card:hover .feat-icon-wrap {
    border-color: var(--gl-cyan);
    box-shadow: 0 0 16px rgba(6,182,212,.25);
}

.feat-icon-wrap svg { width: 22px; height: 22px; }

.feat-num {
    font-family: 'Share Tech Mono', monospace;
    font-size: .58rem;
    color: var(--gl-muted);
    letter-spacing: .15em;
    margin-bottom: .4rem;
}

.feat-title {
    font-family: 'Orbitron', monospace;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .05em;
    margin-bottom: .6rem;
    color: var(--gl-white);
}

.feat-desc { font-size: .9rem; color: var(--gl-muted-2); line-height: 1.65; }

/* ─────────────────────────────────────────
   13. SHOWCASE
───────────────────────────────────────── */
.showcase {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem 5rem;
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Mockup HUD */
.hud-mockup {
    position: relative;
    background: var(--gl-card);
    border: 1px solid rgba(6,182,212,.15);
    padding: 1.5rem;
    overflow: hidden;
}

.hud-mockup::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--gl-blue), var(--gl-cyan), var(--gl-magenta));
}

.hud-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    padding-bottom: .8rem;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.hud-topbar-title {
    font-family: 'Share Tech Mono', monospace;
    font-size: .68rem;
    color: var(--gl-cyan);
    letter-spacing: .15em;
    text-transform: uppercase;
}

.hud-topbar-date {
    font-family: 'Share Tech Mono', monospace;
    font-size: .6rem;
    color: var(--gl-muted);
    letter-spacing: .1em;
}

.game-row {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: .8rem;
    align-items: center;
    padding: .7rem .8rem;
    margin-bottom: .4rem;
    border: 1px solid transparent;
    transition: all .3s;
}

.game-row:hover { background: rgba(6,182,212,.05); border-color: rgba(6,182,212,.15); }
.game-row.active { background: rgba(37,99,235,.12); border-color: rgba(59,130,246,.25); }

.game-thumb {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.game-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: .88rem;
    font-weight: 600;
    color: var(--gl-white);
    line-height: 1.2;
}

.game-meta { display: flex; align-items: center; gap: .5rem; margin-top: .2rem; }

.game-status {
    font-family: 'Share Tech Mono', monospace;
    font-size: .55rem;
    letter-spacing: .1em;
    padding: .1rem .4rem;
    text-transform: uppercase;
}

.status-playing { color: var(--gl-green);   border: 1px solid rgba(34,197,94,.3); }
.status-done    { color: var(--gl-cyan);    border: 1px solid rgba(6,182,212,.3); }
.status-paused  { color: var(--gl-yellow);  border: 1px solid rgba(251,191,36,.3); }
.status-wish    { color: var(--gl-magenta); border: 1px solid rgba(232,121,249,.3); }

.game-platform {
    font-family: 'Share Tech Mono', monospace;
    font-size: .55rem;
    color: var(--gl-muted);
    letter-spacing: .08em;
}

.game-hours {
    font-family: 'Orbitron', monospace;
    font-size: .78rem;
    font-weight: 600;
    color: var(--gl-blue-c);
    text-align: right;
    white-space: nowrap;
}

.game-hours small {
    display: block;
    font-size: .55rem;
    color: var(--gl-muted);
    font-family: 'Share Tech Mono', monospace;
    font-weight: 400;
    letter-spacing: .08em;
}

.mini-chart {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.04);
}

.mini-chart-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: .58rem;
    color: var(--gl-muted);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

.mini-bars { display: flex; gap: 3px; align-items: flex-end; height: 32px; }

.mini-bar {
    flex: 1;
    background: rgba(37,99,235,.25);
    border-top: 1px solid rgba(59,130,246,.4);
    animation: barLoad 1s ease both;
}

.mini-bar:nth-child(1) { height: 40%; animation-delay: .10s; }
.mini-bar:nth-child(2) { height: 65%; animation-delay: .15s; }
.mini-bar:nth-child(3) { height: 50%; animation-delay: .20s; }
.mini-bar:nth-child(4) { height: 80%; animation-delay: .25s; }
.mini-bar:nth-child(5) { height: 45%; animation-delay: .30s; }
.mini-bar:nth-child(6) { height: 90%; animation-delay: .35s; background: rgba(6,182,212,.3); border-color: var(--gl-cyan); }
.mini-bar:nth-child(7) { height: 70%; animation-delay: .40s; }

@keyframes barLoad { from { height: 0; opacity: 0; } }

/* Showcase texto */
.showcase-text .section-title { max-width: 100%; margin-bottom: 1rem; }

.showcase-text p {
    color: var(--gl-muted-2);
    line-height: 1.75;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.feat-bullets { list-style: none; display: flex; flex-direction: column; gap: .65rem; }

.feat-bullets li {
    display: flex;
    align-items: baseline;
    gap: .7rem;
    font-size: .92rem;
    color: var(--gl-muted-2);
}

.feat-bullets li::before { content: '▸'; color: var(--gl-cyan); font-size: .7rem; flex-shrink: 0; }

/* ─────────────────────────────────────────
   14. ACHIEVEMENTS
───────────────────────────────────────── */
.ach-section {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem 5rem;
    max-width: 1140px;
    margin: 0 auto;
}

.ach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.ach-card {
    background: var(--gl-card);
    border: 1px solid rgba(255,255,255,.05);
    padding: 1.5rem 1.2rem;
    text-align: center;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}

.ach-card:hover {
    border-color: rgba(251,191,36,.3);
    box-shadow: 0 0 20px rgba(251,191,36,.08);
    transform: translateY(-2px);
}

.ach-card.locked { opacity: .35; filter: grayscale(1); }
.ach-card.locked:hover { opacity: .5; }

.ach-card-icon {
    width: 52px; height: 52px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #1c1400, #3d2c00);
    border: 1px solid rgba(251,191,36,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.ach-card.locked .ach-card-icon {
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.08);
}

.ach-card-name {
    font-family: 'Orbitron', monospace;
    font-size: .7rem;
    font-weight: 700;
    color: var(--gl-white);
    margin-bottom: .3rem;
    letter-spacing: .05em;
}

.ach-card-desc { font-size: .78rem; color: var(--gl-muted-2); line-height: 1.4; }

.ach-rarity {
    position: absolute;
    top: 8px; right: 8px;
    font-family: 'Share Tech Mono', monospace;
    font-size: .55rem;
    letter-spacing: .1em;
    padding: .15rem .4rem;
    text-transform: uppercase;
}

.rarity-gold   { color: var(--gl-yellow);  border: 1px solid rgba(251,191,36,.3); }
.rarity-cyan   { color: var(--gl-cyan);    border: 1px solid rgba(6,182,212,.3); }
.rarity-purple { color: var(--gl-magenta); border: 1px solid rgba(232,121,249,.3); }

/* ─────────────────────────────────────────
   15. CTA
───────────────────────────────────────── */
.cta-wrap {
    position: relative;
    z-index: 1;
    padding: 5rem 2rem 7rem;
    text-align: center;
    overflow: hidden;
}

.cta-wrap::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 900px; height: 500px;
    background: radial-gradient(ellipse, rgba(37,99,235,.1) 0%, rgba(6,182,212,.05) 40%, transparent 70%);
    pointer-events: none;
}

.pixel-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: .04;
    pointer-events: none;
}

.pixel-bg canvas { width: 100%; height: 100%; }

.cta-inner { position: relative; z-index: 1; }

.cta-wrap h2 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.cta-wrap h2 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--gl-blue-b), var(--gl-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-sub {
    font-family: 'Share Tech Mono', monospace;
    font-size: .85rem;
    color: var(--gl-muted-2);
    letter-spacing: .1em;
    margin-bottom: 2.5rem;
}

/* ─────────────────────────────────────────
   16. FOOTER
───────────────────────────────────────── */
.gl-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(6,182,212,.08);
    padding: 1.5rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-family: 'Share Tech Mono', monospace;
    font-size: .68rem;
    color: var(--gl-muted);
    letter-spacing: .08em;
}

.footer-right { display: flex; gap: 1.5rem; align-items: center; }

.footer-right a {
    font-family: 'Share Tech Mono', monospace;
    font-size: .68rem;
    color: var(--gl-muted);
    text-decoration: none;
    letter-spacing: .08em;
    transition: color .2s;
}

.footer-right a:hover { color: var(--gl-cyan); }

/* ─────────────────────────────────────────
   17. MODAL (sobrepõe Bootstrap)
───────────────────────────────────────── */
.gl-modal-content {
    background: var(--gl-card) !important;
    border: 1px solid rgba(6,182,212,.2) !important;
    border-radius: 0 !important;
    padding: 2.5rem;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    color: var(--gl-white);
}

/* Borda superior arco-íris animada */
.gl-modal-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--gl-blue), var(--gl-cyan), var(--gl-magenta), var(--gl-blue));
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

.gl-modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,.08);
    color: var(--gl-muted-2);
    font-family: 'Share Tech Mono', monospace;
    font-size: .75rem;
    letter-spacing: .1em;
    padding: .3rem .6rem;
    transition: all .2s;
}

.gl-modal-close:hover { color: var(--gl-white); border-color: rgba(255,255,255,.25); }

.modal-logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: .3rem;
    color: var(--gl-white);
}

.modal-logo .bracket { color: var(--gl-cyan); }

.modal-sub {
    font-family: 'Share Tech Mono', monospace;
    font-size: .7rem;
    color: var(--gl-muted-2);
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.field-group { margin-bottom: .9rem; }

.field-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: .6rem;
    color: var(--gl-cyan);
    letter-spacing: .15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: .35rem;
}

.field-input {
    width: 100%;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(6,182,212,.15);
    color: var(--gl-white);
    padding: .75rem 1rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: .85rem;
    outline: none;
    border-radius: 0;
    transition: border-color .2s, background .2s;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.field-input::placeholder { color: var(--gl-muted); }

.field-input:focus {
    border-color: var(--gl-cyan);
    background: rgba(6,182,212,.05);
    box-shadow: 0 0 0 1px rgba(6,182,212,.1);
}

.modal-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.modal-links a {
    font-family: 'Share Tech Mono', monospace;
    font-size: .65rem;
    color: var(--gl-muted-2);
    text-decoration: none;
    letter-spacing: .08em;
    transition: color .2s;
}

.modal-links a:hover { color: var(--gl-cyan); }

.btn-modal-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--gl-blue), var(--gl-cyan-dim));
    color: var(--gl-white);
    padding: .85rem;
    font-family: 'Orbitron', monospace;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    border: none;
    transition: all .2s;
    clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
    margin-bottom: 1.5rem;
}

.btn-modal-submit:hover {
    box-shadow: 0 0 25px rgba(6,182,212,.35);
    filter: brightness(1.1);
}

.modal-divider {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1.2rem;
}

.modal-divider::before,
.modal-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.06); }

.modal-divider span {
    font-family: 'Share Tech Mono', monospace;
    font-size: .6rem;
    color: var(--gl-muted);
    letter-spacing: .15em;
}

.btn-google-hud,
.btn-steam-hud {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255,255,255,.08);
    color: var(--gl-muted-2);
    padding: .75rem 1rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: .9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    transition: all .2s;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    text-decoration: none;
}

.btn-google-hud:hover,
.btn-steam-hud:hover { border-color: rgba(255,255,255,.2); color: var(--gl-white); }

/* ─────────────────────────────────────────
   18. ANIMAÇÕES & UTILITÁRIOS
───────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

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

/* ─────────────────────────────────────────
   19. RESPONSIVO
───────────────────────────────────────── */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: 1fr; }
    .showcase { grid-template-columns: 1fr; gap: 3rem; }
    .ach-grid { grid-template-columns: repeat(2, 1fr); }
    nav .nav-right .nav-link { display: none; }
}

@media (max-width: 600px) {
    .stats-hud { flex-direction: column; }
    .stat-hud { border-right: 1px solid rgba(6,182,212,.1) !important; border-bottom: none; }
    .ach-grid { grid-template-columns: 1fr 1fr; }
    .gl-footer { flex-direction: column; gap: .75rem; text-align: center; }
}
