/* ==========================================================================
   DC Bet — Onyx & Gold design system
   ========================================================================== */

@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0a0c;
  --bg-deep: #050506;
  --surface: #15161b;
  --surface-2: #1d1f26;
  --surface-3: #24262f;
  --line: #2a2d36;
  --line-soft: #1f2128;

  --gold: #e8b84b;
  --gold-2: #f7d67e;
  --gold-deep: #a97a1c;
  --gold-glow: rgba(232, 184, 75, .38);

  --text: #f5f3ee;
  --muted: #9a9aa5;
  --muted-2: #6f707b;

  --win: #3fd37a;
  --live: #ff4d4d;
  --info: #4aa8ff;
  --warn: #ffb020;

  --grad-gold: linear-gradient(135deg, #f7d67e 0%, #e8b84b 45%, #c9932c 100%);
  --grad-surface: linear-gradient(160deg, #1c1e25 0%, #131419 100%);
  --grad-fade: linear-gradient(180deg, rgba(10, 10, 12, 0) 0%, rgba(10, 10, 12, .92) 100%);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  --shadow-1: 0 2px 10px rgba(0, 0, 0, .45);
  --shadow-2: 0 12px 34px rgba(0, 0, 0, .55);
  --shadow-gold: 0 0 0 1px rgba(232, 184, 75, .35), 0 0 26px rgba(232, 184, 75, .28);

  --sidebar-w: 236px;
  --sidebar-w-min: 68px;
  --header-h: 66px;
  --gutter: clamp(14px, 2.2vw, 30px);

  --ease: cubic-bezier(.22, .68, .3, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.6 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  letter-spacing: .01em;
  overflow-x: hidden;
  min-height: 100vh;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
  color: #fff;
}

h1 {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 800;
}

h2 {
  font-size: clamp(21px, 2.4vw, 30px);
}

h3 {
  font-size: clamp(18px, 1.7vw, 22px);
}

h4 {
  font-size: 17px;
}

p {
  margin: 0 0 1.05em;
  color: #ddd9d1;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color .18s var(--ease);
}

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

img,
svg,
iframe {
  max-width: 100%;
  display: block;
}

img {
  height: auto;
}

ul,
ol {
  padding-left: 1.15em;
}

li {
  margin-bottom: .45em;
  color: #ddd9d1;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 34px 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

::selection {
  background: var(--gold);
  color: #0a0a0c;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--gold);
  color: #0a0a0c;
  padding: 10px 18px;
  font-weight: 700;
  border-radius: 0 0 var(--r-sm) 0;
}

.skip-link:focus {
  left: 0;
}

.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;
}

/* Scrollbars */
* {
  scrollbar-width: thin;
  scrollbar-color: #33353f transparent;
}

*::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: #33353f;
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
  background: #454854;
}

/* Utilities */
.u-gold {
  color: var(--gold);
}

.u-muted {
  color: var(--muted);
}

.u-center {
  text-align: center;
}

.u-nowrap {
  white-space: nowrap;
}

.u-hide {
  display: none !important;
}

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