:root {
  --bg: #0b0b0d; --surface: #141417; --border: #26262b;
  --text: #f4f4f5; --muted: #a1a1aa;
  --accent: #e10600; --accent-hover: #ff1a10;
  --accent-text: #ff2a20; /* the same red, lifted just enough to pass 4.5:1 on the background for small text */
  --max: 1200px; --measure: 720px;
  --section: 96px; --radius: 14px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
@media (max-width: 768px) { :root { --section: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.1; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.accent { color: var(--accent-text); }
.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--accent); color: #fff; padding: 8px 12px; z-index: 100; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0,0,0,.9); backdrop-filter: blur(12px); border-bottom: 1px solid #1c1c20; }
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-mark { width: 54px; height: 45px; flex: none; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { font-size: .76rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: #d4d4d8; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--accent-text); border-bottom-color: var(--accent); }
.nav .btn { margin-left: 8px; }
.nav .btn, .nav .btn:hover, .nav .btn[aria-current="page"] { border-bottom-width: 1.5px; color: var(--text); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border); color: var(--text); border-radius: 8px; padding: 8px 10px; cursor: pointer; font-size: 1.1rem; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 20px 20px; }
  .nav--open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav .btn { margin: 16px 0 0; justify-content: center; }
}
@media (max-width: 520px) {
  .site-header .container { gap: 12px; }
  .brand { white-space: normal; font-size: .9rem; line-height: 1.15; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; border: 1.5px solid var(--accent); transition: background .15s, color .15s, transform .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--solid { background: var(--accent); color: #fff; }
.btn--solid:hover { background: var(--accent-hover); }
.btn--outline { color: var(--text); background: transparent; border-color: #e4e4e7; }
.btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.nav .btn--outline { padding: 11px 20px; border-radius: 999px; }

/* hero */
.hero { position: relative; overflow: hidden; background: #000; padding-block: 88px 72px; min-height: 620px; display: flex; align-items: center; }
/* the left side of the table: black, with the silver light trails from the rendering continued in CSS */
.hero-scene { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(90% 70% at 30% 40%, #17171a 0%, #0a0a0b 50%, #000 100%); }
.hero-scene::before { content: ""; position: absolute; inset: -20%; background: linear-gradient(196deg, transparent 38%, rgba(255,255,255,.07) 47%, rgba(255,255,255,.12) 50%, rgba(255,255,255,.05) 54%, transparent 62%), linear-gradient(200deg, transparent 58%, rgba(255,255,255,.05) 66%, transparent 72%); filter: blur(14px); }
.hero-scene::after { content: ""; position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay; 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>"); }
/* the rendering itself: cards, wordmark, chips, light trails — flush to the right edge, edges feathered into the page */
/* the frame is exactly the photo's own box (vertically centred in the hero), so the feathers below are measured against the photo — identical on every screen size */
.hero-art { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: min(56vw, 940px); pointer-events: none; }
.hero-art img { display: block; width: 100%; height: auto; }
/* top/bottom feather (whole height) */
.hero-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0a0a0b 0%, rgba(10,10,11,.75) 2%, transparent 5%), linear-gradient(180deg, #000 0%, transparent 18%, transparent 84%, #000 100%); }
/* left feather — masked away over the wordmark band (roughly the lower third of the scene) so the whole name reads at full strength */
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0a0a0b 0%, rgba(10,10,11,.92) 10%, rgba(10,10,11,.55) 24%, rgba(10,10,11,.2) 36%, transparent 48%); -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 62%, transparent 86%, #000 94%); mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 62%, transparent 86%, #000 94%); }
.hero .container { position: relative; width: min(100% - 40px, var(--max)); }
.hero-copy { max-width: 620px; }
.hero .rule { display: block; width: 150px; height: 3px; background: var(--accent); margin: 6px 0 26px; }
@media (max-width: 1100px) { .hero-copy { max-width: 46%; } }
@media (max-width: 900px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; padding-block: 56px 0; }
  .hero .container { order: 1; }
  .hero-copy { max-width: none; }
  .hero-art { order: 2; position: relative; top: auto; transform: none; width: 100%; height: auto; margin-top: 24px; }
  .hero-art::after { display: none; }
  .hero-art::before { background: linear-gradient(180deg, #000 0%, transparent 14%, transparent 86%, #000 100%); }
}
.features-band { position: relative; z-index: 2; padding-top: 36px; padding-bottom: 48px; background: #000; }
.eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .26em; line-height: 1.8; text-transform: uppercase; color: #d4d4d8; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); margin-bottom: .2em; }
.hero p.lead { font-size: 1.2rem; max-width: 600px; color: #e4e4e7; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }

/* feature cards */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.card { background: #0e0e11; border: 1px solid #222226; border-left: 3px solid var(--accent); border-radius: 10px; padding: 26px 24px; transition: border-color .15s, transform .15s; }
.card:hover { border-color: #3a3a40; border-left-color: var(--accent); transform: translateY(-2px); }
.features .card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 14px; align-items: center; }
.features .card p { grid-column: 1 / -1; }
.card .icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--accent); }
.card .icon svg { width: 32px; height: 32px; }
.card h2, .card h3 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin: 0; font-weight: 700; }
.card p { color: #c4c4c9; font-size: .95rem; margin: 0; line-height: 1.55; }
.cards-3 .card h3 { margin-bottom: .7em; }

/* games strip */
.games-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .games-strip { grid-template-columns: 1fr; } }
.game { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.game img { width: 120px; height: 100px; object-fit: contain; }
.game p { color: var(--muted); margin: 0; font-size: .95rem; }
.strip-cta { text-align: center; margin-top: 32px; }

/* article pages */
.banner { border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(225,6,0,.08), transparent); }
.banner .container { padding-block: 72px 56px; }
.banner p { font-size: 1.2rem; color: #d4d4d8; max-width: var(--measure); margin: 0; }
.banner p.eyebrow { font-size: .72rem; margin-bottom: 20px; color: var(--muted); }
.article { max-width: var(--measure); }
.article p { font-size: 1.05rem; color: #d4d4d8; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }
.article-grid { display: grid; grid-template-columns: minmax(0, var(--measure)) 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } }
.side-art { display: grid; gap: 24px; justify-items: center; }
.side-art img { max-width: 260px; opacity: .95; }
@media (max-width: 900px) { .side-art { display: none; } }

/* partner dashboard */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr; } }
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.tile img { height: 150px; width: auto; max-width: 100%; object-fit: contain; align-self: flex-start; }
.tile .status { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tile .status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; }
.tile .btn { align-self: flex-start; margin-top: auto; }
.note { font-size: .9rem; color: var(--muted); margin-top: 32px; }

/* contact + error pages */
.centered { text-align: center; max-width: 640px; margin-inline: auto; }
.contact-email { font-size: 1.4rem; font-weight: 700; margin: 24px 0; }

/* footer */
.site-footer { border-top: 1px solid #1c1c20; padding-block: 30px; color: var(--muted); font-size: .82rem; background: #000; }
.site-footer .container { text-align: center; }
.site-footer p { margin: 0; line-height: 1.9; }
.site-footer .sep { margin: 0 10px; opacity: .5; }
.site-footer .dot { margin: 0 6px; color: var(--accent); }
.site-footer a:hover { color: var(--text); }

/* motion */
.rise { animation: rise .7s ease both; }
.rise:nth-child(2) { animation-delay: .1s; }
.rise:nth-child(3) { animation-delay: .2s; }
.rise:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; }
  .btn:hover, .card:hover { transform: none; }
  html { scroll-behavior: auto; }
}
