:root {
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --border: #EEE8DE;
  --text: #22262B;
  --muted: #716C63;
  --muted-2: #9A948A;
  --accent: #FF5A36;
  --accent-bg: #FDEDE7;
  --footer-bg: #22262B;
  --footer-text: #C9C4BA;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Noto Sans KR', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: .82; }

/* Header */
header.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; padding: 16px 24px; max-width: 1200px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 900; letter-spacing: -0.02em; }
nav.main-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
nav.main-nav a.nav-link { font-size: 15px; font-weight: 500; color: #55504A; }

.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 16px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-secondary { background: var(--surface); border: 1px solid #E7E1D6; color: var(--text); }
.btn-pill-sm { padding: 10px 20px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; }

/* Hero */
.hero {
  max-width: 1200px; margin: 0 auto; padding: 96px 24px 72px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px;
}
.eyebrow { display: inline-block; padding: 6px 16px; border-radius: 999px; background: var(--accent-bg); color: var(--accent); font-size: 13px; font-weight: 700; }
.hero h1 { margin: 0; font-size: 52px; font-weight: 900; line-height: 1.28; letter-spacing: -0.02em; max-width: 720px; }
.hero p { margin: 0; font-size: 18px; color: var(--muted); max-width: 560px; line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }

/* Ad slot */
.ad-slot-wrap { max-width: 1200px; margin: 0 auto 72px; padding: 0 24px; }
.ad-slot {
  width: 100%; max-width: 728px; min-height: 90px; margin: 0 auto;
  background: #F1ECE3; border: 1px dashed #D9D2C4; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--muted-2); letter-spacing: .02em;
}

/* Games */
section.games { background: var(--surface); padding: 72px 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { margin: 0 0 12px; font-size: 32px; font-weight: 900; }
.section-head p { margin: 0; font-size: 16px; color: var(--muted); }
.games-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1200px; margin: 0 auto; }
.game-card { background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.game-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.game-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.game-title-row h3 { margin: 0; font-size: 18px; font-weight: 800; }
.badge { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #F1ECE3; color: var(--muted-2); }
.badge-live { background: #E8F6F5; color: #1A8F84; }
.game-card p { margin: 0; font-size: 14px; color: var(--muted-2); line-height: 1.5; }
.game-card a.play-link { font-size: 14px; font-weight: 700; color: var(--accent); }

/* About */
section.about { max-width: 1200px; margin: 0 auto; padding: 72px 24px; }
.about-lede { margin: 0 auto; max-width: 680px; font-size: 16px; line-height: 1.8; color: #55504A; text-align: left; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 16px; }
.feature { display: flex; flex-direction: column; gap: 14px; text-align: center; align-items: center; }
.feature h3 { margin: 0; font-size: 18px; font-weight: 800; }
.feature p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Support / donation */
section.support { background: var(--surface); padding: 72px 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.support-box { max-width: 560px; margin: 0 auto; text-align: center; }
.support-card { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; text-align: left; margin-top: 32px; }
.support-row { display: flex; justify-content: space-between; align-items: center; }
.support-row .label { font-size: 13px; color: var(--muted-2); }
.support-row .value { font-size: 16px; font-weight: 700; }

/* Footer */
footer.site-footer { background: var(--footer-bg); color: var(--footer-text); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 40px 24px; display: flex; flex-direction: column; gap: 16px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 900; color: #fff; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; }
.footer-bottom { font-size: 12px; color: #716C63; line-height: 1.7; }

/* Legal pages (terms / privacy) */
.legal-page main { max-width: 860px; margin: 0 auto; padding: 56px 24px 96px; }
.legal-page h1 { margin: 0 0 8px; font-size: 32px; font-weight: 900; }
.legal-date { margin: 0 0 40px; font-size: 13px; color: var(--muted-2); }
.legal-page section { margin-bottom: 28px; }
.legal-page h2 { font-size: 17px; font-weight: 800; margin: 0 0 8px; }
.legal-page p { margin: 0 0 8px; font-size: 15px; line-height: 1.8; color: #3A3630; }
.legal-note { margin-top: 12px; padding: 16px 20px; background: var(--accent-bg); border-radius: 12px; font-size: 13px; color: #9A5A42; line-height: 1.7; }
.indent { padding-left: 16px; }

@media (max-width: 860px) {
  .hero h1 { font-size: 38px; }
  .features { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .games-grid { grid-template-columns: 1fr; }
}
