/* Betano MX Site 3 — Prefix: qx — Font: DM Sans — Layout C */
:root {
  --qx-primary: #f03000;
  --qx-primary-hover: #d42800;
  --qx-accent: #d0b000;
  --qx-accent-hover: #b89800;
  --qx-bg: #0a0a1a;
  --qx-bg-alt: #101024;
  --qx-surface: #191934;
  --qx-surface-hover: #242448;
  --qx-text: #ffffff;
  --qx-text-sec: #b4b4cc;
  --qx-text-muted: #7c7c9c;
  --qx-border: #242448;
  --qx-success: #22c55e;
  --qx-warning: #f0a000;
  --qx-footer-bg: #060612;
  --qx-radius-card: 8px;
  --qx-radius-btn: 6px;
  --qx-shadow-card: 0 2px 12px rgba(0,0,0,0.35);
  --qx-shadow-btn: 0 4px 16px rgba(240,48,0,0.25);
  --qx-container: 1280px;
  --qx-gap: 28px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--qx-bg);
  color: var(--qx-text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.qx-inner {
  max-width: var(--qx-container);
  margin: 0 auto;
  padding: 0 28px;
}

/* === HEADER === */
.qx-head {
  background: var(--qx-bg);
  border-bottom: 1px solid var(--qx-border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 28px;
}

.qx-head-flex {
  max-width: var(--qx-container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.qx-mark img { height: 34px; width: auto; }

.qx-links {
  list-style: none;
  display: flex;
  gap: 36px;
}

.qx-links a {
  color: var(--qx-text-sec);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.qx-links a:hover,
.qx-links a[aria-current="page"] { color: var(--qx-primary); }

.qx-signup-btn {
  background: var(--qx-primary);
  color: #fff;
  padding: 9px 22px;
  border-radius: var(--qx-radius-btn);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: var(--qx-shadow-btn);
}

.qx-signup-btn:hover { background: var(--qx-primary-hover); }

.qx-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.qx-hamburger svg { width: 26px; height: 26px; fill: var(--qx-text); }

/* === HERO === */
.qx-splash {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0a1a 0%, #120800 50%, #0a0a1a 100%);
}

.qx-splash-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.qx-splash-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.qx-splash-body {
  position: relative;
  z-index: 2;
  padding: 90px 28px;
  max-width: 800px;
}

.qx-splash h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
}

.qx-splash h1 mark {
  background: none;
  color: var(--qx-primary);
}

.qx-splash-intro {
  font-size: 1.05rem;
  color: var(--qx-text-sec);
  line-height: 1.8;
  margin-bottom: 28px;
}

.qx-go-btn {
  display: inline-block;
  background: var(--qx-primary);
  color: #fff;
  padding: 13px 32px;
  border-radius: var(--qx-radius-btn);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  box-shadow: var(--qx-shadow-btn);
}

.qx-go-btn:hover {
  background: var(--qx-primary-hover);
  filter: brightness(1.1);
}

/* === TOC === */
.qx-outline {
  background: var(--qx-bg-alt);
  padding: 24px 0;
  border-bottom: 1px solid var(--qx-border);
}

.qx-outline-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--qx-accent);
  margin-bottom: 12px;
}

.qx-outline-items {
  list-style: none;
  columns: 2;
  column-gap: 32px;
}

.qx-outline-items a {
  color: var(--qx-text-sec);
  text-decoration: none;
  font-size: 14px;
  display: block;
  padding: 5px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}

.qx-outline-items a:hover {
  color: var(--qx-primary);
  border-bottom-color: var(--qx-primary);
}

/* === SECTIONS === */
.qx-area {
  padding: 72px 0;
}

.qx-area:nth-child(even) { background: var(--qx-bg-alt); }

.qx-area h2 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.25;
  border-left: 4px solid var(--qx-primary);
  padding-left: 16px;
}

.qx-area h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 14px;
  margin-top: 40px;
  line-height: 1.3;
}

.qx-area p {
  color: var(--qx-text-sec);
  margin-bottom: 14px;
  line-height: 1.8;
}

/* === SPORT CHIPS === */
.qx-chip-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.qx-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--qx-surface);
  border: 1px solid var(--qx-border);
  border-radius: var(--qx-radius-btn);
  transition: border-color 0.2s, background 0.2s;
}

.qx-chip:hover { border-color: var(--qx-primary); background: var(--qx-surface-hover); }
.qx-chip svg { width: 20px; height: 20px; fill: var(--qx-primary); }
.qx-chip span { font-size: 13px; color: var(--qx-text-sec); font-weight: 500; }

/* === IMAGE BLOCK === */
.qx-visual {
  margin: 24px 0;
  border-radius: var(--qx-radius-card);
  overflow: hidden;
  border: 1px solid var(--qx-border);
  box-shadow: var(--qx-shadow-card);
}

.qx-visual img { width: 100%; height: auto; display: block; }

/* === NUMBERED STEPS === */
.qx-procedure {
  counter-reset: qx-step;
  list-style: none;
  margin: 20px 0;
}

.qx-procedure li {
  counter-increment: qx-step;
  padding: 12px 12px 12px 48px;
  margin-bottom: 8px;
  background: var(--qx-surface);
  border-radius: var(--qx-radius-card);
  color: var(--qx-text-sec);
  line-height: 1.7;
  position: relative;
  border-bottom: 2px solid var(--qx-primary);
}

.qx-procedure li::before {
  content: counter(qx-step);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 24px;
  height: 24px;
  background: var(--qx-primary);
  color: #fff;
  border-radius: var(--qx-radius-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

/* === CARD MATRIX === */
.qx-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--qx-gap);
  margin: 24px 0;
}

.qx-slot {
  background: var(--qx-surface);
  border-radius: var(--qx-radius-card);
  overflow: hidden;
  border: 1px solid var(--qx-border);
  transition: filter 0.3s, border-color 0.3s;
}

.qx-slot:hover {
  filter: brightness(1.1);
  border-color: var(--qx-primary);
}

.qx-slot img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border: none;
}

.qx-slot-name {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* === OFFER GRID === */
.qx-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--qx-gap);
  margin: 24px 0;
}

.qx-offer {
  background: var(--qx-surface);
  border-radius: var(--qx-radius-card);
  overflow: hidden;
  border: 1px solid var(--qx-border);
  transition: filter 0.3s;
}

.qx-offer:hover { filter: brightness(1.1); }

.qx-offer img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border: none;
}

.qx-offer-text { padding: 14px; }
.qx-offer-text h4 { font-size: 0.95rem; margin-bottom: 6px; }
.qx-offer-text p { font-size: 13px; color: var(--qx-text-muted); }

/* === PAYMENT === */
.qx-pay-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.qx-pay-item {
  border: none;
  height: 36px;
  max-width: 80px;
  background: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qx-pay-item img { height: 24px; width: auto; display: block; }

/* === TABLE === */
.qx-scroll-table { overflow-x: auto; margin: 24px 0; }

.qx-grid-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--qx-surface);
  border-radius: var(--qx-radius-card);
  overflow: hidden;
}

.qx-grid-table th, .qx-grid-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--qx-border);
  font-size: 14px;
}

.qx-grid-table th { background: var(--qx-bg-alt); font-weight: 700; color: var(--qx-accent); }
.qx-grid-table td { color: var(--qx-text-sec); }

/* === FAQ === */
.qx-faq-block {
  border: 1px solid var(--qx-border);
  border-radius: var(--qx-radius-card);
  margin-bottom: 8px;
  overflow: hidden;
}

.qx-faq-block summary {
  padding: 13px 16px;
  cursor: pointer;
  font-weight: 600;
  background: var(--qx-surface);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.qx-faq-block summary::-webkit-details-marker { display: none; }
.qx-faq-block summary::after { content: '+'; font-size: 18px; color: var(--qx-primary); font-weight: 700; }
.qx-faq-block[open] summary::after { content: '-'; }
.qx-faq-block summary:hover { background: var(--qx-surface-hover); }

.qx-faq-content {
  padding: 13px 16px;
  color: var(--qx-text-sec);
  line-height: 1.8;
}

/* === WRITER === */
.qx-writer {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--qx-surface);
  border-radius: var(--qx-radius-card);
  margin: 36px 0;
  border: 1px solid var(--qx-border);
  align-items: flex-start;
}

.qx-writer img {
  width: 72px;
  height: 72px;
  border-radius: var(--qx-radius-card);
  object-fit: cover;
  border: 2px solid var(--qx-accent);
}

.qx-writer-meta h4 { font-size: 1rem; margin-bottom: 3px; }
.qx-writer-meta .qx-title { color: var(--qx-accent); font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.qx-writer-meta p { font-size: 13px; color: var(--qx-text-muted); line-height: 1.6; }

/* === FOOTER === */
.qx-base {
  background: var(--qx-footer-bg);
  padding: 40px 0 20px;
  border-top: 1px solid var(--qx-border);
}

.qx-base-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.qx-base h4 { font-size: 0.9rem; margin-bottom: 12px; color: var(--qx-accent); text-transform: uppercase; letter-spacing: 1px; font-size: 12px; }

.qx-base-list { list-style: none; }

.qx-base-list a {
  color: var(--qx-text-muted);
  text-decoration: none;
  font-size: 13px;
  display: block;
  padding: 3px 0;
  transition: color 0.2s;
}

.qx-base-list a:hover { color: var(--qx-primary); }

.qx-base-disclaimer {
  border-top: 1px solid var(--qx-border);
  padding-top: 20px;
  text-align: center;
}

.qx-base-disclaimer p { font-size: 12px; color: var(--qx-text-muted); line-height: 1.6; margin-bottom: 6px; }

.qx-age-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--qx-primary);
  border-radius: var(--qx-radius-btn);
  font-weight: 700;
  font-size: 12px;
  color: var(--qx-primary);
  margin-bottom: 8px;
}

/* CTA spacing */
.qx-matrix + .qx-go-btn,
.qx-offer-grid + .qx-go-btn,
.qx-procedure + .qx-go-btn { margin-top: 28px; }

.qx-final-cta { text-align: center; padding: 48px 0; }
.qx-final-cta h2 { border: none; padding-left: 0; margin-bottom: 14px; }
.qx-final-cta p { margin-bottom: 20px; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .qx-matrix { grid-template-columns: repeat(2, 1fr); }
  .qx-base-layout { grid-template-columns: 1fr 1fr; }
  .qx-splash h1 { font-size: 2.1rem; }
}

@media (max-width: 768px) {
  .qx-links { display: none; }
  .qx-hamburger { display: block; }
  .qx-links.qx-visible {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--qx-bg);
    padding: 16px 28px;
    border-bottom: 1px solid var(--qx-border);
    gap: 12px;
    z-index: 99;
  }
  .qx-splash { min-height: 400px; }
  .qx-splash h1 { font-size: 1.7rem; }
  .qx-splash-body { padding: 56px 28px; }
  .qx-area h2 { font-size: 1.4rem; }
  .qx-matrix { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .qx-offer-grid { grid-template-columns: 1fr; }
  .qx-writer { flex-direction: column; align-items: center; text-align: center; }
  .qx-base-layout { grid-template-columns: 1fr; gap: 16px; }
  .qx-outline-items { columns: 1; }
  .qx-area { padding: 44px 0; }
}

@media (max-width: 480px) {
  .qx-matrix { grid-template-columns: 1fr; }
  .qx-splash h1 { font-size: 1.4rem; }
  .qx-chip-bar { gap: 6px; }
  .qx-chip { padding: 6px 10px; }
  .qx-slot img { height: 150px; }
}
