:root {
  --sm-bg: #14080E;
  --sm-panel: #2B1520;
  --sm-accent: #E63946;
  --sm-text: #FAFAFA;
  --sm-muted: rgba(250, 250, 250, 0.72);
  --sm-line: rgba(230, 57, 70, 0.28);
  --sm-radius: 0.75rem;
  --sm-max: 960px;
  --sm-header: 72px;
  --sm-serif: "Libre Baskerville", Georgia, serif;
  --sm-sans: "Nunito Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sm-sans);
  background: var(--sm-bg);
  color: var(--sm-text);
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sm-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  font-family: var(--sm-serif);
  line-height: 1.2;
  margin: 0 0 1rem;
}

p {
  margin: 0 0 1.25rem;
  color: var(--sm-muted);
}

.sm-wrap {
  width: min(100% - 2.5rem, var(--sm-max));
  margin-inline: auto;
}

.sm-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--sm-accent);
  color: var(--sm-bg);
  padding: 0.5rem 1rem;
  z-index: 300;
}

.sm-skip:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.sm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 8, 14, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sm-line);
  transition: box-shadow 0.25s ease;
}

.sm-header.is-scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.sm-header__inner {
  width: min(100% - 2.5rem, 1100px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  position: relative;
}

.sm-logo img {
  height: 40px;
  width: auto;
}

.sm-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
}

.sm-nav a {
  color: var(--sm-text);
  font-size: 0.9rem;
  opacity: 0.88;
}

.sm-nav a:hover {
  color: var(--sm-accent);
  text-decoration: none;
  opacity: 1;
}

.sm-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--sm-line);
  border-radius: var(--sm-radius);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}

.sm-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--sm-text);
  margin: 4px 0;
}

/* Hero */
.sm-hero {
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(230, 57, 70, 0.12), transparent 55%),
    var(--sm-bg);
}

.sm-hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  max-width: 22ch;
}

.sm-hero__lead {
  font-size: 1.1rem;
  max-width: 62ch;
  margin-bottom: 1.75rem;
}

.sm-btn {
  display: inline-block;
  background: var(--sm-accent);
  color: var(--sm-text);
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  border-radius: var(--sm-radius);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}

.sm-btn:hover {
  filter: brightness(1.08);
  text-decoration: none;
}

.sm-btn--ghost {
  background: transparent;
  border: 1px solid var(--sm-line);
  color: var(--sm-text);
}

/* Sections */
.sm-section {
  padding: 3.25rem 0;
  scroll-margin-top: var(--sm-header);
}

.sm-section--panel {
  background: var(--sm-panel);
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.sm-section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
}

.sm-section__subtitle {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  color: var(--sm-text);
}

.sm-kicker {
  display: inline-block;
  font-family: var(--sm-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sm-accent);
  margin-bottom: 0.5rem;
}

/* Sports grid accent */
.sm-sports-intro {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.sm-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.sm-chip {
  background: rgba(230, 57, 70, 0.12);
  border: 1px solid var(--sm-line);
  color: var(--sm-text);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
}

/* Table */
.sm-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.sm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.sm-table th,
.sm-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sm-table th {
  width: 38%;
  color: var(--sm-text);
  font-weight: 600;
  background: rgba(0, 0, 0, 0.2);
}

.sm-table td {
  color: var(--sm-muted);
}

/* Media */
.sm-figure {
  margin: 2rem 0;
}

.sm-figure img {
  border-radius: var(--sm-radius);
  border: 1px solid var(--sm-line);
}

.sm-figure figcaption {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  color: var(--sm-muted);
  font-style: italic;
}

/* Trust cards */
.sm-trust-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.sm-trust-card {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--sm-radius);
  padding: 1.25rem 1.35rem;
}

.sm-trust-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

/* FAQ */
.sm-faq {
  display: grid;
  gap: 0.65rem;
}

.sm-faq__item {
  background: var(--sm-panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--sm-radius);
  overflow: hidden;
}

.sm-faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: transparent;
  border: none;
  color: var(--sm-text);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.sm-faq__btn::after {
  content: "+";
  color: var(--sm-accent);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.sm-faq__item.is-open .sm-faq__btn::after {
  content: "−";
}

.sm-faq__panel {
  display: none;
  padding: 0 1.15rem 1.1rem;
}

.sm-faq__item.is-open .sm-faq__panel {
  display: block;
}

/* Footer */
.sm-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 0 3rem;
  font-size: 0.9rem;
}

.sm-footer__grid {
  display: grid;
  gap: 1.5rem;
}

.sm-footer h3 {
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}

.sm-footer a {
  display: block;
  color: var(--sm-muted);
  margin-bottom: 0.35rem;
}

.sm-legal {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  opacity: 0.7;
}

.sm-age {
  display: inline-block;
  border: 1px solid var(--sm-accent);
  color: var(--sm-accent);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
}

/* Cookie */
.sm-cookie {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 480px;
  background: var(--sm-panel);
  border: 1px solid var(--sm-line);
  border-radius: var(--sm-radius);
  padding: 1rem 1.15rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  z-index: 200;
}

.sm-cookie[hidden] {
  display: none;
}

.sm-cookie__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

/* Floating CTA */
.sm-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 150;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sm-float.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Tech pages */
.sm-tech {
  padding: 3rem 0 4rem;
}

.sm-tech article {
  background: var(--sm-panel);
  border-radius: var(--sm-radius);
  padding: 2rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sm-tech h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

.sm-tech h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 700px) {
  .sm-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .sm-trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .sm-burger {
    display: block;
  }

  .sm-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--sm-panel);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--sm-line);
  }

  .sm-nav.is-open {
    display: flex;
  }

  .sm-float {
    left: 1rem;
    right: 1rem;
  }

  .sm-float .sm-btn {
    width: 100%;
    text-align: center;
  }
}
