:root {
  --primary: #0f4ab9;
  --primary-hover: #1455d9;
  --accent: #f59e0b;
  --danger: #ef4444;
  --success: #10b981;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-tint: #eef4ff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --white: #fff;
  --radius: 16px;
  --shadow-sm: 0 4px 10px rgba(15,23,42,0.06);
  --shadow-md: 0 14px 30px rgba(15,23,42,0.10);
  --shadow-lg: 0 25px 45px -10px rgba(15,74,185,0.35);
  --font-kr: 'Noto Sans KR', system-ui, sans-serif;
  --font-en: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-kr);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 80px;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== Logo ========== */
.logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-en);
  font-size: 1.4rem;
  letter-spacing: -1px;
}
.logo img { height: 32px; width: auto; margin-right: 8px; }
.logo strong { color: var(--text); font-weight: 900; }
.logo span { color: var(--muted); font-weight: 500; }

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: 28px 0 70px;
  background:
    radial-gradient(ellipse at top right, rgba(15,74,185,0.10), transparent 55%),
    linear-gradient(180deg, #f8faff 0%, #eef4ff 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text .logo { margin-bottom: 22px; }

/* Urgency pill with live dot */
.urgency-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(239,68,68,0.08);
  color: var(--danger);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(239,68,68,0.2);
  margin-bottom: 18px;
}
.urgency-pill strong { font-weight: 800; }
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 0 rgba(239,68,68,0.6);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #1455d9, #7c3aed, #1455d9);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 5s linear infinite;
}
@keyframes gradShift { to { background-position: 200% center; } }

.hero .lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
}
.hero .lead strong { color: var(--primary); font-weight: 800; }

/* Code card */
.code-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  padding: 12px 16px 12px 20px;
  border: 2px dashed rgba(15,74,185,0.3);
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.code-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.code-value {
  font-family: var(--font-en);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 3px;
  line-height: 1;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--text);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: background 0.2s, transform 0.15s;
}
.copy-btn:hover { background: var(--primary); transform: translateY(-1px); }
.copy-btn.copied { background: var(--success); }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), #1e3a8a);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.02rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 30px 50px -12px rgba(15,74,185,0.5); }
.btn-primary:hover::after { left: 100%; }
.btn-primary.lg { padding: 17px 34px; font-size: 1.08rem; }
.btn-primary.sm { padding: 11px 20px; font-size: 0.95rem; box-shadow: 0 8px 20px rgba(15,74,185,0.35); }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--primary);
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 1.02rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transition: transform 0.2s;
}
.btn-white:hover { transform: translateY(-2px); color: var(--primary-hover); }
.btn-white.lg { padding: 17px 34px; font-size: 1.08rem; }

/* Micro trust line below CTA */
.micro-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}
.micro-trust span { display: inline-flex; align-items: center; gap: 4px; }
.micro-trust i { color: var(--success); font-size: 1rem; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.orb {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.35) 0%, transparent 70%);
  filter: blur(30px);
  border-radius: 50%;
  animation: orbPulse 6s ease-in-out infinite alternate;
  z-index: 1;
}
@keyframes orbPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 0.75; }
}
.hero-img {
  max-width: 460px;
  width: 100%;
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.18));
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ========== Stats bar ========== */
.stats {
  padding: 36px 0;
  background: var(--text);
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 6px;
  color: var(--white);
}
.stat strong em {
  font-family: var(--font-kr);
  font-size: 1rem;
  font-weight: 700;
  font-style: normal;
  color: var(--accent);
  margin-left: 2px;
}
.stat span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ========== Steps ========== */
.steps {
  padding: 70px 0;
  text-align: center;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 34px;
}
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 24px 28px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15,74,185,0.3);
}
.step.arrow {
  background: linear-gradient(180deg, #eef4ff 0%, #ffffff 100%);
  border-color: rgba(15,74,185,0.25);
}
.step-num {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--primary);
  background: var(--bg-tint);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.step h3 {
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.step h3 b {
  font-family: var(--font-en);
  color: var(--primary);
  letter-spacing: 2px;
  padding: 0 2px;
}
.step p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ========== Reviews ========== */
.reviews {
  padding: 70px 0;
  background: var(--bg-soft);
  text-align: center;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 34px;
}
.review {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.review .stars {
  color: var(--accent);
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.review p {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
.reviewer {
  display: block;
  font-size: 0.83rem;
  color: var(--muted);
  font-weight: 600;
}

/* ========== Games ========== */
.games {
  padding: 70px 0;
  text-align: center;
}
.h2 {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
.sub {
  color: var(--muted);
  margin-bottom: 10px;
  font-size: 1rem;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  max-width: 960px;
  margin: 28px auto 0;
}
.game-grid img {
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
  aspect-ratio: 220/294;
  object-fit: cover;
  width: 100%;
}
.game-grid img:hover { transform: translateY(-6px) scale(1.03); }

/* ========== FAQ ========== */
.faq {
  padding: 70px 0;
  background: var(--bg-soft);
  text-align: center;
}
.faq-list {
  max-width: 760px;
  margin: 34px auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] {
  border-color: rgba(15,74,185,0.3);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: background 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bg-tint); }
.faq-item summary i {
  color: var(--primary);
  font-size: 1.1rem;
  transition: transform 0.25s;
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-item p {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}
.faq-item p strong { color: var(--primary); font-weight: 800; }

/* ========== Final CTA ========== */
.final-cta { padding: 30px 0 80px; }
.cta-banner {
  background: linear-gradient(135deg, #0f4ab9, #1e3a8a);
  color: var(--white);
  border-radius: 24px;
  padding: 50px 60px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.14), transparent 60%);
  pointer-events: none;
}
.chest {
  width: 100%;
  filter: drop-shadow(0 20px 25px rgba(0,0,0,0.3));
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
.cta-content { position: relative; z-index: 2; }
.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffd27a;
  margin-bottom: 14px;
}
.cta-content h2 {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 12px;
}
.cta-content h2 .hl { color: var(--accent); }
.cta-content p {
  font-size: 1.02rem;
  opacity: 0.92;
  margin-bottom: 22px;
}
.cta-content p strong { color: var(--accent); }
.cta-fine {
  display: block;
  margin-top: 14px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}

/* ========== Footer ========== */
.footer {
  padding: 30px 0 40px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer .logo { margin-bottom: 10px; }
.fine {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ========== Sticky mobile CTA ========== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 10px 14px;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.08);
  z-index: 100;
}
.sticky-info { display: flex; flex-direction: column; line-height: 1.25; }
.sticky-info strong { font-size: 0.95rem; color: var(--text); font-weight: 800; }
.sticky-info span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--danger);
  font-weight: 700;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .hero { padding: 20px 0 44px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero-text .logo { justify-content: center; }
  .hero h1 { font-size: 2.2rem; }
  .hero .lead { font-size: 0.98rem; }
  .hero-img { max-width: 300px; }
  .orb { width: 300px; height: 300px; }
  .micro-trust { justify-content: center; gap: 10px 16px; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .stat strong { font-size: 1.9rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 14px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 14px; }
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-banner { grid-template-columns: 1fr; padding: 36px 24px; text-align: center; gap: 20px; }
  .chest { max-width: 180px; margin: 0 auto; }
  .cta-eyebrow { margin-left: auto; margin-right: auto; }
}

@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .container { padding: 0 16px; }
  .hero { padding: 16px 0 36px; }
  .hero-text .logo { margin-bottom: 14px; }
  .urgency-pill { font-size: 0.78rem; padding: 5px 12px; }
  .hero h1 { font-size: 1.85rem; letter-spacing: -1px; margin-bottom: 12px; }
  .hero .lead { font-size: 0.92rem; margin-bottom: 18px; }
  .code-card { padding: 10px 12px 10px 16px; gap: 10px; }
  .code-value { font-size: 1.45rem; letter-spacing: 2px; }
  .copy-btn { padding: 7px 10px; font-size: 0.8rem; }
  .btn-primary.lg { padding: 15px 26px; font-size: 1rem; width: 100%; justify-content: center; }
  .btn-white.lg { padding: 15px 26px; font-size: 1rem; width: 100%; justify-content: center; }
  .micro-trust { font-size: 0.78rem; gap: 8px 14px; }
  .stats { padding: 28px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 8px; }
  .stat strong { font-size: 1.7rem; }
  .stat strong em { font-size: 0.88rem; }
  .stat span { font-size: 0.78rem; }
  .h2 { font-size: 1.5rem; }
  .sub { font-size: 0.9rem; }
  .steps, .reviews, .games, .faq { padding: 48px 0; }
  .step { padding: 26px 20px 22px; }
  .review { padding: 22px 20px; }
  .game-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
  .faq-list { margin-top: 24px; }
  .faq-item summary { padding: 15px 18px; font-size: 0.95rem; }
  .faq-item p { padding: 0 18px 16px; font-size: 0.9rem; }
  .final-cta { padding: 20px 0 48px; }
  .cta-content h2 { font-size: 1.55rem; }
  .cta-content p { font-size: 0.95rem; }
  .cta-fine { font-size: 0.78rem; }
  .sticky-cta { display: flex; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 1.65rem; }
  .game-grid { gap: 8px; }
  .code-value { font-size: 1.3rem; }
  .stat strong { font-size: 1.5rem; }
}
