/* ============================================
   JUGABET ARGENTINA APP — Global styles
   Palette: Tech Cyan App (Deep Navy-Violet + Electric Cyan)
   Secondary accent: Lime (из ассетов, для highlight)
   Font: Space Grotesk
   ============================================ */

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

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

:root {
  /* Background layers */
  --bg-dark: #0a1528;
  --bg-surface: #101d38;
  --bg-elevated: #1a2a4d;
  --bg-line: #253964;

  /* Accent — electric cyan (primary) */
  --accent: #00d4ff;
  --accent-dark: #00a8cc;
  --accent-bright: #5fe6ff;
  --accent-soft: rgba(0, 212, 255, 0.12);
  --accent-glow: rgba(0, 212, 255, 0.35);

  /* Accent 2 — lime из ассетов (secondary highlight) */
  --accent-2: #b8ff5a;
  --accent-2-soft: rgba(184, 255, 90, 0.12);

  /* Text */
  --text: #f0f6ff;
  --text-muted: #94a8c8;
  --text-dim: #6b7e9c;

  /* Radius */
  --radius-sm: 0.8rem;
  --radius: 1.4rem;
  --radius-lg: 2.4rem;

  /* Shadows */
  --shadow-accent: 0 0 40px rgba(0, 212, 255, 0.3);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.45);

  /* Gradients */
  --gradient-hero:
    radial-gradient(
      ellipse at 80% 20%,
      rgba(0, 212, 255, 0.15) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 10% 80%,
      rgba(184, 255, 90, 0.08) 0%,
      transparent 50%
    ),
    linear-gradient(160deg, #0a1528 0%, #101d38 60%, #0a1528 100%);

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

body {
  font-family: "Space Grotesk", sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: inherit;
  text-decoration: 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.01em;
}
.text-xl {
  font-size: 3.36rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.005em;
}
.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.04em;
  text-transform: uppercase;
}

.text-accent {
  color: var(--accent);
}
.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.15rem 2.15rem;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--bg-dark);
  background: var(--accent);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background 0.25s;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 rgba(141, 255, 90, 0);
  text-align: center;
}

.primary_button:hover {
  background: var(--accent-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.15rem 2.15rem;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--accent);
  background: transparent;
  border: 2px solid var(--accent);
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 0.25s,
    background 0.25s,
    color 0.25s;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

/* ============================================
   Tags / chips
   ============================================ */
.section_tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section_tag > span {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

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

/* ============================================
   Check list
   ============================================ */
.check_list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.check_list > li {
  position: relative;
  padding-left: 2.2rem;
  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.4rem;
  height: 1.4rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 50%;
}

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

/* ============================================
   Tables
   ============================================ */
._table {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--bg-line);
}

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

._table > table > thead > tr > th {
  background: var(--bg-elevated);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: left;
  padding: 1.5rem 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--bg-line);
}

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

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

._table > table > tbody > tr > td {
  padding: 1.5rem 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, any block)
   ============================================ */
.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: 5.8rem;
    padding: 2rem 3rem;
  }

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

  .section_tag {
    font-size: 2rem;
    padding: 1rem 2.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.1rem;
    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;
  }
}
