/* ============================================
   app1x-bet-argentina — Global styles
   Palette: LIGHT frost (from assets) — blue + cyan
   Font: Chivo (head) + Figtree (body) — 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 (LIGHT — frost from assets) ===== */
  --bg-dark: #f4f8fc;       /* page bg + contrast text on accent fills */
  --bg-surface: #ffffff;    /* cards */
  --bg-elevated: #eaf1f8;   /* table head / elevated light */
  --bg-line: #d6e3f0;       /* borders */

  /* ===== Surface alphas (header / mobile menu / footer) ===== */
  --surface-bg: rgba(255, 255, 255, 0.72);
  --surface-bg-strong: rgba(255, 255, 255, 0.96);
  --surface-bg-deep: #eaf1f8;

  /* ===== Accent — primary BLUE ===== */
  --accent: #1366d6;
  --accent-dark: #0d4ea8;
  --accent-bright: #2f86f5;
  --accent-soft: rgba(19, 102, 214, 0.10);
  --accent-glow: rgba(19, 102, 214, 0.30);
  --accent-glow-strong: rgba(19, 102, 214, 0.40);
  --accent-glow-bright: rgba(19, 102, 214, 0.55);
  --accent-line: rgba(19, 102, 214, 0.10);
  --accent-line-soft: rgba(19, 102, 214, 0.18);
  --accent-line-mid: rgba(19, 102, 214, 0.22);
  --accent-border: rgba(19, 102, 214, 0.34);

  /* ===== Accent 2 — CYAN ===== */
  --accent-2: #1ba8e0;
  --accent-2-dark: #1187bb;
  --accent-2-soft: rgba(27, 168, 224, 0.12);

  /* ===== Text — dark ink on light ===== */
  --text: #0d1b2e;
  --text-muted: #4a5d72;
  --text-dim: #8494a6;

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

  /* ===== Shadows — soft on light ===== */
  --shadow-accent: 0 10px 30px rgba(19, 102, 214, 0.28);
  --shadow-card: 0 12px 40px rgba(13, 27, 46, 0.10);
  --shadow-glow-soft: 0 0 24px rgba(19, 102, 214, 0.14);

  /* ===== Fonts — two-font system ===== */
  --font-head: "Chivo", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Figtree", -apple-system, BlinkMacSystemFont, sans-serif;

  /* ===== Gradients ===== */
  --gradient-hero:
    radial-gradient(ellipse at 78% 20%, rgba(19, 102, 214, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 12% 88%, rgba(27, 168, 224, 0.12) 0%, transparent 52%),
    linear-gradient(160deg, #f4f8fc 0%, #eaf1f8 55%, #f4f8fc 100%);
  --gradient-accent: linear-gradient(135deg, #1366d6 0%, #1ba8e0 100%);
  --gradient-footer: linear-gradient(180deg, #eef4fa 0%, #e2ecf6 100%);

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

body {
  font-family: var(--font-body);
  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  (headings -> Chivo, body -> Figtree)
   ============================================ */
.text-xxl {
  font-family: var(--font-head);
  font-size: 4.7rem;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.text-xl {
  font-family: var(--font-head);
  font-size: 3.36rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.text-l {
  font-family: var(--font-head);
  font-size: 2.44rem;
  font-weight: 700;
  line-height: 1.16;
}
.text-ml {
  font-family: var(--font-head);
  font-size: 1.95rem;
  font-weight: 700;
  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: 600;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

/* ============================================
   Buttons — SHARP + PUSH-SHADOW (categorical shift)
   ============================================ */
.primary_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.2rem 2.3rem;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg-dark);
  background: var(--accent);
  border: none;
  border-radius: 3px;
  box-shadow: 4px 4px 0 var(--accent-dark);
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s 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: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--accent-dark);
}

.outline_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.2rem 2.3rem;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--bg-surface);
  border: 2px solid var(--accent);
  border-radius: 3px;
  box-shadow: 4px 4px 0 var(--accent-border);
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s 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-dark);
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--accent-border);
}

/* accent-2 (cyan) button variants */
.primary_button--cyan {
  background: var(--accent-2);
  box-shadow: 4px 4px 0 var(--accent-2-dark);
}
.primary_button--cyan:hover {
  background: var(--accent-2);
  box-shadow: 1px 1px 0 var(--accent-2-dark);
}
.outline_button--cyan {
  color: var(--accent-2-dark);
  border-color: var(--accent-2);
  box-shadow: 4px 4px 0 var(--accent-2-soft);
}
.outline_button--cyan:hover {
  background: var(--accent-2-soft);
  color: var(--accent-2-dark);
  box-shadow: 1px 1px 0 var(--accent-2-soft);
}

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

.section_tag::before {
  content: "";
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--gradient-accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* ============================================
   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: 3px;
}

.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 — light, 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 {
  font-family: var(--font-head);
  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(19, 102, 214, 0.04);
}

._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.5rem;
    height: 1.5rem;
  }

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