/* Quickwin PL — racing lobby: black dotted canvas, neon red frame, gold CTA, brown tiles */
:root {
  --bg: #000;
  --panel: #0d0f16;
  --panel-2: #141824;
  --red: #f80f1f;
  --red-2: #ff3543;
  --yellow: #ffd400;
  --sand: #cbaf95;
  --sand-2: #f5e3d7;
  --brown: #291b10;
  --brown-2: #35231a;
  --brown-line: #4a3a2f;
  --frame: #5c341e;
  --text: #fff;
  --text-2: #d9d2cb;
  --muted: #8d8a87;
  --head-h: 75px;
  --f: "Fira Sans Condensed", "Arial Narrow", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; padding-top: var(--head-h); background: #000 url(../images/ui/dots.webp) repeat; color: var(--text); font: 400 17px/1.6 var(--f); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sand); text-decoration: none; }
a:hover { color: #fff; }
button { font: inherit; cursor: pointer; }
p { margin: 0 0 14px; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: var(--yellow); color: #000; padding: 8px 14px; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { width: min(1280px, 100% - 80px); margin: 0 auto; }

/* ------------------------------------------------------------------ header */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--head-h); display: flex; align-items: stretch; gap: 24px; padding: 0 24px;
  background: linear-gradient(180deg, #01030a, #1a1f2e 73%, #232732 93%);
  border-bottom: 2px solid var(--red); box-shadow: 0 4px 24px rgba(255, 53, 67, .5);
}
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 20px; width: auto; }
.nav { display: flex; align-items: stretch; gap: 2px; margin: 0 auto; }
.nav a {
  display: flex; align-items: center; padding: 0 9px; color: #c9ccd6; font: italic 700 15px/1 var(--f); white-space: nowrap; text-transform: uppercase; letter-spacing: .02em;
  border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color .15s, border-color .15s;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--red); }
.auth { display: flex; align-items: stretch; gap: 15px; flex: none; }
.auth a {
  white-space: nowrap; display: flex; align-items: center; padding: 0 15px; color: #fff; font: 700 16px/1 var(--f); text-transform: uppercase;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, .7); border-bottom: 2px solid var(--red); margin-bottom: -2px;
}
.auth a.reg { border-bottom-color: var(--yellow); }
.auth a:hover { background: linear-gradient(0deg, rgba(255, 53, 67, .18), transparent 70%); }
.auth a.reg:hover { background: linear-gradient(0deg, rgba(255, 212, 0, .16), transparent 70%); }
.burger { display: none; align-self: center; width: 44px; height: 44px; border: 0; background: none; padding: 10px 8px; }
.burger span { display: block; height: 3px; margin: 5px 0; background: #fff; transform: skewX(-20deg); }
.burger span:nth-child(2) { width: 75%; background: var(--red); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; margin: 0 0 30px; filter: drop-shadow(0 6px 22px rgba(255, 30, 50, .35)); }
.hero-frame {
  --cut: polygon(0 0, 100% 0, 100% calc(100% - 48px), calc(100% - 34px) calc(100% - 14px), 80% calc(100% - 14px), 78% 100%, 22% 100%, 20% calc(100% - 14px), 34px calc(100% - 14px), 0 calc(100% - 48px));
  position: relative; background: var(--red); clip-path: var(--cut); padding: 0 2px 2px;
}
.hero-in { position: relative; overflow: hidden; clip-path: var(--cut); background: #1a0508; isolation: isolate; min-height: 470px; display: flex; align-items: center; }
.hero-in > picture { position: absolute; inset: 0; z-index: -2; }
.hero-in > picture img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; }
.hero-in::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 2, 6, .82) 0%, rgba(10, 2, 6, .55) 34%, rgba(10, 2, 6, 0) 60%); }
.hero-body { position: relative; width: 100%; min-height: 470px; display: grid; }
.hero-slide { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 70px 9% 70px; max-width: 900px; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.hero-slide.is-active, .hero-body:not([data-slider]) .hero-slide { opacity: 1; visibility: visible; }
.ribbon {
  display: inline-block; margin: 0 0 14px 14px; padding: 4px 22px; background: var(--red); transform: skewX(-14deg);
  box-shadow: -10px 0 0 -4px var(--red), 6px 4px 0 rgba(0, 0, 0, .35);
  font: 700 16px/1.25 var(--f); text-transform: uppercase; letter-spacing: .03em; color: #fff;
}
.ribbon > * { display: inline-block; transform: skewX(14deg); margin: 0; font: inherit; }
.hero .big { margin: 0; font: italic 800 clamp(40px, 5.2vw, 78px)/1 var(--f); text-transform: uppercase; letter-spacing: -.01em; color: #fff; text-shadow: 0 4px 18px rgba(0, 0, 0, .55); }
.hero .sub { margin: 8px 0 26px; font: italic 600 clamp(20px, 2.1vw, 31px)/1.15 var(--f); text-transform: uppercase; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.hero .lede { margin: 18px 0 0; max-width: 520px; color: var(--text-2); font-size: 16px; }
.tabs { position: absolute; z-index: 3; top: 14px; left: 50%; translate: -50% 0; display: flex; gap: 6px; }
.tabs button, .tabs a {
  min-width: 88px; padding: 7px 16px; border: 2px solid #fff; background: transparent; color: #fff; transform: skewX(-12deg);
  font: italic 700 14px/1 var(--f); text-transform: uppercase; box-shadow: 4px 4px 0 rgba(0, 0, 0, .4);
}
.tabs [aria-selected="true"] { background: #fff; color: #000; }
.hero-arrow { position: absolute; z-index: 3; top: 50%; translate: 0 -50%; width: 48px; height: 60px; border: 0; background: none; color: #fff; padding: 0; opacity: .85; }
.hero-arrow:hover { opacity: 1; color: var(--yellow); }
.hero-arrow svg { width: 32px; height: 32px; }
.hero-arrow.prev { left: 10px; } .hero-arrow.next { right: 10px; }
.dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 26px; display: flex; justify-content: center; gap: 6px; }
.dots button { width: 18px; height: 4px; padding: 0; border: 0; background: #6b6b75; transform: skewX(-20deg); }
.dots button[aria-current="true"] { background: var(--yellow); width: 26px; }

/* gold CTA */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 42px;
  font: italic 800 20px/1 var(--f); text-transform: uppercase; letter-spacing: .02em; color: #1c1205 !important; transform: skewX(-10deg);
  background: linear-gradient(180deg, #fff8cf 0%, #ffe27a 28%, #f3bd3c 62%, #c88a17 100%);
  border: 2px solid #fff3b8; box-shadow: 0 0 0 2px #7a4d0c, 0 8px 24px rgba(255, 190, 40, .35), inset 0 -4px 0 rgba(120, 70, 0, .35);
  transition: filter .15s, transform .15s; white-space: nowrap;
}
.btn > span { transform: skewX(10deg); display: inline-block; }
.btn::after { content: ""; position: absolute; right: -6px; top: -6px; width: 14px; height: 14px; background: radial-gradient(circle, #fff 0 22%, rgba(255, 255, 255, 0) 70%); }
.btn:hover { filter: brightness(1.08); transform: skewX(-10deg) translateY(-1px); }
.btn-sm { min-height: 46px; padding: 0 28px; font-size: 17px; }
.btn-red { color: #fff !important; background: linear-gradient(180deg, #ff5a66, #f80f1f 55%, #a5000c); border-color: #ff9aa2; box-shadow: 0 0 0 2px #5a0006, 0 8px 24px rgba(255, 30, 50, .35); }
.btn-ghost {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; transform: skewX(-10deg); border: 2px solid #fff; color: #fff !important;
  font: italic 700 15px/1 var(--f); text-transform: uppercase;
}
.btn-ghost > span { transform: skewX(10deg); }

/* ------------------------------------------------------------------ rails */
.rail-block { margin: 0 0 22px; }
.rail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.rail-title { margin: 0; font: 700 22px/1.2 var(--f); text-transform: uppercase; }
.rail-nav { display: flex; gap: 6px; }
.rail-nav a { font: italic 700 14px/1 var(--f); text-transform: uppercase; color: var(--sand); margin-right: 8px; align-self: center; }
.rail-btn { width: 34px; height: 30px; border: 1px solid #3a3f4e; background: #141824; color: #fff; transform: skewX(-12deg); display: grid; place-items: center; padding: 0; }
.rail-btn:hover:not(:disabled) { border-color: var(--red); color: var(--red-2); }
.rail-btn:disabled { opacity: .35; cursor: default; }
.rail-btn svg { width: 14px; height: 14px; transform: skewX(12deg); }
.rail { display: flex; gap: 10px; overflow-x: auto; padding: 10px 0 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }
.tile {
  flex: 0 0 calc((100% - 70px) / 8); min-width: 140px; scroll-snap-align: start; padding: 5px; border-radius: 8px;
  background: linear-gradient(180deg, #6a3d22, #3c2214); box-shadow: 0 0 0 1px #1b0f08, 0 6px 14px rgba(0, 0, 0, .6); transition: transform .15s, box-shadow .15s;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--red), 0 10px 22px rgba(255, 30, 50, .35); }
.tile img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 5px; }
.tile .t-name { display: none; }
.rail.wide .tile { flex-basis: calc((100% - 30px) / 4); min-width: 240px; }
.rail.wide .tile img { aspect-ratio: 3 / 2; }

/* ------------------------------------------------------------------ text */
.text { margin-top: 26px; }
.text section { padding: 6px 0 22px; }
.text section + section { border-top: 1px solid #1d212c; padding-top: 22px; }
.text h2 { position: relative; margin: 10px 0 14px; padding-left: 18px; font: 700 26px/1.2 var(--f); text-transform: uppercase; }
.text h2::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 6px; background: var(--red); transform: skewX(-14deg); box-shadow: 0 0 10px rgba(255, 30, 50, .6); }
.text h3 { margin: 22px 0 8px; font: 700 20px/1.25 var(--f); text-transform: uppercase; color: #fff; }
.text p, .text li { color: #fff; font-size: 17px; line-height: 1.6; }
.text a:not(.btn):not(.btn-ghost) { color: var(--sand); border-bottom: 1px solid rgba(203, 175, 149, .4); }
.text a:not(.btn):not(.btn-ghost):hover { color: #fff; border-color: #fff; }
.text b, .text strong { color: #fff; }
.lead-in { font-size: 19px !important; color: var(--sand-2) !important; }
.text ul, .text ol { margin: 0 0 18px; padding: 0; list-style: none; }
.text section ul > li + li, .text section ol > li + li { margin-top: 8px; }
.text ul:not(.checks) > li { position: relative; padding-left: 24px; }
.text ul:not(.checks) > li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; background: var(--red); transform: skewX(-18deg); }
.text ul.checks > li { position: relative; padding-left: 32px; }
.text ul.checks > li::before { content: "✓"; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #1c1205; background: linear-gradient(180deg, #ffe27a, #e0a92a); transform: skewX(-10deg); }
ol.steps { counter-reset: s; }
ol.steps > li { counter-increment: s; position: relative; padding: 14px 16px 14px 70px; background: linear-gradient(90deg, #1a1f2e, #10131c); border-left: 3px solid var(--red); }
ol.steps > li::before {
  content: counter(s); position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 38px; height: 34px; display: grid; place-items: center;
  background: var(--red); transform: skewX(-12deg); font: italic 800 19px/1 var(--f); color: #fff;
}
ol.steps strong { display: block; font: 700 17px/1.3 var(--f); text-transform: uppercase; }
.table-wrap { width: 100%; overflow-x: auto; margin: 6px 0 20px; border-radius: 10px; }
table { width: 100%; border-collapse: collapse; background: var(--brown); color: var(--sand); font-size: 17px; border-radius: 10px; overflow: hidden; }
table:has(th:nth-child(3)) { min-width: 600px; }
th { background: var(--brown-2); color: #fff; font: 700 16px var(--f); text-transform: uppercase; }
th, td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--brown-line); }
td { color: var(--sand); }
tbody tr:last-child td { border-bottom: 0; }
.note { position: relative; padding: 14px 18px 14px 54px; background: var(--brown); border-left: 4px solid var(--yellow); color: var(--sand-2) !important; font-size: 16px !important; }
.note::before { content: "!"; position: absolute; left: 16px; top: 14px; width: 24px; height: 24px; display: grid; place-items: center; background: var(--yellow); color: #000; font-weight: 800; transform: skewX(-10deg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px 0 6px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 8px 0 6px; }
.card { padding: 18px 20px; background: linear-gradient(180deg, #1a1f2e, #0f121a); border-top: 2px solid var(--red); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.figure { margin: 22px auto; max-width: 820px; padding: 4px; background: linear-gradient(180deg, #6a3d22, #3c2214); border-radius: 10px; box-shadow: 0 10px 26px rgba(0, 0, 0, .6); }
.figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 7px; }
.figure figcaption { padding: 8px 10px 4px; font-size: 14px; color: var(--sand); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
.split .figure { margin: 0; max-width: none; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 20px 0 6px; }
.cta-row small { color: var(--muted); font-size: 14px; }
.code-box { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 10px 0 22px; padding: 18px 22px; background: var(--brown); border: 2px dashed var(--yellow); }
.code-box span { color: var(--sand); font-weight: 700; text-transform: uppercase; }
.code-box b { font: italic 800 30px/1 var(--f); letter-spacing: .06em; color: var(--yellow) !important; }
.cta-strip {
  position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin: 30px 0 10px; padding: 26px 34px;
  background: linear-gradient(100deg, #3a0309 0%, #1a0508 60%, #12060e 100%); border: 2px solid var(--red); box-shadow: 0 0 22px rgba(255, 30, 50, .3);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}
.cta-strip p { margin: 0; font: italic 800 clamp(26px, 3vw, 40px)/1.05 var(--f); text-transform: uppercase; }
.cta-strip small { display: block; margin-top: 8px; font: 400 15px var(--f); color: var(--sand); text-transform: none; }
.faq details { background: linear-gradient(90deg, #1a1f2e, #10131c); border-left: 3px solid var(--red); }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 15px 18px; font: 700 18px/1.3 var(--f); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; background: var(--red); transform: skewX(-12deg); font-weight: 800; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 18px 8px; }
.crumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font: italic 600 14px var(--f); text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "»"; margin-right: 8px; color: var(--red); }

/* ------------------------------------------------------------------ footer */
.site-footer { margin-top: 40px; padding: 34px 0 26px; background: linear-gradient(180deg, #0b0d14, #000); border-top: 2px solid var(--red); box-shadow: 0 -4px 24px rgba(255, 53, 67, .35); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 26px; }
.footer-brand img { height: 20px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 15px; }
.footer-h { margin: 0 0 10px; font: italic 700 16px/1.2 var(--f); text-transform: uppercase; color: #fff; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer-col a { color: var(--sand); font-size: 15px; }
.pays { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 22px; margin: 30px 0 22px; padding: 18px 0; border-top: 1px solid #1d212c; border-bottom: 1px solid #1d212c; }
.pays img { height: 36px; width: 108px; object-fit: contain; opacity: .9; }
.pays span { display: grid; place-items: center; height: 36px; min-width: 96px; padding: 0 12px; color: #9a9ea8; font: italic 800 15px/1 var(--f); text-transform: uppercase; letter-spacing: .04em; }
.age { display: flex; justify-content: center; margin-bottom: 14px; }
.age img { width: 40px; height: 40px; }
.legal { text-align: center; color: var(--muted); font-size: 14px; max-width: 980px; margin: 0 auto; }
.legal p { margin-bottom: 8px; }
.legal a { color: var(--sand); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1240px) {
  .tile { flex-basis: calc((100% - 60px) / 7); }
}
@media (max-width: 1360px) {
  .burger { display: block; order: -1; }
  .topbar { gap: 12px; padding: 0 12px; }
  .nav {
    position: fixed; top: var(--head-h); left: 0; bottom: 0; width: min(320px, 86vw); margin: 0; flex-direction: column; gap: 0; padding: 14px 0;
    background: linear-gradient(180deg, #1a1f2e, #05060a); border-right: 2px solid var(--red); transform: translateX(-102%); transition: transform .25s; overflow-y: auto;
  }
  .nav a { padding: 15px 22px; font-size: 17px; border-bottom: 1px solid #262b39; margin: 0; }
  .nav a[aria-current="page"] { border-left: 4px solid var(--red); border-bottom-color: #262b39; }
  body.nav-open .nav { transform: none; }
  .overlay { position: fixed; inset: var(--head-h) 0 0 0; z-index: 900; background: rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transition: .2s; }
  body.nav-open .overlay { opacity: 1; visibility: visible; }
  .auth { margin-left: auto; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
  .tile { flex-basis: calc((100% - 40px) / 5); }
}
@media (max-width: 760px) {
  :root { --head-h: 64px; }
  .wrap { width: calc(100% - 32px); }
  .logo img { height: 16px; }
  .auth { gap: 8px; }
  .auth a { padding: 0 6px; font-size: 13px; }
  .hero-in, .hero-body { min-height: 560px; }
  .hero-in > picture img { object-position: 50% 50%; }
  .hero-in::before { background: linear-gradient(180deg, rgba(10, 2, 6, .88) 0%, rgba(10, 2, 6, .55) 30%, rgba(10, 2, 6, .05) 52%, rgba(10, 2, 6, .1) 72%, rgba(10, 2, 6, .85) 100%); }
  .hero-slide { align-items: center; justify-content: flex-start; text-align: center; padding: 64px 18px 58px; }
  .hero-slide .btn { margin-top: auto; }
  .hero .lede { display: none; }
  .ribbon { margin-left: 0; font-size: 13px; padding: 4px 14px; max-width: 100%; }
  .hero-body { position: static; }
  .tabs { top: 12px; }
  .topbar { gap: 8px; }
  .logo img { height: 14px; }
  .auth a { font-size: 12px; padding: 0 4px; }
  .hero-arrow { display: none; }
  .tabs { top: 10px; }
  .btn { min-height: 52px; padding: 0 30px; font-size: 18px; }
  .tile { flex-basis: 44%; min-width: 0; }
  .rail.wide .tile { flex-basis: 78%; min-width: 0; }
  .grid-3, .grid-2, .split { grid-template-columns: 1fr; }
  .text h2 { font-size: 22px; }
  ol.steps > li { padding-left: 64px; }
  .cta-strip { padding: 22px; justify-content: center; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
