/* ==========================================================================
   20Bet CL — base: tokens, reset, typography, buttons, badges, animations
   ========================================================================== */

:root {
  /* dark chrome */
  --tb-chrome-900: #0c1425;
  --tb-chrome-850: #101c31;
  --tb-chrome-800: #16233a;
  --tb-chrome-700: #1c2b45;
  --tb-chrome-600: #243550;
  --tb-chrome-500: #2e4160;

  /* light canvas */
  --tb-canvas: #eef1f6;
  --tb-canvas-2: #e3e8ef;
  --tb-card: #ffffff;

  /* ink */
  --tb-ink: #16233a;
  --tb-ink-2: #3d4c63;
  --tb-ink-dim: #64748b;
  --tb-on-dark: #e9eff7;
  --tb-on-dark-2: #b3c1d3;
  --tb-on-dark-dim: #8595ab;

  /* accents */
  --tb-green: #4ca929;
  --tb-green-d: #3c871f;
  --tb-green-l: #62c437;
  --tb-green-bright: #82db3b;
  --tb-orange: #f2622a;
  --tb-orange-l: #ff8348;
  --tb-blue: #1c50b0;
  --tb-blue-l: #2a6ad8;
  --tb-gold: #f6b323;
  --tb-red: #e0392b;
  --tb-purple: #8b5cf6;

  /* lines & shadows */
  --tb-line-dark: rgba(255, 255, 255, .08);
  --tb-line-light: #dde3ec;
  --tb-sh-1: 0 1px 3px rgba(12, 20, 37, .08);
  --tb-sh-2: 0 4px 16px rgba(12, 20, 37, .10);
  --tb-sh-3: 0 12px 34px rgba(12, 20, 37, .18);
  --tb-sh-dark: 0 10px 30px rgba(0, 0, 0, .45);

  /* metrics */
  --tb-head-h: 68px;
  --tb-rail-l: 268px;
  --tb-rail-r: 340px;
  --tb-r-sm: 4px;
  --tb-r: 8px;
  --tb-r-lg: 14px;
  --tb-r-pill: 999px;

  /* type */
  --tb-font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --tb-font-cond: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;

  --tb-ease: cubic-bezier(.4, 0, .2, 1);
  --tb-ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--tb-head-h) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--tb-canvas);
  color: var(--tb-ink);
  font-family: var(--tb-font);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.tb-lock { overflow: hidden; }

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

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

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

input,
select { font: inherit; }

h1, h2, h3, h4, h5 {
  margin: 0;
  line-height: 1.2;
  font-weight: 800;
  color: var(--tb-ink);
}

p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

::selection {
  background: var(--tb-green);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--tb-green-l);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- scrollbars ---------- */

.tb-scroll { scrollbar-width: thin; scrollbar-color: var(--tb-green) rgba(255, 255, 255, .07); }
.tb-scroll::-webkit-scrollbar { width: 5px; height: 5px; }
.tb-scroll::-webkit-scrollbar-track { background: rgba(255, 255, 255, .06); border-radius: 4px; }
.tb-scroll::-webkit-scrollbar-thumb { background: var(--tb-green); border-radius: 4px; }
.tb-scroll::-webkit-scrollbar-thumb:hover { background: var(--tb-green-l); }

.tb-scroll-x {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--tb-green) var(--tb-canvas-2);
}
.tb-scroll-x::-webkit-scrollbar { height: 6px; }
.tb-scroll-x::-webkit-scrollbar-track { background: var(--tb-canvas-2); border-radius: 4px; }
.tb-scroll-x::-webkit-scrollbar-thumb { background: var(--tb-green); border-radius: 4px; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.tb-btn {
  --btn-bg: var(--tb-green);
  --btn-bg2: var(--tb-green-d);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  min-height: 40px;
  border-radius: var(--tb-r-sm);
  background: linear-gradient(180deg, var(--btn-bg), var(--btn-bg2));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  transition: transform .18s var(--tb-ease), box-shadow .22s var(--tb-ease), filter .18s var(--tb-ease);
}

.tb-btn::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}

.tb-btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.12) brightness(1.06);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--btn-bg) 42%, transparent);
}

.tb-btn:hover::after { animation: tb-sheen .7s var(--tb-ease); }
.tb-btn:active { transform: translateY(0); }

@keyframes tb-sheen {
  0% { left: -60%; opacity: 1; }
  100% { left: 130%; opacity: 0; }
}

.tb-btn--orange { --btn-bg: var(--tb-orange); --btn-bg2: #d94d18; }
.tb-btn--blue { --btn-bg: var(--tb-blue-l); --btn-bg2: var(--tb-blue); }
.tb-btn--gold { --btn-bg: var(--tb-gold); --btn-bg2: #d9930a; color: #2a1c00; }

.tb-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .28);
  color: var(--tb-on-dark);
}
.tb-btn--ghost:hover {
  border-color: var(--tb-green-l);
  background: rgba(76, 169, 41, .14);
  box-shadow: none;
}

.tb-btn--slate {
  --btn-bg: #8fa1b6;
  --btn-bg2: #7b8ea6;
}

.tb-btn--lg { min-height: 50px; padding: 0 32px; font-size: 15px; }

/* On narrow screens a nowrap label plus generous side padding overflows the
   button, and .tb-btn is overflow:hidden for the sheen sweep - so the text
   would be silently clipped. Let it wrap and pad vertically instead. */
@media (max-width: 560px) {
  .tb-btn {
    white-space: normal;
    line-height: 1.2;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .tb-btn--lg { padding-left: 16px; padding-right: 16px; }
}
.tb-btn--sm { min-height: 32px; padding: 0 14px; font-size: 11px; }
.tb-btn--wide { width: 100%; }

.tb-btn__ico { width: 16px; height: 16px; flex: none; }

/* pulsing primary CTA */
.tb-btn--pulse { animation: tb-pulse 2.6s var(--tb-ease) infinite; }
@keyframes tb-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 98, 42, .5); }
  50% { box-shadow: 0 0 0 12px rgba(242, 98, 42, 0); }
}

/* ==========================================================================
   Badges / chips / pills
   ========================================================================== */

.tb-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: var(--tb-r-sm);
  background: var(--tb-green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.7;
}

.tb-badge--orange { background: var(--tb-orange); }
.tb-badge--gold { background: var(--tb-gold); color: #2a1c00; }
.tb-badge--red { background: var(--tb-red); }
.tb-badge--purple { background: var(--tb-purple); }
.tb-badge--dim { background: rgba(255, 255, 255, .12); color: var(--tb-on-dark-2); }

.tb-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--tb-r-sm);
  background: var(--tb-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

/* ==========================================================================
   Section titles (light canvas)
   ========================================================================== */

.tb-sec { margin: 0 0 18px; }

.tb-sec__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.tb-sec__title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.tb-sec__title::before {
  content: "";
  width: 4px;
  height: 22px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--tb-green-l), var(--tb-green-d));
  flex: none;
}

.tb-sec__more {
  color: var(--tb-orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: gap .2s var(--tb-ease), color .2s var(--tb-ease);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.tb-sec__more:hover { color: #d94d18; gap: 9px; }

@media (max-width: 620px) {
  .tb-sec__head { flex-wrap: wrap; gap: 10px; }
  .tb-sec__title { font-size: 18px; }
  .tb-sec__title::before { height: 19px; }
}

/* ==========================================================================
   Reveal-on-scroll animations
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--tb-ease-out), transform .7s var(--tb-ease-out);
  will-change: opacity, transform;
}

[data-reveal].tb-in {
  opacity: 1;
  transform: none;
}

[data-reveal="left"] { transform: translateX(-26px); }
[data-reveal="right"] { transform: translateX(26px); }
[data-reveal="zoom"] { transform: scale(.94); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.tb-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tb-hide-desk { display: none; }
.tb-nowrap { white-space: nowrap; }
.tb-green { color: var(--tb-green); }
.tb-orange { color: var(--tb-orange); }
.tb-up { text-transform: uppercase; }

@keyframes tb-spin { to { transform: rotate(360deg); } }
@keyframes tb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes tb-glow {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}
@keyframes tb-shimmer {
  0% { background-position: -180% 0; }
  100% { background-position: 180% 0; }
}
@keyframes tb-slide-up-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
