/* ============================================================
   PUND123.BET — Base: Reset + Typography + Global Elements
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--t-base);
  color: var(--c-text);
  background-color: var(--c-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* space for sticky header + sticky rg-bar */
  padding-top: var(--header-h);
  padding-bottom: var(--rg-bar-h);
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover { color: var(--c-gold); }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul, ol { list-style: none; }

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* --- Headings --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--c-text);
}

h1 { font-size: clamp(var(--t-5xl), 7vw, var(--t-7xl)); }
h2 { font-size: clamp(var(--t-3xl), 4vw, var(--t-5xl)); }
h3 { font-size: clamp(var(--t-2xl), 3vw, var(--t-4xl)); }
h4 { font-size: var(--t-2xl); }
h5 { font-size: var(--t-xl); }

p {
  color: var(--c-text-2);
  line-height: 1.7;
  max-width: 68ch;
}

strong { color: var(--c-text); font-weight: 600; }

/* --- Focus --- */
:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* --- Selection --- */
::selection {
  background: var(--c-gold-dim);
  color: var(--c-gold);
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-border-2); border-radius: var(--r-pill); }
::-webkit-scrollbar-thumb:hover { background: var(--c-muted); }

/* --- Material Symbols --- */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  font-size: 1.1em;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  user-select: none;
}
/* Weight variant for filled/bold look */
.ms-fill   { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.ms-bold   { font-variation-settings: 'FILL' 0, 'wght' 600, 'GRAD' 0, 'opsz' 24; }

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Utilities --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--sp-8); }
}

@media (min-width: 1200px) {
  .container { padding-inline: var(--sp-12); }
}

.text-gold   { color: var(--c-gold); }
.text-muted  { color: var(--c-muted); }
.text-live   { color: var(--c-live); }
.text-mono   { font-family: var(--font-mono); }
.text-upper  { text-transform: uppercase; letter-spacing: 0.08em; font-size: var(--t-xs); font-weight: 600; }

.section-gap { padding-block: clamp(var(--sp-16), 6vw, var(--sp-32)); }

.divider {
  border: none;
  border-top: 1px solid var(--c-border);
  margin-block: 0;
}

/* --- Reveal animation (JS adds .revealed) --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
