/* ===== 1xbet classic palette ===== */
:root {
  --brand-navy: #0e1b2c;
  --brand-navy-2: #12233a;
  --brand-blue: #1a7ee0;
  --brand-blue-dark: #0a5cb0;
  --brand-green: #2ac769;
  --brand-green-dark: #17a04f;
  --ink: #10141b;
  --text: #1f2733;
  --muted: #5b6b80;
  --line: #e2e8f0;
  --card: #ffffff;
  --bg: #f4f6f9;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(14, 27, 44, 0.08);
  --shadow-lg: 0 16px 48px rgba(14, 27, 44, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans KR", "Malgun Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Top bar ===== */
.topbar {
  background: var(--brand-navy);
  border-bottom: 3px solid var(--brand-blue);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  height: 34px;
  width: auto;
  display: block;
  border-radius: 4px;
}
.topbar-date {
  color: #a9c3e0;
  font-size: 13px;
  white-space: nowrap;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(160deg, var(--brand-navy) 0%, var(--brand-navy-2) 55%, #16324f 100%);
  color: #fff;
  padding: 46px 0 40px;
}
.hero h1 {
  font-size: 30px;
  line-height: 1.35;
  margin: 0 0 14px;
  font-weight: 800;
}
.hero p {
  color: #cdddf0;
  font-size: 16px;
  margin: 0 0 8px;
  max-width: 720px;
}
.check-badge {
  display: inline-block;
  margin-top: 14px;
  background: rgba(42, 199, 105, 0.15);
  color: #7ff0a9;
  border: 1px solid rgba(42, 199, 105, 0.4);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
}

/* ===== CTA buttons ===== */
.cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 4px;
}
.btn {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 18px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); filter: brightness(1.05); }
.btn .btn-sub { font-size: 13px; font-weight: 500; opacity: .92; }
.btn-primary { background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%); }
.btn-apk { background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%); }

.sponsored-note {
  margin-top: 10px;
  font-size: 12px;
  color: #9fb4cc;
}

/* ===== Main content ===== */
main { padding: 40px 0 60px; }

section.block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 0 0 22px;
  box-shadow: var(--shadow);
}
section.block h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}
section.block h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-blue-dark);
  margin: 22px 0 8px;
}
section.block p { margin: 0 0 14px; color: var(--text); }
section.block p:last-child { margin-bottom: 0; }

ul.clean, ol.clean { margin: 0 0 14px; padding-left: 22px; }
ul.clean li, ol.clean li { margin-bottom: 8px; }

/* ===== Bonus code highlight ===== */
.bonus-box {
  background: linear-gradient(135deg, #0e1b2c 0%, #16324f 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 0 0 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 126, 224, 0.4);
}
.bonus-box h2 { color: #fff; border-bottom: 2px solid rgba(255,255,255,.15); }
.bonus-box p { color: #cdddf0; }
.bonus-code {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--brand-navy);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 3px;
  padding: 12px 26px;
  border-radius: 10px;
  margin: 6px 0 14px;
  border: 2px dashed var(--brand-blue);
}
.bonus-code .tag {
  font-size: 12px;
  letter-spacing: 1px;
  background: var(--brand-blue);
  color: #fff;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 700;
}

/* ===== Info table ===== */
table.info {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 14px;
  font-size: 15px;
}
table.info th, table.info td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
table.info th {
  background: #eef3fa;
  color: var(--brand-navy);
  width: 34%;
  font-weight: 700;
}

/* ===== TOC ===== */
.toc {
  background: #eef3fa;
  border: 1px solid #d4e2f2;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 0 22px;
}
.toc h2 { font-size: 17px; margin: 0 0 12px; color: var(--brand-navy); }
.toc ul { columns: 2; column-gap: 26px; margin: 0; padding-left: 18px; }
.toc li { margin-bottom: 6px; break-inside: avoid; }

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--brand-navy);
  background: #f7fafd;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--brand-blue); font-weight: 900; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-body { padding: 4px 18px 16px; }
.faq-item .faq-body p { margin: 0; color: var(--text); }

/* ===== inline sub CTA ===== */
.mini-cta {
  display: inline-block;
  margin-top: 6px;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  transition: filter .12s ease;
}
.mini-cta:hover { text-decoration: none; filter: brightness(1.08); }

/* ===== warning / notice ===== */
.notice {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 14px;
  color: #7c4a12;
  margin: 0 0 22px;
}


/* ===== Footer ===== */
footer {
  background: var(--brand-navy);
  color: #9fb4cc;
  padding: 30px 0 40px;
  font-size: 13px;
}
footer .footer-inner { display: flex; flex-direction: column; gap: 12px; }
footer .footer-brand { display: flex; align-items: center; gap: 10px; }
footer .footer-brand img { height: 26px; border-radius: 4px; }
footer .age { color: #f0b7b7; font-weight: 700; }

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .hero h1 { font-size: 24px; }
  section.block { padding: 20px 18px; }
  .toc ul { columns: 1; }
  .topbar-date { display: none; }
  .bonus-code { font-size: 20px; letter-spacing: 2px; padding: 10px 18px; }
}
