/* BoxRise site: the app's own tokens (unity/Assets/BoxRise/App/Kit/Theme.cs) and fonts. Dark only. */
@font-face { font-family: 'Archivo Expanded'; font-weight: 700; font-display: swap; src: url('/assets/fonts/ArchivoExpanded-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Archivo Expanded'; font-weight: 800; font-display: swap; src: url('/assets/fonts/ArchivoExpanded-ExtraBold.woff2') format('woff2'); }
@font-face { font-family: 'Archivo XCond'; font-weight: 900; font-display: swap; src: url('/assets/fonts/ArchivoExtraCondensed-Black.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/assets/fonts/Inter-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('/assets/fonts/Inter-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('/assets/fonts/Inter-SemiBold.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --bg: #0A0B0E; --s1: #121419; --s2: #1A1D24; --s3: #23272F; --line: rgba(255, 255, 255, .09);
  --t1: #F2F4F7; --t2: #A9B0BC; --t3: #8A919F;
  --blue: #2E5BFF; --blue-hi: #4A74FF; --blue-t: #7FA6FF; --glow: #8EC5FF;
  --heat: #FFA524; --good: #3DD68C; --bad: #FF4D4D;
  --wide: 'Archivo Expanded', 'Arial Black', system-ui, sans-serif;
  --num: 'Archivo XCond', 'Arial Narrow', Impact, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: max(20px, env(safe-area-inset-left, 0px));
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--t1); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 4px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gut); }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--t1); color: var(--bg); border-radius: 12px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* header */
.bar::before { content: ''; position: absolute; inset: 0 0 -40px; z-index: -1; background: linear-gradient(rgba(10, 11, 14, .62), transparent); transition: opacity .3s; pointer-events: none; }
.bar.on::before { opacity: 0; }
.bar { position: fixed; inset: 0 0 auto; z-index: 40; padding-top: env(safe-area-inset-top, 0px); transition: background .3s; }
.bar.on { background: rgba(10, 11, 14, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.bar-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; gap: 16px; }
.mark { justify-self: start; display: block; padding: 10px 0; }
.mark img { width: 132px; height: auto; }
.bar-r { justify-self: end; display: flex; align-items: center; gap: 28px; }
.bar nav { display: flex; gap: 26px; }
.bar nav a { font-size: 15px; font-weight: 500; color: #D3D8E0; text-decoration: none; padding: 10px 0; transition: color .2s; }
.bar nav a:hover { color: var(--t1); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px; border-radius: 16px; background: linear-gradient(180deg, #3D67FF, var(--blue)); color: #fff; font: 700 15px/1 var(--wide); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: transform .16s var(--ease), filter .2s; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(.97); }
.btn-s { min-height: 44px; padding: 0 18px; border-radius: 13px; font-size: 12px; }

/* store badges */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { display: inline-flex; align-items: center; gap: 11px; height: 56px; padding: 0 18px 0 15px; border-radius: 12px; background: #000; border: 1px solid #A6A6A6; text-decoration: none; }
.badge img { height: 29px; width: auto; }
.badge span { display: block; font: 500 11px/1.1 var(--body); color: #fff; white-space: nowrap; }
.badge b { display: block; margin-top: 2px; font: 600 19px/1.1 var(--body); letter-spacing: -.01em; }
.badge.soon { border-color: rgba(255, 255, 255, .3); }
.badge.live { padding: 0; border: 0; background: none; }
.badge.live img { height: 56px; border-radius: 12px; box-shadow: 0 0 0 1px #A6A6A6; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 44px 0 calc(48px + env(safe-area-inset-bottom, 0px)); color: var(--t3); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.foot ul { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.foot a { color: var(--t2); text-decoration: none; display: inline-block; padding: 8px 0; }
.foot a:hover { color: var(--t1); }
.foot small { display: block; width: 100%; font-size: 12.5px; line-height: 1.6; color: var(--t3); }
.foot .pausebtn { color: var(--t2); font-size: 14px; padding: 8px 0; }
.foot .pausebtn:hover { color: var(--t1); }

@media (max-width: 860px) {
  .bar nav { display: none; }
  .bar-in { height: 60px; }
  .mark img { width: 112px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
