:root {
  --bg: #050505;
  --text: #f4f4f4;
  --muted: rgba(244, 244, 244, 0.68);
  --accent: #4da3ff;
  --accent-2: #7bdcff;
  --accent-dark: #0b5dff;
  --accent-soft: rgba(77, 163, 255, 0.16);
  --accent-line: rgba(77, 163, 255, 0.46);
  --line: rgba(255,255,255,0.14);
  --yellow: #ffd84d;
}

* { box-sizing: border-box; }
html { min-width: 0; }
body { margin: 0; min-width: 0; min-height: 100vh; background: var(--bg); color: var(--text); font-family: Arial, Helvetica, sans-serif; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 18% 20%, rgba(77,163,255,0.22), transparent 25%), radial-gradient(circle at 78% 74%, rgba(123,220,255,0.11), transparent 34%), radial-gradient(circle at 55% 25%, rgba(11,93,255,0.12), transparent 24%); z-index: -2; animation: ambientDrift 9s ease-in-out infinite alternate; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: 0.065; background-image: linear-gradient(rgba(255,255,255,0.45) 1px, transparent 1px); background-size: 100% 4px; z-index: -1; }
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.gate { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 20% 20%, rgba(77,163,255,0.24), transparent 30%), radial-gradient(circle at 80% 70%, rgba(123,220,255,0.10), transparent 34%), #050505; transition: opacity .8s ease, visibility .8s ease, transform .8s ease; }
.gate.hidden { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(1.03); }
.gate-panel { position: relative; width: min(480px, 100%); padding: 38px; border: 1px solid var(--accent-line); border-radius: 32px; background: rgba(255,255,255,.045); backdrop-filter: blur(18px); text-align: center; overflow: hidden; box-shadow: 0 30px 90px rgba(0,0,0,.45), 0 0 90px rgba(77,163,255,.10); }
.gate-panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 0%, rgba(77,163,255,.13) 42%, rgba(123,220,255,.22) 50%, rgba(77,163,255,.13) 58%, transparent 100%); transform: translateX(-120%); animation: glassSweep 3.8s ease-in-out infinite; pointer-events: none; }
.gate-eyebrow { position: relative; margin: 0 0 16px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.gate-title { margin: 0; font-size: clamp(42px, 8vw, 68px); line-height: .88; letter-spacing: -.08em; position: relative; }
.gate-text { position: relative; max-width: 320px; margin: 22px auto 28px; line-height: 1.45; opacity: .7; }
#gateForm { display: flex; gap: 10px; position: relative; }
#gatePassword { width: 100%; min-width: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 15px 18px; background: rgba(0,0,0,.35); color: var(--text); outline: none; }
#gatePassword:focus { border-color: var(--accent-line); box-shadow: 0 0 0 4px var(--accent-soft); }
#gateForm button { flex: 0 0 auto; border: 1px solid var(--accent-line); border-radius: 999px; padding: 15px 20px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #050505; cursor: pointer; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.gate-error { display: none; position: relative; margin: 16px 0 0; font-size: 13px; color: #ff8a8a; }
.gate-error.visible { display: block; }
.gate-loader { display: none; position: relative; margin-top: 24px; }
.gate-loader.visible { display: block; }
.loader-brand { display: block; width: 92px; height: auto; margin: 0 auto 14px; filter: brightness(0) invert(1); opacity: .92; }
.gate-loader span { display: block; width: 100%; height: 2px; overflow: hidden; background: rgba(255,255,255,.12); border-radius: 999px; }
.gate-loader span::before { content: ""; display: block; width: 35%; height: 100%; background: linear-gradient(90deg, var(--accent-dark), var(--accent-2)); box-shadow: 0 0 24px rgba(77,163,255,.72); animation: loadingBar .85s cubic-bezier(.65,0,.35,1) infinite; }
.gate-loader p { margin: 12px 0 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); }

.nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 20; display: flex; justify-content: space-between; align-items: center; padding: 24px clamp(20px,4vw,56px); mix-blend-mode: difference; }
.logo img { display: block; width: clamp(118px,11vw,168px); height: auto; filter: brightness(0) invert(1); }
.nav-links { display: flex; gap: 24px; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; }
.nav-links a { opacity: .75; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--accent-2); }

.extras-hero { min-height: 100vh; padding: 118px 24px 72px; position: relative; overflow: hidden; text-align: center; }
.extras-hero::before { content: ""; position: absolute; top: 108px; left: 50%; width: min(86vw, 980px); height: clamp(280px, 31vw, 360px); transform: translateX(-50%); border: 1px solid rgba(77,163,255,.23); border-radius: 36px; animation: frameGlow 3.6s ease-in-out infinite; pointer-events: none; }
.extras-inner { position: relative; z-index: 1; width: min(1080px,100%); margin: 0 auto; }
.soon-pill { display: inline-flex; margin-bottom: 14px; padding: 8px 12px; border: 1px solid var(--accent-line); border-radius: 999px; color: var(--accent-2); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; background: var(--accent-soft); }
.eyebrow { margin: 0 0 18px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
h1 { width: min(100%, 960px); margin: 0 auto 22px; font-size: clamp(54px, 8.6vw, 110px); line-height: .86; letter-spacing: -.075em; text-transform: uppercase; text-wrap: balance; overflow-wrap: normal; text-shadow: 0 0 58px rgba(77,163,255,.16); }
.lead { max-width: 660px; margin: 0 auto; font-size: clamp(17px,1.8vw,24px); line-height: 1.32; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.35); padding: 14px 22px; border-radius: 999px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; background: transparent; color: var(--text); cursor: pointer; transition: .25s ease; }
.btn:hover { background: linear-gradient(135deg,var(--accent),var(--accent-2)); border-color: var(--accent-2); color: #050505; transform: translateY(-2px); }

.game-wrap { width: min(860px,100%); margin: clamp(126px, 13vw, 160px) auto 0; padding: 18px; border: 1px solid var(--line); border-radius: 32px; background: rgba(8,8,8,.88); box-shadow: 0 26px 80px rgba(0,0,0,.28), 0 0 90px rgba(77,163,255,.075); position: relative; }
.game-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 6px 6px 18px; text-align: left; }
.game-title { min-width: 0; }
.game-title p { margin: 0 0 6px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-2); }
.game-title h2 { margin: 0; font-size: clamp(26px,3.4vw,42px); letter-spacing: -.055em; line-height: 1; overflow-wrap: anywhere; }
.game-stats { display: flex; gap: 10px; flex-wrap: nowrap; justify-content: flex-end; }
.stat { min-width: 86px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(0,0,0,.22); text-align: center; }
.stat span { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.stat strong { font-size: 22px; color: var(--accent-2); }
.playfield { position: relative; height: clamp(280px,42vw,420px); border: 1px solid var(--accent-line); border-radius: 26px; overflow: hidden; background: linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px), radial-gradient(circle at 50% 50%,rgba(77,163,255,.14),transparent 45%), rgba(0,0,0,.28); background-size: 100% 32px,32px 100%,auto,auto; cursor: crosshair; user-select: none; touch-action: manipulation; }
.field-message { position: absolute; inset: 0; display: grid; place-items: center; padding: 28px; color: var(--muted); font-size: clamp(16px,2vw,22px); line-height: 1.35; pointer-events: none; }
.target { position: absolute; left: 50%; top: 50%; width: 74px; height: 54px; border: 0; background: transparent; display: none; align-items: center; justify-content: center; transform: translate(-50%,-50%); cursor: pointer; padding: 0; }
.target img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; filter: brightness(0) saturate(100%) invert(86%) sepia(98%) saturate(1165%) hue-rotate(335deg) brightness(106%) contrast(104%) drop-shadow(0 0 18px rgba(255,216,77,.78)); }
.target.visible { display: flex; animation: targetPulse 1.1s ease-in-out infinite; }
.spark { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); pointer-events: none; box-shadow: 0 0 18px rgba(255,216,77,.9); animation: sparkFly .55s ease forwards; }
.game-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 6px 4px; flex-wrap: wrap; }
.game-note { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.4; text-align: left; }
.mini-link { margin-top: 28px; }

@keyframes ambientDrift { from { transform: scale(1); } to { transform: scale(1.08) translate3d(-1.5%,1%,0); } }
@keyframes glassSweep { 0%,55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes loadingBar { 0% { transform: translateX(-110%); } 100% { transform: translateX(310%); } }
@keyframes frameGlow { 0%,100% { box-shadow: 0 0 0 rgba(77,163,255,0); } 50% { box-shadow: 0 0 42px rgba(77,163,255,.16); } }
@keyframes targetPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes sparkFly { to { opacity: 0; transform: translate(var(--sx),var(--sy)) scale(.2); } }

@media (max-width: 900px) {
  .extras-hero { padding-top: 112px; }
  .extras-hero::before { top: 96px; width: calc(100% - 32px); height: 320px; border-radius: 28px; }
  h1 { font-size: clamp(50px, 11vw, 88px); }
  .game-wrap { margin-top: 128px; }
  .game-head { grid-template-columns: 1fr; }
  .game-stats { justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .gate-panel { padding: 30px 22px; }
  #gateForm { flex-direction: column; }
  #gateForm button { width: 100%; }
  .nav { padding: 18px; }
  .nav-links { gap: 10px; letter-spacing: .08em; font-size: 10px; }
  .extras-hero { padding: 100px 14px 56px; }
  .extras-hero::before { top: 84px; width: calc(100% - 20px); height: 286px; border-radius: 24px; }
  .soon-pill { font-size: 9px; }
  .eyebrow { font-size: 10px; }
  h1 { width: 100%; font-size: clamp(46px, 15vw, 72px); line-height: .9; }
  .lead { max-width: 92%; font-size: 17px; }
  .game-wrap { margin-top: 118px; padding: 12px; border-radius: 24px; }
  .game-stats { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .stat { min-width: 0; padding: 9px 6px; }
  .stat span { font-size: 8px; letter-spacing: .1em; }
  .stat strong { font-size: 20px; }
  .playfield { border-radius: 20px; }
  .target { width: 66px; height: 48px; }
  .game-actions { align-items: stretch; }
  .game-note { width: 100%; }
}
