/* ============ Lumen Softworks ============ */
:root {
  --bg: #08090b;
  --bg-2: #0f1014;
  --card: #15161b;
  --card-2: #1c1d23;
  --line: rgba(255, 255, 255, .08);
  --text: #f5f3ee;
  --muted: #9a978f;
  --gold: #e8b64a;
  --gold-2: #f7d78a;
  --gold-deep: #a8761c;
  --glow: 0 0 40px rgba(232, 182, 74, .35);
  --radius: 14px;
  --wide: "Archivo", "Arial", sans-serif;
  --body: "Inter", "Arial", sans-serif;
  --max: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #000; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wide { font-family: var(--wide); font-stretch: 125%; font-weight: 800; letter-spacing: -.02em; line-height: 1.02; }
.eyebrow { font-family: var(--wide); font-stretch: 125%; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.gold-text { background: linear-gradient(100deg, var(--gold-deep), var(--gold-2) 45%, var(--gold) 70%, var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.heading-huge { font-size: clamp(40px, 7vw, 96px); }
.section { padding: clamp(72px, 10vw, 140px) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px; border-radius: 10px; border: 0;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-deep)); color: #1a1205; }
.btn--gold:hover { box-shadow: var(--glow); }
.btn--ghost { background: rgba(255, 255, 255, .1); color: var(--text); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .18); }
.btn--outline { background: transparent; border: 1px solid var(--line); }

/* ---------- Loader ---------- */
.site-loader {
  position: fixed; inset: 0; z-index: 1000; background: #000;
  display: grid; place-items: center; transition: opacity .7s ease, visibility .7s;
}
.site-loader__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.site-loader img { width: 74px; filter: drop-shadow(0 0 22px rgba(232, 182, 74, .6)); animation: pulse 1.4s ease-in-out infinite; }
.site-loader span { font-family: var(--wide); font-stretch: 125%; font-weight: 800; font-size: 22px; letter-spacing: .02em; }
.site-loader.is-done { opacity: 0; visibility: hidden; }
@keyframes pulse { 50% { transform: scale(1.06); filter: drop-shadow(0 0 36px rgba(247, 215, 138, .9)); } }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(8, 9, 11, .8); backdrop-filter: blur(14px); border-color: var(--line); }
.header__row { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(232, 182, 74, .45)); }
.brand span { font-family: var(--wide); font-stretch: 125%; font-weight: 800; font-size: 17px; letter-spacing: .02em; }
.topnav { display: flex; gap: 4px; }
.topnav a { padding: 8px 14px; border-radius: 8px; font-size: 14px; color: #d6d3cc; transition: background .2s, color .2s; }
.topnav a:hover, .topnav a.is-active { background: rgba(255, 255, 255, .07); color: #fff; }
.header__right { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .08); cursor: pointer; position: relative; }
.menu-toggle i { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-toggle i:nth-child(1) { top: 15px; } .menu-toggle i:nth-child(2) { top: 21px; } .menu-toggle i:nth-child(3) { top: 27px; }
.menu-open .menu-toggle i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle i:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 72px 0 0; z-index: 40; background: rgba(8, 9, 11, .97); backdrop-filter: blur(12px); padding: 24px; display: flex; flex-direction: column; gap: 4px; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .3s; }
.menu-open .mobile-menu { transform: none; opacity: 1; visibility: visible; }
.mobile-menu a { font-family: var(--wide); font-stretch: 125%; font-weight: 700; font-size: 28px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 24px; justify-content: center; font-family: var(--body); font-size: 16px; border: 0; }
@media (max-width: 900px) {
  .topnav, .header__right .btn { display: none; }
  .menu-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--bg); }
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img.hero__bg { width: 100%; height: 100%; object-fit: cover; }
.hero__rays { position: absolute; inset: -20%; background:
  radial-gradient(ellipse 40% 55% at 70% 35%, rgba(247, 215, 138, .28), transparent 60%),
  radial-gradient(ellipse 30% 40% at 25% 70%, rgba(168, 118, 28, .25), transparent 65%),
  conic-gradient(from 200deg at 70% 35%, transparent 0 20deg, rgba(232, 182, 74, .10) 30deg, transparent 45deg, rgba(232, 182, 74, .08) 70deg, transparent 90deg, transparent 360deg);
  animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: rotate(6deg) scale(1.08); } }
.hero__mark { position: absolute; right: 6%; top: 50%; width: min(42vw, 520px); transform: translateY(-55%) translate(var(--px, 0px), var(--py, 0px)) perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); opacity: .95; filter: drop-shadow(0 0 60px rgba(232, 182, 74, .45)); animation: float 7s ease-in-out infinite, flare 5s ease-in-out infinite; z-index: 1; }
@keyframes float { 50% { translate: 0 -14px; rotate: -1.5deg; } }
@keyframes flare { 50% { filter: drop-shadow(0 0 90px rgba(247, 215, 138, .75)) brightness(1.12); } }
/* light beam sweeping behind the logo */
.hero__media::after { content: ""; position: absolute; right: 0; top: -30%; width: 55%; height: 160%; background: linear-gradient(100deg, transparent 40%, rgba(247, 215, 138, .13) 50%, transparent 60%); animation: beam 7s ease-in-out infinite; pointer-events: none; }
@keyframes beam { 0% { transform: translateX(-60%) rotate(8deg); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateX(60%) rotate(8deg); opacity: 0; } }
.hero__shade { z-index: 1; }
.hero > .container { position: relative; z-index: 3; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; z-index: 3; width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; transform: translateX(-50%); }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-2); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 9, 11, .2) 0%, rgba(8, 9, 11, .1) 40%, var(--bg) 100%), linear-gradient(90deg, rgba(8, 9, 11, .85) 0%, transparent 65%); }
.hero__copy { position: relative; padding-bottom: clamp(64px, 12vh, 130px); max-width: 760px; }
.hero__heading { font-size: clamp(40px, 6.2vw, 84px); margin-bottom: 22px; }
.hero__description { font-size: clamp(16px, 1.6vw, 20px); color: #cfccc4; max-width: 520px; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .hero__mark { opacity: .35; right: -10%; width: 80vw; } }

/* ---------- Hero: 3D avatar (assets/js/avatar3d.js) ---------- */
.hero__3d { position: absolute; inset: 0; z-index: 1; }
.hero__3d canvas { display: block; }
.hero__media.is-3d .hero__mark { display: none; }
.hero__shade { pointer-events: none; }
.emotes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.emotes[hidden] { display: none; }
.emotes .eyebrow { margin-right: 6px; }
.btn--sm { padding: 9px 14px; font-size: 14px; }
@media (max-width: 900px) { .hero__3d { bottom: 42%; } }
/* Careers: 3D scenes in the split frames; the game cover shows if 3D can't run */
.split__media--3d { position: relative; background: radial-gradient(circle at 50% 70%, rgba(232, 182, 74, .14), transparent 65%), var(--bg-2); }
.split__3d { position: absolute; inset: 0; z-index: 1; }
.split__3d canvas { display: block; }
.split__media--3d.is-3d > img { visibility: hidden; }
@media (max-width: 760px) { .emotes .eyebrow { display: none; } }

/* ---------- Games carousel ---------- */
.games { padding: 40px 0 100px; }
.games__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.games__head h2 { font-size: clamp(24px, 3vw, 36px); }
.games__head p { color: var(--muted); margin-top: 6px; }
.arrows { display: flex; gap: 8px; }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; display: grid; place-items: center; transition: .2s; }
.arrow:hover { border-color: var(--gold); color: var(--gold); }
.games__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.games__track::-webkit-scrollbar { display: none; }
.game-tile { scroll-snap-align: start; position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .3s, border-color .3s; }
.game-tile:hover { transform: translateY(-4px); border-color: rgba(232, 182, 74, .5); }
.game-tile img, .game-tile .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.game-tile:hover img, .game-tile:hover .ph { transform: scale(1.05); }
.game-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .85)); }
.game-tile__meta { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; }
.game-tile__meta h3 { font-size: 20px; font-weight: 700; }
.game-tile__meta p { font-family: var(--wide); font-stretch: 125%; font-size: 11px; letter-spacing: .14em; color: var(--gold-2); margin-top: 4px; }

/* Placeholder art (used until real images are supplied) */
.ph { background: radial-gradient(circle at 70% 30%, rgba(247, 215, 138, .35), transparent 50%), linear-gradient(135deg, #2a2112, #0e0f13 70%); display: grid; place-items: center; }
.ph::before { content: ""; width: 34%; aspect-ratio: 1; background: url("../img/logo.png") center / contain no-repeat; opacity: .5; }

/* ---------- Stats ---------- */
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 40px 24px 40px 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 32px; }
.stat:last-child { border-right: 0; }
.stat__num { font-size: clamp(48px, 7vw, 104px); }
.stat__label { margin-top: 10px; }
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat, .stat + .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px 0; }
}
.statement { padding: clamp(80px, 12vw, 160px) 0; }
.statement p { font-family: var(--wide); font-stretch: 125%; font-weight: 700; font-size: clamp(26px, 3.6vw, 52px); line-height: 1.15; letter-spacing: -.02em; max-width: 1100px; }
.statement .word { opacity: .15; transition: opacity .4s; }
.statement .word.is-lit { opacity: 1; }

/* ---------- Partners marquee ---------- */
.partners { padding: 60px 0; border-block: 1px solid var(--line); overflow: hidden; }
.partners .eyebrow { text-align: center; margin-bottom: 28px; }
.marquee { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee__item { padding: 0 44px; font-family: var(--wide); font-stretch: 125%; font-weight: 800; font-size: 28px; color: #55534e; white-space: nowrap; display: flex; align-items: center; transition: color .2s; }
.marquee__item:hover { color: var(--gold-2); }
.marquee__item { gap: 14px; }
.marquee__logo { width: 56px; height: 56px; flex: none; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; transition: filter .2s; }
.marquee__logo--wide { width: 140px; }
.marquee__logo--big { width: 84px; height: 72px; }
/* wordmark icons sit in a square with empty space above and below, so size by width */
.marquee__logo--word { width: 130px; height: 52px; -webkit-mask-size: 130px 130px; mask-size: 130px 130px; }
.marquee__item:hover .marquee__logo { filter: drop-shadow(0 0 10px rgba(247, 215, 138, .7)); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Overview ---------- */
.overview__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; margin-top: 48px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 48px); position: relative; overflow: hidden; }
.panel--glow::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(232, 182, 74, .35), transparent 65%); }
.panel p { color: #cfccc4; font-size: 17px; position: relative; }
.panel .btn { margin-top: 28px; position: relative; }
.metrics { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.metric { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; min-height: 180px; }
.metric__value { font-size: clamp(52px, 6vw, 84px); }
.metric__value small { font-size: .45em; margin-left: 4px; }
@media (max-width: 900px) { .overview__grid { grid-template-columns: 1fr; } }

/* Stacked tiles (fan of game covers) */
.stack { position: relative; height: clamp(300px, 42vw, 520px); margin-top: 80px; perspective: 1400px; }
.stack__card { position: absolute; left: 50%; top: 50%; width: clamp(220px, 30vw, 400px); aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; border: 1px solid rgba(232, 182, 74, .35); box-shadow: 0 30px 60px rgba(0, 0, 0, .6); transform: translate(-50%, -50%); transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.stack__card img, .stack__card .ph { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Process slider ---------- */
.process { background: var(--bg-2); }
.process__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.process__head h2 { font-size: clamp(32px, 4.5vw, 60px); max-width: 640px; }
.process__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow: hidden; }
.process__card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px; min-height: 300px; display: flex; flex-direction: column; transition: transform .6s cubic-bezier(.2, .8, .2, 1), border-color .3s; }
.process__card.is-current { border-color: rgba(232, 182, 74, .5); }
.process__seq { font-family: var(--wide); font-stretch: 125%; font-weight: 800; font-size: 54px; color: transparent; -webkit-text-stroke: 1px rgba(232, 182, 74, .7); }
.process__card h3 { font-family: var(--wide); font-stretch: 125%; font-size: 26px; margin: auto 0 12px; }
.process__card p { color: var(--muted); }
.process__controls { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.process__pos { font-family: var(--wide); font-stretch: 125%; font-size: 13px; letter-spacing: .1em; color: var(--muted); }
@media (max-width: 900px) { .process__track { grid-auto-columns: 85%; } }

/* ---------- Contact / footer ---------- */
.contact-block { padding: clamp(80px, 10vw, 130px) 0; position: relative; overflow: hidden; }
.contact-block::before { content: ""; position: absolute; left: 50%; top: 0; width: 900px; height: 500px; transform: translateX(-50%); background: radial-gradient(ellipse at top, rgba(232, 182, 74, .18), transparent 70%); pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; position: relative; }
.contact-grid h2 { font-size: clamp(38px, 5vw, 72px); margin-bottom: 20px; }
.contact-grid > div > p { color: #cfccc4; font-size: 17px; max-width: 420px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 36px); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--wide); font-stretch: 125%; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.field input, .field select, .field textarea { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; outline: none; transition: border-color .2s, box-shadow .2s; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232, 182, 74, .15); }
.form .btn { grid-column: 1 / -1; justify-content: center; }
.form__status { grid-column: 1 / -1; font-size: 14px; color: var(--gold-2); min-height: 1em; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer__nav a { color: var(--muted); font-size: 14px; }
.footer__nav a:hover { color: var(--gold-2); }
.footer__meta { color: #5f5d58; font-size: 13px; margin-top: 28px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Inner pages ---------- */
.page-hero { padding: 170px 0 80px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, rgba(232, 182, 74, .22), transparent 60%); pointer-events: none; }
.page-hero > .container { position: relative; }
.page-hero h1 { font-size: clamp(40px, 6.5vw, 92px); margin: 16px 0 22px; max-width: 1000px; }
.page-hero p { font-size: clamp(16px, 1.5vw, 19px); color: #cfccc4; max-width: 620px; margin-bottom: 30px; }

.effect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.effect-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.effect-card .metric__value { margin: 14px 0 6px; }
@media (max-width: 900px) { .effect-grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split h2 { font-size: clamp(32px, 4.4vw, 60px); margin: 14px 0 20px; }
.split p { color: #cfccc4; font-size: 17px; }
.split .btn { margin-top: 26px; }
.split__media { aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.split__media img, .split__media .ph { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: -1; } }

.values { overflow: hidden; }
.values__track { display: flex; gap: 20px; width: max-content; animation: marquee 45s linear infinite; }
.values__track:hover { animation-play-state: paused; }
.value-card { width: 380px; flex: none; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
.value-card h3 { font-family: var(--wide); font-stretch: 125%; font-size: 20px; margin-bottom: 14px; color: var(--gold-2); }
.value-card p { color: #cfccc4; }
.value-card p + p { color: var(--muted); margin-top: 10px; font-size: 15px; }

/* Merch */
.merch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.product { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.product__media { position: relative; aspect-ratio: 1; background: var(--card-2); }
.product__media img, .product__media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.product__media .is-shown { opacity: 1; }
.product__count { position: absolute; right: 12px; top: 12px; font-size: 12px; background: rgba(0, 0, 0, .6); padding: 4px 10px; border-radius: 99px; z-index: 1; }
.product__nav { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; padding: 10px; z-index: 1; opacity: 0; transition: opacity .2s; }
.product:hover .product__nav { opacity: 1; }
.product__nav .arrow { width: 36px; height: 36px; background: rgba(0, 0, 0, .55); }
.product__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.product__body h3 { font-size: 19px; }
.product__price { font-weight: 700; color: var(--gold-2); white-space: nowrap; }
.product__body p { color: var(--muted); font-size: 15px; flex: 1; }
.product__ship { font-family: var(--wide); font-stretch: 125%; font-size: 10px; letter-spacing: .14em; color: #6d6a64; }
.product .btn { justify-content: center; margin-top: 8px; }

/* Verify */
.verify-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(32px, 5vw, 72px); align-items: center; }
.verify-layout h1 { font-size: clamp(40px, 5.2vw, 80px); }
@media (max-width: 900px) { .verify-layout { grid-template-columns: 1fr; } }
.verify-card { max-width: 620px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 40px); }
.verify-card h2 { font-size: 24px; margin-bottom: 8px; }
.verify-row { display: flex; gap: 10px; margin-top: 22px; }
.verify-row input { flex: 1; min-width: 0; }
.verify-hint { font-size: 14px; color: var(--muted); margin-top: 14px; }
.verify-result { margin-top: 20px; padding: 16px 18px; border-radius: 12px; display: none; }
.verify-result.is-ok { display: block; background: rgba(80, 200, 120, .1); border: 1px solid rgba(80, 200, 120, .4); }
.verify-result.is-bad { display: block; background: rgba(240, 80, 80, .1); border: 1px solid rgba(240, 80, 80, .4); }
.verify-result.is-profile { padding: 0; overflow: hidden; background: var(--bg); border-color: rgba(232, 182, 74, .45); }
/* Image banners keep the studio banner's own shape (2000 x 708) so the logo and stats aren't cropped */
.dprofile__banner.has-banner { height: auto; aspect-ratio: 2000 / 708; }
.dprofile__banner { height: 84px; background: radial-gradient(circle at 75% 20%, rgba(247, 215, 138, .7), transparent 55%), linear-gradient(120deg, var(--gold-deep), #2a2112 70%); }
.dprofile__head { display: flex; justify-content: space-between; align-items: flex-end; padding: 0 20px; margin-top: -44px; }
.dprofile__avatar { position: relative; width: 88px; height: 88px; border-radius: 50%; border: 6px solid var(--bg); background: var(--bg); }
.dprofile__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.dprofile__dot { position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; border-radius: 50%; border: 5px solid var(--bg); background: #80848e; }
.dprofile__dot--online { background: #23a55a; }
.dprofile__dot--idle { background: #f0b232; }
.dprofile__dot--dnd { background: #f23f43; }
.dprofile__badge { font-size: 13px; font-weight: 600; color: #1a1205; background: linear-gradient(135deg, var(--gold-2), var(--gold)); padding: 5px 12px; border-radius: 99px; margin-bottom: 6px; }
.dprofile__body { padding: 12px 20px 20px; }
.dprofile__body h3 { font-size: 22px; font-weight: 700; }
.dprofile__handle { color: var(--muted); font-size: 15px; }
.dprofile__activity { margin-top: 10px; font-size: 14px; color: #cfccc4; background: var(--card); border-radius: 8px; padding: 8px 12px; }
.dprofile__facts { margin-top: 16px; display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.dprofile__facts dt { font-family: var(--wide); font-stretch: 125%; font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.dprofile__facts dd { font-size: 15px; }
.chev { display: inline-block; width: 9px; height: 9px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: translateX(-2px) rotate(45deg); }
.chev--l { transform: translateX(2px) rotate(-135deg); }
.notice { border-left: 3px solid var(--gold); padding: 6px 0 6px 16px; color: #cfccc4; margin-top: 18px; }
@media (max-width: 520px) { .verify-row { flex-direction: column; } }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--wide); font-stretch: 125%; font-size: 22px; margin: 40px 0 12px; }
.prose p, .prose li { color: #cfccc4; margin-bottom: 12px; }
.prose ul { padding-left: 20px; }

/* ---------- Effects (fx.js) ---------- */
/* metallic glint on gold text
   Two layers clipped to the letters. Underneath, still gold lit from above
   (pale at the top, bronze at the bottom): the metal never moves. On top, a
   narrow angled highlight that crosses the phrase quickly with an ease, then
   rests off to the side before the next pass, with a soft bloom as it crosses.
   fx.js sets per phrase: --w (its width), --gl (highlight width, from the font
   size) and --gd (start delay, so phrases glint in turn, not all at once).
   Letters split by the headline reveal get --gx, their offset in the phrase,
   so one highlight runs across all of them. */
@property --glint { syntax: "<number>"; inherits: true; initial-value: 0; }
.gold-text, .gold-text .char {
  background-image:
    linear-gradient(108deg, transparent 0%, rgba(255, 244, 214, 0) 28%, rgba(255, 246, 222, .55) 42%, #fffbf0 50%, rgba(255, 246, 222, .55) 58%, rgba(255, 244, 214, 0) 72%, transparent 100%),
    linear-gradient(180deg, #fbe5a6 0%, var(--gold-2) 22%, var(--gold) 52%, #c8902e 78%, var(--gold-deep) 100%);
  background-size: var(--gl, 160px) 100%, 100% 100%;
  background-repeat: no-repeat;
  background-position: calc(var(--glint) * (var(--w, 600px) + 2 * var(--gl, 160px)) - var(--gl, 160px) - var(--gx, 0px)) 0, 0 0;
}
.gold-text .char { -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-reduced-motion: no-preference) {
  .gold-text { animation: glint 5.6s var(--gd, 1.4s) infinite both, bloom 5.6s var(--gd, 1.4s) infinite both; }
}
/* 0-26%: the pass (about 1.45s), eased like a passing light; 26-100%: rest. */
@keyframes glint {
  0% { --glint: 0; animation-timing-function: cubic-bezier(.55, 0, .25, 1); }
  26%, 100% { --glint: 1; }
}
@keyframes bloom {
  0%, 4% { filter: drop-shadow(0 0 0 rgba(247, 215, 138, 0)); }
  14% { filter: drop-shadow(0 0 14px rgba(247, 215, 138, .42)); }
  30%, 100% { filter: drop-shadow(0 0 0 rgba(247, 215, 138, 0)); }
}

/* film grain over everything */
body::after { content: ""; position: fixed; inset: -50%; z-index: 999; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } }

/* scroll progress */
.scroll-bar { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold-deep), var(--gold-2)); box-shadow: 0 0 12px rgba(247, 215, 138, .8); pointer-events: none; }

/* cursor glow */
.cursor-glow { position: fixed; left: -300px; top: -300px; width: 600px; height: 600px; border-radius: 50%; z-index: 0; pointer-events: none; background: radial-gradient(circle, rgba(232, 182, 74, .09), transparent 60%); transition: opacity .4s; mix-blend-mode: screen; }
main, .contact-block, .footer { position: relative; z-index: 1; }

/* card spotlight */
.has-spot { position: relative; overflow: hidden; }
.spot { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .35s; border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(247, 215, 138, .12), transparent 45%); }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(247, 215, 138, .9), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.has-spot:hover .spot { opacity: 1; }
.tilt { transition: transform .25s ease-out, border-color .3s; will-change: transform; }
.btn, .arrow { transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .2s, background .2s, border-color .2s, color .2s; }

/* hero headline letters */
.is-split .char-word { display: inline-block; white-space: nowrap; }
.is-split .char { display: inline-block; opacity: 0; transform: translateY(60%) rotateX(-70deg); filter: blur(8px); transition: opacity .7s ease, transform .9s cubic-bezier(.2, .8, .2, 1), filter .7s ease; }
.is-played .char { opacity: 1; transform: none; filter: none; }

/* marquee edges fade out */
.partners .marquee, .values__track { -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.partners { position: relative; }

/* stats glow */
.stat__num { text-shadow: 0 0 40px rgba(232, 182, 74, .25); }
.stat { transition: background .4s; }
.stat:hover { background: radial-gradient(circle at 30% 50%, rgba(232, 182, 74, .07), transparent 70%); }

/* animated gold border on the primary button */
.btn--gold { position: relative; overflow: hidden; }
.btn--gold::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: sheen 4s ease-in-out infinite; }
@keyframes sheen { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.reveal.is-in.tilt { transition: transform .25s ease-out, opacity .9s ease, border-color .3s; }
