/* WattleWager – main stylesheet */
@import url("https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --bg: #071815;
  --bg-alt: #0c221e;
  --surface: #102b26;
  --surface-2: #143430;
  --line: rgba(246, 195, 67, 0.28);
  --line-soft: rgba(255, 255, 255, 0.09);
  --gold: #f6c343;
  --gold-deep: #e0a21a;
  --teal: #3fd8b4;
  --text: #eef5f1;
  --muted: #a9c0b8;
  --danger: #ff6b5a;
  --radius: 16px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; color: #fff; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 10px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 24, 21, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand-mark { display: flex; align-items: center; gap: 12px; color: var(--gold); font-family: var(--font-head); font-weight: 700; font-size: 22px; }
.brand-mark img { width: 44px; height: 44px; }
.brand-mark:hover { color: var(--gold); }
.nav-toggle { display: none; }
.nav-burger { display: none; cursor: pointer; width: 42px; height: 42px; border-radius: 10px; background: var(--gold); align-items: center; justify-content: center; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after { display: block; width: 20px; height: 2px; background: #0b1d1a; position: relative; transition: .2s; }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; }
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.main-nav ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 16px; border: 1px solid transparent; border-radius: 8px; color: #fff; font-weight: 600; font-size: 15px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { border-color: var(--gold); color: var(--gold); }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 30px 0 34px; background: var(--bg); }
.eyebrow { font-family: var(--font-head); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-bottom: 14px; }
.hero h1 { font-size: clamp(32px, 5.2vw, 62px); color: var(--gold); font-weight: 800; max-width: 1000px; margin: 0 auto 18px; }
.hero .lead { max-width: 960px; margin: 0 auto 18px; font-size: 17px; color: var(--text); }
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; font-size: 14px; }
.badges li { display: flex; align-items: center; gap: 8px; }
.badges svg { width: 14px; height: 14px; fill: var(--teal); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { text-align: center; font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; }
.section-sub { text-align: center; max-width: 900px; margin: 0 auto 10px; color: var(--text); }
.sponsored-note { text-align: right; font-size: 12px; color: var(--muted); margin: 0 0 10px; }

/* ---------- Brand card ---------- */
.brand-list { display: grid; gap: 18px; }
.brand-card {
  display: grid;
  grid-template-columns: 220px 1fr 180px 220px;
  align-items: center; gap: 20px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(20, 52, 48, .9), rgba(12, 34, 30, .9));
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}
.brand-logo { display: flex; justify-content: center; }
.brand-logo img { width: 170px; height: auto; }
.brand-name { margin: 0; font-weight: 700; font-size: 14px; }
.brand-headline { display: inline-block; font-family: var(--font-head); font-size: 22px; font-weight: 600; color: var(--gold); margin: 2px 0 8px; }
.brand-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }
.brand-feats li { display: flex; align-items: center; gap: 6px; }
.brand-feats svg { width: 11px; height: 11px; fill: var(--teal); }
.brand-score { display: flex; align-items: center; justify-content: center; gap: 6px; }
.score { font-family: var(--font-head); font-size: 44px; font-weight: 800; color: var(--gold); line-height: 1; }
.stars { display: flex; gap: 1px; font-size: 16px; }
.star { color: rgba(255, 255, 255, .2); }
.star.on { color: var(--gold); }
.brand-cta { text-align: center; }
.brand-terms { font-size: 11px; color: var(--muted); margin: 8px 0 0; }
.brand-disclaimer { grid-column: 1 / -1; text-align: center; font-size: 12px; color: var(--muted); margin: 4px 0 0; }

.btn { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 15px; padding: 12px 30px; border-radius: 999px; transition: transform .15s, box-shadow .15s; }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #10201c; box-shadow: 0 8px 26px rgba(246, 195, 67, .35); }
.btn-primary:hover { color: #10201c; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(246, 195, 67, .5); }

/* ---------- Assessment grid ---------- */
.assess { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.assess-intro { grid-column: span 2; align-self: center; padding-right: 20px; }
.assess-intro h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; }
.assess-intro p { font-size: 18px; }
.tile { background: var(--surface); border: 1px solid rgba(63, 216, 180, .45); border-radius: 12px; padding: 22px; }
.tile .ico { width: 42px; height: 42px; background: var(--teal); border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.tile .ico svg { width: 20px; height: 20px; fill: #0b1d1a; }
.tile h4 { font-family: var(--font-body); font-weight: 600; font-size: 18px; }
.tile p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Payments ---------- */
.payments { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.payments-img { border-radius: 6px; overflow: hidden; min-height: 320px; background: url("../img/payments-scene.svg") center/cover no-repeat; }
.payments h3 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; }
.methods { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.methods li { border: 1px solid var(--line-soft); padding: 13px 8px; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; background: rgba(255, 255, 255, .02); }

/* ---------- Responsible block ---------- */
.rg-block { text-align: center; }
.rg-block .warn { width: 58px; height: 58px; margin: 0 auto 16px; fill: var(--teal); }
.rg-block h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; }

/* ---------- FAQ ---------- */
.faq-head { text-align: center; margin-bottom: 30px; }
.faq-head h3 { font-size: clamp(26px, 2.8vw, 34px); }
.faq details { border: 1px solid var(--line-soft); border-radius: 10px; background: var(--surface); margin-bottom: 14px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "▸"; color: var(--gold); font-size: 14px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-90deg); }
.faq details[open] { background: transparent; border-color: var(--line); }
.faq .answer { padding: 0 20px 18px; }
.faq .answer ul { margin: 0 0 10px; padding-left: 20px; }

/* ---------- Inner pages ---------- */
.page-hero { text-align: center; padding: 50px 0 30px; }
.page-hero h1 { color: var(--gold); font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; }
.page-hero p { max-width: 820px; margin: 0 auto; }
.content { max-width: 900px; margin: 0 auto; }
.content-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 36px; }
.content h2 { font-size: 26px; margin-top: 1.6em; color: var(--gold); }
.content h2:first-child { margin-top: 0; }
.content h3 { font-size: 19px; margin-top: 1.4em; }
.content ul, .content ol { padding-left: 22px; margin: 0 0 1em; }
.content li { margin-bottom: 6px; }
.content table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15px; }
.content th, .content td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.content th { color: var(--gold); font-family: var(--font-head); font-weight: 600; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 1.2em; }
.pros, .cons { background: var(--surface-2); border-radius: 12px; padding: 22px; }
.pros h3 { color: var(--teal); margin-top: 0; }
.cons h3 { color: var(--danger); margin-top: 0; }
.callout { border-left: 4px solid var(--teal); background: var(--surface-2); padding: 18px 22px; border-radius: 0 10px 10px 0; margin: 0 0 1.2em; }
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 1.2em; }
.help-item { background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 12px; padding: 20px; }
.help-item h3 { margin-top: 0; }
.center { text-align: center; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-soft);
  background: var(--bg); color: var(--text); font: inherit;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: 2px solid var(--gold); border-color: transparent; }
.contact-form button { border: 0; cursor: pointer; justify-self: start; }

/* ---------- Footer ---------- */
.site-footer { padding: 30px 0 10px; background: var(--bg); }
.footer-box { border: 1px solid var(--line); border-bottom: 0; border-radius: 22px 22px 0 0; padding: 40px 30px 20px; background: linear-gradient(180deg, rgba(16, 43, 38, .7), rgba(7, 24, 21, .9)); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--line-soft); }
.footer-brand { display: flex; align-items: center; gap: 12px; max-width: 360px; }
.footer-brand img { width: 50px; height: 50px; }
.footer-brand .name { font-family: var(--font-head); font-size: 24px; color: var(--gold); font-weight: 700; margin: 0; }
.footer-brand .tag { font-size: 12px; color: var(--muted); margin: 0; }
.footer-help { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.age-badge { border: 1px solid var(--danger); color: var(--danger); border-radius: 999px; padding: 2px 12px; font-weight: 700; font-size: 13px; }
.inline-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; }
.inline-links a, .footer-col a { color: var(--muted); }
.inline-links a:hover, .footer-col a:hover { color: var(--gold); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 26px 0; }
.footer-col:nth-child(2) { justify-self: center; }
.footer-col:nth-child(3) { justify-self: end; }
.footer-col p { font-family: var(--font-head); font-weight: 700; margin: 0 0 8px; color: #fff; }
.footer-col ul { list-style: none; padding: 0; margin: 0; font-size: 14px; display: grid; gap: 4px; }
.footer-disclaimer { font-size: 12px; color: var(--muted); text-align: center; padding: 18px 0; margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); padding-top: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-burger { display: flex; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-alt); border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .3s; }
  .main-nav ul { flex-direction: column; padding: 10px 20px; gap: 0; }
  .main-nav a { padding: 14px 6px; border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav-toggle:checked ~ .main-nav { max-height: 400px; }
  .nav-toggle:checked + .nav-burger span { background: transparent; }
  .nav-toggle:checked + .nav-burger span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle:checked + .nav-burger span::after { top: 0; transform: rotate(-45deg); }
  .brand-card { grid-template-columns: 1fr 1fr; }
  .assess { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .section { padding: 48px 0; }
  .brand-card { grid-template-columns: 1fr; text-align: left; padding: 22px; }
  .brand-logo { justify-content: flex-start; }
  .assess, .payments, .grid-2, .help-grid { grid-template-columns: 1fr; }
  .assess-intro { grid-column: auto; padding: 0; }
  .methods { grid-template-columns: 1fr; }
  .payments-img { min-height: 220px; }
  .badges { flex-direction: column; align-items: center; gap: 4px; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-col:nth-child(2), .footer-col:nth-child(3) { justify-self: start; }
  .content-card { padding: 22px; }
  .sponsored-note { text-align: center; }
}
