/* Kegnagames landing page. Brand values from the "Kegnagames logo" canvas (Themes board). */

@font-face { font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --deep: #0f2a1d;
  --deep-2: #17382a;
  --deep-line: #2b5240;
  --green: #0b7a47;
  --gold: #ffc23d;
  --on-gold: #0f2a1d;
  --bg: #f2f2f0;
  --card: #ffffff;
  --text: #151714;
  --muted: #5b625c;
  --line: #dadfd8;
  --on-deep: #ffffff;
  --on-deep-muted: #a9c2b4;
  --radius: 16px;
  --font-display: "Archivo", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font-body); }
img, svg { display: block; }
a { color: var(--green); }
h1, h2, h3 { margin: 0; line-height: 1.12; }
h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
.wrap--narrow { max-width: 820px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--gold); color: var(--on-gold); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* Logo */
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.mark { width: 38px; height: 36px; flex: none; color: currentColor; }
.mark--sm { width: 26px; height: 25px; }
.mark__accent { fill: var(--gold); }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 1; letter-spacing: 0.05em; text-transform: uppercase; }
.wordmark--stacked { display: flex; flex-direction: column; gap: 2px; font-size: 14px; letter-spacing: 0.08em; }
.accent { color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1.5px solid transparent; font: 700 15px/1 var(--font-body); text-decoration: none; white-space: nowrap; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn--lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn--gold { background: var(--gold); color: var(--on-gold); box-shadow: 0 2px 0 #c8901a; }
.btn--gold:hover { background: #ffcf63; }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 2px 0 #075431; }
.btn--green:hover { background: #0d8a51; }
.btn--ghost { color: var(--on-deep); border-color: rgb(255 255 255 / 28%); }
.btn--ghost:hover { border-color: rgb(255 255 255 / 60%); }
.btn--outline-light { color: var(--on-deep); border-color: rgb(255 255 255 / 45%); }
.btn--outline-light:hover { border-color: #fff; background: rgb(255 255 255 / 8%); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row--center { justify-content: center; }

/* Top bar */
.bar { position: sticky; top: 0; z-index: 30; background: var(--deep); color: var(--on-deep); border-bottom: 1px solid #1d4030; }
.bar__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.nav { flex: 1; }
.nav__list { display: flex; justify-content: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav__list a { color: var(--on-deep-muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav__list a:hover { color: #fff; }
.bar__actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1.5px solid rgb(255 255 255 / 28%); border-radius: 10px; background: transparent; color: #fff; cursor: pointer; }

/* Hero */
.hero { background: var(--deep); color: var(--on-deep); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.eyebrow { margin-bottom: 16px; color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; }
.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); letter-spacing: -0.015em; line-height: 1.04; }
.lead { margin: 20px 0 32px; max-width: 34rem; color: var(--on-deep-muted); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); }
.hero__points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--on-deep-muted); font-size: 14px; font-weight: 600; }
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points li::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: var(--gold); }

/* Hero phone (decorative) */
.hero__visual { display: flex; justify-content: center; }
.phone { width: min(340px, 100%); border-radius: 32px; padding: 10px; background: #0a1a12; border: 1px solid var(--deep-line); box-shadow: 0 30px 60px rgb(0 0 0 / 45%); transform: rotate(2.5deg); }
.phone__bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 22px 22px 0 0; background: var(--deep); color: #fff; }
.phone__pill { padding: 6px 12px; border-radius: 99px; background: var(--gold); color: var(--on-gold); font-size: 12px; font-weight: 800; }
.phone__body { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 0 0 22px 22px; background: var(--bg); color: var(--text); }
.phone__label { color: var(--muted); font-size: 12px; font-weight: 600; }
.match { padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.match__teams { margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.match__teams span { color: var(--muted); font-weight: 400; }
.odds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.odd { display: flex; align-items: center; justify-content: space-between; padding: 9px 10px; border-radius: 9px; background: #eceeeb; font-size: 15px; font-weight: 800; }
.odd small { color: var(--muted); font-size: 12px; font-weight: 600; }
.odd--on { background: var(--gold); color: var(--on-gold); }
.odd--on small { color: var(--on-gold); }
.slip { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: var(--deep); color: #fff; font-size: 13px; }
.slip strong { color: var(--gold); }

/* Sections */
.section { padding: 88px 0; }
.section--tint { background: #e8ebe6; }
.section h2 { margin-bottom: 36px; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 12px; background: rgb(11 122 71 / 11%); color: var(--green); }
.card__icon svg { width: 22px; height: 22px; }
.link { align-self: flex-start; margin-top: 4px; font-weight: 700; font-size: 15px; text-underline-offset: 3px; }
.link::after { content: " →"; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 0 40px; padding: 0; list-style: none; counter-reset: none; }
.step { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step p { color: var(--muted); font-size: 15px; }
.step__num { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 4px; border-radius: 99px; background: var(--deep); color: var(--gold); font-family: var(--font-display); font-weight: 800; font-size: 18px; }

.payments { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.payments h2 { margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 10px 16px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font-size: 15px; font-weight: 600; }

.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 20px; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

.final { background: var(--deep); color: var(--on-deep); }
.final__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; padding-top: 80px; padding-bottom: 80px; text-align: center; }

.final--page { min-height: 100vh; display: flex; align-items: center; }
.final__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }

/* Footer */
.footer { background: #0a1a12; color: var(--on-deep-muted); font-size: 14px; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.footer .brand { color: #fff; }
.footer__note { margin-top: 12px; }
.footer__links h2 { margin-bottom: 12px; color: #fff; font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: 0; }
.footer__links ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer a:not(.brand) { color: var(--on-deep-muted); text-decoration: none; }
.footer a:not(.brand):hover { color: #fff; text-decoration: underline; }
.footer__legal { display: flex; flex-direction: column; gap: 12px; }
.badge18 { display: flex; align-items: center; gap: 10px; }
.badge18 span { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border: 2px solid var(--gold); border-radius: 99px; color: var(--gold); font-weight: 800; font-size: 12px; }

/* Responsive */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 64px; gap: 40px; }
  .phone { transform: none; }
  .payments { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .nav { position: absolute; inset: 68px 0 auto 0; flex: none; }
  .nav__list { display: none; flex-direction: column; gap: 0; padding: 8px 20px 16px; background: var(--deep); border-bottom: 1px solid var(--deep-line); }
  .nav__list.is-open { display: flex; }
  .nav__list a { display: block; padding: 12px 0; font-size: 16px; }
  .menu-btn { display: inline-flex; }
  .bar__actions { margin-left: auto; }
}
@media (max-width: 560px) {
  /* Side gutter only: sections set their own top and bottom padding. */
  .wrap { padding-inline: 16px; }
  .nav__list { padding-inline: 16px; }
  .cards { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .section { padding: 64px 0; }
  .final__inner { padding-top: 64px; padding-bottom: 64px; }
  .cta-row .btn--lg { flex: 1 1 100%; }
  .final .cta-row { align-self: stretch; }
}
/* Without JavaScript the menu links stay visible on small screens, under the bar. */
@media (max-width: 860px) {
  .no-js .menu-btn { display: none; }
  .no-js .nav__list { display: flex; }
}
