/* =========================================================
   1xbet App 2026 — ko-KR one page
   ========================================================= */
:root {
  --navy-900: #05101f;
  --navy-800: #0a1a33;
  --navy-700: #0f2545;
  --navy-600: #14325c;
  --line: rgba(255, 255, 255, 0.10);
  --blue: #007acc;
  --blue-light: #2aa0ff;
  --blue-dark: #002f5e;
  --gold: #f0b429;
  --text: #e8eef8;
  --muted: #9fb0ca;
  --white: #ffffff;
  --radius: 14px;
  --maxw: 1120px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--text);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic",
    system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

img { max-width: 100%; height: auto; display: block; }

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------------- header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 16, 31, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 66px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: 116px; }
.brand-tag {
  font-size: 12px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 10px;
  line-height: 1.2;
}
.main-nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
.main-nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.main-nav a:hover { color: var(--white); text-decoration: none; }

/* кнопка мобильного меню */
.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 13px;
}
.nav-toggle-bars span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--white);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #0a86e0, #005ba6);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(0, 122, 204, 0.35);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-gold {
  background: linear-gradient(135deg, #f7c948, #e0a012);
  color: #2b1c00;
  box-shadow: 0 12px 26px rgba(240, 180, 41, 0.28);
}
.btn-sm { padding: 10px 18px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 78% 12%, rgba(0, 122, 204, .38), transparent 62%),
    radial-gradient(680px 460px at 8% 82%, rgba(0, 70, 160, .30), transparent 66%),
    linear-gradient(180deg, #071528 0%, #05101f 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 46px;
  align-items: center;
  padding: 62px 0 70px;
}
.hero h1 {
  font-size: clamp(28px, 4.1vw, 44px);
  line-height: 1.28;
  margin: 14px 0 18px;
  letter-spacing: -0.5px;
  color: var(--white);
}
.hero p.lead { color: #c7d5ea; font-size: 17.5px; margin: 0 0 6px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(0, 122, 204, .14);
  border: 1px solid rgba(42, 160, 255, .35);
  padding: 6px 14px;
  border-radius: 999px;
}
.hero-media { position: relative; }
.hero-media img { border-radius: 18px; box-shadow: var(--shadow); }

/* ---------------- promo code box ---------------- */
.promo-box {
  margin-top: 28px;
  background: linear-gradient(140deg, rgba(0, 122, 204, .22), rgba(6, 20, 40, .9));
  border: 1px solid rgba(42, 160, 255, .45);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.promo-box .label {
  font-size: 14px;
  color: #a9c9ea;
  letter-spacing: .6px;
  margin-bottom: 8px;
}
.promo-code-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.promo-code {
  font-family: "Consolas", "SFMono-Regular", "Menlo", monospace;
  font-size: clamp(28px, 4.4vw, 40px);
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--white);
  background: rgba(0, 0, 0, .32);
  border: 2px dashed rgba(42, 160, 255, .7);
  border-radius: 12px;
  padding: 8px 22px;
  user-select: all;
}
.copy-btn {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .28);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
}
.copy-btn:hover { background: rgba(255, 255, 255, .18); }
.copy-btn.done { background: rgba(34, 197, 94, .22); border-color: rgba(34, 197, 94, .6); }
.promo-note { font-size: 14.5px; color: var(--muted); margin: 12px 0 0; }

/* ---------------- sections ---------------- */
section { padding: 62px 0; border-bottom: 1px solid rgba(255, 255, 255, .055); }
section:nth-of-type(even) { background: rgba(255, 255, 255, .018); }

h2 {
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.35;
  margin: 0 0 10px;
  color: var(--white);
  letter-spacing: -0.3px;
}
h3 {
  font-size: clamp(19px, 2.2vw, 23px);
  margin: 30px 0 10px;
  color: var(--white);
}
h4 { font-size: 18px; margin: 22px 0 8px; color: #dbe6f6; }
.section-sub { color: var(--muted); margin: 0 0 26px; font-size: 16px; }
p { margin: 0 0 16px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: 16px; box-shadow: var(--shadow); }

/* ---------------- cards ---------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.card {
  background: linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3, .card h4 { margin-top: 0; }
.card p { margin-bottom: 0; color: #c3d1e6; font-size: 15.5px; }
.card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 122, 204, .25);
  border: 1px solid rgba(42, 160, 255, .4);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 12px;
}

/* ---------------- steps ---------------- */
.steps { counter-reset: step; margin: 26px 0 0; padding: 0; list-style: none; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 18px 20px 18px 68px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 17px;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #0a86e0, #005ba6);
  color: var(--white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.steps li strong { color: var(--white); display: block; margin-bottom: 2px; }
.steps li span { color: #c3d1e6; font-size: 15.5px; }

/* ---------------- table ---------------- */
.table-wrap { overflow-x: auto; margin-top: 24px; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 620px; background: rgba(255, 255, 255, .02); }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 15.5px; }
th { background: rgba(0, 122, 204, .16); color: var(--white); font-weight: 700; white-space: nowrap; }
tbody tr:last-child td { border-bottom: none; }
td strong { color: var(--white); }

/* ---------------- faq ---------------- */
.faq { margin-top: 26px; }
.faq details {
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--white);
  font-size: 16.5px;
  list-style: none;
  position: relative;
  padding-right: 54px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--blue-light);
}
.faq details[open] summary::after { content: "-"; }
.faq .faq-body { padding: 0 22px 20px; color: #c3d1e6; font-size: 15.8px; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------------- keyword cloud ---------------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags span {
  font-size: 13.5px;
  color: #b6c7de;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
}

/* ---------------- cta band ---------------- */
.cta-band {
  background:
    radial-gradient(700px 380px at 80% 20%, rgba(0, 122, 204, .40), transparent 65%),
    linear-gradient(135deg, #07203c, #05101f);
  border: 1px solid rgba(42, 160, 255, .3);
  border-radius: 20px;
  padding: 34px;
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 30px;
  align-items: center;
}
.cta-band h3 { margin-top: 0; }
.cta-band p { color: #c3d1e6; margin-bottom: 0; }

/* ---------------- notice ---------------- */
.notice {
  border-left: 3px solid var(--blue);
  background: rgba(0, 122, 204, .1);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  font-size: 15.5px;
  color: #cddcf0;
}

/* ---------------- footer ---------------- */
.site-footer {
  background: #030b16;
  padding: 48px 0 60px;
  font-size: 14.5px;
  color: #8ea0ba;
  border-top: 1px solid var(--line);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.site-footer h4 { color: #d5e1f2; font-size: 15.5px; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #9fb0ca; }
.footer-logo { width: 132px; margin-bottom: 14px; }
.age {
  display: inline-block;
  border: 2px solid #d05050;
  color: #ff8a8a;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  line-height: 40px;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 12px;
}
.disclaimer {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.7;
  color: #7d8ea8;
}

/* ---------------- sticky mobile cta ---------------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: rgba(4, 13, 26, .96);
  border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-cta .btn { flex: 1; padding: 13px 10px; font-size: 15px; }

/* ---------------- responsive ---------------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; padding: 46px 0 54px; }
  .split, .cta-band { grid-template-columns: 1fr; gap: 26px; }
  .split.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .header-inner { min-height: 58px; gap: 12px; }
  .brand img { width: 96px; }
  .brand-tag { font-size: 11px; padding-left: 8px; }
  .nav-toggle { display: inline-flex; }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    padding: 6px 0 10px;
    background: #05101f;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.45);
    max-height: calc(100vh - 58px);
    overflow-y: auto;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    display: block;
    padding: 12px 20px;
    font-size: 16px;
    color: var(--text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .main-nav a:last-child { border-bottom: 0; }
}

@media (max-width: 720px) {
  html { overflow-x: hidden; scroll-padding-top: 70px; }
  body { font-size: 16px; overflow-x: hidden; }
  .wrap { padding: 0 16px; }
  .brand-tag { display: none; }
  section { padding: 44px 0; }
  h1, h2, h3 { word-break: keep-all; overflow-wrap: anywhere; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 72px; }
  .promo-code { font-size: 28px; letter-spacing: 2px; padding: 8px 16px; }
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
}

.footer-copy { margin: 12px 0 0; font-size: 13px; color: #7d8ea8; letter-spacing: .3px; }
