/* ==============================================================================
   games-v2.css — Portale games.agi-one.ai, versione 2 (proposta)
   Riferimenti: siti dei publisher (Rockstar, Riot: hero a tutto schermo con carosello,
   pulsanti a pillola, Newswire; Supercell, Zynga: personaggi ritagliati che escono dai riquadri).
   Tema scuro cinematografico; colori presi dal gioco (rosa schiaffo, giallo soldi, turchese, viola).
============================================================================== */

:root {
    --gx-bg: #07060f;
    --gx-bg-2: #0e0c1d;
    --gx-panel: #141129;
    --gx-panel-2: #1b1736;
    --gx-line: rgba(255, 255, 255, 0.1);
    --gx-line-2: rgba(255, 255, 255, 0.18);
    --gx-text: #f6f4ff;
    --gx-soft: #c9c4e6;
    --gx-mute: #8f89b3;
    --gx-pink: #ff4d8d;
    --gx-orange: #ff6b00;
    --gx-gold: #ffc93c;
    --gx-cyan: #2de0c8;
    --gx-violet: #7c4dff;
    --gx-green: #34d399;
    --gx-radius: 22px;
    --gx-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.65);
    --gx-display: 'Unbounded', 'Inter', sans-serif;
    --gx-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Color Emoji', sans-serif;
    --gx-ease: cubic-bezier(.2, .8, .2, 1);
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body.gx {
    margin: 0; background: var(--gx-bg); color: var(--gx-text);
    font: 400 16px/1.6 var(--gx-body); overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
.gx h1, .gx h2, .gx h3 { font-family: var(--gx-display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
.gx a { color: inherit; }
.gx img { max-width: 100%; height: auto; display: block; }
.gx :focus-visible { outline: 3px solid var(--gx-gold); outline-offset: 3px; border-radius: 8px; }
.gx-wrap { width: min(1320px, 100% - 48px); margin: 0 auto; }
.gx-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gx-gold); color: #1a1200; padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.gx-skip:focus { left: 8px; }

/* ---------------------------------------------------------------- testi ricorrenti */
.gx-eyebrow, .gx-kicker {
    margin: 0 0 12px; font: 700 13px/1 var(--gx-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gx-cyan);
}
.gx-kicker--gold { color: var(--gx-gold); }
.gx-grad { background: linear-gradient(90deg, var(--gx-pink), var(--gx-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gx-grad--gold { background-image: linear-gradient(90deg, var(--gx-gold), #ff8a3d); }
.gx-logo {
    margin: 0 0 14px; font: 400 clamp(52px, 8vw, 112px)/0.9 'Lilita One', var(--gx-display); letter-spacing: 0.02em;
    color: #ff6fa5; text-shadow: 0 6px 0 #8a1f4a, 0 18px 40px rgba(255, 77, 141, 0.35);
}
.gx-logo span { color: var(--gx-gold); text-shadow: 0 6px 0 #8a5a00, 0 18px 40px rgba(255, 201, 60, 0.35); }
.gx-logo--md { font-size: clamp(40px, 5vw, 64px); }
.gx-logo-img { width: min(520px, 100%); margin: -18px 0 6px -14px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5)); }
.gx-feature__logo { margin: 0; line-height: 0; }
.gx-feature__logo img { width: min(400px, 100%); margin-left: -10px; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.45)); }
.gx-slide.is-active .gx-slide__text > .gx-logo-img { animation: gx-slam .7s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes gx-slam { from { opacity: 0; transform: scale(1.35) rotate(-4deg); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- pulsanti e chip */
.gx-btn {
    display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer; white-space: nowrap;
    font: 700 16px/1 var(--gx-body); letter-spacing: 0.01em; padding: 16px 28px; border-radius: 999px; border: 2px solid transparent;
    transition: transform .2s var(--gx-ease), box-shadow .2s var(--gx-ease), background .2s, border-color .2s;
}
.gx-btn:hover { transform: translateY(-2px); }
.gx-btn--primary {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8800 100%);
    color: #fff;
    box-shadow: 0 10px 26px -6px rgba(255, 107, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 150, 50, 0.3);
}
.gx-btn--primary:hover {
    background: linear-gradient(135deg, #ff7a1a 0%, #ff951a 100%);
    box-shadow: 0 16px 36px -8px rgba(255, 107, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 180, 80, 0.5);
}
.gx-btn--gold { background: var(--gx-gold); color: #241800; box-shadow: 0 12px 30px -8px rgba(255, 201, 60, 0.6); }
.gx-btn--ghost { background: rgba(255, 255, 255, 0.04); color: var(--gx-text); border-color: var(--gx-line-2); backdrop-filter: blur(6px); }
.gx-btn--ghost:hover { border-color: var(--gx-text); }
.gx-btn--sm { padding: 11px 20px; font-size: 14px; }
.gx-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.gx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gx-chip {
    display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--gx-body); letter-spacing: 0.04em;
    padding: 7px 12px; border-radius: 999px; border: 1px solid var(--gx-line-2); color: var(--gx-soft); background: rgba(255, 255, 255, 0.03);
}
.gx-chip--live { color: #06281c; background: var(--gx-green); border-color: transparent; }
.gx-chip--live i { font-size: 7px; animation: gx-blink 1.6s infinite; }
@keyframes gx-blink { 50% { opacity: 0.25; } }

/* ---------------------------------------------------------------- header */
.gx-header {
    position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, backdrop-filter .3s, border-color .3s;
    border-bottom: 1px solid transparent;
    background: linear-gradient(180deg, rgba(7, 6, 15, 0.75), rgba(7, 6, 15, 0));
}
.gx-header.is-scrolled { background: rgba(7, 6, 15, 0.82); backdrop-filter: blur(14px); border-bottom-color: var(--gx-line); }
.gx-header__row { width: min(1320px, 100% - 48px); margin: 0 auto; height: 76px; display: flex; align-items: center; gap: 28px; }
.gx-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.gx-brand img { width: 36px; height: 36px; }
.gx-brand .gx-brand__title { width: auto; height: 34px; }
.gx-brand__name {
    font: 700 17px/1 'Unbounded', 'Outfit', sans-serif;
    letter-spacing: 0.01em;
    color: #f6f4ff;
    white-space: nowrap;
}
.gx-brand__name b {
    font-weight: 700;
    background: linear-gradient(120deg, var(--gx-pink), var(--gx-gold), var(--gx-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.gx-nav { display: flex; gap: 30px; margin: 0 auto; }
.gx-nav a {
    position: relative; text-decoration: none; font: 700 13px/1 var(--gx-body); letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--gx-soft); padding: 8px 0;
}
.gx-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gx-pink); transform: scaleX(0); transition: transform .25s var(--gx-ease); }
.gx-nav a:hover { color: #fff; }
.gx-nav a:hover::after { transform: scaleX(1); }
.gx-nav__cta-mobile { display: none; }
.gx-nav--public { display: flex !important; position: static !important; transform: none !important; flex-direction: row !important; background: none !important; border: 0 !important; padding: 0 !important; margin-left: auto; }
.gx-nav--public a { border: 0 !important; padding: 8px 0 !important; }
.gx-nav--public { gap: 22px !important; }
@media (max-width: 600px) { .gx-nav--public + .gx-header__actions { display: none; } .gx-nav--public { gap: 16px !important; } .gx-nav--public a { font-size: 12px !important; } }
.gx-footer__top--public { grid-template-columns: 3fr 1fr; }
.gx-header__actions { display: flex; align-items: center; gap: 12px; }
.gx-me { font: 600 14px/1 var(--gx-body); padding: 9px 14px; border-radius: 999px; border: 1px solid var(--gx-line-2); color: var(--gx-soft); white-space: nowrap; }
.gx-burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gx-line-2); background: transparent; cursor: pointer; padding: 0; position: relative; }
.gx-burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }
.gx-burger span:nth-child(1) { top: 15px; } .gx-burger span:nth-child(2) { top: 21px; } .gx-burger span:nth-child(3) { top: 27px; }
.gx-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.gx-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.gx-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero (carosello) */
.gx-hero { position: relative; height: 100vh; min-height: 680px; max-height: 1080px; overflow: hidden; background: #000; }
.gx-slide {
    position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--gx-ease), visibility 0s .9s;
}
.gx-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--gx-ease); z-index: 1; }
.gx-slide__bg { position: absolute; inset: -4%; background: center / cover no-repeat; transform: scale(1.02); }
.gx-slide.is-active .gx-slide__bg { animation: gx-kenburns 14s linear forwards; }
@keyframes gx-kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.gx-slide__bg::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 6, 15, 0.92) 0%, rgba(7, 6, 15, 0.7) 38%, rgba(7, 6, 15, 0.15) 70%, rgba(7, 6, 15, 0.35) 100%),
        linear-gradient(0deg, var(--gx-bg) 0%, rgba(7, 6, 15, 0) 30%);
}
.gx-slide--park .gx-slide__bg { background-image: url('../images/v2/scene-park.webp'); }
.gx-slide--city .gx-slide__bg { background-image: url('../images/v2/scene-city.webp'); }
.gx-slide--desert .gx-slide__bg { background-image: url('../images/v2/scene-desert.webp'); }
.gx-slide--park1 .gx-slide__bg { background-image: url('../images/v2/scene-park.webp'); background-position: 70% center; }
.gx-slide--palace .gx-slide__bg { background-image: url('../images/v2/scene-palace.webp'); }
.gx-slide--cup .gx-slide__bg { background: radial-gradient(60% 60% at 70% 55%, rgba(255, 201, 60, 0.35), transparent 70%), radial-gradient(40% 50% at 20% 20%, rgba(255, 77, 141, 0.25), transparent 70%), #0e0a18; }
.gx-slide--mystery .gx-slide__bg { background: radial-gradient(50% 60% at 70% 60%, rgba(124, 77, 255, 0.35), transparent 70%), repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 14px), #06050c; }
.gx-grad--violet { background-image: linear-gradient(90deg, #a47dff, var(--gx-cyan)); }
/* slide misteriosa: sagome nere dei boss con il numero del livello e un punto di domanda */
.gx-mystery { position: relative; height: min(70vh, 640px); align-self: end; display: flex; align-items: flex-end; justify-content: center; gap: 2%; }
.gx-mystery__card { position: relative; flex: 1; height: 80%; display: flex; align-items: flex-end; justify-content: center; }
.gx-mystery__card:nth-child(2) { height: 92%; }
.gx-mystery__card:nth-child(3) { flex: 1.6; height: 70%; }
.gx-mystery__fig { position: relative; height: 100%; display: flex; align-items: flex-end; }
.gx-mystery__fig img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: brightness(0) drop-shadow(0 0 18px rgba(164, 125, 255, 0.75)); }
.gx-mystery__fig span {
    position: absolute; top: -34px; left: 50%; transform: translateX(-50%); display: grid; place-items: center; width: 60px; height: 60px;
    border-radius: 50%; font: 900 26px/1 var(--gx-display); color: #fff; background: rgba(124, 77, 255, 0.35); border: 2px solid rgba(164, 125, 255, 0.8);
    box-shadow: 0 0 30px rgba(124, 77, 255, 0.6);
}
.gx-mystery__fig span::after { content: '?'; position: absolute; right: -10px; top: -10px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; background: var(--gx-gold); color: #241800; }
.gx-slide.is-active .gx-mystery__card { animation: gx-pop .9s var(--gx-ease) both; }
.gx-slide.is-active .gx-mystery__card:nth-child(2) { animation-delay: .12s; }
.gx-slide.is-active .gx-mystery__card:nth-child(3) { animation-delay: .24s; }
.gx-slide__grid { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; padding-top: 60px; }
.gx-slide__text { max-width: 620px; }
.gx-slide__title { font-size: clamp(26px, 3vw, 40px); margin-bottom: 20px !important; }
.gx-slide__title--xl { font-size: clamp(34px, 4.6vw, 64px); }
.gx-slide__lead { color: var(--gx-soft); font-size: clamp(16px, 1.3vw, 19px); margin: 0 0 30px; max-width: 540px; }
.gx-slide.is-active .gx-slide__text > * { animation: gx-rise .9s var(--gx-ease) both; }
.gx-slide.is-active .gx-slide__text > *:nth-child(2) { animation-delay: .08s; }
.gx-slide.is-active .gx-slide__text > *:nth-child(3) { animation-delay: .16s; }
.gx-slide.is-active .gx-slide__text > *:nth-child(4) { animation-delay: .24s; }
.gx-slide.is-active .gx-slide__text > *:nth-child(5) { animation-delay: .32s; }
@keyframes gx-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* personaggi nelle slide */
.gx-lineup, .gx-duo, .gx-trio { position: relative; height: min(78vh, 760px); align-self: end; }
.gx-lineup img, .gx-duo img, .gx-trio img { position: absolute; bottom: 0; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)); }
.gx-slide.is-active .gx-lineup img, .gx-slide.is-active .gx-duo img, .gx-slide.is-active .gx-trio img { animation: gx-pop .9s var(--gx-ease) both; }
@keyframes gx-pop { from { opacity: 0; transform: translateY(60px) scale(.94); } to { opacity: 1; transform: none; } }
.gx-lineup__img { width: 42%; }
.gx-lineup__img--1 { left: -4%; bottom: 8%; width: 36%; animation-delay: .25s !important; }
.gx-lineup__img--2 { left: 16%; bottom: 3%; width: 40%; animation-delay: .15s !important; }
.gx-lineup__img--3 { left: 33%; bottom: -2%; width: 50%; z-index: 3; animation-delay: .05s !important; }
.gx-lineup__img--4 { left: 58%; bottom: 3%; width: 40%; z-index: 2; animation-delay: .15s !important; }
.gx-lineup__img--5 { left: 76%; bottom: 8%; width: 36%; z-index: 1; animation-delay: .25s !important; }
.gx-duo__boss { right: 6%; width: 32%; bottom: 10%; filter: drop-shadow(0 0 60px rgba(255, 201, 60, 0.35)) drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)) !important; }
.gx-duo__hero { left: 4%; width: 50%; bottom: 4%; z-index: 2; animation-delay: .15s !important; }
.gx-trio__a { right: 2%; width: 30%; bottom: 12%; }
.gx-trio__b { left: 0; width: 46%; bottom: 5%; z-index: 2; animation-delay: .1s !important; }
.gx-trio__c { left: 32%; width: 46%; bottom: 3%; z-index: 3; animation-delay: .2s !important; }

/* controlli del carosello */
.gx-hero__controls { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 5; display: flex; align-items: center; gap: 16px; }
.gx-dots { display: flex; gap: 14px; flex: 1; min-width: 0; max-width: 980px; }
.gx-dot { min-width: 0; }
.gx-hero__controls .gx-pause { flex: none; margin-left: 8px; }
.gx-dot { flex: 1; background: none; border: 0; padding: 8px 0; cursor: pointer; text-align: left; color: var(--gx-mute); }
.gx-dot__bar { display: block; height: 3px; background: rgba(255, 255, 255, 0.2); border-radius: 3px; overflow: hidden; }
.gx-dot__bar i { display: block; height: 100%; width: 0; background: var(--gx-pink); }
.gx-dot.is-active { color: #fff; }
.gx-dot.is-active .gx-dot__bar i { animation: gx-progress var(--gx-slide-ms, 7000ms) linear forwards; }
.gx-hero.is-paused .gx-dot.is-active .gx-dot__bar i { animation-play-state: paused; }
@keyframes gx-progress { to { width: 100%; } }
.gx-dot__label { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 10px; font: 700 12px/1 var(--gx-body); letter-spacing: 0.12em; text-transform: uppercase; }
.gx-pause { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gx-line-2); background: rgba(7, 6, 15, 0.5); color: #fff; cursor: pointer; }

/* ---------------------------------------------------------------- marquee */
.gx-marquee { position: relative; overflow: hidden; background: var(--gx-gold); color: #1a1200; transform: rotate(-1.2deg); margin: -18px -2% 0; z-index: 6; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.gx-marquee__track { display: flex; width: max-content; animation: gx-marquee 38s linear infinite; }
.gx-marquee__track span { display: inline-flex; align-items: center; gap: 22px; padding: 14px 0 14px 22px; font: 900 18px/1 var(--gx-display); text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.gx-marquee__track span::after { content: '✦'; color: var(--gx-pink); }
@keyframes gx-marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- sezioni */
.gx-section { padding: 120px 0; }
.gx-section--tight { padding: 80px 0; }
.gx-head { margin-bottom: 44px; }
.gx-head h2 { font-size: clamp(32px, 4.4vw, 58px); }
.gx-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.gx-head__side { max-width: 420px; margin: 0; color: var(--gx-soft); font-size: 17px; }

/* gioco in evidenza (personaggi che escono dal riquadro) */
.gx-feature {
    position: relative; display: grid; grid-template-columns: 1.1fr 1fr; min-height: 520px; margin-top: 120px;
    border-radius: 32px; background: var(--gx-panel); border: 1px solid var(--gx-line); box-shadow: var(--gx-shadow);
}
.gx-feature__bg {
    position: absolute; inset: 0; border-radius: inherit; overflow: hidden;
    background: linear-gradient(90deg, var(--gx-panel) 30%, rgba(20, 17, 41, 0.55) 60%, rgba(20, 17, 41, 0.2)), url('../images/v2/scene-park.webp') center right / cover;
}
.gx-feature__body { position: relative; padding: 56px; display: flex; flex-direction: column; gap: 20px; }
.gx-feature__body > p { color: var(--gx-soft); margin: 0; font-size: 17px; max-width: 540px; }
.gx-feature__body .gx-logo { margin: 4px 0 0; }
.gx-feature__stats { list-style: none; display: flex; gap: 34px; padding: 0; margin: 4px 0 6px; }
.gx-feature__stats b { display: block; font: 900 38px/1 var(--gx-display); color: var(--gx-gold); }
.gx-feature__stats span { font-size: 13px; color: var(--gx-mute); text-transform: uppercase; letter-spacing: 0.1em; }
.gx-feature__art { position: relative; }
.gx-feature__art img { position: absolute; bottom: 0; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); transition: transform .5s var(--gx-ease); }
.gx-feature__hero { width: 78%; left: -2%; bottom: -2%; z-index: 2; }
.gx-feature__boss { width: 46%; right: 4%; bottom: 14%; opacity: 0.95; }
.gx-feature:hover .gx-feature__hero { transform: translateY(-10px) rotate(-2deg); }
.gx-feature:hover .gx-feature__boss { transform: translateY(-6px); }

.gx-soon { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.gx-soon__card {
    display: flex; align-items: center; gap: 22px; padding: 26px 28px; border-radius: var(--gx-radius);
    border: 1px dashed var(--gx-line-2); background: rgba(255, 255, 255, 0.015);
}
.gx-soon__card h3 { font-size: 22px; margin-bottom: 6px; }
.gx-soon__card p { margin: 0; color: var(--gx-mute); }
.gx-soon__card .gx-kicker { margin-bottom: 8px; color: var(--gx-violet); }
.gx-soon__q {
    flex: none; width: 86px; height: 86px; border-radius: 20px; display: grid; place-items: center;
    font: 900 40px/1 var(--gx-display); color: var(--gx-violet); background: rgba(124, 77, 255, 0.12); border: 1px solid rgba(124, 77, 255, 0.35);
}

/* roster degli eroi */
.gx-roster { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; padding-top: 70px; }
.gx-hero-card {
    --c1: #3f7fd0; --c2: #1a2d66;
    position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; padding: 20px;
    border-radius: var(--gx-radius); background: radial-gradient(120% 90% at 50% 10%, var(--c1), var(--c2) 70%);
    box-shadow: var(--gx-shadow); isolation: isolate; transition: transform .35s var(--gx-ease);
}
.gx-hero-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(0deg, rgba(7, 6, 15, 0.92) 8%, rgba(7, 6, 15, 0) 55%); z-index: -1; }
.gx-hero-card img { position: absolute; left: 50%; bottom: 96px; width: 112%; max-width: none; transform: translateX(-50%); z-index: -2; filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.45)); transition: transform .45s var(--gx-ease); }
.gx-hero-card:hover { transform: translateY(-8px); }
.gx-hero-card:hover img { transform: translateX(-50%) translateY(-14px) scale(1.05); }
.gx-hero-card h3 { font-size: 22px; }
.gx-hero-card__info p { margin: 4px 0 0; font-size: 14px; color: var(--gx-soft); }
.gx-hero-card__info .gx-hero-card__weapon { color: #fff; font-weight: 700; margin-top: 8px; }
.gx-hero-card--nerd { --c1: #3f7fd0; --c2: #16254f; }
.gx-hero-card--skater { --c1: #8a4dff; --c2: #2a1360; }
.gx-hero-card--gamer { --c1: #1fb8a8; --c2: #0c2f3a; }
.gx-hero-card--bomber { --c1: #1faa59; --c2: #0c3a22; }
.gx-hero-card--nonno { --c1: #c08a4a; --c2: #3d2610; }

/* campionato */
.gx-cup { position: relative; padding: 140px 0; overflow: hidden; }
.gx-cup__bg {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--gx-bg) 5%, rgba(7, 6, 15, 0.82) 45%, rgba(7, 6, 15, 0.45)), linear-gradient(0deg, var(--gx-bg), rgba(7, 6, 15, 0) 30%, rgba(7, 6, 15, 0) 70%, var(--gx-bg)),
        url('../images/v2/scene-desert.webp') center / cover;
}
.gx-cup__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.gx-cup__title { font-size: clamp(48px, 7vw, 104px) !important; font-weight: 900 !important; text-transform: uppercase; line-height: 0.92 !important;
    background: linear-gradient(180deg, #fff 30%, var(--gx-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gx-cup__when {
    display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 18px; padding: 10px 18px; border-radius: 999px;
    font-weight: 700; background: rgba(255, 201, 60, 0.14); border: 1px solid rgba(255, 201, 60, 0.55);
}
.gx-cup__lead { color: var(--gx-soft); font-size: 18px; max-width: 560px; margin: 0 0 28px; }
.gx-phases { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; max-width: 580px; }
.gx-phases li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: rgba(20, 17, 41, 0.7); border: 1px solid var(--gx-line); backdrop-filter: blur(6px); }
.gx-phases__n { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 900 16px/1 var(--gx-display); color: #241800; background: var(--gx-gold); }
.gx-phases b { display: block; font-size: 17px; }
.gx-phases div > span { color: var(--gx-soft); font-size: 15px; }
.gx-cup__note { color: var(--gx-mute); font-size: 14px; }
.gx-cup__bosses { position: relative; height: 560px; }
.gx-cup__boss { position: absolute; bottom: 0; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }
.gx-cup__boss--1 { left: 0; width: 36%; bottom: 6%; }
.gx-cup__boss--2 { left: 30%; width: 40%; z-index: 2; }
.gx-cup__boss--3 { right: 0; width: 34%; bottom: 8%; }
.gx-cup__vs {
    position: absolute; left: 50%; top: 4%; transform: translateX(-50%) rotate(-8deg); z-index: 3;
    font: 900 64px/1 var(--gx-display); color: var(--gx-pink); text-shadow: 0 6px 0 #6a0f33, 0 20px 40px rgba(255, 77, 141, 0.5);
}

/* sfide */
.gx-modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gx-mode {
    --mc: var(--gx-cyan);
    position: relative; overflow: hidden; padding: 30px 26px 26px; border-radius: var(--gx-radius);
    background: linear-gradient(160deg, var(--gx-panel-2), var(--gx-panel)); border: 1px solid var(--gx-line);
    transition: transform .3s var(--gx-ease), border-color .3s;
}
.gx-mode::before { content: ''; position: absolute; inset: auto -30% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: var(--mc); opacity: 0.12; filter: blur(30px); }
.gx-mode:hover { transform: translateY(-6px); border-color: var(--mc); }
.gx-mode > i { font-size: 30px; color: var(--mc); }
.gx-mode h3 { font-size: 21px; margin: 18px 0 10px; }
.gx-mode p { margin: 0 0 18px; color: var(--gx-soft); font-size: 15px; }
.gx-mode__tag { font: 700 11px/1 var(--gx-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mc); }
.gx-mode--violet { --mc: #a47dff; } .gx-mode--pink { --mc: var(--gx-pink); } .gx-mode--gold { --mc: var(--gx-gold); }

/* newswire */
.gx-news { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; }
.gx-news a { text-decoration: none; }
.gx-news__main { display: flex; flex-direction: column; border-radius: var(--gx-radius); overflow: hidden; background: var(--gx-panel); border: 1px solid var(--gx-line); transition: transform .3s var(--gx-ease); }
.gx-news__main:hover { transform: translateY(-4px); }
.gx-news__img { position: relative; aspect-ratio: 16 / 8; background: center / cover; overflow: hidden; }
.gx-news__img--city { background-image: linear-gradient(90deg, rgba(7, 6, 15, 0.1), rgba(7, 6, 15, 0.5)), url('../images/v2/scene-city.webp'); }
.gx-news__img--arsenal { background-image: linear-gradient(90deg, rgba(7, 6, 15, 0.1), rgba(7, 6, 15, 0.5)), url('../images/v2/scene-arsenal.webp'); }
.gx-news__img--shadows { background-image: linear-gradient(90deg, rgba(7, 6, 15, 0.1), rgba(7, 6, 15, 0.5)), url('../images/v2/scene-shadows.webp'); }
.gx-news__img--palace { background-image: linear-gradient(90deg, rgba(7, 6, 15, 0.1), rgba(7, 6, 15, 0.5)), url('../images/v2/scene-palace.webp'); }
.gx-news__img img { position: absolute; right: 10%; bottom: -10%; width: 17%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6)); transition: transform .5s var(--gx-ease); }
.gx-news__main:hover .gx-news__img img { transform: translateY(-10px); }
.gx-news__body { padding: 28px 30px 30px; }
.gx-news__body h3 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 12px; }
.gx-news__body p:not(.gx-news__cat) { color: var(--gx-soft); margin: 0 0 16px; }
.gx-news__cat { margin: 0 0 10px; font: 700 12px/1 var(--gx-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gx-pink); }
.gx-news time { font-size: 14px; color: var(--gx-mute); }
.gx-news__list { display: grid; gap: 16px; }
.gx-news__item { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding: 14px; border-radius: 18px; background: var(--gx-panel); border: 1px solid var(--gx-line); transition: border-color .25s, transform .25s var(--gx-ease); }
.gx-news__item:hover { border-color: var(--gx-line-2); transform: translateX(4px); }
.gx-news__item h3 { font-size: 17px; line-height: 1.25; margin-bottom: 8px; }
.gx-news__thumb { position: relative; height: 112px; border-radius: 12px; overflow: hidden; }
.gx-news__thumb img { position: absolute; left: 50%; top: 6px; width: 92%; transform: translateX(-50%); }
.gx-news__thumb img[src*='vil-'] { width: 46%; }
.gx-news__thumb--violet { background: radial-gradient(circle at 50% 30%, #8a4dff, #1f0e4a); }
.gx-news__thumb--gold { background: radial-gradient(circle at 50% 30%, #ffb02e, #4a2a00); }
.gx-news__thumb--green { background: radial-gradient(circle at 50% 30%, #1faa59, #0a2e1a); }

/* classifiche e profilo */
.gx-boards { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; }
.gx-board, .gx-profile { padding: 30px; border-radius: var(--gx-radius); background: var(--gx-panel); border: 1px solid var(--gx-line); }
.gx-board__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.gx-board__head h2 { font-size: 30px; }
.gx-board__table { position: relative; }
.gx-board__row { display: grid; grid-template-columns: 50px 1fr 1fr 100px; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; }
.gx-board__row--head { font: 700 12px/1 var(--gx-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gx-mute); }
.gx-board__row--ghost { background: rgba(255, 255, 255, 0.03); margin-top: 8px; font: 900 18px/1 var(--gx-display); color: var(--gx-mute); }
.gx-board__row--ghost span:not(:first-child) { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); }
.gx-board__empty {
    position: absolute; inset: 44px 0 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center;
    background: radial-gradient(closest-side, rgba(20, 17, 41, 0.95), rgba(20, 17, 41, 0.55)); border-radius: 12px; color: var(--gx-mute);
}
.gx-board__empty i { font-size: 28px; color: var(--gx-gold); }
.gx-board__empty b { color: var(--gx-text); font-size: 18px; }
.gx-profile { display: flex; flex-direction: column; }
.gx-profile__empty, .gx-profile__card { flex: 1; display: grid; place-content: center; justify-items: center; text-align: center; gap: 10px; color: var(--gx-mute); }
.gx-profile__flag { font: 64px/1 'Noto Color Emoji', sans-serif; }
.gx-profile__empty b, .gx-profile__nick { color: var(--gx-text); }
.gx-profile__nick { font: 900 32px/1 var(--gx-display); }

/* domande */
.gx-faq-wrap { max-width: 980px; }
.gx-faq { display: grid; gap: 12px; }
.gx-faq details { border-radius: 16px; background: var(--gx-panel); border: 1px solid var(--gx-line); padding: 0 22px; transition: border-color .2s; }
.gx-faq details[open] { border-color: var(--gx-line-2); }
.gx-faq summary { list-style: none; cursor: pointer; padding: 20px 30px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.gx-faq summary::-webkit-details-marker { display: none; }
.gx-faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 700 24px/1 var(--gx-display); color: var(--gx-pink); transition: transform .25s; }
.gx-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.gx-faq p { margin: 0 0 20px; color: var(--gx-soft); }
.gx-faq a { color: var(--gx-cyan); }

/* footer */
.gx-footer { margin-top: 40px; padding: 80px 0 32px; background: var(--gx-bg-2); border-top: 1px solid var(--gx-line); }
.gx-footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.gx-footer__word { font: 900 clamp(30px, 3.4vw, 44px)/1 var(--gx-display); letter-spacing: 0.02em; }
.gx-footer__word span { color: var(--gx-pink); }
.gx-footer__brand p { color: var(--gx-soft); max-width: 380px; margin: 14px 0 20px; }
.gx-footer__badges { display: flex; align-items: center; gap: 14px; }
.gx-age { display: grid; place-items: center; width: 46px; height: 54px; border-radius: 8px; background: #fff; color: #07060f; font: 900 18px/1 var(--gx-display); }
.gx-footer__note { font-size: 13px; color: var(--gx-mute); max-width: 200px; }
.gx-footer__col { display: flex; flex-direction: column; gap: 12px; }
.gx-footer__col h2 { font: 700 12px/1 var(--gx-body) !important; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gx-mute); margin-bottom: 6px !important; }
.gx-footer__col a { text-decoration: none; color: var(--gx-soft); }
.gx-footer__col a:hover { color: #fff; }
.gx-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--gx-line); color: var(--gx-mute); font-size: 14px; }

/* pagine legali e 404 */
.gx-legal { padding: 140px 0 60px; background: radial-gradient(60% 40% at 50% 0%, rgba(124, 77, 255, 0.18), transparent 70%); }
.gx-legal__wrap { max-width: 860px; }
.gx-legal__head h1 { font-size: clamp(34px, 5vw, 56px); }
.gx-legal__meta { color: var(--gx-mute); margin: 12px 0 30px; }
.gx-legal__prose { color: var(--gx-soft); font-size: 17px; }
.gx-legal__prose h2 { font-size: 22px; margin: 40px 0 12px; }
.gx-legal__prose a { color: var(--gx-cyan); }
.gx-legal__prose b { color: var(--gx-text); }
.gx-legal__prose li { margin: 8px 0; }
.gx-legal__note { padding: 20px 24px; border-radius: var(--gx-radius); background: var(--gx-panel); border: 1px solid rgba(124, 77, 255, 0.45); }
.gx-legal__note p { margin: 6px 0; }
.gx-404 { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 140px 0 60px; }
.gx-404 h1 { font-size: clamp(90px, 16vw, 200px); font-weight: 900; background: linear-gradient(90deg, var(--gx-pink), var(--gx-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gx-404 p { color: var(--gx-soft); font-size: 18px; margin: 10px 0 28px; }
.gx-404 .gx-btn { margin: 0 auto; }

/* comparsa allo scorrimento */
.gx-js .gx-reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--gx-ease), transform .9s var(--gx-ease); }
.gx-js .gx-reveal.is-in { opacity: 1; transform: none; }

/* i figli delle griglie possono restringersi (altrimenti testi lunghi e loghi sforano su mobile) */
.gx-slide__grid > *, .gx-feature > *, .gx-cup__grid > *, .gx-news > *, .gx-boards > *, .gx-soon > *, .gx-news__item > * { min-width: 0; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
    .gx-nav { gap: 20px; }
    .gx-roster { grid-template-columns: repeat(3, 1fr); row-gap: 90px; }
    .gx-modes { grid-template-columns: 1fr 1fr; }
    .gx-feature { grid-template-columns: 1fr; margin-top: 60px; }
    .gx-feature__art { height: 360px; order: -1; }
    .gx-feature__hero { width: 44%; left: 6%; }
    .gx-feature__boss { width: 26%; right: 10%; }
}
@media (max-width: 900px) {
    .gx-header__row { height: 66px; }
    .gx-burger { display: block; }
    .gx-header__cta, .gx-me { display: none; }
    .gx-nav {
        position: fixed; inset: 66px 0 auto; margin: 0; flex-direction: column; gap: 0; padding: 12px 24px 24px;
        background: rgba(7, 6, 15, 0.97); border-bottom: 1px solid var(--gx-line); transform: translateY(-120%); transition: transform .35s var(--gx-ease);
    }
    .gx-nav.is-open { transform: none; }
    .gx-nav a { font-size: 15px; padding: 16px 0; border-bottom: 1px solid var(--gx-line); }
    .gx-nav a::after { display: none; }
    .gx-nav__cta-mobile { display: block; color: var(--gx-pink) !important; border-bottom: 0 !important; }
    .gx-hero { height: auto; min-height: 0; max-height: none; }
    .gx-slide { position: relative; display: none; }
    .gx-slide.is-active { display: block; }
    .gx-slide__grid { grid-template-columns: 1fr; padding-top: 96px; padding-bottom: 110px; }
    .gx-lineup, .gx-duo, .gx-trio, .gx-mystery { height: 300px; order: -1; }
    .gx-mystery { height: 250px; margin-top: 44px; }
    .gx-mystery__fig span { width: 44px; height: 44px; font-size: 20px; top: -26px; }
    .gx-slide__bg::after { background: linear-gradient(0deg, var(--gx-bg) 5%, rgba(7, 6, 15, 0.7) 55%, rgba(7, 6, 15, 0.45)); }
    .gx-dot__label { display: none; }
    .gx-news, .gx-boards, .gx-cup__grid, .gx-soon { grid-template-columns: 1fr; }
    .gx-cup__bosses { height: 340px; order: -1; }
    .gx-footer__top { grid-template-columns: 1fr 1fr; }
    .gx-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .gx-wrap, .gx-header__row { width: calc(100% - 32px); }
    .gx-logo--md { font-size: 31px; }
    .gx-cup__title { font-size: 40px !important; }
    .gx-feature__stats b { font-size: 30px; }
    .gx-section { padding: 80px 0; }
    .gx-section--tight { padding: 60px 0; }
    .gx-roster { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 70px 16px 10px; margin: 0 -16px; }
    .gx-roster .gx-hero-card { flex: 0 0 72%; scroll-snap-align: center; }
    .gx-modes { grid-template-columns: 1fr; }
    .gx-feature__body { padding: 30px 24px; }
    .gx-feature__stats { gap: 20px; flex-wrap: wrap; }
    .gx-news__item { grid-template-columns: 96px 1fr; }
    .gx-news__thumb { height: 96px; }
    .gx-board__row { grid-template-columns: 34px 1fr 1fr 64px; padding: 12px 10px; }
    .gx-btn { padding: 14px 22px; }
    .gx-cup { padding: 90px 0; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .gx *, .gx *::before, .gx *::after { animation: none !important; transition: none !important; }
    .gx-js .gx-reveal { opacity: 1; transform: none; }
    .gx-dot.is-active .gx-dot__bar i { width: 100%; }
}
