:root {
  --orange: #FF5A1F;
  --orange-dark: #E04A12;
  --green: #2DB300;
  --green-dark: #228A00;
  --ink: #1E2A1A;
  --muted: #5B6B55;
  --bg: #FFFDF8;
  --bg-alt: #F3FAEE;
  --card: #FFFFFF;
  --line: #E6E9DF;
  --radius: 18px;
  --max: 1100px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.desktop-only { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; white-space: nowrap;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-play {
  background: var(--orange); color: #fff;
  box-shadow: 0 6px 16px rgba(255, 90, 31, .28);
}
.btn-play:hover { background: var(--orange-dark); }
.btn-ghost {
  background: transparent; color: var(--green-dark);
  border: 2px solid var(--green);
}
.btn-ghost:hover { background: var(--bg-alt); }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 248, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; height: 60px;
}
.brand { min-width: 0; }
.brand img { width: auto; height: auto; max-height: 26px; max-width: 100%; }
.site-nav { display: none; gap: 24px; font-weight: 600; color: var(--muted); }
.site-nav a:hover { color: var(--ink); }
.btn-header { padding: 8px 16px; font-size: .9rem; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 56px 0 64px;
  background: linear-gradient(180deg, #FFF7EE 0%, var(--bg) 100%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--bg-alt); color: var(--green-dark);
  font-size: .85rem; font-weight: 700;
}
.hero h1 { font-size: clamp(1.9rem, 6vw, 3.2rem); font-weight: 800; }
.lead { color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.15rem); max-width: 640px; margin: 0 auto 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-deco .dot {
  position: absolute; border-radius: 50%; opacity: .18;
  border: 18px solid var(--orange);
}
.dot-a { width: 160px; height: 160px; left: -60px; top: 20px; }
.dot-b { width: 100px; height: 100px; right: -30px; top: 60px; border-color: var(--green); }
.dot-c { width: 70px; height: 70px; right: 15%; bottom: -20px; }

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { text-align: center; margin-bottom: 32px; }
.section h2::after {
  content: ""; display: block; width: 44px; height: 5px; margin: 12px auto 0;
  border-radius: 3px; background: linear-gradient(90deg, var(--orange), var(--green));
}

/* About */
.about-grid { display: grid; gap: 16px; }
.about-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.about-icon { font-size: 2rem; margin-bottom: 8px; }
.about-card p { margin: 0; color: var(--muted); }
.about-note { text-align: center; margin-top: 28px; color: var(--muted); }
.about-note strong { color: var(--orange-dark); }

/* Games */
.game-list { display: grid; gap: 20px; }
.game-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: grid;
}
.card-art {
  aspect-ratio: 16 / 9; min-height: 180px;
  background: linear-gradient(135deg, var(--green) 0%, #8BD24A 45%, var(--orange) 100%);
  display: grid; place-items: center;
}
.card-art span {
  font-size: 6rem; font-weight: 900; color: #fff;
  text-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}
.card-body { padding: 24px; }
.card-tag { color: var(--green-dark); font-weight: 700; font-size: .85rem; margin-bottom: 6px; }
.card-desc { color: var(--muted); }
.card-meta { list-style: none; padding: 0; margin: 0 0 20px; color: var(--muted); font-size: .95rem; }
.card-meta li { padding: 4px 0; }
.card-meta .notice {
  margin-top: 8px; padding: 10px 12px; border-radius: 10px;
  background: #FFF3EC; color: var(--ink);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 32px; color: var(--muted); font-size: .9rem;
}
.footer-logo { height: 22px; width: auto; margin-bottom: 20px; }
.biz-info { margin: 0 0 16px; display: grid; gap: 6px; }
.biz-info div { display: flex; gap: 12px; }
.biz-info dt { font-weight: 700; min-width: 7.5em; color: var(--ink); }
.biz-info dd { margin: 0; }
.todo { color: #9AA596; }
.support { margin-bottom: 12px; }
.copyright { margin: 0; font-size: .85rem; }

/* Desktop */
@media (min-width: 768px) {
  .desktop-only { display: inline; }
  .header-inner { height: 68px; }
  .brand img { max-height: 34px; }
  .site-nav { display: flex; }
  .hero { padding: 88px 0 96px; }
  .about-grid { grid-template-columns: repeat(3, 1fr); }
  .game-card { grid-template-columns: 5fr 6fr; }
  .card-art { aspect-ratio: auto; height: 100%; }
  .card-body { padding: 32px; }
  .section { padding: 80px 0; }
}
