/* NestaSportsBetting — dark editorial theme (Inter, grain, glow, marquee) */

@font-face { font-family: 'InterVar'; src: local('Inter'), local('Inter var'); font-display: swap; }

:root {
  --ink: #05060a;
  --bg: #0a0c12;
  --bg-2: #10131c;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .075);
  --text: #eef1f7;
  --muted: #9aa3b6;
  --dim: #6e7689;
  --accent: #c9f24d;
  --accent-ink: #10160a;
  --violet: #7c5cff;
  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1180px;
  --hairline: rgba(255, 255, 255, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'InterVar', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient glows + grain, so the page never reads as flat white */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 620px at 12% -10%, rgba(124, 92, 255, .30), transparent 62%),
    radial-gradient(760px 560px at 92% 4%, rgba(201, 242, 77, .14), transparent 60%),
    radial-gradient(1100px 800px at 50% 108%, rgba(60, 120, 255, .16), transparent 65%),
    linear-gradient(180deg, #0a0c12 0%, #0b0e16 45%, #080a10 100%);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .40;
  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='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.section { padding: 92px 0; }
.section--tight { padding: 60px 0; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.06; letter-spacing: -.035em; font-weight: 800; }
h1 { font-size: clamp(2.9rem, 8.2vw, 6.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -.02em; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); background: rgba(201, 242, 77, .10);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 26px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: .95rem; letter-spacing: -.01em;
  padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #d8ff66; }
.btn--ghost { background: var(--surface-2); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, .13); }
.btn--sm { padding: 11px 20px; font-size: .87rem; }
.btn--block { width: 100%; }

/* ---------- Age badge ---------- */
.age {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: #d9364a; color: #fff; font-weight: 900; font-size: .74rem;
  letter-spacing: -.03em; flex: none;
}
.age--sm { width: 27px; height: 27px; font-size: .64rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(16px); background: rgba(8, 10, 16, .72);
}
.header__bar { display: flex; align-items: center; gap: 26px; height: 74px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.045em; font-size: 1.16rem; }
.logo__mark {
  width: 32px; height: 32px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--accent), #7ee08a 55%, var(--violet));
  display: grid; place-items: center; color: #0a0c12; font-weight: 900; font-size: .95rem;
}
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 9px 15px; border-radius: 999px; font-size: .92rem; font-weight: 600;
  color: var(--muted); transition: color .16s, background .16s;
}
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a.is-active { color: var(--text); background: var(--surface-2); }
.header__side { display: flex; align-items: center; gap: 12px; }
.langswitch {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  background: var(--surface); font-size: .82rem; font-weight: 700; color: var(--muted);
}
.langswitch:hover { color: var(--text); }
.langswitch b { color: var(--accent); }
.burger { display: none; background: var(--surface); border: 0; color: var(--text); border-radius: 12px; padding: 10px 13px; font-size: 1.05rem; cursor: pointer; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 15px 0; background: rgba(255, 255, 255, .035); }
.marquee__track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee span {
  font-size: .82rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dim); padding-right: 34px;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 70px; position: relative; }
.hero h1 span { display: block; }
.hero h1 .glow {
  background: linear-gradient(96deg, var(--accent) 0%, #9be6a2 42%, var(--violet) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__note { display: flex; align-items: center; gap: 12px; margin-top: 36px; color: var(--dim); font-size: .87rem; max-width: 54ch; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border-radius: var(--radius); padding: 30px;
  transition: transform .22s ease, background .22s ease;
}
.card--hover:hover { transform: translateY(-4px); background: var(--surface-2); }

/* Brand card */
.brand {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03));
  border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 20px;
}
.brand::after {
  content: ''; position: absolute; inset: -40% -40% auto auto; width: 320px; height: 320px;
  background: radial-gradient(circle, var(--brand-accent, var(--violet)), transparent 68%);
  opacity: .32; pointer-events: none;
}
.brand__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; }
.brand__logo {
  background: #fff; border-radius: var(--radius-sm); padding: 14px 18px;
  height: 74px; display: grid; place-items: center; min-width: 148px;
}
.brand__logo img { max-height: 46px; width: auto; object-fit: contain; }
.brand__score { text-align: right; }
.brand__score b { display: block; font-size: 2.15rem; font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.stars { color: var(--accent); font-size: .82rem; letter-spacing: .12em; }
.brand__tag { font-size: 1.02rem; color: var(--text); font-weight: 600; position: relative; }
.brand__meta { display: grid; gap: 8px; font-size: .87rem; color: var(--muted); position: relative; }
.brand__meta div { display: flex; gap: 8px; }
.brand__meta dt { color: var(--dim); min-width: 108px; flex: none; }
.brand__actions { display: flex; gap: 11px; margin-top: auto; position: relative; }
.brand__actions .btn { flex: 1; }

.licence-link { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.licence-link:hover { color: #dcff7a; }

/* Stats */
.stat b { display: block; font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 900; letter-spacing: -.06em; line-height: 1; margin-bottom: 12px;
  background: linear-gradient(120deg, var(--accent), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .93rem; }

/* Method steps */
.step__n { font-size: .78rem; font-weight: 800; letter-spacing: .2em; color: var(--accent); margin-bottom: 16px; }

/* Score bars */
.bars { display: grid; gap: 15px; }
.bar__row { display: grid; grid-template-columns: 118px 1fr 44px; align-items: center; gap: 14px; font-size: .88rem; }
.bar__track { height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.bar__fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), #8ee0a0); }

/* Pros / cons */
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .95rem; }
.list li::before { content: '+'; color: var(--accent); font-weight: 900; flex: none; line-height: 1.6; }
.list--cons li::before { content: '–'; color: #ff8b7a; }

/* Prose (legal + about) */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.25rem, 2.2vw, 1.62rem); margin-top: 2.1em; }
.prose h2:first-of-type { margin-top: 1em; }
.prose p { color: var(--muted); }

/* FAQ */
.faq__item { background: var(--surface); border-radius: var(--radius-sm); overflow: hidden; }
.faq__item + .faq__item { margin-top: 12px; }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 22px 26px; font-weight: 700; font-size: 1.02rem;
  display: flex; justify-content: space-between; gap: 18px; align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; color: var(--accent); font-size: 1.5rem; font-weight: 400; line-height: 1; flex: none; }
.faq__item[open] summary::after { content: '–'; }
.faq__item p { padding: 0 26px 24px; margin: 0; color: var(--muted); max-width: 80ch; }

/* Table */
.tablewrap { overflow-x: auto; border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 18px 22px; text-align: left; font-size: .93rem; }
th { color: var(--dim); font-weight: 700; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }
tbody tr + tr td { border-top: 1px solid var(--hairline); }

/* Form */
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: .84rem; font-weight: 700; color: var(--muted); }
.field input, .field textarea {
  background: rgba(255, 255, 255, .05); border: 0; border-radius: var(--radius-sm);
  padding: 15px 17px; color: var(--text); font: inherit; font-size: .96rem; outline: none;
}
.field input:focus, .field textarea:focus { background: rgba(255, 255, 255, .09); box-shadow: 0 0 0 2px var(--accent); }
.field textarea { min-height: 168px; resize: vertical; }
.checkline { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.checkline input { margin-top: 4px; accent-color: var(--accent); width: 17px; height: 17px; flex: none; }
.alert { border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 24px; font-size: .93rem; }
.alert--ok { background: rgba(201, 242, 77, .13); color: #dcff8a; }
.alert--err { background: rgba(255, 107, 91, .13); color: #ffb0a4; }

/* Responsible-betting panel */
.panel {
  background: linear-gradient(120deg, rgba(124, 92, 255, .20), rgba(201, 242, 77, .10));
  border-radius: 30px; padding: 52px;
}

/* Sticky CTA */
.sticky-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  box-shadow: 0 14px 42px rgba(0, 0, 0, .55);
  opacity: 0; transform: translateY(18px); pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}
.sticky-cta.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Footer ---------- */
.footer { margin-top: 40px; background: rgba(0, 0, 0, .38); padding: 68px 0 34px; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 42px; }
.footer h4 { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; font-weight: 800; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a { color: var(--muted); font-size: .92rem; }
.footer a:hover { color: var(--accent); }
.footer__about { color: var(--muted); font-size: .92rem; max-width: 42ch; }

.reglogos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 8px; }
.reglogos a, .reglogos span {
  background: rgba(255, 255, 255, .07); border-radius: 12px; padding: 10px 14px;
  display: grid; place-items: center; transition: background .18s;
}
.reglogos a:hover { background: rgba(255, 255, 255, .14); }
.reglogos img { height: 30px; width: auto; }

.footer__age {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(217, 54, 74, .12); border-radius: var(--radius-sm);
  padding: 20px 24px; margin: 42px 0 26px; color: #ffc9cf; font-size: .87rem; line-height: 1.6;
}
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between;
  color: var(--dim); font-size: .82rem; padding-top: 26px; border-top: 1px solid var(--hairline);
}

/* ---------- Cookie modal ---------- */
.cookie {
  position: fixed; left: 22px; bottom: 22px; z-index: 90; width: min(100% - 44px, 430px);
  background: #131722; border-radius: 22px; padding: 26px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .62);
  transform: translateY(24px); opacity: 0; visibility: hidden;
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.cookie.is-on { opacity: 1; transform: none; visibility: visible; }
.cookie h3 { font-size: 1.12rem; margin-bottom: 10px; }
.cookie p { color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.cookie__actions { display: flex; gap: 10px; }
.cookie__actions .btn { flex: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .panel { padding: 34px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 62px 0; }
  .hero { padding: 62px 0 46px; }
  .nav {
    position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 6px;
    background: #10131c; padding: 16px; display: none;
  }
  .nav.is-open { display: flex; }
  .burger { display: block; order: 3; }
  .header__side { margin-left: auto; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .brand__top { flex-direction: column; align-items: flex-start; }
  .brand__score { text-align: left; }
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .sticky-cta { right: 12px; bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  * { transition-duration: .01ms !important; }
}
