/* basicbet.com, round 1 redesign (2026-10-21). Font: Archivo variable (weight + width), SIL OFL (fonts/OFL.txt). */
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-variable.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --night: #0a0e18;
  --night-2: #111829;
  --night-3: #18223a;
  --line-dark: #27324d;
  --paper: #f3f4f7;
  --surface: #ffffff;
  --text: #111827;
  --muted: #4a5568;
  --line: #e2e5eb;
  --on-dark: #ffffff;
  --on-dark-muted: #b8c0d0;
  --red: #e1262d;
  --red-hover: #c51d24;
  --amber: #ffb020;
  --star-off: #cfd4dd;
  --focus-light: #c51d24;
  --focus-dark: #ffb020;
  --radius: 18px;
  --wrap: 1180px;
  --gutter: max(20px, env(safe-area-inset-left));
  --font: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.08; text-wrap: balance; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus-light); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--focus-dark); }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: 12px; top: -100px; z-index: 10; padding: 10px 16px; border-radius: 8px; background: var(--amber); color: var(--night); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* Logo: three stars and the BasicBet wordmark */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-dark); }
.logo svg { width: 46px; height: 34px; flex: none; }
.logo span { font-weight: 850; font-stretch: 112%; font-size: 1.55rem; letter-spacing: -0.01em; line-height: 1; }
.logo b { color: var(--red); font-weight: inherit; }

/* Header */
.site-header { background: var(--night); color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 14px; }
.nav ul { display: flex; flex-wrap: wrap; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--on-dark-muted); }
.nav a:hover { color: var(--on-dark); background: var(--night-3); }
.nav a[aria-current="page"] { color: var(--night); background: var(--amber); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background-color: var(--night);
  background-image:
    radial-gradient(42rem 26rem at 12% 0%, rgb(225 38 45 / 0.28), transparent 60%),
    radial-gradient(36rem 24rem at 95% 30%, rgb(255 176 32 / 0.16), transparent 60%),
    linear-gradient(180deg, var(--night), var(--night-2));
}
.hero-stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: 40px; align-items: center; padding-block: clamp(48px, 8vw, 104px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.eyebrow svg { width: 16px; height: 16px; }
.hero h1 { margin-top: 18px; font-size: clamp(2.6rem, 1.4rem + 5.4vw, 5.2rem); font-weight: 900; font-stretch: 115%; letter-spacing: -0.02em; max-width: 12ch; }
.hero .lead { margin-top: 22px; max-width: 34rem; color: var(--on-dark-muted); font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: 1.2fr 0.8fr; gap: 56px; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; text-align: center; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-ghost { border: 1.5px solid rgb(255 255 255 / 0.35); color: var(--on-dark); }
.btn-ghost:hover { border-color: #fff; }

/* Top pick card in the hero */
.pick { position: relative; padding: 28px; border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--line-dark); box-shadow: 0 24px 60px rgb(0 0 0 / 0.35); }
.pick-label { position: absolute; top: -14px; left: 28px; padding: 4px 12px; border-radius: 999px; background: var(--amber); color: var(--night); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.04em; }
.pick-head { display: flex; align-items: center; gap: 16px; }
.pick-head img { border-radius: 8px; }
.pick-head h2 { font-size: 1.75rem; font-weight: 850; font-stretch: 110%; }
.pick .facts { margin-top: 6px; color: var(--on-dark-muted); font-size: 0.9375rem; }
.pick ul.points { margin-top: 20px; display: grid; gap: 8px; }
.pick .stars { margin-top: 20px; }
.pick .btn { width: 100%; margin-top: 22px; }
.pick .legal { margin-top: 14px; font-size: 0.8125rem; color: var(--on-dark-muted); text-align: center; }

/* Check-mark list */
.points li { position: relative; padding-left: 26px; }
.points li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 16px; height: 16px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* Stars */
.stars { display: flex; align-items: center; gap: 10px; }
.stars svg { width: 104px; height: 20px; }
.stars .on { fill: var(--red); }
.stars .off { fill: var(--star-off); }
.dark .stars .off { fill: #3a4663; }
.stars span { font-size: 0.875rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.rank .btn { font-size: 0.9375rem; padding-inline: 20px; }
.dark .stars span { color: var(--on-dark-muted); }

/* Rankings */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { max-width: 46rem; }
.section h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.1rem); font-weight: 900; font-stretch: 112%; letter-spacing: -0.015em; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.125rem; }
.ranks { display: grid; gap: 16px; margin-top: 40px; }
.rank {
  display: grid; gap: 18px 24px; align-items: center;
  grid-template-columns: auto 1fr;
  grid-template-areas: "num book" "points points" "rating rating" "visit visit";
  padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.rank:first-child { border: 2px solid var(--red); box-shadow: 0 14px 40px rgb(225 38 45 / 0.12); }
.rank .num { grid-area: num; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--night); color: #fff; font-weight: 900; font-size: 1.375rem; font-stretch: 110%; }
.rank:first-child .num { background: var(--red); }
.rank .book { grid-area: book; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.rank .book img { border-radius: 8px; flex: none; }
.rank h3 { font-size: 1.375rem; font-weight: 850; font-stretch: 108%; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chips li { padding: 2px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.rank .points { grid-area: points; display: grid; gap: 6px; font-size: 1rem; }
.rank .rating { grid-area: rating; }
.rank .visit { grid-area: visit; display: grid; gap: 10px; justify-items: stretch; text-align: center; }
.rank .legal { font-size: 0.8125rem; color: var(--muted); }
.legal a { font-weight: 700; }
@media (min-width: 700px) {
  .rank { grid-template-columns: 52px 1fr 280px; grid-template-areas: "num book rating" "num points visit"; align-items: start; }
  .rank .rating { align-self: center; }
}
@media (min-width: 1180px) {
  .rank {
    grid-template-columns: 52px minmax(240px, 1.2fr) minmax(210px, 1fr) 150px 290px;
    grid-template-areas: "num book points rating visit";
    align-items: center;
    padding: 24px 28px;
  }
}

/* Responsible gambling */
.safe { background: var(--surface); border-top: 1px solid var(--line); }
.safe .wrap { display: grid; gap: 32px; }
.safe .copy p { margin-top: 14px; color: var(--muted); font-size: 1.0625rem; max-width: 40rem; }
.age { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--red); color: var(--red); font-weight: 900; font-size: 1.5rem; font-stretch: 110%; margin-bottom: 20px; }
.help { display: grid; gap: 12px; align-content: start; }
.help a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; font-weight: 800; font-size: 1.125rem; }
.help a:hover { border-color: var(--red); }
.help small { font-weight: 600; font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.08em; }
@media (min-width: 900px) { .safe .wrap { grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; } }

/* Footer */
.site-footer { background: var(--night); color: var(--on-dark-muted); font-size: 0.9375rem; }
.site-footer .wrap { display: grid; gap: 24px; padding-block: 48px 36px; }
.site-footer .top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer .nav a { color: var(--on-dark-muted); }
.site-footer .disclosure { max-width: 60rem; }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 0.875rem; }
.site-footer .bottom a { color: var(--on-dark); }

/* Redirect pages (bovada.html, bodog.html ...) */
.go { flex: 1 0 auto; display: grid; place-items: center; padding: clamp(32px, 6vw, 72px) var(--gutter); color: var(--on-dark);
  background: radial-gradient(40rem 24rem at 50% 0%, rgb(225 38 45 / 0.22), transparent 60%), var(--night); }
.go-card { width: 100%; max-width: 760px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--line-dark); text-align: center; }
.go-card h1 { font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2rem); font-weight: 850; font-stretch: 108%; }
.go-card h1 a { text-decoration: none; }
.go-card h1 a:hover { color: var(--amber); }
.go-banner { display: block; width: fit-content; max-width: 100%; margin: 28px auto 0; border-radius: 12px; overflow: hidden; }
.go-banner img { height: auto; }
.go-status { margin-top: 24px; font-size: 1rem; }
.go-status a { color: var(--amber); font-weight: 700; }
.go-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.go-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-dark); text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.go-nav a:hover { border-color: var(--amber); }
.go-nav li.selected a { background: var(--amber); border-color: var(--amber); color: var(--night); }
.go-legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 0.8125rem; color: var(--on-dark-muted); }
.go-legal a { color: var(--on-dark); }
body.redirect { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--night); }

@media (max-width: 380px) {
  :root { --gutter: max(16px, env(safe-area-inset-left)); }
  .nav a { padding-inline: 10px; font-size: 0.875rem; }
  .pick { padding: 22px; }
  .rank { padding: 20px; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
