/* roLERbot · joc.html: pagina jocului cu scenă 3D legată de derulare.
   Tema rămâne a site-ului (blocuri de culoare, Anton, umbre dure, zimți); în zona 3D, secțiunile sunt transparente și robotul real din CAD trece prin spatele textului. */

.game-page { background: #0b0b0d; }
.mono-cap { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.gp-n { font-family: var(--f-display); font-size: clamp(34px, 3.4vw, 50px); line-height: 1; letter-spacing: .01em; color: var(--pink); }

/* ───────── canvas + încărcare ───────── */
#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100svh; z-index: 1; pointer-events: none; }
.no-gl #gl { display: none; }
.g3-load { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: #0b0b0d; transition: opacity .6s ease, visibility .6s; }
.g3-load.gone { opacity: 0; visibility: hidden; }
.g3-load-in { display: grid; gap: 14px; justify-items: center; color: var(--ink-dim); }
.g3-load-bar { width: min(260px, 60vw); height: 6px; background: rgba(244, 241, 234, .14); }
.g3-load-bar i { display: block; height: 100%; background: var(--pink); transform-origin: 0 50%; transform: scaleX(.08); transition: transform .4s ease; }

main > .gp-zone { position: static; z-index: auto; }
.gp-zone { position: relative; }
.g3-ui { position: relative; z-index: 3; }

/* ───────── erou ───────── */
.g3-hero { position: relative; height: 100svh; min-height: 640px; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--nav-h) + 20px) var(--gutter) clamp(26px, 3.4vw, 52px); background: radial-gradient(55% 55% at 50% 46%, rgba(249, 5, 108, .22), transparent 72%); }
.g3-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 96px 96px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 96px 96px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 45%, #000 20%, transparent 85%); mask-image: radial-gradient(80% 70% at 50% 45%, #000 20%, transparent 85%); }
.g3-title { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + clamp(18px, 3vh, 40px)); z-index: 3; margin: 0; text-align: center; white-space: nowrap; pointer-events: none;
  font-family: var(--f-display); font-weight: 400; font-size: clamp(88px, 21vw, 460px); line-height: .8; letter-spacing: -.005em; text-transform: uppercase; color: var(--cream); text-shadow: 0 10px 40px rgba(11, 11, 13, .45); }
.g3-title .b { color: var(--pink); }
.g3-title.in-gl { text-shadow: none; } .g3-title.in-gl span { color: transparent; }   /* titlul e desenat de game-3d.js în scenă, în spatele stupului */
.g3-title span { display: inline-block; animation: g3-rise 1.1s cubic-bezier(.2, .7, .1, 1) both; } .g3-title .b { animation-delay: .12s; }
@keyframes g3-rise { from { opacity: 0; translate: 0 80px; } to { opacity: 1; translate: 0 0; } }
.g3-hero-ui { width: min(100%, 1320px); margin-inline: auto; display: grid; gap: 14px; }
.g3-fsim { justify-self: center; margin: 0; padding: 7px 18px; background: var(--pink); color: #fff; font: 800 clamp(13px, 1.7vw, 24px)/1 var(--f-head); letter-spacing: .12em; text-transform: uppercase; box-shadow: 4px 4px 0 #0b0b0d; animation: g3-fade .8s .5s both; }
.g3-row { display: flex; justify-content: flex-start; align-items: flex-end; gap: clamp(20px, 3vw, 48px); flex-wrap: wrap; animation: g3-fade .8s .8s both; }
.g3-lead { margin: 0; max-width: 24ch; font-family: var(--f-head); font-weight: 800; font-size: clamp(22px, 2.5vw, 38px); line-height: 1.02; letter-spacing: -.025em; text-shadow: 0 2px 0 #0b0b0d; }
.gp-bar-c { display: flex; gap: 14px; flex-wrap: wrap; }
.g3-meta { display: flex; justify-content: space-between; margin: 4px 0 0; color: var(--ink-dim); animation: g3-fade .8s 1s both; }
.gp-cue { position: absolute; left: 50%; bottom: 8px; translate: -50% 0; color: var(--ink-dim); animation: gp-bounce 1.7s ease-in-out infinite; z-index: 3; }
@keyframes g3-fade { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes gp-bounce { 50% { translate: -50% 8px; } }

/* ───────── albina 2D (în blocurile pline) ───────── */
.gp-bee { position: absolute; z-index: 8; width: clamp(54px, 6vw, 92px); aspect-ratio: 46 / 38; pointer-events: none; animation: gp-hover 1.6s ease-in-out infinite alternate; }
.gp-bee svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35)); }
.gp-bee .wing { transform-box: fill-box; transform-origin: 50% 100%; animation: gp-flap .09s ease-in-out infinite alternate; }
.gp-bee .wing.b { animation-delay: -.045s; }
.gp-bee--cta { right: var(--gutter); top: clamp(30px, 6vw, 80px); }
@keyframes gp-hover { from { transform: translate(0, 0) rotate(-4deg); } to { transform: translate(-14px, -16px) rotate(4deg); } }
@keyframes gp-flap { from { transform: rotate(-24deg) scaleY(1); } to { transform: rotate(10deg) scaleY(.7); } }

/* ───────── 01: introducere + ceasul meciului ───────── */
.g3-intro { padding: clamp(80px, 12vw, 180px) 0 clamp(40px, 6vw, 90px); }
.g3-intro .sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.g3-intro .h-lg, .g3-build .h-lg, .g3-career .h-lg, .gp-scene-txt .h-lg { text-shadow: 4px 4px 0 #0b0b0d; }
.g3-intro .sub, .g3-build .sub, .g3-career .sub { color: var(--ink-dim); text-shadow: 0 1px 0 #0b0b0d; }
.gp-clock { max-width: 760px; }
.gp-clock-bar { display: flex; border: 3px solid var(--cream); min-height: 64px; background: rgba(11, 11, 13, .6); }
.gp-ph { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px clamp(10px, 1.4vw, 18px); border-right: 3px solid var(--cream); font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; overflow: hidden; }
.gp-ph:last-child { border-right: 0; }
.gp-ph b { font-family: var(--f-display); font-weight: 400; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: .01em; }
.gp-ph.auto { background: var(--cream); color: #0b0b0d; }
.gp-ph.gap { background: repeating-linear-gradient(135deg, var(--cream) 0 6px, transparent 6px 12px); padding-inline: 0; }
.gp-ph.tele { padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.gp-ph.tele .l { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px clamp(10px, 1.4vw, 18px); }
.gp-ph.tele .fl { display: flex; align-items: center; justify-content: flex-end; padding: 10px clamp(10px, 1.4vw, 18px); background: var(--pink); color: #fff; }
.gp-clock-note { margin-top: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); }

/* ───────── povestea: panoul roz în stânga, robotul 3D în dreapta ───────── */
.gp-story { position: relative; height: 440vh; }
.gp-story-in { position: sticky; z-index: 3; top: 0; height: 100svh; display: flex; align-items: center; padding-top: var(--nav-h); }
.gp-story-l { width: min(500px, 44vw); background: var(--pink); color: #0b0b0d; border: 3px solid #0b0b0d; box-shadow: 10px 10px 0 #0b0b0d; padding: clamp(12px, 1.6vw, 22px); }
.gp-story .gp-n { color: #0b0b0d; }
.gp-slist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.gp-slist li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 9px 0 9px 14px; border-left: 6px solid transparent; opacity: .45; cursor: pointer; transition: opacity .35s, border-color .35s; }
.gp-slist li.on { opacity: 1; border-color: #0b0b0d; }
.gp-slist h3 { font-family: var(--f-head); font-weight: 800; font-size: clamp(19px, 1.8vw, 26px); letter-spacing: -.02em; line-height: 1.05; }
.gp-slist p { max-height: 0; overflow: hidden; opacity: 0; font-size: clamp(14px, 1.1vw, 16.5px); line-height: 1.42; color: #0b0b0d; transition: max-height .5s ease, opacity .4s, margin .4s; }
.gp-slist li.on p { max-height: 8em; opacity: 1; margin-top: 6px; }
.gp-hud { margin-top: 10px; border: 3px solid #0b0b0d; background: rgba(255, 255, 255, .14); display: grid; grid-template-columns: repeat(4, 1fr); }
.gp-hud-t { grid-column: 1 / -1; padding: 6px 12px; background: #0b0b0d; color: #f4f1ea; margin: 0; }
.gp-hud .r { display: flex; flex-direction: column; justify-content: space-between; gap: 5px; padding: 7px 9px 5px; border-left: 2px solid rgba(11, 11, 13, .25); font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.25; }
.gp-hud .r:nth-child(2) { border-left: 0; }
.gp-hud .r b { font-family: var(--f-display); font-weight: 400; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.gp-hud .r.tot { background: #0b0b0d; color: #f4f1ea; border-left: 0; }
.gp-hud .r.tot b { color: #ff4d94; font-size: 32px; }
.gp-stage-bar { height: 6px; margin-top: 10px; background: rgba(11, 11, 13, .25); }
.gp-stage-bar i { display: block; height: 100%; width: 100%; background: #0b0b0d; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }

/* ───────── 02: terenul viu, camera ocolește ───────── */
.gp-scene { position: relative; height: 270vh; }
.gp-scene-in { position: sticky; z-index: 3; top: 0; height: 100svh; display: flex; align-items: flex-end; }
.gp-scene-in::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 80%; pointer-events: none; background: linear-gradient(0deg, rgba(11, 11, 13, .96) 30%, rgba(11, 11, 13, 0)); }
.gp-scene-txt { padding-bottom: clamp(36px, 6vw, 90px); display: grid; gap: 20px; }
.gp-scene-txt .h-lg { max-width: 14ch; }
.gp-pts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 36px); margin-top: 4px; }
.gp-pt { border-top: 3px solid var(--pink); padding-top: 14px; opacity: 0; translate: 0 34px; transition: opacity .6s ease, translate .6s cubic-bezier(.2, .7, .1, 1); }
.gp-pt.on { opacity: 1; translate: 0 0; }
.gp-pt .gp-n { display: block; margin-bottom: 8px; font-size: 30px; }
.gp-pt h3 { font-family: var(--f-head); font-weight: 800; font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -.02em; margin-bottom: 8px; }
.gp-pt p { color: var(--ink-dim); line-height: 1.5; }

/* ───────── 03: constructorul (robotul 3D se vede prin fereastra din stânga) ───────── */
.g3-build { padding: clamp(70px, 10vw, 150px) 0 clamp(60px, 8vw, 120px); }
.gp-build { display: grid; grid-template-columns: minmax(300px, .9fr) 1.2fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.gp-trow { display: grid; grid-template-columns: minmax(100px, 150px) 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-strong); }
.gp-trow:first-child { border-top: 1px solid var(--line-strong); }
.gp-trow h3 { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--pink-hi); }
.gp-tiers { display: flex; flex-wrap: wrap; gap: 8px; }
.gp-tier { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px 9px 10px; border: 1px solid var(--line-strong); background: rgba(11, 11, 13, .55); color: var(--ink-dim); font: 600 clamp(13px, 1vw, 15px) var(--f-head); cursor: pointer; transition: transform .2s cubic-bezier(.34, 1.56, .5, 1), background .2s, color .2s, border-color .2s, box-shadow .2s; }
.gp-tier i { font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--mute); }
.gp-tier:hover { border-color: var(--cream); color: var(--cream); transform: translateY(-2px); }
.gp-tier.own { background: rgba(249, 5, 108, .3); border-color: rgba(249, 5, 108, .75); color: var(--cream); }
.gp-tier.cur { background: var(--pink); border-color: var(--pink); color: #fff; box-shadow: 4px 4px 0 var(--cream); }
.gp-tier.cur i { color: rgba(255, 255, 255, .85); }
.gp-panel { position: sticky; top: calc(var(--nav-h) + 22px); display: grid; gap: 14px; }
.gp-robot { position: relative; height: clamp(230px, 38vh, 420px); border: 3px solid var(--cream); box-shadow: 8px 8px 0 var(--pink); }
.gp-power { position: absolute; right: -3px; top: -3px; padding: 6px 12px; background: var(--pink); color: #fff; font-size: 13px; }
.gp-bars { display: grid; gap: 8px; padding: 12px; background: rgba(11, 11, 13, .6); border: 1px solid var(--line-strong); }
.gp-brow { display: grid; grid-template-columns: minmax(110px, 160px) 1fr 52px; gap: 12px; align-items: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); }
.gp-brow .tr { height: 9px; background: rgba(244, 241, 234, .14); position: relative; overflow: hidden; }
.gp-brow .tr i { position: absolute; inset: 0; background: var(--pink); transform-origin: 0 50%; transform: scaleX(var(--v, 0)); transition: transform .5s cubic-bezier(.2, .7, .1, 1); }
.gp-brow b { text-align: right; color: var(--cream); font-weight: 500; }
.gp-perks { display: flex; flex-wrap: wrap; gap: 8px; }
.gp-perk { padding: 6px 11px; border: 1px dashed var(--line-strong); background: rgba(11, 11, 13, .55); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); transition: all .3s; }
.gp-perk.on { border: 1px solid var(--pink); background: var(--pink); color: #fff; box-shadow: 3px 3px 0 var(--cream); }
.gp-bctl { display: flex; gap: 12px; flex-wrap: wrap; }

.marquee { margin-top: -26px; }

/* ───────── butonul care te urmărește ───────── */
.gp-float { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; background: var(--pink); color: #fff;
  font: 800 15px var(--f-head); box-shadow: 4px 4px 0 var(--cream); opacity: 0; translate: 0 150%; pointer-events: none; transition: translate .45s cubic-bezier(.34, 1.4, .5, 1), opacity .3s, box-shadow .2s; }
.gp-float.on { opacity: 1; translate: 0 0; pointer-events: auto; }
.gp-float:hover { box-shadow: 6px 6px 0 var(--cream); }
@media (min-width: 1100px) { .gp-float { top: 22px; bottom: auto; right: clamp(16px, 2.4vw, 40px); translate: 0 -170%; } .gp-float.on { translate: 0 0; } }

/* ───────── 04: rail de moduri ───────── */
#moduri { padding-inline: 0; overflow: hidden; }
.gp-rail-wrap .rail-head { align-items: flex-end; }
.gp-drag { color: #0b0b0d; margin-right: 8px; }
.gp-rail { gap: clamp(14px, 1.6vw, 24px); padding-bottom: 28px; }
.gp-card { position: relative; width: clamp(270px, 27vw, 400px); aspect-ratio: 3 / 4.1; overflow: hidden; border: 3px solid #0b0b0d; box-shadow: 8px 8px 0 #0b0b0d; background: #0b0b0d; color: #f4f1ea; outline-offset: 4px; transition: transform .25s cubic-bezier(.34, 1.56, .5, 1), box-shadow .25s; }
.gp-card:hover, .gp-card:focus-visible { transform: translate(-4px, -4px); box-shadow: 12px 12px 0 var(--pink); }
.gp-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .8s cubic-bezier(.2, .7, .1, 1); pointer-events: none; }
.gp-card:nth-child(odd) img { object-position: 30% 50%; } .gp-card:nth-child(even) img { object-position: 70% 50%; }
.gp-card:hover img, .gp-card:focus-visible img { scale: 1.1; }
.gp-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 13, .1) 20%, rgba(11, 11, 13, .96) 100%); transition: background .3s; pointer-events: none; }
.gp-card:hover::after, .gp-card:focus-visible::after { background: linear-gradient(180deg, rgba(249, 5, 108, .22) 0%, rgba(11, 11, 13, .98) 78%); }
.gp-card .gp-n { position: absolute; z-index: 2; left: 16px; top: 14px; padding: 4px 10px; background: var(--pink); color: #fff; font-size: 26px; box-shadow: 3px 3px 0 #0b0b0d; }
.gp-card-b { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 20px 20px; }
.gp-card h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 3.2vw, 48px); line-height: .92; text-transform: uppercase; letter-spacing: .005em; }
.gp-card p { max-height: 0; overflow: hidden; opacity: 0; margin-top: 0; font-size: 15px; line-height: 1.45; color: rgba(244, 241, 234, .9); transition: max-height .5s ease, opacity .35s, margin .35s; }
.gp-card:hover p, .gp-card:focus-visible p, .gp-card:focus-within p { max-height: 11em; opacity: 1; margin-top: 12px; }
@media (hover: none) { .gp-card p { max-height: 11em; opacity: 1; margin-top: 10px; } .gp-card { aspect-ratio: 3 / 4.6; } }

/* ───────── 05: comenzi ───────── */
.gp-controls { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.gp-keys { display: grid; grid-template-columns: repeat(2, 1fr); border: 3px solid #0b0b0d; }
.gp-key { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 3px solid #0b0b0d; font-weight: 600; font-size: clamp(14.5px, 1.1vw, 17px); }
.gp-key:nth-child(odd) { border-right: 3px solid #0b0b0d; }
.gp-key:nth-last-child(-n+2) { border-bottom: 0; }
.gp-key .k { display: inline-flex; gap: 4px; min-width: 112px; }
.gp-key kbd { font-family: var(--f-mono); font-size: 13px; font-weight: 500; min-width: 30px; height: 30px; padding: 0 8px; display: inline-grid; place-items: center; background: #0b0b0d; color: var(--cream); box-shadow: 0 3px 0 rgba(11, 11, 13, .35); transition: transform .08s, background .08s, color .08s, box-shadow .08s; }
.gp-key kbd.on { background: var(--cream); color: #0b0b0d; transform: translateY(3px); box-shadow: 0 0 0 transparent; outline: 3px solid #0b0b0d; }
.gp-pad h3 { font-family: var(--f-head); font-weight: 800; font-size: clamp(21px, 1.9vw, 28px); letter-spacing: -.02em; margin-bottom: 8px; }
.gp-pad p { line-height: 1.5; margin-bottom: 22px; color: #0b0b0d; }
.blk-hot .gp-n { color: #0b0b0d; }
.blk-hot .sec-head .sub { color: #0b0b0d; }

/* final */
.gp-final { padding-block: clamp(110px, 15vw, 220px) clamp(90px, 12vw, 170px); position: relative; }
.gp-final .h-xl { font-size: clamp(64px, 14vw, 230px); line-height: .86; margin-bottom: 22px; }
.gp-final .sub { max-width: 46ch; font-size: clamp(17px, 1.5vw, 22px); color: #3b3740; margin-bottom: 34px; }
.gp-fine { margin-top: 34px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(11, 11, 13, .6); max-width: 70ch; line-height: 1.6; }

/* ───────── fără WebGL: pagina rămâne frumoasă, cu o captură în loc de scenă ───────── */
.no-gl .g3-hero { background: linear-gradient(180deg, rgba(11, 11, 13, .55), rgba(11, 11, 13, .9)), url(../assets/img/game/robot-close.webp) center / cover; }
.no-gl .gp-story, .no-gl .gp-scene { height: auto; }
.no-gl .gp-story-in, .no-gl .gp-scene-in { position: relative; height: auto; padding-block: 60px; }
.no-gl .gp-pt { opacity: 1; translate: none; }

/* ───────── ecrane mici ───────── */
@media (max-width: 1000px) {
  .gp-story-l { width: min(520px, 92vw); }
  .gp-story-in { align-items: flex-end; padding-bottom: 14px; }
  .gp-pts { grid-template-columns: 1fr; gap: 14px; }
  .gp-pt p { font-size: 14px; }
  .gp-build { grid-template-columns: 1fr; }
  .gp-panel { position: static; }
  .gp-controls { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .g3-hero { min-height: 600px; }
  .g3-title { top: 38%; font-size: clamp(76px, 31vw, 200px); }
  .g3-row { flex-direction: column; align-items: flex-start; }
  .gp-bar-c { width: 100%; } .gp-bar-c .btn { flex: 1; justify-content: space-between; }
  .g3-meta { flex-direction: column; gap: 4px; }
  .gp-story { height: 400vh; }
  .gp-brow { grid-template-columns: 1fr 1fr 44px; }
  .gp-trow { grid-template-columns: 1fr; gap: 10px; }
  .gp-keys { grid-template-columns: 1fr; }
  .gp-key:nth-child(odd) { border-right: 0; }
  .gp-key:nth-last-child(2) { border-bottom: 3px solid #0b0b0d; }
  .gp-ph { font-size: 10px; letter-spacing: .08em; padding-inline: 8px; }
  .gp-float { padding: 12px 16px; font-size: 14px; }
  .gp-bee--cta { top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .gp-bee, .gp-bee .wing, .g3-title span, .g3-fsim, .g3-row, .g3-meta, .gp-cue { animation: none; }
  .gp-card img { transition: none; }
  .gp-pt { opacity: 1; translate: none; }
}


/* ═════════ VERSIUNEA UȘOARĂ: 3D doar în erou și în constructor; povestea e un demo 2D animat ═════════ */
.gp-story { height: 380vh; }
.gp-story-grid { display: grid; grid-template-columns: minmax(330px, 470px) 1fr; gap: clamp(20px, 3.4vw, 56px); align-items: center; }
.gp-story-grid .gp-story-l { width: auto; }
.gp-demo { position: relative; border: 3px solid var(--cream); box-shadow: 10px 10px 0 var(--pink); background: #17171b; aspect-ratio: 16 / 10; overflow: hidden; }
.gp-demo svg { display: block; width: 100%; height: 100%; }
.gp-demo-bees { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

/* ce se vede la fiecare pas */
.gp-demo .d-floor, .gp-demo .d-fly, .gp-demo .d-pour, .gp-demo .d-tag text, .gp-demo .cb, .gp-demo .d-full { opacity: 0; transition: opacity .4s; }
.gp-demo .d-hive, .gp-demo .d-flower { transition: opacity .5s; opacity: .32; }
.gp-demo[data-step="0"] .d-floor, .gp-demo[data-step="1"] .d-fly, .gp-demo[data-step="3"] .d-fly, .gp-demo[data-step="2"] .d-pour { opacity: 1; }
.gp-demo[data-step="1"] .d-hive, .gp-demo[data-step="2"] .d-hive { opacity: 1; }
.gp-demo[data-step="3"] .d-flower { opacity: 1; } .gp-demo[data-step="3"] .d-hive { opacity: .55; }
.gp-demo[data-step="3"] .fx.x3 { display: none; }
.gp-demo[data-step="1"] .cb { opacity: 1; }
.gp-demo[data-step="2"] .d-full { opacity: 1; }
.d-tag text { font-family: var(--f-display); font-size: 34px; fill: #ffc933; stroke: #0b0b0d; stroke-width: 6px; paint-order: stroke; }

.d-robot { translate: 0 0; transition: translate .9s cubic-bezier(.3, .7, .2, 1); }
.gp-demo[data-step="3"] .d-robot { translate: 120px 0; }
.d-bob { animation: d-bob .5s ease-in-out infinite alternate; transform-box: view-box; }
.d-whl { transform-box: view-box; }
.gp-demo[data-step="0"] .d-whl, .gp-demo[data-step="0"] .d-bob { animation-play-state: running; }
.gp-demo[data-step="0"] .d-whl { animation: d-spin .7s linear infinite; }
@keyframes d-bob { from { transform: translateY(0); } to { transform: translateY(-2.5px); } }
@keyframes d-spin { to { transform: rotate(360deg); } }

/* 0: robotul merge și înghite mingile una câte una */
.gp-demo[data-step="0"] .d-drive { animation: d-drive 5.2s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes d-drive { 0% { transform: translateX(0); } 66% { transform: translateX(196px); } 82% { transform: translateX(196px); } 100% { transform: translateX(0); } }
.fb { animation: none; }
.gp-demo[data-step="0"] .fb.f0 { animation: fb0 5.2s infinite; } .gp-demo[data-step="0"] .fb.f1 { animation: fb1 5.2s infinite; }
.gp-demo[data-step="0"] .fb.f2 { animation: fb2 5.2s infinite; } .gp-demo[data-step="0"] .fb.f3 { animation: fb3 5.2s infinite; }
@keyframes fb0 { 0%, 20% { opacity: 1; scale: 1; } 23% { opacity: 0; scale: .2; } 99% { opacity: 0; } 100% { opacity: 1; scale: 1; } }
@keyframes fb1 { 0%, 31% { opacity: 1; scale: 1; } 34% { opacity: 0; scale: .2; } 99% { opacity: 0; } 100% { opacity: 1; scale: 1; } }
@keyframes fb2 { 0%, 42% { opacity: 1; scale: 1; } 45% { opacity: 0; scale: .2; } 99% { opacity: 0; } 100% { opacity: 1; scale: 1; } }
@keyframes fb3 { 0%, 53% { opacity: 1; scale: 1; } 56% { opacity: 0; scale: .2; } 99% { opacity: 0; } 100% { opacity: 1; scale: 1; } }
.fb { transform-box: fill-box; transform-origin: center; }
.gp-demo[data-step="0"] .t0 { animation: t0 5.2s infinite; transform-box: fill-box; }
@keyframes t0 { 0%, 20% { opacity: 0; translate: 0 8px; } 23% { opacity: 1; translate: 0 0; } 30% { opacity: 0; translate: 0 -14px; } 31% { opacity: 0; } 34% { opacity: 1; translate: 0 0; } 41% { opacity: 0; translate: 0 -14px; } 42% { opacity: 0; } 45% { opacity: 1; translate: 0 0; } 52% { opacity: 0; translate: 0 -14px; } 53% { opacity: 0; } 56% { opacity: 1; translate: 0 0; } 63%, 100% { opacity: 0; translate: 0 -14px; } }

/* 1 și 3: mingile zboară în arc spre stup / floare */
.d-fly .fx { --mx: 222px; --dx: 248px; --dy: -31px; translate: var(--mx) 231px; opacity: 0; }
.gp-demo[data-step="3"] .d-fly .fx { --mx: 342px; --dx: 254px; --dy: -33px; }
.gp-demo[data-step="1"] .fx, .gp-demo[data-step="3"] .fx { animation: fx 4.4s linear infinite backwards; }
.gp-demo[data-step="1"] .fy, .gp-demo[data-step="3"] .fy { animation: fy 4.4s linear infinite backwards; }
.fx.x1, .fx.x1 .fy { animation-delay: .8s !important; } .fx.x2, .fx.x2 .fy { animation-delay: 1.6s !important; } .fx.x3, .fx.x3 .fy { animation-delay: 2.4s !important; }
.fx.x0, .fx.x0 .fy { animation-delay: 0s; }
.fy { transform-box: view-box; }
@keyframes fx { 0% { opacity: 0; transform: translateX(0); } .2% { opacity: 1; } 19% { opacity: 1; transform: translateX(var(--dx)); } 19.6%, 100% { opacity: 0; transform: translateX(var(--dx)); } }
@keyframes fy { 0% { transform: translateY(0); animation-timing-function: cubic-bezier(.25, .65, .45, 1); } 8.4% { transform: translateY(-96px); animation-timing-function: cubic-bezier(.55, 0, .85, .55); } 19% { transform: translateY(var(--dy)); } 100% { transform: translateY(var(--dy)); } }
.cb { transform-box: fill-box; transform-origin: center; }
.gp-demo[data-step="1"] .cb.c0 { animation: cb0 4.4s infinite; } .gp-demo[data-step="1"] .cb.c1 { animation: cb1 4.4s infinite; }
.gp-demo[data-step="1"] .cb.c2 { animation: cb2 4.4s infinite; } .gp-demo[data-step="1"] .cb.c3 { animation: cb3 4.4s infinite; }
@keyframes cb0 { 0%, 19% { opacity: 0; scale: .3; } 22% { opacity: 1; scale: 1.2; } 25%, 92% { opacity: 1; scale: 1; } 100% { opacity: 0; } }
@keyframes cb1 { 0%, 37% { opacity: 0; scale: .3; } 40% { opacity: 1; scale: 1.2; } 43%, 92% { opacity: 1; scale: 1; } 100% { opacity: 0; } }
@keyframes cb2 { 0%, 55% { opacity: 0; scale: .3; } 58% { opacity: 1; scale: 1.2; } 61%, 92% { opacity: 1; scale: 1; } 100% { opacity: 0; } }
@keyframes cb3 { 0%, 73% { opacity: 0; scale: .3; } 76% { opacity: 1; scale: 1.2; } 79%, 92% { opacity: 1; scale: 1; } 100% { opacity: 0; } }
.gp-demo[data-step="1"] .t1 { animation: t1 4.4s infinite; }
@keyframes t1 { 0%, 19% { opacity: 0; translate: 0 8px; } 21% { opacity: 1; translate: 0 0; } 30% { opacity: 0; translate: 0 -14px; } 37% { opacity: 0; } 39% { opacity: 1; translate: 0 0; } 48% { opacity: 0; translate: 0 -14px; } 55% { opacity: 0; } 57% { opacity: 1; translate: 0 0; } 66% { opacity: 0; translate: 0 -14px; } 73% { opacity: 0; } 75% { opacity: 1; translate: 0 0; } 84%, 100% { opacity: 0; translate: 0 -14px; } }

/* 2: stupul se înclină și varsă mingile */
.d-tray { transform-box: view-box; transform-origin: 470px 217px; }
.gp-demo[data-step="2"] .d-tray { animation: d-tip 5.4s cubic-bezier(.45, 0, .3, 1) infinite; }
@keyframes d-tip { 0%, 12% { transform: rotate(0); } 34% { transform: rotate(-26deg); } 74% { transform: rotate(-26deg); } 92%, 100% { transform: rotate(0); } }
.gp-demo[data-step="2"] .d-full { animation: d-full 5.4s infinite; }
@keyframes d-full { 0%, 20% { opacity: 1; } 24%, 90% { opacity: 0; } 100% { opacity: 1; } }
.pb { transform-box: fill-box; transform-origin: center; opacity: 0; }
.gp-demo[data-step="2"] .pb { animation: pb 5.4s infinite; }
.pb.p1 { animation-delay: .12s !important; } .pb.p2 { animation-delay: .24s !important; } .pb.p3 { animation-delay: .06s !important; }
@keyframes pb { 0%, 21% { opacity: 0; transform: translate(0, 0); } 22% { opacity: 1; transform: translate(0, 0); animation-timing-function: cubic-bezier(.4, 0, .7, .6); } 40% { transform: translate(-70px, 36px); animation-timing-function: cubic-bezier(.4, 0, 1, 1); } 54% { transform: translate(-128px, 88px); animation-timing-function: cubic-bezier(.3, .8, .5, 1); } 60% { transform: translate(-146px, 80px); animation-timing-function: ease-in; } 66%, 90% { opacity: 1; transform: translate(-158px, 88px); } 98%, 100% { opacity: 0; transform: translate(-158px, 88px); } }
.gp-demo[data-step="2"] .t2 { animation: t2 5.4s infinite; }
@keyframes t2 { 0%, 38% { opacity: 0; translate: 0 10px; } 44% { opacity: 1; translate: 0 0; } 70% { opacity: 1; } 82%, 100% { opacity: 0; translate: 0 -16px; } }

/* 3: floarea primește nectar */
.d-petals { transform-box: view-box; }
.gp-demo[data-step="3"] .d-petals { animation: d-petal 4.4s infinite; transform-origin: 596px 198px; }
@keyframes d-petal { 0%, 18% { scale: 1; } 21% { scale: 1.22; } 26%, 36% { scale: 1; } 39% { scale: 1.22; } 44%, 54% { scale: 1; } 57% { scale: 1.22; } 62%, 100% { scale: 1; } }
.gp-demo[data-step="3"] .t3 { animation: t3 4.4s infinite; }
@keyframes t3 { 0%, 19% { opacity: 0; translate: 0 8px; } 21% { opacity: 1; translate: 0 0; } 30% { opacity: 0; translate: 0 -14px; } 37% { opacity: 0; } 39% { opacity: 1; translate: 0 0; } 48% { opacity: 0; translate: 0 -14px; } 55% { opacity: 0; } 57% { opacity: 1; translate: 0 0; } 66%, 100% { opacity: 0; translate: 0 -14px; } }

/* ───────── albine SVG (zboară în DOM, nu în 3D) ───────── */
.gp-bee-s { position: absolute; width: 54px; aspect-ratio: 46 / 38; pointer-events: none; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .4)); }
.gp-bee-s svg { width: 100%; height: 100%; overflow: visible; }
.gp-bee-s .wing { transform-box: fill-box; transform-origin: 50% 100%; animation: gp-flap .08s ease-in-out infinite alternate; }
.gp-bee-s .wing.b { animation-delay: -.04s; }
.gp-hero-bees { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.gp-hero-bees .gp-bee-s { left: 0; top: 0; animation: bee-hero var(--dur, 16s) linear infinite; animation-delay: var(--del, 0s); width: var(--sz, 56px); }
@keyframes bee-hero { 0% { transform: translate(-10vw, var(--y0, 60vh)) rotate(6deg); } 25% { transform: translate(24vw, calc(var(--y0, 60vh) - 12vh)) rotate(-8deg); } 50% { transform: translate(52vw, calc(var(--y0, 60vh) + 6vh)) rotate(8deg); } 75% { transform: translate(80vw, calc(var(--y0, 60vh) - 10vh)) rotate(-6deg); } 100% { transform: translate(112vw, var(--y0, 60vh)) rotate(4deg); } }
.gp-demo-bees .gp-bee-s { left: 0; top: 0; width: 42px; animation: bee-demo var(--dur, 9s) ease-in-out infinite alternate; animation-delay: var(--del, 0s); }
@keyframes bee-demo { 0% { transform: translate(var(--x0, 8%), var(--y0, 12%)) rotate(4deg); } 50% { transform: translate(calc(var(--x0, 8%) + 90px), calc(var(--y0, 12%) + 26px)) rotate(-6deg); } 100% { transform: translate(calc(var(--x0, 8%) + 30px), calc(var(--y0, 12%) - 14px)) rotate(6deg); } }
.gp-robot { overflow: hidden; }
.gp-swarm { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.gp-swarm .gp-bee-s { left: 50%; top: 50%; width: 30px; animation: bee-orb var(--dur, 6s) linear infinite; animation-delay: var(--del, 0s); }
.gp-swarm .gp-bee-s.new { scale: 0; animation: bee-orb var(--dur, 6s) linear infinite, bee-pop .5s cubic-bezier(.34, 1.56, .5, 1) forwards; }
@keyframes bee-pop { to { scale: 1; } }
@keyframes bee-orb { 0% { transform: translate(calc(var(--rx, 120px) * -1), var(--ry, 20px)) rotate(0); } 25% { transform: translate(0, calc(var(--ry, 20px) * -1.4)) rotate(-8deg); } 50% { transform: translate(var(--rx, 120px), calc(var(--ry, 20px) * .4)) rotate(4deg); } 75% { transform: translate(0, calc(var(--ry, 20px) * 1.2)) rotate(8deg); } 100% { transform: translate(calc(var(--rx, 120px) * -1), var(--ry, 20px)) rotate(0); } }

/* ───────── 02: trei carduri cu capturi ───────── */
.g3-field { padding: clamp(70px, 9vw, 130px) 0; }
.g3-field .h-lg { text-shadow: 4px 4px 0 #0b0b0d; max-width: 14ch; }
.gp-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 36px); margin-top: clamp(24px, 3vw, 44px); }
.gp-feat { position: relative; padding-bottom: 6px; }
.gp-feat .im { aspect-ratio: 16 / 10; overflow: hidden; border: 3px solid var(--cream); box-shadow: 8px 8px 0 var(--pink); margin-bottom: 18px; background: #17171b; }
.gp-feat img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s cubic-bezier(.2, .7, .1, 1); }
.gp-feat:hover img { scale: 1.07; }
.gp-feat .gp-n { display: block; font-size: 30px; margin-bottom: 6px; }
.gp-feat h3 { font-family: var(--f-head); font-weight: 800; font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -.02em; margin-bottom: 8px; }
.gp-feat p { color: var(--ink-dim); line-height: 1.5; }

@media (max-width: 1000px) {
  .gp-story-grid { grid-template-columns: 1fr; gap: 14px; align-items: end; }
  .gp-demo { order: -1; aspect-ratio: 16 / 9; max-height: 36svh; box-shadow: 6px 6px 0 var(--pink); }
  .gp-story-in { align-items: center; padding-bottom: 0; }
  .gp-story-grid .gp-story-l { width: 100%; }
  .gp-slist li p { font-size: 13px; }
  .gp-feats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .gp-demo *, .gp-bee-s, .gp-bee-s * { animation: none !important; }
  .gp-demo .fx { opacity: 0; }
}


/* ═════════ POVESTEA, ecran întreg (stil Rockstar VI): capturi din joc care se dezvăluie la derulare ═════════ */
.gp-story { height: 420vh; }
.gp-story-in { position: sticky; top: 0; height: 100svh; display: block; padding: 0; overflow: hidden; z-index: 3; background: #0b0b0d; }
.gp-slides { position: absolute; inset: 0; }
.gp-slide { position: absolute; inset: 0; margin: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s cubic-bezier(.76, 0, .2, 1); }
.gp-slide:nth-child(1) { clip-path: inset(0); }
.gp-slide.on { clip-path: inset(0); }
.gp-slide img { width: 100%; height: 100%; object-fit: cover; scale: 1.14; transition: scale 3.2s cubic-bezier(.2, .7, .1, 1); }
.gp-slide.cur img { scale: 1; }
.gp-slide figcaption { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(110px, 16vh, 190px); display: grid; gap: 10px; max-width: 640px; }
.gp-slide[data-side="r"] figcaption { left: auto; margin-left: auto; text-align: right; justify-items: end; }
.gp-slide .big { font-family: var(--f-display); font-size: clamp(110px, 20vw, 300px); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--pink); opacity: .9; }
.gp-slide h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(46px, 7.4vw, 118px); line-height: .9; text-transform: uppercase; color: #f4f1ea; text-shadow: 5px 5px 0 #0b0b0d; }
.gp-slide p { font-size: clamp(15px, 1.4vw, 20px); line-height: 1.45; max-width: 38ch; color: rgba(244, 241, 234, .92); text-shadow: 0 2px 0 #0b0b0d; }
.gp-slide figcaption > * { opacity: 0; translate: 0 40px; transition: opacity .7s ease, translate .8s cubic-bezier(.2, .7, .1, 1); }
.gp-slide.cur figcaption > * { opacity: 1; translate: 0 0; }
.gp-slide.cur figcaption > :nth-child(1) { transition-delay: .35s; } .gp-slide.cur figcaption > :nth-child(2) { transition-delay: .5s; } .gp-slide.cur figcaption > :nth-child(3) { transition-delay: .65s; }
.gp-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(11, 11, 13, .6), transparent 22%, transparent 45%, rgba(11, 11, 13, .88)); }
.gp-chap { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 20px); padding-inline: var(--gutter); }
.gp-chap .gp-slist { display: flex; gap: clamp(8px, 1.6vw, 24px); flex-wrap: wrap; }
.gp-chap .gp-slist li { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border: 2px solid rgba(244, 241, 234, .35); background: rgba(11, 11, 13, .55); border-left: 2px solid rgba(244, 241, 234, .35); opacity: 1; transition: background .3s, border-color .3s, color .3s; backdrop-filter: blur(6px); }
.gp-chap .gp-slist li .gp-n { font-size: 24px; color: var(--pink-hi, #ff4d94); }
.gp-chap .gp-slist li .t { font: 700 clamp(13px, 1.1vw, 16px) var(--f-head); color: var(--cream); }
.gp-chap .gp-slist li.on { background: var(--pink); border-color: var(--pink); box-shadow: 4px 4px 0 #0b0b0d; }
.gp-chap .gp-slist li.on .gp-n, .gp-chap .gp-slist li.on .t { color: #fff; }
.gp-story .gp-hud { position: absolute; right: var(--gutter); bottom: clamp(18px, 3vh, 36px); width: min(440px, calc(100vw - 2 * var(--gutter))); margin: 0; background: var(--pink); border: 3px solid #0b0b0d; box-shadow: 6px 6px 0 #0b0b0d; }
.gp-story .gp-stage-bar { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; height: 6px; background: rgba(244, 241, 234, .15); }
.gp-story .gp-stage-bar i { background: var(--pink); }
@media (max-width: 1000px) {
  .gp-slide figcaption, .gp-slide[data-side="r"] figcaption { left: var(--gutter); right: var(--gutter); margin: 0; text-align: left; justify-items: start; bottom: 160px; }
  .gp-slide .big { font-size: clamp(80px, 24vw, 160px); }
  .gp-chap .gp-slist li .t { display: none; } .gp-chap .gp-slist li.on .t { display: inline; }
  .gp-story .gp-hud { left: var(--gutter); width: auto; grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .gp-slide, .gp-slide img, .gp-slide figcaption > * { transition: none; } }


/* ═════════ RETUȘURI UI: ritm de culoare ca pe restul site-ului + titluri care respectă diacriticele ═════════ */
/* Anton MAJUSCULE cu Ă Â Î Ș Ț: la .92 accentele se calcă pe rândul de sus; pagina asta are mult text românesc */
.game-page .h-lg { line-height: 1.2; padding-top: .06em; }
.gp-final .h-xl { line-height: 1; }
.gp-slide h3 { line-height: 1; }
.gp-card h3 { line-height: 1; }

/* 02: bloc crem cu margine zimțată (între povestea foto și constructorul întunecat) */
.g3-field.section { z-index: 2; padding-block: clamp(90px, 11vw, 160px); }
.g3-field .h-lg { text-shadow: none; max-width: 16ch; color: #0b0b0d; }
.g3-field .gp-feat .im { border-color: #0b0b0d; box-shadow: 8px 8px 0 var(--pink); }
.g3-field .gp-feat h3 { color: #0b0b0d; }
.g3-field .gp-feat p { color: rgba(11, 11, 13, .72); }
.g3-build { position: relative; }

/* 05: etichetele tastelor pe aceeași coloană */
.gp-key .k { min-width: 164px; }
@media (max-width: 700px) { .gp-key .k { min-width: 128px; } }

/* 02: scena cinematică 3D (în loc de poze) */
.gp-stage { position: relative; aspect-ratio: 21 / 9; margin-top: clamp(24px, 3vw, 44px); background: #0b0b0d; border: 3px solid #0b0b0d; box-shadow: 10px 10px 0 var(--pink); overflow: hidden; }
.gp-stage-poster { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 13, .15), rgba(11, 11, 13, .55)), url(../assets/img/game/shot-chase.webp) center / cover; transition: opacity .7s ease; }
/* terenul live: game-3d.js mută aici canvasul principal (#gl.in-stage); fără WebGL rămâne captura */
.gp-stage { cursor: grab; touch-action: pan-y; user-select: none; }
.gp-stage.dragging { cursor: grabbing; }
.gp-stage.live .gp-stage-poster { opacity: 0; pointer-events: none; }
#gl.in-stage { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; visibility: visible; clip-path: none; pointer-events: none; }
.gp-stage-hud { position: absolute; z-index: 2; left: 14px; right: 14px; top: 12px; bottom: 14px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; pointer-events: none; color: #f4f1ea; }
.gp-live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; background: rgba(11, 11, 13, .72); border: 1px solid rgba(244, 241, 234, .25); }
.gp-live i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b5c; box-shadow: 0 0 0 0 rgba(255, 59, 92, .7); animation: gp-rec 1.6s ease-out infinite; }
@keyframes gp-rec { 0% { box-shadow: 0 0 0 0 rgba(255, 59, 92, .7); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 59, 92, 0); } }
.gp-cams { display: flex; flex-wrap: wrap; gap: 8px; pointer-events: auto; }
.gp-cams button { padding: 10px 16px; border: 2px solid #f4f1ea; background: rgba(11, 11, 13, .7); color: #f4f1ea; font: 700 14px var(--f-head); cursor: pointer; transition: background .2s, color .2s, transform .2s cubic-bezier(.34, 1.56, .5, 1), box-shadow .2s; backdrop-filter: blur(6px); }
.gp-cams button:hover { transform: translateY(-2px); }
.gp-cams button.on { background: var(--pink); border-color: var(--pink); color: #fff; box-shadow: 4px 4px 0 #0b0b0d; }
.gp-cams button:focus-visible { outline: 3px solid #f4f1ea; outline-offset: 2px; }
.gp-feats { margin-top: clamp(30px, 4vw, 56px); }
.gp-feat { border-top: 3px solid #0b0b0d; padding-top: 14px; }
@media (max-width: 700px) { .gp-stage { aspect-ratio: 4 / 3; box-shadow: 6px 6px 0 var(--pink); } .gp-live { font-size: 10px; } .gp-cams button { padding: 8px 11px; font-size: 12.5px; } }

/* ═════════ STIL CINEMATIC (referință: rockstargames.com/VI) ═════════ */
/* derulare lină Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* grain de peliculă + vignetă peste toată pagina */
.game-page::before { content: ''; position: fixed; inset: 0; z-index: 79; pointer-events: none; background: radial-gradient(120% 95% at 50% 46%, transparent 58%, rgba(0, 0, 0, .38) 100%); }
.game-page::after { content: ''; position: fixed; inset: -30%; z-index: 80; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"); animation: gp-grain .9s steps(6) infinite; }
@keyframes gp-grain { 0% { transform: translate(0, 0); } 17% { transform: translate(-4%, 3%); } 33% { transform: translate(3%, -5%); } 50% { transform: translate(-6%, -2%); } 67% { transform: translate(5%, 4%); } 83% { transform: translate(-2%, 6%); } 100% { transform: translate(0, 0); } }

/* erou: titlul se retrage și se mărește la derulare */
.g3-title { transform: translate3d(0, calc(var(--hp, 0) * -16vh), 0) scale(calc(1 + var(--hp, 0) * .12)); opacity: calc(1 - var(--hp, 0) * 1.1); transform-origin: 50% 40%; }
.g3-hero-ui { transform: translate3d(0, calc(var(--hp, 0) * 7vh), 0); opacity: calc(1 - var(--hp, 0) * 1.5); }

/* titluri de secțiune: se dezvăluie ca printr-o mască (cu loc pentru diacritice sus) */
/* masca e o animație pornită de .in: un clip-path pus dinainte face titlul „invizibil” și pentru IntersectionObserver, care nu l-ar mai declanșa */
.game-page .h-lg[data-reveal].in { animation: gp-mask 1.1s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms); }
@keyframes gp-mask { from { clip-path: inset(-.25em 0 100% 0); transform: translateY(.45em); } to { clip-path: inset(-.25em 0 -.25em 0); transform: none; } }
@media (prefers-reduced-motion: reduce) { .game-page .h-lg[data-reveal].in { animation: none; } }

/* povestea cu scenă 3D live: fundalul e transparent, doar unul din cadre e vizibil, ca la un trailer */
.gl-story .gp-story { height: 600vh; }
.gl-story .gp-story-in { background: transparent; }
.gl-story .gp-slide { clip-path: none !important; opacity: 0; pointer-events: none; transition: opacity .55s ease; }
.gl-story .gp-slide.cur { opacity: 1; }
.gl-story .gp-slide img { display: none; }
.gl-story .gp-shade { background: linear-gradient(180deg, rgba(11, 11, 13, .55), transparent 24%, transparent 52%, rgba(11, 11, 13, .8)); }
.gl-story .gp-slide .big { -webkit-text-stroke: 2px var(--pink); }
.gl-story .is-fly .gp-slide, .gl-story .gp-story.is-fly .gp-slide { opacity: 0; }
.gl-story .gp-story.is-fly .gp-hud { opacity: 0; translate: 0 20px; }
.gp-story .gp-hud { transition: opacity .5s, translate .5s; }
.gp-flycap { display: none; }
.gl-story .gp-flycap { display: grid; gap: 10px; position: absolute; left: var(--gutter); bottom: clamp(60px, 14vh, 150px); max-width: 640px; opacity: 0; translate: 0 36px; transition: opacity .8s ease .15s, translate .9s cubic-bezier(.2, .7, .1, 1) .15s; pointer-events: none; }
.gl-story .gp-story.is-fly .gp-flycap { opacity: 1; translate: 0 0; }
.gp-flycap .mono-cap { color: var(--pink-hi, #ff4d94); }
.gp-flycap h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(54px, 8vw, 128px); line-height: 1.14; text-transform: uppercase; color: #f4f1ea; text-shadow: 5px 5px 0 #0b0b0d; }
.gp-flycap p { font-size: clamp(15px, 1.4vw, 20px); line-height: 1.45; max-width: 40ch; color: rgba(244, 241, 234, .92); text-shadow: 0 2px 0 #0b0b0d; }
@media (prefers-reduced-motion: reduce) { .game-page::after { animation: none; } }

/* ═════════ 01 / JOCUL: titlu în stânga, text în dreapta; dedesubt cele trei faze ale meciului, ca panouri mari cu capturi ═════════ */
.gp-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.gp-intro-h { display: grid; gap: 18px; }
.g3-intro .h-lg { font-size: clamp(46px, 6vw, 100px); }
.gp-lede { margin: 0; max-width: 40ch; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.55; color: rgba(244, 241, 234, .82); border-left: 3px solid var(--pink); padding-left: 18px; }
/* „scrub” (site-fx.js) pornește textul neaprins în gri închis, gândit pentru crem; pe negru partea neaprinsă dispare */
.g3-build .scrub, .g3-career .scrub { color: rgba(244, 241, 234, .88); text-shadow: none; background-image: linear-gradient(180deg, currentColor calc(var(--sp, 0) * 140% - 40%), rgba(244, 241, 234, .22) calc(var(--sp, 0) * 140%)); }
.gp-phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.gp-phase { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #17171b; border: 1px solid rgba(244, 241, 234, .18); transition: transform .35s cubic-bezier(.34, 1.56, .5, 1), box-shadow .35s, border-color .35s; }
.gp-phase img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; scale: 1.04; transition: scale 1.2s cubic-bezier(.2, .7, .1, 1), filter .6s; filter: saturate(.9) brightness(.85); }
.gp-phase::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 13, .1) 30%, rgba(11, 11, 13, .92) 100%); pointer-events: none; }
/* banda de sus = tot meciul (2:30); partea roz = cât ține faza */
.gp-phase::before { content: ''; position: absolute; z-index: 2; left: 16px; right: 16px; top: 16px; height: 4px; background: linear-gradient(90deg, transparent var(--x, 0%), var(--pink) var(--x, 0%), var(--pink) calc(var(--x, 0%) + var(--w, 100%)), transparent calc(var(--x, 0%) + var(--w, 100%))), rgba(244, 241, 234, .22); }
.gp-phase-b { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 clamp(16px, 1.6vw, 24px) clamp(18px, 1.8vw, 26px); display: grid; gap: 6px; }
.gp-phase-b b { font-family: var(--f-display); font-weight: 400; font-size: clamp(64px, 7vw, 120px); line-height: .9; color: #f4f1ea; font-variant-numeric: tabular-nums; text-shadow: 4px 4px 0 #0b0b0d; }
.gp-phase-b h3 { font-family: var(--f-mono); font-weight: 500; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--pink-hi, #ff4d94); }
.gp-phase-b p { font-size: clamp(14px, 1.05vw, 16px); line-height: 1.45; color: rgba(244, 241, 234, .86); max-width: 30ch; }
.gp-phase:hover { transform: translateY(-6px); border-color: var(--pink); box-shadow: 10px 10px 0 var(--pink); }
.gp-phase:hover img { scale: 1.12; filter: saturate(1.1) brightness(1); }
@media (max-width: 1000px) { .gp-intro { grid-template-columns: 1fr; align-items: start; } .gp-phases { grid-template-columns: 1fr; } .gp-phase { aspect-ratio: 16 / 10; } }


/* ═════════ 03 / ROBOTUL: studio + selector compact (− · treapta · +) ═════════ */
.g3-build .h-lg, .g3-career .h-lg { font-size: clamp(46px, 6vw, 100px); }
.g3-build .sec-head .sub, .g3-career .sec-head .sub { max-width: 46ch; }
.gp-build { grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr); align-items: start; }
.gp-robot { height: clamp(280px, 46vh, 480px); background: transparent; }   /* transparentă: scena 3D se vede prin ea, din spate */
.gp-power { font-size: 14px; padding: 8px 14px; }
.gp-build-l { border-top: 3px solid var(--cream); }
.gp-trow { grid-template-columns: 112px minmax(0, 1fr) auto; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-strong); border-top: 0 !important; }
.gp-trow h3 { margin: 0; }
.gp-stepper { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gp-arrow { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid var(--cream); background: transparent; color: var(--cream); font: 700 22px/1 var(--f-head); cursor: pointer; transition: background .2s, border-color .2s, transform .2s cubic-bezier(.34, 1.56, .5, 1), opacity .2s; }
.gp-arrow:hover:not(:disabled) { background: var(--pink); border-color: var(--pink); transform: translateY(-2px); }
.gp-arrow:active:not(:disabled) { transform: translateY(1px); }
.gp-arrow:disabled { opacity: .22; cursor: default; }
.gp-arrow:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.gp-tname { flex: 1; min-width: 0; text-align: center; font: 700 clamp(15px, 1.3vw, 19px)/1.2 var(--f-head); color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-tname.bump { animation: gp-bump .35s cubic-bezier(.34, 1.56, .5, 1); }
@keyframes gp-bump { from { transform: translateY(6px); opacity: .3; } to { transform: none; opacity: 1; } }
.gp-dots { display: flex; gap: 7px; }
.gp-dots .gp-tier { width: 14px; height: 14px; padding: 0; border-radius: 50%; border: 2px solid rgba(244, 241, 234, .4); background: transparent; box-shadow: none; transition: transform .2s, background .2s, border-color .2s; }
.gp-dots .gp-tier:hover { transform: scale(1.25); border-color: var(--cream); }
.gp-dots .gp-tier.own { background: rgba(249, 5, 108, .55); border-color: var(--pink); }
.gp-dots .gp-tier.cur { background: var(--pink); border-color: var(--pink); box-shadow: 0 0 0 4px rgba(249, 5, 108, .25); transform: none; }
.gp-build-l + .gp-bctl, .gp-bctl { margin-top: 4px; }
@media (max-width: 700px) { .gp-trow { grid-template-columns: 1fr auto; } .gp-trow h3 { grid-column: 1 / -1; } }
.gp-build-r { display: grid; gap: 22px; align-content: start; }

/* ═════════ 05 / COMENZI: tastatură, Xbox și PlayStation desenate, cu ce face fiecare buton ═════════ */
#comenzi .gp-controls { display: block; }
.gp-devtabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(18px, 2.4vw, 30px); }
.gp-devtabs button { padding: 12px 22px; border: 2px solid #0b0b0d; background: transparent; color: #0b0b0d; font: 800 15px var(--f-head); cursor: pointer; transition: background .2s, color .2s, transform .2s cubic-bezier(.34, 1.56, .5, 1), box-shadow .2s; }
.gp-devtabs button:hover { transform: translateY(-2px); }
.gp-devtabs button.on { background: #0b0b0d; color: #f4f1ea; box-shadow: 4px 4px 0 #f4f1ea; }
.gp-devtabs button:focus-visible { outline: 3px solid #0b0b0d; outline-offset: 3px; }
.gp-devpanel { display: none; }
.gp-devpanel.on { display: block; animation: gp-devin .45s cubic-bezier(.2, .7, .1, 1); }
@keyframes gp-devin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.gp-dev { display: block; width: 100%; height: auto; overflow: visible; }
/* controlerele: culorile vin din degradeurile din SVG; aici doar contururi, texte și starea „apăsat” */
.gp-dev .body { stroke: #0b0b0d; stroke-width: 3; }
.gp-dev .btn .face { stroke: #0b0b0d; stroke-width: 1.5; transition: fill .1s; }
.gp-dev .btn { transition: transform .08s; transform-box: fill-box; transform-origin: center; }
.gp-dev .tr text { font: 800 14px var(--f-head); fill: rgba(255, 255, 255, .78); text-anchor: middle; pointer-events: none; }
.gp-dev .fb text.sym { font: 800 20px var(--f-head); text-anchor: middle; pointer-events: none; }
.gp-dev .ps-logo { font: 800 10px var(--f-head); fill: rgba(255, 255, 255, .85); text-anchor: middle; pointer-events: none; }
.gp-dev .st-cap { transition: transform .06s linear; }
.gp-dev .st-well { stroke: transparent; stroke-width: 3; transition: stroke .12s; }
/* apăsat: galben, ca să se vadă pe roz și pe negru */
.gp-dev .btn.on .face, .gp-dev .st.on .cap { fill: #ffd23a; }
.gp-dev .btn.on { transform: translateY(2px); }
.gp-dev .fb.on text.sym { fill: #0b0b0d; }
.gp-dev .fb.on .sym path, .gp-dev .fb.on .sym circle, .gp-dev .fb.on .sym rect { stroke: #0b0b0d; }
.gp-dev .tr.on text { fill: #0b0b0d; }
.gp-dev .st.move .st-well, .gp-dev .st.on .st-well { stroke: #ffd23a; }
/* etichete cu linii */
.gp-dev .cl polyline { fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; transition: stroke .12s; }
.gp-dev .cl circle { fill: #fff; stroke: #0b0b0d; stroke-width: 2; }
.gp-dev .cl text { font: 600 17px var(--f-head); fill: #0b0b0d; }
.gp-dev .cl .bn { font-weight: 800; }
.gp-dev .cl .sep { fill: rgba(11, 11, 13, .45); }
.gp-dev .cl.on polyline { stroke: #ffd23a; stroke-width: 3; }
.gp-dev .cl.on circle { fill: #ffd23a; }
.gp-dev .cl.on text { fill: #fff; }
/* tastatura */
.gp-kb .kk rect { fill: rgba(11, 11, 13, .1); stroke: rgba(11, 11, 13, .28); stroke-width: 2; transition: fill .1s; }
.gp-kb .kk text { font: 700 18px var(--f-mono); fill: rgba(11, 11, 13, .38); text-anchor: middle; pointer-events: none; }
.gp-kb .kk.on-act rect { fill: #0b0b0d; stroke: #0b0b0d; }
.gp-kb .kk.on-act text { fill: #f4f1ea; }
.gp-kb .kk.on rect { fill: #ffd23a; stroke: #fff; }
.gp-kb .kk.on text { fill: #0b0b0d; }
.gp-kb .kk { transition: transform .08s; transform-box: fill-box; }
.gp-kb .kk.on { transform: translateY(3px); }
.gp-devpanel .gp-keys { margin-top: clamp(18px, 2.4vw, 30px); }
.gp-devnote { margin: 16px 0 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(11, 11, 13, .72); }
#comenzi .gp-pad { margin-top: clamp(26px, 3vw, 40px); max-width: 62ch; }
@media (max-width: 700px) { .gp-devpanel { overflow-x: auto; -webkit-overflow-scrolling: touch; } .gp-dev:not(.gp-kb) { min-width: 760px; } }

/* 05 · controlerul 3D (js/pad-3d.js): canvasul stă sub SVG; din desen rămân doar etichetele, legate de butoanele modelului */
.gp-devpanel.has-3d { position: relative; }
.gp-pad3d { position: absolute; z-index: 0; display: block; opacity: 0; transition: opacity .6s ease; cursor: grab; touch-action: pan-y; }
.gp-devpanel.is-3d .gp-pad3d { opacity: 1; }
.gp-devpanel.dragging .gp-pad3d { cursor: grabbing; }
.gp-dev.is-3d { position: relative; z-index: 1; pointer-events: none; }
.gp-dev.is-3d > :not(.cl):not(defs) { visibility: hidden; }
.gp-dev.is-3d .cl { pointer-events: auto; cursor: default; }
.gp-dev.is-3d .cl:hover polyline { stroke: #ffd23a; stroke-width: 3; }
.gp-dev.is-3d .cl:hover circle { fill: #ffd23a; }

/* erou: terenul live stă în spatele titlului; umbre sus și jos, ca titlul și textul să se citească peste scenă */
.g3-hero::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 11, 13, .6) 0%, rgba(11, 11, 13, 0) 30%, rgba(11, 11, 13, 0) 52%, rgba(11, 11, 13, .88) 100%); }
.g3-fsim { justify-self: start; }
@media (max-width: 700px) { .g3-title { top: calc(var(--nav-h) + 24px); font-size: clamp(76px, 30vw, 200px); } }

/* 03 · modul carieră: calendarul sezonului, bucla bani → piese → reputație, atelierul interactiv */
.g3-career { position: relative; background: #0b0b0d; color: var(--cream); padding: clamp(80px, 10vw, 150px) 0 clamp(90px, 11vw, 160px); }
.g3-career .sub { color: rgba(244, 241, 234, .74); }
.gc-season { margin-top: clamp(34px, 4.5vw, 64px); }
.gc-cal-h { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(244, 241, 234, .6); margin-bottom: 26px; }
.gc-pin-lbl { color: #ffd23a; }
.gc-track { position: relative; height: 4px; margin: 0 14px; background: rgba(244, 241, 234, .14); }
.gc-fill { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--pink), #ffd23a); transition: transform 1.6s cubic-bezier(.2, .7, .1, 1) .2s; }
.gc-season.in .gc-fill { transform: scaleX(1); }
.gc-dot { position: absolute; top: 50%; left: calc((var(--w) - 1) / 20 * 100%); translate: -50% -50%; width: 14px; height: 14px; border-radius: 50%; background: #0b0b0d; border: 3px solid var(--pink); transition: transform .3s cubic-bezier(.34, 1.56, .5, 1), background .2s, border-color .2s; }
.gc-dot b { position: absolute; top: -26px; left: 50%; translate: -50% 0; font: 700 11px/1 var(--f-mono); letter-spacing: .08em; color: rgba(244, 241, 234, .6); white-space: nowrap; }
.gc-dot.big { width: 24px; height: 24px; border-width: 4px; }
.gc-dot.big b { top: -30px; font-size: 12px; color: var(--cream); }
.gc-dot.gold { border-color: #ffd23a; }
.gc-dot.hit { background: #ffd23a; border-color: #ffd23a; transform: scale(1.35); }
.gc-dot.hit b { color: #ffd23a; }
.gc-pin { position: absolute; top: 100%; left: calc((var(--w) - 1) / 20 * 100%); translate: -50% 6px; width: 0; height: 0; border: 8px solid transparent; border-bottom: 11px solid #ffd23a; border-top: 0; transition: left .45s cubic-bezier(.2, .7, .1, 1); }
.gc-pin.late { border-bottom-color: #ff5d6c; }
.gc-weeks { display: flex; justify-content: space-between; margin: 26px 0 0; color: rgba(244, 241, 234, .42); }
.gc-events { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.gc-ev { border: 2px solid rgba(244, 241, 234, .16); padding: 18px 18px 20px; display: grid; gap: 6px; align-content: start; transition: border-color .25s, transform .25s; }
.gc-ev:hover { border-color: var(--pink); transform: translateY(-3px); }
.gc-ev .mono-cap { color: var(--pink); }
.gc-ev h3 { margin: 0; font: 800 clamp(20px, 2vw, 28px)/1.05 var(--f-head); letter-spacing: -.02em; }
.gc-ev p { margin: 0; color: rgba(244, 241, 234, .8); font-size: 15px; } .gc-ev p b { color: #fff; }
.gc-ev small { color: rgba(244, 241, 234, .6); font-size: 13.5px; line-height: 1.45; }
.gc-ev.gold { border-color: rgba(255, 210, 58, .5); } .gc-ev.gold .mono-cap { color: #ffd23a; }
.gc-loop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); margin-top: clamp(50px, 6vw, 90px); }
.gc-card { position: relative; background: #151519; border: 2px solid rgba(244, 241, 234, .1); padding: clamp(22px, 2.4vw, 32px); display: grid; gap: 12px; align-content: start; box-shadow: 8px 8px 0 var(--pink); }
.gc-card .gc-n { font: 400 clamp(46px, 5vw, 72px)/.8 var(--f-display); color: var(--pink); }
.gc-card h3 { margin: 0; font: 800 clamp(24px, 2.4vw, 34px)/1 var(--f-head); letter-spacing: -.025em; }
.gc-card p { margin: 0; color: rgba(244, 241, 234, .76); line-height: 1.55; } .gc-card p b { color: #fff; }
.gc-sponsor { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; margin-top: 6px; padding: 12px; background: #f4f1ea; color: #0b0b0d; }
.gc-sponsor img { width: 40px; height: 40px; object-fit: contain; }
.gc-sponsor div { display: grid; gap: 2px; font-size: 13px; } .gc-sponsor b { font: 800 15px/1 var(--f-head); }
.gc-sponsor em { font: 800 16px/1 var(--f-head); font-style: normal; color: var(--pink); }
.gc-stages { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: s; }
.gc-stages li { counter-increment: s; font: 700 12px/1 var(--f-mono); letter-spacing: .04em; padding: 8px 10px; border: 1.5px solid rgba(244, 241, 234, .3); }
.gc-stages li::before { content: counter(s) ' '; color: var(--pink); }
.gc-stages li:last-child { background: var(--pink); border-color: var(--pink); color: #fff; } .gc-stages li:last-child::before { color: #fff; }
.gc-rep { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.gc-rep li { display: grid; gap: 6px; padding-top: 10px; border-top: 4px solid rgba(249, 5, 108, calc(.25 + var(--i, 0) * .19)); font-size: 12px; color: rgba(244, 241, 234, .7); line-height: 1.2; }
.gc-rep li:nth-child(1) { --i: 0; } .gc-rep li:nth-child(2) { --i: 1; } .gc-rep li:nth-child(3) { --i: 2; } .gc-rep li:nth-child(4) { --i: 3; } .gc-rep li:nth-child(5) { --i: 4; border-top-color: #ffd23a; }
.gc-rep b { font: 800 18px/1 var(--f-head); color: #fff; }
.gc-extras { list-style: none; margin: clamp(26px, 3vw, 40px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; color: rgba(244, 241, 234, .72); }
.gc-extras li { padding: 9px 13px; border: 1.5px dashed rgba(244, 241, 234, .28); }
.gc-shop { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(50px, 6vw, 90px); padding: clamp(24px, 3.4vw, 46px); background: #f4f1ea; color: #0b0b0d; box-shadow: 10px 10px 0 var(--pink); }
.gc-shop .mono-label { color: var(--pink); }
.gc-shop h3 { margin: 8px 0 18px; font: 400 clamp(40px, 5vw, 72px)/.9 var(--f-display); text-transform: uppercase; }
.gc-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.gc-cats button { padding: 9px 14px; border: 2px solid #0b0b0d; background: transparent; color: #0b0b0d; font: 800 14px var(--f-head); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.gc-cats button:hover { transform: translateY(-2px); } .gc-cats button.on { background: #0b0b0d; color: #f4f1ea; }
.gc-pick { display: flex; align-items: center; gap: 12px; }
.gc-shop .gp-arrow { border-color: #0b0b0d; color: #0b0b0d; } .gc-shop .gp-arrow:disabled { opacity: .25; cursor: default; }
.gc-shop .gp-arrow:hover:not(:disabled) { color: #fff; }
.gc-tname { flex: 1; text-align: center; font: 800 clamp(18px, 1.8vw, 24px)/1.15 var(--f-head); letter-spacing: -.02em; }
.gc-tname.bump { animation: gc-bump .35s cubic-bezier(.34, 1.56, .5, 1); }
@keyframes gc-bump { from { transform: translateY(6px) scale(.96); opacity: .4; } to { transform: none; opacity: 1; } }
.gc-desc { min-height: 2.9em; margin: 14px 0 18px; color: rgba(11, 11, 13, .7); line-height: 1.45; }
.gc-week { display: grid; gap: 10px; font: 700 13px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.gc-week b { color: var(--pink); font-size: 16px; }
.gc-week input { width: 100%; accent-color: var(--pink); }
.gc-shop-r { display: grid; gap: 18px; align-content: center; }
.gc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin: 0; background: #0b0b0d; border: 2px solid #0b0b0d; }
.gc-stats div { background: #f4f1ea; padding: 14px 16px; display: grid; gap: 4px; }
.gc-stats dt { font: 700 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(11, 11, 13, .55); }
.gc-stats dd { margin: 0; font: 800 clamp(20px, 2vw, 28px)/1 var(--f-head); letter-spacing: -.02em; display: grid; gap: 4px; }
.gc-stats dd small { font: 600 12px var(--f-body, inherit); letter-spacing: 0; color: rgba(11, 11, 13, .55); }
.gc-ready { margin: 0; font: 600 clamp(17px, 1.6vw, 21px)/1.35 var(--f-head); } .gc-ready b { color: var(--pink); }
.gc-shop-r .btn { justify-self: start; }
@media (max-width: 960px) {
  .gc-events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gc-loop { grid-template-columns: 1fr; }
  .gc-shop { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .gc-events { grid-template-columns: 1fr; }
  .gc-dot.m b { display: none; }
  .gc-rep { grid-template-columns: repeat(5, minmax(0, 1fr)); } .gc-rep li { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) { .gc-fill { transition: none; transform: none; } .gc-pin { transition: none; } }

/* 03 · cariera, animat: calendarul se umple cu derularea (--p), o albină zboară pe el, cardurile se înclină și își pornesc animațiile la apariție */
.gc-fill { transform: scaleX(var(--p, 0)); transition: transform .18s linear; }
.gc-season.in .gc-fill { transform: scaleX(var(--p, 0)); }
.gc-dot { scale: .6; opacity: .45; transition: scale .45s cubic-bezier(.34, 1.56, .5, 1), opacity .3s, transform .3s cubic-bezier(.34, 1.56, .5, 1), background .2s, border-color .2s; }
.gc-dot.on { scale: 1; opacity: 1; background: var(--pink); }
.gc-dot.gold.on { background: #ffd23a; }
.gc-dot.on b { color: var(--cream); }
.gc-dot.hit::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid #ffd23a; animation: gc-ring 1.4s ease-out infinite; }
@keyframes gc-ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
.gc-rider { left: calc(var(--p, 0) * 100%); top: -46px; width: 40px; translate: -50% 0; transition: left .18s linear; animation: gc-hover 1.1s ease-in-out infinite alternate; z-index: 2; }
.gc-rider { transition: left .18s linear, opacity .6s, translate .9s cubic-bezier(.4, 0, .2, 1); }
.gc-rider.land { opacity: 0; translate: 10% -70px; }   /* la mondiale albina își ia zborul și lasă eticheta liberă */
@keyframes gc-hover { from { margin-top: -3px; rotate: -4deg; } to { margin-top: 3px; rotate: 5deg; } }
@keyframes gc-cheer { 0% { scale: 1; } 40% { scale: 1.45; } 100% { scale: 1; } }
.gc-ev { opacity: .38; transform: translateY(14px); transition: opacity .5s, transform .6s cubic-bezier(.2, .7, .1, 1), border-color .3s, box-shadow .3s; }
.gc-ev.on { opacity: 1; transform: none; border-color: rgba(249, 5, 108, .55); box-shadow: 6px 6px 0 rgba(249, 5, 108, .9); }
.gc-ev.gold.on { border-color: #ffd23a; box-shadow: 6px 6px 0 #ffd23a; }
.gc-ev.on:hover { transform: translateY(-3px); }
/* înclinare 3D sub mouse */
.gc-card, .gc-ev { --rx: 0deg; --ry: 0deg; transform-style: preserve-3d; }
.gc-card { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s cubic-bezier(.2, .7, .1, 1), box-shadow .4s; overflow: hidden; }
.gc-card.tilt { transition: transform .08s linear, box-shadow .4s; box-shadow: 14px 14px 0 var(--pink); }
.gc-ev.on.tilt { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-3px); transition: transform .08s linear; }
/* numărul mare: intră de jos, prin mască */
.gc-card .gc-n { display: inline-block; clip-path: inset(0 0 100% 0); translate: 0 40%; transition: clip-path .8s cubic-bezier(.2, .7, .1, 1) .15s, translate .8s cubic-bezier(.2, .7, .1, 1) .15s; }
.gc-card.live .gc-n { clip-path: inset(-10% 0 -10% 0); translate: 0 0; }
/* sponsorul: contractul se „semnează” */
.gc-sponsor { position: relative; }
.gc-stamp { position: absolute; right: 10px; top: -14px; padding: 4px 9px; border: 2px solid var(--pink); background: #f4f1ea; color: var(--pink); font: 800 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; rotate: -8deg; scale: 2.2; opacity: 0; }
.gc-card.live .gc-stamp { animation: gc-stamp .45s cubic-bezier(.3, 1.4, .5, 1) 1.1s forwards; }
@keyframes gc-stamp { to { scale: 1; opacity: 1; } }
/* etapele unei comenzi: lumina trece de la „Comandat” la „Gata”, în buclă */
.gc-stages li:last-child { background: transparent; border-color: rgba(244, 241, 234, .3); color: inherit; } .gc-stages li:last-child::before { color: var(--pink); }
.gc-card.live .gc-stages li { animation: gc-stage 5s infinite; }
.gc-stages li:nth-child(2) { animation-delay: 1s !important; } .gc-stages li:nth-child(3) { animation-delay: 2s !important; } .gc-stages li:nth-child(4) { animation-delay: 3s !important; } .gc-stages li:nth-child(5) { animation-delay: 4s !important; }
@keyframes gc-stage { 0%, 22% { background: var(--pink); border-color: var(--pink); color: #fff; transform: translateY(-3px); } 26%, 100% { background: transparent; border-color: rgba(244, 241, 234, .3); color: inherit; transform: none; } }
/* scara de reputație: treptele se umplu una câte una */
.gc-rep li { position: relative; border-top: 0; padding-top: 14px; }
.gc-rep li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: rgba(249, 5, 108, calc(.3 + var(--i, 0) * .17)); transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s cubic-bezier(.2, .7, .1, 1); transition-delay: calc(.25s + var(--i, 0) * .16s); }
.gc-rep li:nth-child(5)::before { background: #ffd23a; }
.gc-card.live .gc-rep li::before { transform: scaleX(1); }
/* atelierul: bara de timp a comenzii (livrare + montaj) pe cele 21 de săptămâni */
.gc-eta { position: relative; height: 34px; margin-top: 2px; }
.gc-eta::before { content: ''; position: absolute; left: 0; right: 0; top: 15px; height: 4px; background: rgba(11, 11, 13, .12); }
.gc-eta i { position: absolute; top: 9px; height: 16px; transition: left .5s cubic-bezier(.2, .7, .1, 1), width .5s cubic-bezier(.2, .7, .1, 1); }
.gc-eta .s { left: calc((var(--a) - 1) / 20 * 100%); width: calc(var(--s) / 20 * 100%); background: repeating-linear-gradient(-45deg, #0b0b0d 0 6px, #2b2b31 6px 12px); background-size: 34px 100%; animation: gc-ship 1s linear infinite; }
.gc-eta .b { left: calc((var(--a) + var(--s) - 1) / 20 * 100%); width: calc(var(--b) / 20 * 100%); background: var(--pink); }
.gc-eta .e { position: absolute; top: 13px; width: 2px; height: 8px; background: rgba(11, 11, 13, .35); left: calc((var(--w) - 1) / 20 * 100%); }
.gc-eta .e.big { top: 9px; height: 16px; background: #0b0b0d; }
.gc-eta small { position: absolute; top: 28px; font: 700 10px var(--f-mono); letter-spacing: .08em; color: rgba(11, 11, 13, .5); }
@keyframes gc-ship { to { background-position: 34px 0; } }
.gc-ready.swap { animation: gc-swap .45s cubic-bezier(.2, .7, .1, 1); }
@keyframes gc-swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.gc-stats dd .v { display: inline-block; }
.gc-stats div { transition: background .3s; }
.gc-stats div.flash { animation: gc-flash .6s ease-out; }
@keyframes gc-flash { from { background: #ffd23a; } to { background: #f4f1ea; } }
@media (prefers-reduced-motion: reduce) {
  .gc-dot, .gc-ev { scale: 1; opacity: 1; transform: none; }
  .gc-card .gc-n { clip-path: none; translate: 0 0; } .gc-stamp { scale: 1; opacity: 1; }
  .gc-card.live .gc-stages li, .gc-eta .s, .gc-dot.hit::after { animation: none; }
  .gc-rep li::before { transform: scaleX(1); transition: none; }
}

/* calendarul sezonului, v2: riglă cu o gradație pe săptămână, etichete-pastilă deasupra, albina mică pe linie, piesa ta dedesubt */
.gc-cal-h { align-items: center; margin-bottom: 66px; }
.gc-legend { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gc-legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); margin-left: 8px; }
.gc-legend i.b { width: 14px; height: 14px; } .gc-legend i.p { border-radius: 0; width: 0; height: 0; background: none; border: 6px solid transparent; border-bottom: 9px solid #ffd23a; border-top: 0; }
.gc-track { height: 6px; border-radius: 3px; margin: 0 12px; background: rgba(244, 241, 234, .1); }
.gc-fill { border-radius: 3px; box-shadow: 0 0 18px rgba(249, 5, 108, .35); }
.gc-ticks i { position: absolute; top: 12px; left: calc((var(--w) - 1) / 20 * 100%); width: 1px; height: 6px; background: rgba(244, 241, 234, .22); }
.gc-dot { width: 12px; height: 12px; border-width: 2px; }
.gc-dot.big { width: 20px; height: 20px; border-width: 3px; }
.gc-dot b { top: auto; bottom: calc(100% + 16px); padding: 5px 8px; border: 1.5px solid rgba(244, 241, 234, .18); background: #151519; color: rgba(244, 241, 234, .55); font: 700 11px/1 var(--f-mono); letter-spacing: .06em; transition: background .3s, color .3s, border-color .3s; }
.gc-dot b::after { content: ''; position: absolute; left: 50%; top: 100%; width: 1.5px; height: 12px; translate: -50% 0; background: inherit; background: rgba(244, 241, 234, .18); transition: background .3s; }
.gc-dot.big b { top: auto; bottom: calc(100% + 16px); padding: 7px 11px; font-size: 12px; color: rgba(244, 241, 234, .7); }
.gc-dot.on b { border-color: var(--pink); color: var(--cream); } .gc-dot.on b::after { background: var(--pink); }
.gc-dot.big.on b { background: var(--pink); color: #fff; }
.gc-dot.gold.on b { background: #ffd23a; border-color: #ffd23a; color: #0b0b0d; } .gc-dot.gold.on b::after { background: #ffd23a; }
.gc-dot .sh { display: none; }
.gc-dot.hit { transform: scale(1.2); }
.gc-dot.hit b { border-color: #ffd23a; color: #ffd23a; }
.gc-dot.hit::after { inset: -7px; }
.gc-rider { width: 30px; top: -26px; z-index: 3; }
.gc-pin { top: 100%; translate: -50% 20px; z-index: 2; }
.gc-pin em { position: absolute; top: 13px; left: 0; translate: -50% 0; padding: 4px 8px; background: #ffd23a; color: #0b0b0d; font: 700 11px/1 var(--f-mono); letter-spacing: .06em; font-style: normal; white-space: nowrap; box-shadow: 3px 3px 0 #0b0b0d; }
.gc-pin.late em { background: #ff5d6c; }
.gc-weeks { position: relative; display: block; height: 14px; margin: 64px 12px 0; }
.gc-weeks > span { position: absolute; left: calc((var(--w) - 1) / 20 * 100%); translate: -50% 0; white-space: nowrap; }
.gc-weeks > span:first-child { translate: 0 0; } .gc-weeks > span:last-child { translate: -100% 0; }
.gc-pin-lbl[hidden] { display: none; }
@media (max-width: 760px) {
  .gc-dot .lg { display: none; } .gc-dot .sh { display: inline; }
  .gc-dot.m b { display: none; }
  .gc-legend { display: none; }
  .gc-cal-h { margin-bottom: 56px; }
}
.gc-dot.gold b { left: auto; right: -12px; translate: 0 0; }   /* ultima etichetă stă spre interior, nu iese din cadru */
.gc-dot.gold b::after { left: auto; right: 21px; translate: 50% 0; }
@media (max-width: 760px) { .gc-weeks > span:first-child > span { display: none; } }   /* pe telefon doar cifrele săptămânilor */

/* ───── forme ca pe restul site-ului: carduri rotunjite (22–28px), butoane și etichete-pastilă, butoane-săgeată rotunde ───── */
.gp-phase, .gp-card, .gp-stage, .gp-feat .im, .gc-card, .gc-ev, .gc-shop, .gp-demo { border-radius: 26px; }
.gp-stage, .gc-card, .gc-shop, .gp-feat .im, .gp-card { overflow: hidden; }
.gp-keys, .gp-hud, .gc-stats, .gc-sponsor { border-radius: 18px; overflow: hidden; }
.gp-key kbd { border-radius: 10px; }
.gp-devtabs button, .gp-cams button, .gp-live, .g3-fsim, .gc-cats button, .gc-stages li, .gc-extras li, .gc-dot b, .gc-pin em, .gc-stamp, .gp-chap .gp-slist li, .gp-card .gp-n { border-radius: 999px; }
.gp-arrow { border-radius: 50%; }
.gc-eta::before, .gc-eta i { border-radius: 999px; }
.gc-dot b::after { border-radius: 2px; }
.gc-stamp { padding: 5px 11px; }
.gp-card .gp-n { padding: 4px 14px; }
.gc-sponsor { border-radius: 16px; }
.gc-sponsor img { border-radius: 50%; }
.gc-week input { height: 6px; border-radius: 999px; }

/* ───── calendarul sezonului, refăcut: panou, bandă groasă cu luciu, noduri hexagonale (fagure), benzi de fază ───── */
.gc-season { position: relative; padding: clamp(22px, 2.6vw, 34px) clamp(18px, 2.4vw, 34px) clamp(20px, 2.2vw, 30px); border-radius: 26px; background: linear-gradient(180deg, #141418, #101013); border: 2px solid rgba(244, 241, 234, .08); }
.gc-season .gc-events { margin-top: 30px; }
.gc-track { height: 12px; border-radius: 999px; background: #0b0b0d; box-shadow: inset 0 0 0 1.5px rgba(244, 241, 234, .1), inset 0 2px 6px rgba(0, 0, 0, .6); }
.gc-fill { inset: 2px; border-radius: 999px; background: linear-gradient(90deg, var(--pink) 0%, #ff5a7a 55%, #ffd23a 100%); background-size: calc(100% / max(var(--p, 0), .02)) 100%; box-shadow: none; overflow: hidden; }
.gc-fill::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, .35), transparent 55%); }
.gc-ticks i { top: 18px; height: 5px; width: 1.5px; border-radius: 1px; background: rgba(244, 241, 234, .16); }

/* nodurile: fagure cu ramă; ::before = rama, ::after = interiorul (se umple când ajunge bara) */
.gc-dot, .gc-dot.on, .gc-dot.big, .gc-dot.gold.on { width: 18px; height: 16px; border: 0; border-radius: 0; background: none; }
.gc-dot.big, .gc-dot.big.on { width: 32px; height: 28px; }
.gc-dot::before, .gc-dot::after { content: ''; position: absolute; clip-path: polygon(25% 2%, 75% 2%, 100% 50%, 75% 98%, 25% 98%, 0 50%); transition: background .3s, transform .4s cubic-bezier(.34, 1.56, .5, 1); }
.gc-dot::before { inset: 0; background: rgba(244, 241, 234, .3); }
.gc-dot::after, .gc-dot.hit::after { inset: 3px; border: 0; border-radius: 0; background: #0b0b0d; animation: none; transform: none; opacity: 1; }
.gc-dot.big::after { inset: 4px; }
.gc-dot.on::before { background: var(--pink); }
.gc-dot.on::after { background: var(--pink); transform: scale(.55); }
.gc-dot.big.on::after { background: #0b0b0d; transform: scale(.6); }
.gc-dot.big.on::before { background: var(--pink); }
.gc-dot.gold::before { background: rgba(255, 210, 58, .45); }
.gc-dot.gold.on::before { background: #ffd23a; }
.gc-dot.gold.on::after { background: #0b0b0d; }
.gc-dot.hit { transform: scale(1.25); }
.gc-dot.hit::before { background: #ffd23a; animation: gc-hexpulse 1.3s ease-in-out infinite; }
.gc-dot.hit::after { background: #0b0b0d; transform: scale(.55); }
@keyframes gc-hexpulse { 50% { filter: drop-shadow(0 0 10px rgba(255, 210, 58, .9)); } }
.gc-dot b { bottom: calc(100% + 18px); }
.gc-dot.big b { bottom: calc(100% + 16px); }
.gc-dot b::after { height: 14px; }
.gc-legend i { width: 11px; height: 10px; border-radius: 0; clip-path: polygon(25% 2%, 75% 2%, 100% 50%, 75% 98%, 25% 98%, 0 50%); }
.gc-legend i.b { width: 16px; height: 14px; }

/* benzile de fază: sub bandă, cât țin meet-urile și cât țin turneele */
.gc-phases { position: relative; height: 26px; margin: 74px 12px 0; }   /* sub eticheta „Gata · S…” a piesei */
.gc-phases span { position: absolute; top: 0; left: calc((var(--a) - 1) / 20 * 100%); width: calc((var(--b) - var(--a)) / 20 * 100%); padding-top: 9px; border-top: 2px solid rgba(249, 5, 108, .5); color: rgba(244, 241, 234, .55); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-phases span::before, .gc-phases span::after { content: ''; position: absolute; top: -6px; width: 2px; height: 10px; background: inherit; background: rgba(249, 5, 108, .5); }
.gc-phases span::before { left: 0; } .gc-phases span::after { right: 0; }
.gc-phases .t { border-top-color: rgba(255, 210, 58, .55); text-align: right; } .gc-phases .t::before, .gc-phases .t::after { background: rgba(255, 210, 58, .55); }
.gc-weeks { margin-top: 10px; }
.gc-pin { translate: -50% 26px; }

/* bug: ștampila „Semnat” ieșea din cardul sponsorului și era tăiată de overflow */
.gc-sponsor { overflow: visible; }

@media (max-width: 760px) {
  .gc-phases { margin-top: 70px; } .gc-phases span { font-size: 9.5px; }
  .gc-dot.big, .gc-dot.big.on { width: 26px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) { .gc-dot.hit::before { animation: none; } }
