/* ============================================
   365paraguay-bet-online.com — Global styles
   Palette: Night Emerald + Brand Emerald + Signal Yellow Bet365
   Fonts: Funnel Display (headings) + Funnel Sans (body)
   Construction: Editorial sports magazine
   ============================================ */

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

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

:root {
  /* ===== Background layers — night emerald ===== */
  --bg-dark: #0c1612;
  --bg-surface: #122019;
  --bg-elevated: #1a2d24;
  --bg-line: #243d31;

  /* ===== Surface alphas (header / mobile menu / footer accents) ===== */
  --surface-bg: rgba(12, 22, 18, 0.78);
  --surface-bg-strong: rgba(12, 22, 18, 0.96);
  --surface-bg-deep: #050a08;

  /* ===== Accent — Bet365 brand emerald (saturated, not tarnished) ===== */
  --accent: #00A859;
  --accent-dark: #007A41;
  --accent-bright: #1ED27A;
  --accent-soft: rgba(0, 168, 89, 0.10);
  --accent-glow: rgba(0, 168, 89, 0.32);
  --accent-glow-strong: rgba(0, 168, 89, 0.42);
  --accent-glow-bright: rgba(30, 210, 122, 0.55);
  --accent-line: rgba(0, 168, 89, 0.08);
  --accent-line-soft: rgba(0, 168, 89, 0.16);
  --accent-line-mid: rgba(0, 168, 89, 0.22);
  --accent-border: rgba(0, 168, 89, 0.34);

  /* ===== Accent 2 — Bet365 signal yellow (NOT gold) ===== */
  --accent-2: #FFDD00;
  --accent-2-dark: #E5C400;
  --accent-2-bright: #FFEB4D;
  --accent-2-soft: rgba(255, 221, 0, 0.10);
  --accent-2-glow: rgba(255, 221, 0, 0.30);

  /* ===== Text — ivory readable on night emerald ===== */
  --text: #F2F7F3;
  --text-muted: #9FB4A6;
  --text-dim: #5E7569;

  /* ===== Radius — pill UI ===== */
  --radius-sm: 1rem;
  --radius: 1.6rem;
  --radius-lg: 2.4rem;
  --radius-pill: 999px;
  --radius-full: 999px;

  /* ===== Shadows ===== */
  --shadow-accent: 0 0 40px var(--accent-glow);
  --shadow-card: 0 14px 44px rgba(0, 0, 0, 0.55);
  --shadow-glow-soft: 0 0 24px rgba(0, 168, 89, 0.18);
  --shadow-yellow: 0 0 32px var(--accent-2-glow);

  /* ===== Gradients ===== */
  --gradient-hero:
    radial-gradient(ellipse at 78% 22%, rgba(0, 168, 89, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 12% 82%, rgba(255, 221, 0, 0.08) 0%, transparent 50%),
    linear-gradient(160deg, #0c1612 0%, #122019 55%, #0c1612 100%);
  --gradient-accent: linear-gradient(135deg, #00A859 0%, #007A41 100%);
  --gradient-yellow: linear-gradient(135deg, #FFDD00 0%, #E5C400 100%);
  --gradient-footer: linear-gradient(180deg, var(--bg-dark) 0%, var(--surface-bg-deep) 100%);
  --gradient-cinematic:
    radial-gradient(ellipse at 50% 30%, rgba(0, 168, 89, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 221, 0, 0.15) 0%, transparent 55%),
    linear-gradient(180deg, #050a08 0%, #0c1612 50%, #050a08 100%);

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

body {
  font-family: "Funnel 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;
}

/* ============================================
   Headings — Funnel Display
   ============================================ */
h1, h2, h3, h4 {
  font-family: "Funnel Display", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text);
}

/* ============================================
   Text scale
   ============================================ */
.text-xxl {
  font-family: "Funnel Display", sans-serif;
  font-size: 4.7rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.text-xl {
  font-family: "Funnel Display", sans-serif;
  font-size: 3.36rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.text-l {
  font-family: "Funnel Display", sans-serif;
  font-size: 2.44rem;
  font-weight: 700;
  line-height: 1.2;
}
.text-ml {
  font-size: 1.95rem;
  font-weight: 600;
  line-height: 1.28;
}
.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.62;
}
.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.18em;
  text-transform: uppercase;
}

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

/* ============================================
   Buttons — Pill capsule + double-stroke chip-ring
   ============================================ */
.primary_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.3rem 2.8rem;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: "Funnel Display", inherit;
  color: var(--bg-dark);
  background: var(--accent);
  border: 2px solid var(--accent-bright);
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  box-shadow:
    0 0 0 3px var(--bg-dark),
    0 0 0 5px var(--accent-2);
  transition:
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.primary_button:hover {
  background: var(--accent-bright);
  color: var(--bg-dark);
  box-shadow:
    0 0 0 3px var(--bg-dark),
    0 0 0 5px var(--accent-2-bright),
    0 0 30px var(--accent-glow);
}

.outline_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.3rem 2.8rem;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: "Funnel Display", inherit;
  color: var(--accent-2);
  background: transparent;
  border: 2px solid var(--accent-2);
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.outline_button:hover {
  background: var(--accent-2);
  color: var(--bg-dark);
  box-shadow: var(--shadow-yellow);
}

/* ============================================
   Section tag — small label with empty-circle marker (editorial)
   ============================================ */
.section_tag {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: "Funnel Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent-2);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.section_tag::before {
  content: "";
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  border: 1.5px solid var(--accent-2);
  border-radius: 50%;
  background: transparent;
}

/* ============================================
   Section number — large numbered circle (magazine ① ② ③)
   ============================================ */
.section_number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.2rem;
  height: 4.2rem;
  border: 2px solid var(--accent-2);
  border-radius: 50%;
  background: var(--bg-surface);
  font-family: "Funnel Display", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-2);
  flex-shrink: 0;
}

/* ============================================
   Drop cap — first letter of editorial paragraph
   ============================================ */
.drop_cap::first-letter {
  font-family: "Funnel Display", sans-serif;
  font-size: 5.6rem;
  font-weight: 800;
  color: var(--accent);
  float: left;
  line-height: 0.85;
  padding: 0.7rem 1rem 0 0;
}

/* ============================================
   Pull quote — bordered block with corner quote chips
   ============================================ */
.pull_quote {
  position: relative;
  padding: 3.4rem 4rem;
  font-family: "Funnel Display", sans-serif;
  font-size: 1.8rem;
  line-height: 1.4;
  font-weight: 500;
  color: var(--text);
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--accent-line-mid);
  border-radius: var(--radius);
  font-style: italic;
}

.pull_quote::before,
.pull_quote::after {
  position: absolute;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--accent-2);
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 800;
  border-radius: 50%;
  font-family: "Funnel Display", sans-serif;
}

.pull_quote::before {
  content: "“";
  top: -1.2rem;
  left: 3rem;
}

.pull_quote::after {
  content: "”";
  bottom: -1.2rem;
  right: 3rem;
}

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

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

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

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

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

/* ============================================
   Tables — fixture-list style for App vs Web / Pago methods
   ============================================ */
._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: "Funnel Display", sans-serif;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 1.07rem;
  text-align: left;
  padding: 1.6rem 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid var(--accent-2);
}

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

._table > table > tbody > tr:nth-child(even) {
  background: rgba(26, 45, 36, 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 > td:first-child {
  color: var(--text);
  font-weight: 600;
}

._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.98rem;
  color: var(--text-dim);
  margin-left: 0.6rem;
  letter-spacing: 0.02em;
}

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

/* ============================================
   Selection
   ============================================ */
::selection {
  background: var(--accent-2);
  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.4rem;
    padding: 2rem 3rem;
  }

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

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

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

  .section_number {
    width: 9rem;
    height: 9rem;
    font-size: 3.4rem;
    border-width: 3px;
  }

  .drop_cap::first-letter {
    font-size: 11rem;
    padding: 1rem 1.6rem 0 0;
  }

  .pull_quote {
    padding: 5rem 4rem;
    font-size: 3.4rem;
    line-height: 1.42;
  }

  .pull_quote::before,
  .pull_quote::after {
    width: 5rem;
    height: 5rem;
    font-size: 3.4rem;
  }

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

  .check_list > li::before {
    width: 3rem;
    height: 3rem;
    top: 0.5rem;
  }

  .check_list > li::after {
    width: 1.1rem;
    height: 0.55rem;
    left: 0.95rem;
    top: 1.25rem;
    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;
  }
}
