/* ============================================
   bet-1x-honduras.com — Global styles
   Concept: MIDNIGHT STADIUM CINEMA
   Palette: deep midnight + electric cobalt + scarlet sparks
   Fonts: JetBrains Mono (headings, monospace blueprint) + IBM Plex Sans (body, humanist)
   ============================================ */

* {
  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 THEME (white base) ===== */
  --bg-dark: #ffffff;
  --bg-surface: #f5f7fb;
  --bg-elevated: #e8ecf2;
  --bg-line: #cbd1da;

  /* ===== Surface alphas (header / mobile menu / footer) — translucent white ===== */
  --surface-bg: rgba(255, 255, 255, 0.85);
  --surface-bg-strong: rgba(255, 255, 255, 0.97);
  --surface-bg-deep: #ffffff;

  /* ===== Cinema-overlay text color (for hero + finale dark sections) ===== */
  --text-on-dark: #e8edf5;
  --text-on-dark-muted: rgba(232, 237, 245, 0.78);

  /* ===== Accent — primary (electric cobalt blue) — preserved ===== */
  --accent: #3b82f6;
  --accent-dark: #2563eb;
  --accent-bright: #2563eb;
  --accent-soft: rgba(59, 130, 246, 0.10);
  --accent-glow: rgba(59, 130, 246, 0.3);
  --accent-glow-strong: rgba(59, 130, 246, 0.45);
  --accent-glow-bright: rgba(37, 99, 235, 0.55);
  --accent-line: rgba(59, 130, 246, 0.16);
  --accent-line-soft: rgba(59, 130, 246, 0.22);
  --accent-line-mid: rgba(59, 130, 246, 0.32);
  --accent-border: rgba(59, 130, 246, 0.45);

  /* ===== Accent 2 — secondary (scarlet sparks) — preserved ===== */
  --accent-2: #ef4444;
  --accent-2-dark: #dc2626;
  --accent-2-bright: #dc2626;
  --accent-2-soft: rgba(239, 68, 68, 0.10);
  --accent-2-glow: rgba(239, 68, 68, 0.35);

  /* ===== Text ===== */
  --text: #08101c;
  --text-muted: #475569;
  --text-dim: #94a3b8;

  /* ===== Radius — flat, bracket-frame era ===== */
  --radius-sm: 0;
  --radius: 0;
  --radius-lg: 0;
  --radius-full: 999px;

  /* ===== Shadows — softer on light surface ===== */
  --shadow-accent: 0 0 40px var(--accent-glow);
  --shadow-card: 0 8px 28px rgba(8, 16, 28, 0.08);
  --shadow-glow-soft: 0 0 24px rgba(59, 130, 246, 0.18);

  /* ===== Gradients ===== */
  --gradient-hero:
    radial-gradient(ellipse at 80% 30%, rgba(59, 130, 246, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 12% 82%, rgba(239, 68, 68, 0.10) 0%, transparent 50%),
    linear-gradient(160deg, #08101c 0%, #0f1a2d 55%, #050a14 100%);
  --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --gradient-footer: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-elevated) 100%);

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

body {
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.55;
  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-family: "JetBrains Mono", monospace;
  font-size: 4.7rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.text-xl {
  font-family: "JetBrains Mono", monospace;
  font-size: 3.36rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.text-l {
  font-family: "JetBrains Mono", monospace;
  font-size: 2.44rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.text-ml {
  font-size: 1.95rem;
  font-weight: 600;
  line-height: 1.3;
}
.text-m {
  font-size: 1.52rem;
  font-weight: 400;
  line-height: 1.55;
}
.text-ms {
  font-size: 1.46rem;
  font-weight: 400;
  line-height: 1.6;
}
.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-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

/* ============================================
   Buttons — bracket-corner system
   Markers grow on hover (scanning frame vibe)
   ============================================ */
.primary_button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.25rem 2.6rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bg-dark);
  background: var(--accent);
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.primary_button::before,
.primary_button::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: var(--accent);
  border-style: solid;
  transition: all 0.25s ease;
}

.primary_button::before {
  top: -3px;
  left: -3px;
  border-width: 2px 0 0 2px;
}

.primary_button::after {
  bottom: -3px;
  right: -3px;
  border-width: 0 2px 2px 0;
}

.primary_button:hover {
  background: var(--accent-bright);
  color: var(--bg-dark);
  box-shadow: 0 0 32px var(--accent-glow-strong);
}

.primary_button:hover::before,
.primary_button:hover::after {
  width: 16px;
  height: 16px;
  border-color: var(--accent-bright);
}

/* Scarlet variant (accent-2) */
.primary_button--spark {
  background: var(--accent-2);
}

.primary_button--spark::before,
.primary_button--spark::after {
  border-color: var(--accent-2);
}

.primary_button--spark:hover {
  background: var(--accent-2-bright);
  box-shadow: 0 0 32px var(--accent-2-glow);
}

.primary_button--spark:hover::before,
.primary_button--spark--spark:hover::after {
  border-color: var(--accent-2-bright);
}

.outline_button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.25rem 2.6rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent-border);
  border-radius: 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.outline_button::before,
.outline_button::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: var(--accent);
  border-style: solid;
  transition: all 0.25s ease;
}

.outline_button::before {
  top: -3px;
  left: -3px;
  border-width: 2px 0 0 2px;
}

.outline_button::after {
  bottom: -3px;
  right: -3px;
  border-width: 0 2px 2px 0;
}

.outline_button:hover {
  background: var(--accent-soft);
  color: var(--accent-bright);
  border-color: var(--accent-bright);
}

.outline_button:hover::before,
.outline_button:hover::after {
  width: 16px;
  height: 16px;
  border-color: var(--accent-bright);
}

/* ============================================
   Section tag — bracket marker, mono caps
   ============================================ */
.section_tag {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section_tag::before {
  content: "[";
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05em;
}

.section_tag::after {
  content: "]";
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05em;
}

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

/* ============================================
   Check list — bracket 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.6;
}

.check_list > li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 1.3rem;
  text-shadow: 0 0 8px var(--accent-glow);
}

/* ============================================
   Tables — scoreboard / blueprint feel
   ============================================ */
._table {
  width: 100%;
  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: "JetBrains Mono", monospace;
  color: var(--accent);
  font-weight: 600;
  font-size: 1.02rem;
  text-align: left;
  padding: 1.5rem 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--accent);
}

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

._table > table > tbody > tr:nth-child(even) {
  background: rgba(24, 37, 59, 0.5);
}

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

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

.section_cta > .cta_note {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-left: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.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.2rem;
    padding: 2rem 3rem;
    letter-spacing: 0.1em;
  }

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

  .primary_button::before,
  .primary_button::after,
  .outline_button::before,
  .outline_button::after {
    width: 18px;
    height: 18px;
    border-width: 3px 0 0 3px;
  }

  .primary_button::after,
  .outline_button::after {
    border-width: 0 3px 3px 0;
  }

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

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

  .check_list > li::before {
    font-size: 3rem;
  }

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