:root {
  --bg: #0e1a22;
  --bg-alt: #132633;
  --surface: #ffffff;
  --text: #17242c;
  --muted: #566672;
  --brand: #1a8f4a;
  --brand-dark: #12703a;
  --accent: #0c6ba8;
  --line: #dfe6ea;
  --radius: 10px;
  --wrap: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f4f7f8;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic",
    "Noto Sans KR", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 50;
  background: #fff;
  padding: 8px 14px;
  border-radius: 6px;
}

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: 3px solid var(--brand);
  position: sticky;
  top: 0;
  z-index: 30;
}

.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-right: auto;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  display: inline-flex;
  align-items: baseline;
  background: #ffffff;
  border-radius: 6px;
  padding: 4px 9px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-1x {
  color: #1a8f4a;
}

.logo-bet {
  color: #0e1a22;
}

.logo-apk {
  color: #ffffff;
  border: 2px solid #1a8f4a;
  border-radius: 6px;
  padding: 2px 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid #3d5262;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 15px;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  color: #cfdae2;
  font-size: 14.5px;
  padding: 8px 11px;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a.active {
  background: #1d3543;
  color: #fff;
  text-decoration: none;
}

/* Sections */
.hero {
  background: linear-gradient(180deg, var(--bg-alt) 0%, #1b3746 100%);
  color: #e7eef2;
  padding: 40px 0 34px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.35;
  color: #fff;
}

.hero p {
  color: #cddae2;
  max-width: 80ch;
}

.hero .lead {
  font-size: 18px;
  color: #e5eef3;
}

.section {
  padding: 34px 0;
}

.section.alt {
  background: #eaf0f2;
}

h1,
h2,
h3 {
  line-height: 1.35;
}

h2 {
  font-size: 23px;
  margin: 30px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}

.hero h2 {
  border-color: #2c4b5c;
}

h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

p {
  margin: 0 0 14px;
  max-width: 82ch;
}

.lead {
  font-size: 18px;
}

/* Buttons */
.cta-block {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 15px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16.5px;
  text-align: center;
  border: 2px solid transparent;
  min-width: 260px;
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.06);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand-dark);
}

.btn-secondary {
  background: #ffffff;
  color: #0f2a3a;
  border-color: var(--brand);
}

.cta-note {
  flex-basis: 100%;
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
}

.hero .cta-note {
  color: #b9c9d4;
}

/* Bonus */
.bonus-box {
  background: #fff;
  border: 2px dashed var(--brand);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 22px 0 0;
  max-width: 480px;
}

.bonus-label {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.bonus-code {
  margin: 2px 0 6px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--brand-dark);
}

.bonus-text {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

/* Table */
.info-table {
  width: 100%;
  max-width: 620px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 0 18px;
  font-size: 16px;
}

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

.info-table th {
  width: 40%;
  background: #f2f6f7;
  color: #223341;
  font-weight: 600;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  margin: 16px 0 8px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.card p {
  margin: 0 0 8px;
  font-size: 15.5px;
  color: #35454f;
}

.inline-link {
  font-size: 15px;
  font-weight: 600;
}

/* Lists */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  max-width: 780px;
}

.steps li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 16px 13px 56px;
  margin-bottom: 10px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 13px;
  width: 28px;
  height: 28px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.steps strong {
  display: block;
  font-size: 16.5px;
}

.steps span {
  color: #46565f;
  font-size: 15.5px;
}

.check-list,
.link-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  max-width: 780px;
}

.check-list li,
.link-list li {
  padding: 9px 0 9px 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 16px;
}

.check-list li::before,
.link-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 2px;
}

.next-link {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 16px;
}

/* Footer */
.site-footer {
  background: var(--bg);
  color: #b8c7d1;
  padding: 30px 0 34px;
  margin-top: 20px;
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 0;
  margin: 0 0 18px;
}

.footer-nav a {
  color: #cfdae2;
  font-size: 15px;
}

.age-note {
  font-size: 14.5px;
  color: #93a6b3;
  border-top: 1px solid #24404f;
  padding-top: 16px;
  max-width: none;
}

.copy {
  font-size: 13.5px;
  color: #7c8f9c;
  margin: 0;
}

/* Mobile */
@media (max-width: 860px) {
  body {
    font-size: 16.5px;
  }

  .hero h1 {
    font-size: 25px;
  }

  h2 {
    font-size: 21px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    flex-basis: 100%;
    padding-bottom: 10px;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 2px;
  }

  .site-nav a {
    padding: 11px 10px;
    border-bottom: 1px solid #22394a;
    font-size: 16px;
  }

  .btn {
    min-width: 100%;
  }
}
