:root {
  --navy: #182331;
  --navy-2: #22324a;
  --ink: #182331;
  --muted: #5b6676;
  --paper: #ffffff;
  --mist: #f3f5f8;
  --line: #e2e6ec;
  --sky: #7fa8d9;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--font); -webkit-font-smoothing: antialiased; word-break: keep-all; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -0.01em; margin: 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .14em; }
.brand small { font-weight: 500; letter-spacing: .28em; font-size: 11px; margin-left: 4px; color: var(--muted); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.lang { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 14px; font: 600 13px var(--font); letter-spacing: .08em; cursor: pointer; }
.lang:hover { border-color: var(--navy); }

/* hero */
.hero { position: relative; min-height: calc(100vh - 60px); display: grid; place-items: center; overflow: hidden; padding: 64px 16px 96px;
  background: radial-gradient(1200px 520px at 50% 115%, #e9eff7 0%, #ffffff 65%); }
.winds { position: absolute; inset: 0; width: 100%; height: 100%; }
.winds path { fill: none; stroke: var(--navy); stroke-width: 2; opacity: .08; stroke-dasharray: 1800; stroke-dashoffset: 1800; animation: blow 9s ease-in-out infinite; }
.winds path:nth-child(2) { animation-delay: 1.2s; opacity: .06; }
.winds path:nth-child(3) { animation-delay: 2.4s; opacity: .05; }
.winds path:nth-child(4) { animation-delay: 3.6s; opacity: .05; }
@keyframes blow { 0% { stroke-dashoffset: 1800; } 50% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1800; } }
.hero-inner { position: relative; text-align: center; max-width: 760px; }
.hero-logo { width: clamp(170px, 22vw, 260px); height: auto; margin: 0 auto 36px; animation: rise 1s ease-out both; }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; animation: rise 1s .15s ease-out both; }
.hero p { margin: 20px auto 0; max-width: 560px; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); animation: rise 1s .3s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.cta { display: flex; gap: 12px; justify-content: center; margin-top: 36px; flex-wrap: wrap; animation: rise 1s .45s ease-out both; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--navy);
  text-decoration: none; font-weight: 600; transition: transform .15s, background .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--navy); color: #fff; }
.btn.primary:hover { background: var(--navy-2); }
.btn.big { min-height: 56px; padding: 0 32px; font-size: 17px; }

/* sections */
.section { padding: clamp(72px, 10vw, 128px) 16px; }
.wrap { max-width: 1120px; margin: 0 auto; }
.wrap.two { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.wrap.center { text-align: center; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .28em; color: var(--sky); margin-bottom: 14px; }
.eyebrow.light { color: #9fbde3; }
.section h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.text p { margin: 0 0 18px; color: var(--muted); font-size: 17px; }

.games { background: var(--navy); color: #fff; }
.games h2 { margin-bottom: 40px; }
.game-card { display: grid; grid-template-columns: 1.1fr 1fr; background: #1f2d40; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.game-art { position: relative; min-height: 320px; background: radial-gradient(500px 300px at 30% 30%, #3b5a86 0%, #22324a 55%, #151f2c 100%); display: grid; place-items: center; overflow: hidden; }
.game-art img { width: 38%; opacity: .92; position: relative; }
.game-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.game-art path { fill: none; stroke: #9fbde3; stroke-width: 2; opacity: .35; }
.spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #ffe7a6; box-shadow: 0 0 14px 4px rgba(255,214,120,.5); animation: twinkle 3s ease-in-out infinite; }
.s1 { top: 22%; left: 18%; } .s2 { top: 30%; right: 20%; animation-delay: 1s; } .s3 { bottom: 24%; left: 60%; animation-delay: 2s; }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.7); } 50% { opacity: 1; transform: scale(1); } }
.game-body { padding: clamp(28px, 4vw, 48px); }
.chip { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; padding: 4px 12px; border-radius: 999px; background: rgba(127,168,217,.18); color: #b9d2f0; }
.game-body h3 { font-size: clamp(22px, 2.4vw, 28px); margin: 16px 0 12px; }
.game-body h3 small { font-size: .6em; font-weight: 500; color: #9fb0c6; }
.game-body p { color: #c3cedc; margin: 0 0 24px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.facts li { display: flex; gap: 16px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 10px; font-size: 15px; }
.facts b { width: 72px; color: #8fa2ba; font-weight: 600; }

.values { background: var(--mist); }
.values h2 { margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(24,35,49,.08); }
.num { font-size: 13px; font-weight: 800; color: var(--sky); letter-spacing: .1em; }
.card h3 { font-size: 20px; margin: 12px 0 10px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li { display: flex; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.news-list time { min-width: 72px; color: var(--muted); font-variant-numeric: tabular-nums; }

.contact { background: linear-gradient(160deg, #182331 0%, #22324a 100%); color: #fff; }
.contact p { color: #c3cedc; margin: 16px 0 32px; font-size: 17px; }
.contact .btn.primary { background: #fff; color: var(--navy); border-color: #fff; }

.site-footer { background: #111a25; color: #8fa2ba; padding: 48px 16px; font-size: 14px; }
.foot { display: flex; gap: 32px; align-items: flex-start; }
.foot img { width: 84px; height: auto; opacity: .9; }
.biz p { margin: 0 0 6px; }
.biz a { color: #c3cedc; }
.copy { margin-top: 12px !important; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.shown { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .wrap.two, .game-card, .cards { grid-template-columns: 1fr; }
  .game-art { min-height: 220px; }
  .foot { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .winds path { stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; }
}
