/* ============================================
   chile1x-bet.com — Global styles
   Palette: midnight navy + fire amber (main) + ice blue (secondary)
   Font: Geist (Google Fonts)
   ============================================ */

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

html {
  font-size: calc(0.433vw + 0.433vh + 0.3175vmin);
  scroll-behavior: smooth;
}

:root {
  /* ===== Background layers — midnight navy ===== */
  --bg-dark: #080d1a;
  --bg-surface: #0f1828;
  --bg-elevated: #162538;
  --bg-line: #1e3050;

  /* ===== Surface alphas (header / mobile menu / footer accents) ===== */
  --surface-bg: rgba(8, 13, 26, 0.72);
  --surface-bg-strong: rgba(8, 13, 26, 0.96);
  --surface-bg-deep: #050912;

  /* ===== Accent — primary (fire amber) ===== */
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-bright: #fbbf24;
  --accent-soft: rgba(245, 158, 11, 0.12);
  --accent-glow: rgba(245, 158, 11, 0.35);
  --accent-glow-strong: rgba(245, 158, 11, 0.45);
  --accent-glow-bright: rgba(251, 191, 36, 0.55);
  --accent-line: rgba(245, 158, 11, 0.08);
  --accent-line-soft: rgba(245, 158, 11, 0.15);
  --accent-line-mid: rgba(245, 158, 11, 0.18);
  --accent-border: rgba(245, 158, 11, 0.3);

  /* ===== Accent 2 — secondary (ice blue) ===== */
  --accent-2: #38bdf8;
  --accent-2-dark: #0284c7;
  --accent-2-soft: rgba(56, 189, 248, 0.12);

  /* ===== Text ===== */
  --text: #e6f1ff;
  --text-muted: #93a3bf;
  --text-dim: #5a6e8a;

  /* ===== Radius ===== */
  --radius-sm: 0.8rem;
  --radius: 1.4rem;
  --radius-lg: 2.4rem;
  --radius-full: 999px;

  /* ===== Shadows ===== */
  --shadow-accent: 0 0 40px var(--accent-glow);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.55);
  --shadow-glow-soft: 0 0 24px rgba(245, 158, 11, 0.18);

  /* ===== Gradients ===== */
  --gradient-hero:
    radial-gradient(ellipse at 75% 25%, rgba(245, 158, 11, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
    linear-gradient(160deg, #080d1a 0%, #0f1828 55%, #080d1a 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-footer: linear-gradient(180deg, var(--bg-dark) 0%, var(--surface-bg-deep) 100%);

  /* ===== Spacing ===== */
  --main-padding: 50px;
}

body {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  display: flex;
  flex-direction: column;
  gap: 0;
}

section {
  padding: 8rem var(--main-padding);
  position: relative;
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--accent);
}

ul,
ol {
  list-style: none;
}

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

/* ============================================
   Text scale
   ============================================ */
.text-xxl {
  font-size: 4.7rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.text-xl {
  font-size: 3.36rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.text-l {
  font-size: 2.44rem;
  font-weight: 700;
  line-height: 1.18;
}
.text-ml {
  font-size: 1.95rem;
  font-weight: 600;
  line-height: 1.25;
}
.text-m {
  font-size: 1.52rem;
  font-weight: 500;
  line-height: 1.5;
}
.text-ms {
  font-size: 1.46rem;
  font-weight: 400;
  line-height: 1.55;
}
.text-s {
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.6;
}
.text-xs {
  font-size: 1.07rem;
  font-weight: 400;
  line-height: 1.55;
}
.text-xxs {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-accent {
  color: var(--accent);
}
.text-gold {
  color: var(--accent-2);
}
.text-muted {
  color: var(--text-muted);
}
.text-dim {
  color: var(--text-dim);
}

/* ============================================
   Buttons
   ============================================ */
.primary_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.2rem 2.3rem;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--bg-dark);
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
}

.primary_button:hover {
  background: var(--accent-bright);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.outline_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.2rem 2.3rem;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--accent);
  background: transparent;
  border: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.outline_button:hover {
  background: var(--accent-soft);
  color: var(--accent-bright);
  transform: translateY(-2px);
}

/* ---- Accent-2 (ice blue) variants ---- */
.primary_button--accent2 {
  background: var(--accent-2);
}
.primary_button--accent2:hover {
  background: #7dd3fc;
  color: var(--bg-dark);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.45);
}

.outline_button--accent2 {
  color: var(--accent-2);
  border-color: var(--accent-2);
}
.outline_button--accent2:hover {
  background: var(--accent-2-soft);
  color: #7dd3fc;
}

/* ============================================
   Section tag — diamond marker + text
   ============================================ */
.section_tag {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section_tag::before {
  content: "";
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--accent);
}

/* ============================================
   Layout helper
   ============================================ */
.base_position {
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

/* ============================================
   Check list — accent tick
   ============================================ */
.check_list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.check_list > li {
  position: relative;
  padding-left: 2.4rem;
  color: var(--text-muted);
  font-size: 1.22rem;
  line-height: 1.55;
}

.check_list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
}

.check_list > li::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.7rem;
  width: 0.55rem;
  height: 0.28rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ============================================
   Tables — rounded, accent thead, hover
   ============================================ */
._table {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--bg-line);
  box-shadow: var(--shadow-card);
}

._table > table {
  width: 100%;
  border-collapse: collapse;
}

._table > table > thead > tr {
  background: var(--bg-elevated);
}

._table > table > thead > tr > th {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.07rem;
  text-align: left;
  padding: 1.5rem 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 2px solid var(--accent);
}

._table > table > tbody > tr {
  transition: background 0.25s ease;
}

._table > table > tbody > tr:nth-child(even) {
  background: rgba(22, 37, 56, 0.4);
}

._table > table > tbody > tr:hover {
  background: var(--accent-soft);
}

._table > table > tbody > tr > td {
  padding: 1.4rem 1.8rem;
  color: var(--text-muted);
  font-size: 1.1rem;
  border-bottom: 1px solid var(--bg-line);
  vertical-align: top;
}

._table > table > tbody > tr:last-child > td {
  border-bottom: none;
}

/* ============================================
   Inline section CTA row (universal)
   ============================================ */
.section_cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 2.5rem;
}

.section_cta > .cta_note {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-left: 0.6rem;
  letter-spacing: 0.02em;
}

.section_cta > .cta_note > span {
  color: var(--accent);
  font-weight: 600;
}

/* ============================================
   Selection
   ============================================ */
::selection {
  background: var(--accent);
  color: var(--bg-dark);
}

/* ============================================
   Mobile — ≤1024px
   ============================================ */
@media (max-width: 1024px) {
  html {
    font-size: calc(0.333vw + 0.333vh + 0.2175vmin);
  }

  :root {
    --main-padding: 20px;
  }

  section {
    padding: 10rem var(--main-padding);
  }

  .text-xxl { font-size: 7.2rem; }
  .text-xl  { font-size: 5.4rem; }
  .text-l   { font-size: 4.2rem; }
  .text-ml  { font-size: 3.6rem; }
  .text-m   { font-size: 2.8rem; }
  .text-ms  { font-size: 2.6rem; }
  .text-s   { font-size: 2.4rem; }
  .text-xs  { font-size: 2.2rem; }
  .text-xxs { font-size: 2rem; }

  .primary_button,
  .outline_button {
    font-size: 3.5rem;
    padding: 2rem 3rem;
  }

  .primary_button {
    width: 90%;
    height: 16rem;
  }

  .section_tag {
    font-size: 2.2rem;
    letter-spacing: 0.22em;
  }

  .section_tag::before {
    width: 1.4rem;
    height: 1.4rem;
  }

  .check_list > li {
    padding-left: 4.4rem;
    font-size: 2.4rem;
  }

  .check_list > li::before {
    width: 2.8rem;
    height: 2.8rem;
    top: 0.4rem;
  }

  .check_list > li::after {
    width: 1rem;
    height: 0.5rem;
    left: 0.9rem;
    top: 1.15rem;
    border-left-width: 3px;
    border-bottom-width: 3px;
  }

  ._table > table > thead > tr > th,
  ._table > table > tbody > tr > td {
    padding: 2rem 1.8rem;
    font-size: 2.2rem;
  }

  .section_cta {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .section_cta > .cta_note {
    font-size: 2rem;
    text-align: center;
    margin-left: 0;
    margin-top: 0.5rem;
  }
}
