:root {
  --bg: #0e1222;
  --card: #161b31;
  --ink: #eef1fb;
  --muted: #a3abc6;
  --line: rgba(255, 255, 255, .1);
  --accent: #7c9cff;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink); line-height: 1.6; word-break: keep-all;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -0.02em; }
em { font-style: normal; color: var(--accent); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.top { position: sticky; top: 0; z-index: 10; background: rgba(14, 18, 34, .88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-size: 20px; font-weight: 900; }
.count { font-size: 14px; color: var(--muted); font-weight: 600; }

.hero { padding: 72px 0 40px; background: radial-gradient(ellipse at 20% 0%, rgba(124, 156, 255, .22), transparent 60%); }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--accent); }
.hero h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 900; }
.lead { margin: 16px 0 0; color: var(--muted); font-size: clamp(15px, 1.8vw, 18px); }

.section { padding: 30px 0 80px; }
.section h2 { font-size: 22px; font-weight: 800; margin-bottom: 18px; }
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.game { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .2s, border-color .2s; }
.game:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .25); }
.game-art { display: grid; place-items: center; height: 170px; font-size: 84px; }
.theme-gold .game-art { background: radial-gradient(circle at 50% 40%, #3a5bb0, #0b1530 75%); }
.theme-gold .status { background: rgba(255, 209, 102, .16); color: #ffd166; }
.theme-gold .btn-main { background: linear-gradient(180deg, #ffd166, #f4a019); color: #3a2000; }
.game-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.status { align-self: flex-start; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: rgba(124, 156, 255, .16); color: var(--accent); }
.game h3 { margin-top: 8px; font-size: 22px; font-weight: 900; }
.game p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 12px 0 0; }
.tags li { padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; color: #cdd4ec; }
.actions { display: flex; gap: 8px; margin-top: auto; padding-top: 18px; }
.btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; height: 46px; border-radius: 999px; font-weight: 800; font-size: 15px; }
.btn-main { background: var(--accent); color: #0e1222; }
.btn-line { border: 1.5px solid rgba(255, 255, 255, .3); }

.foot { padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }

@media (max-width: 480px) {
  .games { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
}
