:root {
  color-scheme: dark;
  --bg: #080a09;
  --surface: #111412;
  --border: #292e2b;
  --text: #f5f7f5;
  --muted: #9ba29d;
  --green: #37e17a;
  --purple: #a687ff;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
header { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; height: 76px; margin: 0 auto; padding: 0 24px; border-bottom: 1px solid var(--border); }
header p { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 900; letter-spacing: .07em; }
.brand > span { display: grid; place-items: center; width: 30px; height: 30px; color: #071009; background: var(--green); border-radius: 8px; font-size: 18px; }
.brand strong { color: var(--green); }
main { max-width: 1200px; margin: 0 auto; padding: 90px 24px 110px; }
.intro { max-width: 720px; margin-bottom: 60px; }
.eyebrow, .game-label { color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.intro h1 { margin: 12px 0 22px; font-size: clamp(48px, 7vw, 80px); line-height: 1; letter-spacing: -.055em; }
.intro > p:last-child { max-width: 600px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.game-card { position: relative; min-height: 540px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; transition: transform .25s ease, border-color .25s ease; }
.game-card:hover { transform: translateY(-7px); border-color: var(--green); }
.game-card.poker:hover { border-color: var(--purple); }
.card-art { position: relative; height: 275px; overflow: hidden; background: radial-gradient(circle at 50% 100%, rgba(55,225,122,.2), transparent 62%); }
.poker-art { background: radial-gradient(circle at 50% 100%, rgba(166,135,255,.22), transparent 62%); }
.playing-card { position: absolute; top: 45px; display: flex; flex-direction: column; width: 145px; height: 205px; padding: 14px; color: #101311; background: #f7f7f3; border-radius: 13px; box-shadow: 0 25px 50px rgba(0,0,0,.4); font-family: Georgia, serif; font-size: 38px; font-weight: 700; }
.playing-card small { align-self: center; margin-top: 25px; font-size: 70px; }
.card-one, .card-three { left: calc(50% - 130px); transform: rotate(-9deg); }
.card-two, .card-four { left: calc(50% - 10px); color: #d73440; transform: rotate(9deg); }
.card-three { color: #d73440; }
.card-four { color: #101311; }
.poker-chip { position: absolute; z-index: 3; top: 170px; left: calc(50% - 23px); display: grid; place-items: center; width: 64px; height: 64px; color: #fff; background: #7455db; border: 7px dashed #d9ceff; border-radius: 50%; font-size: 23px; transform: rotate(12deg); }
.game-copy { position: relative; padding: 30px 34px 34px; border-top: 1px solid var(--border); }
.game-number { position: absolute; top: 30px; right: 34px; color: #39403b; font-size: 34px; font-weight: 900; }
.poker .game-label { color: var(--purple); }
.game-copy h2 { margin: 4px 0 8px; font-size: 42px; letter-spacing: -.04em; }
.game-copy > p:not(.game-label) { min-height: 52px; margin: 0 0 24px; color: var(--muted); line-height: 1.6; }
.enter { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 800; }
.enter b { display: grid; place-items: center; width: 38px; height: 38px; color: #071009; background: var(--green); border-radius: 50%; }
.poker .enter b { color: #fff; background: var(--purple); }
footer { display: flex; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 30px 24px; color: var(--muted); border-top: 1px solid var(--border); font-size: 12px; }

@media (max-width: 760px) {
  header p { display: none; }
  main { padding-top: 65px; }
  .game-grid { grid-template-columns: 1fr; }
  .game-card { min-height: 500px; }
  footer { display: block; line-height: 1.7; }
}
