/* ============================================
   1xbet-argentina-casino.com — Global styles
   Palette: vintage casino — midnight burgundy + warm gold + forest felt
   Fonts:   DM Serif Display (display vintage serif) + Mulish (humanist sans)
   ============================================ */

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

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

:root {
  /* ===== Background layers (vintage midnight burgundy) ===== */
  --bg-dark: #0c0608;
  --bg-surface: #18090e;
  --bg-elevated: #22111a;
  --bg-line: #3a1d28;

  /* ===== Surface alphas (header / mobile menu / footer) ===== */
  --surface-bg: rgba(12, 6, 8, 0.78);
  --surface-bg-strong: rgba(12, 6, 8, 0.97);
  --surface-bg-deep: #060304;

  /* ===== Accent — warm vintage gold (NOT neon) ===== */
  --accent: #d4a85a;
  --accent-dark: #a98439;
  --accent-bright: #e9c275;
  --accent-soft: rgba(212, 168, 90, 0.10);
  --accent-glow: rgba(212, 168, 90, 0.25);
  --accent-glow-strong: rgba(212, 168, 90, 0.36);
  --accent-glow-bright: rgba(233, 194, 117, 0.48);
  --accent-line: rgba(212, 168, 90, 0.10);
  --accent-line-soft: rgba(212, 168, 90, 0.18);
  --accent-line-mid: rgba(212, 168, 90, 0.28);
  --accent-border: rgba(212, 168, 90, 0.42);

  /* ===== Accent 2 — forest casino felt ===== */
  --accent-2: #1d4d3a;
  --accent-2-dark: #133327;
  --accent-2-bright: #2b7058;
  --accent-2-soft: rgba(29, 77, 58, 0.18);
  --accent-2-glow: rgba(43, 112, 88, 0.32);

  /* ===== Text (warm cream / parchment) ===== */
  --text: #f0e6d2;
  --text-muted: #c9b594;
  --text-dim: #8b7a5e;

  /* ===== Radius (almost sharp — vintage card edges) ===== */
  --radius-sm: 2px;
  --radius: 4px;
  --radius-lg: 6px;
  --radius-full: 999px;

  /* ===== Shadows ===== */
  --shadow-accent: 0 0 32px var(--accent-glow);
  --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.65);
  --shadow-glow-soft: 0 0 24px rgba(212, 168, 90, 0.18);

  /* ===== Gradients ===== */
  --gradient-hero:
    radial-gradient(ellipse at 70% 30%, rgba(212, 168, 90, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(29, 77, 58, 0.28) 0%, transparent 55%),
    linear-gradient(165deg, #0c0608 0%, #18090e 55%, #0c0608 100%);
  --gradient-accent: linear-gradient(135deg, #d4a85a 0%, #a98439 100%);
  --gradient-footer: linear-gradient(180deg, var(--bg-dark) 0%, var(--surface-bg-deep) 100%);
  --gradient-sepia: linear-gradient(180deg, rgba(12, 6, 8, 0.45) 0%, rgba(12, 6, 8, 0.88) 65%, var(--bg-dark) 100%);

  /* ===== Fonts ===== */
  --font-display: "DM Serif Display", "Times New Roman", Georgia, serif;
  --font-body: "Mulish", -apple-system, BlinkMacSystemFont, sans-serif;

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

body {
  font-family: var(--font-body);
  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  — DM Serif Display for display, Mulish for body
   ============================================ */
.text-display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.005em;
}

.text-xxl {
  font-family: var(--font-display);
  font-size: 5.2rem;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.005em;
}
.text-xl {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 400;
  line-height: 1.12;
}
.text-l {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.2;
}
.text-ml {
  font-size: 1.95rem;
  font-weight: 700;
  line-height: 1.3;
}
.text-m {
  font-size: 1.52rem;
  font-weight: 500;
  line-height: 1.55;
}
.text-ms {
  font-size: 1.42rem;
  font-weight: 400;
  line-height: 1.6;
}
.text-s {
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.65;
}
.text-xs {
  font-size: 1.07rem;
  font-weight: 400;
  line-height: 1.55;
}
.text-xxs {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.text-accent {
  color: var(--accent);
  font-style: italic;
}
.text-felt {
  color: var(--accent-2-bright);
}
.text-muted {
  color: var(--text-muted);
}
.text-dim {
  color: var(--text-dim);
}

/* ============================================
   Buttons — vintage gold plate (primary) + outline (secondary)
   ============================================ */
.primary_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.25rem 2.6rem;
  font-size: 0.95rem;
  font-weight: 800;
  font-family: var(--font-body);
  color: var(--bg-dark);
  background: var(--accent);
  border: 1px solid var(--accent-dark);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  text-align: center;
  position: relative;
  box-shadow:
    inset 0 0 0 1px var(--bg-dark),
    inset 0 0 0 2px var(--accent),
    0 4px 16px rgba(0, 0, 0, 0.5);
}

.primary_button:hover {
  background: var(--accent-bright);
  color: var(--bg-dark);
  box-shadow:
    inset 0 0 0 1px var(--bg-dark),
    inset 0 0 0 2px var(--accent-bright),
    0 0 28px var(--accent-glow-strong),
    0 4px 16px rgba(0, 0, 0, 0.5);
}

.outline_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.25rem 2.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  position: relative;
}

.outline_button::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--accent-line-soft);
  pointer-events: none;
  transition: border-color 0.3s ease;
}

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

.outline_button:hover::before {
  border-color: var(--accent-line-mid);
}

/* ============================================
   Section tag — vintage ornament marker
   ============================================ */
.section_tag {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.section_tag::before {
  content: "❖";
  display: inline-block;
  color: var(--accent);
  font-size: 1.05em;
  line-height: 1;
}

.section_tag::after {
  content: "";
  display: inline-block;
  width: 2.6rem;
  height: 1px;
  background: var(--accent);
  opacity: 0.55;
  margin-left: 0.4rem;
}

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

/* ============================================
   Check list — vintage chevron marker
   ============================================ */
.check_list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

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

.check_list > li::before {
  content: "❯";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 700;
}

/* ============================================
   Tables — vintage casino card: thin gold lines, felt header
   ============================================ */
._table {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--accent-line-mid);
  box-shadow: var(--shadow-card);
  position: relative;
}

._table::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--accent-line-soft);
  pointer-events: none;
  z-index: 1;
}

._table > table {
  width: 100%;
  border-collapse: collapse;
  position: relative;
  z-index: 0;
}

._table > table > thead > tr {
  background: var(--accent-2);
}

._table > table > thead > tr > th {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  text-align: left;
  padding: 1.6rem 1.8rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--accent);
}

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

._table > table > tbody > tr:nth-child(even) {
  background: rgba(29, 77, 58, 0.08);
}

._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(--accent-line);
  vertical-align: top;
}

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

/* ============================================
   Inline section CTA row
   ============================================ */
.section_cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  margin-top: 2.8rem;
}

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

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

/* ============================================
   Vintage corner frame — universal decoration
   ============================================ */
.vintage_frame {
  position: relative;
}

.vintage_frame::before,
.vintage_frame::after {
  content: "";
  position: absolute;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--accent);
  pointer-events: none;
}

.vintage_frame::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.vintage_frame::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

/* ============================================
   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.4rem; }
  .text-xl  { font-size: 5.6rem; }
  .text-l   { font-size: 4.4rem; }
  .text-ml  { font-size: 3.5rem; }
  .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: 3rem;
    padding: 2.2rem 3rem;
    letter-spacing: 0.18em;
  }

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

  .section_tag {
    font-size: 2.4rem;
    letter-spacing: 0.32em;
  }

  .section_tag::after {
    width: 5rem;
    margin-left: 0.6rem;
  }

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

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

  ._table > table > thead > tr > th {
    padding: 2rem 1.8rem;
    font-size: 2.6rem;
  }

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

  .vintage_frame::before,
  .vintage_frame::after {
    width: 5rem;
    height: 5rem;
  }
}
