:root {
  --ink: #0e1018;
  --panel: #171a24;
  --line: rgba(179, 179, 208, 0.14);
  --lime: #c6f531;
  --lime-2: #d8ff6a;
  --blue: #0165fb;
  --text: #f4f4f8;
  --muted: #9a9ab8;
  --tab: 64px;
  --font: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  --display: "Inter", "Noto Sans KR", sans-serif;
  --r: 14px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(900px 420px at 92% -8%, rgba(1, 101, 251, 0.28), transparent 55%),
    radial-gradient(700px 380px at 0% 12%, rgba(198, 245, 49, 0.08), transparent 50%),
    var(--ink);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 0.9rem; }
h1, h2, h3 { margin: 0 0 0.55rem; letter-spacing: -0.03em; line-height: 1.2; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }

.top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem;
  min-height: 72px;
  padding: 0.7rem 1.25rem;
  background: rgba(14, 16, 24, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 32px; width: auto; }
.logo--compact img { height: 28px; }
.nav {
  display: flex; align-items: center; gap: 0.35rem 1.1rem;
  font-size: 0.9rem; font-weight: 700; color: var(--muted);
}
.nav a:hover, .nav a.on { color: var(--lime); }
.top__cta { display: flex; align-items: center; gap: 0.5rem; }

.c-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0.55rem 1.15rem;
  border-radius: var(--r);
  font-weight: 800; font-size: 0.88rem;
  border: 0;
}
.c-btn--join { background: var(--lime); color: #141415; }
.c-btn--login {
  background: var(--blue);
  color: #fff;
}
.c-btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.c-btn--xl { min-height: 50px; padding: 0.8rem 1.5rem; font-size: 1rem; }
.c-btn--join:hover { background: var(--lime-2); }
.c-btn--login:hover { filter: brightness(1.08); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  padding: 10px 9px;
}
.nav-toggle span {
  display: block; height: 2px; margin: 5px 0;
  background: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1.4rem;
  align-items: center;
  padding: 1.6rem 0 0.4rem;
}
.pill {
  display: inline-flex;
  margin: 0 0 0.7rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(1, 101, 251, 0.22);
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 800;
}
.hero h1 b { color: var(--lime); }
.hero__copy p { color: var(--muted); max-width: 38rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.1rem; }
.hero__stats {
  display: flex; gap: 0.7rem;
  margin: 1.1rem 0 0;
}
.stat {
  flex: 1;
  padding: 0.7rem 0.8rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.stat strong { display: block; color: var(--lime); font-size: 0.95rem; }
.stat span { color: var(--muted); font-size: 0.75rem; font-weight: 700; }
.hero__banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  background: #0c1220;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.hero__banner img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}
.cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.3rem 1.2rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(10, 12, 22, 0.92));
}
.cap strong { display: block; font-size: clamp(1.2rem, 2.4vw, 1.8rem); }
.cap span { color: var(--lime); font-size: 0.78rem; font-weight: 700; }

.promos {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 0.75rem;
  padding: 1.2rem 0 0.4rem;
}
.promo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 170px;
  background: #10141f;
}
.promo img { width: 100%; height: 100%; object-fit: cover; min-height: 170px; }
.promo .cap { padding: 0.9rem; }
.promo .cap strong { font-size: 1.05rem; }

.block { padding: 1.1rem 0 0.4rem; }
.block__h {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 0 0 0.85rem;
}
.block__h h2 { font-size: 1.15rem; font-weight: 800; }
.block__h a { color: var(--lime); font-size: 0.8rem; font-weight: 700; }

.rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.65rem;
}
.tile {
  display: flex; flex-direction: column; align-items: center; gap: 0.45rem;
  padding: 0.9rem 0.4rem 1rem;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 0.8rem; font-weight: 800;
}
.tile img { width: 72px; height: 72px; object-fit: contain; }
.tile:hover { border-color: rgba(198, 245, 49, 0.45); }

.games {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.55rem;
}
.game {
  border-radius: 12px;
  overflow: hidden;
  background: #10141f;
  aspect-ratio: 3 / 4;
}
.game img { width: 100%; height: 100%; object-fit: cover; }
.game:hover { outline: 2px solid var(--lime); }

.sports {
  display: flex; gap: 0.55rem; overflow-x: auto;
  padding-bottom: 0.2rem;
  scrollbar-width: none;
}
.sports::-webkit-scrollbar { display: none; }
.sport {
  flex: 0 0 96px;
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  padding: 0.75rem 0.4rem;
  border-radius: 14px;
  background: var(--panel);
  font-size: 0.75rem; font-weight: 700; color: var(--muted);
}
.sport img { width: 52px; height: 48px; object-fit: contain; }

.guide {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 1.3rem;
  padding: 1.4rem 0 1.2rem;
}
.guide h1, .guide h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); }
.guide h3 { font-size: 0.95rem; color: var(--lime); margin-top: 1rem; }
.guide p, .guide li { color: var(--muted); font-size: 0.92rem; }
.block__note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: -0.2rem 0 0.9rem;
  max-width: 46rem;
}
.seo {
  padding: 0.4rem 0 2.2rem;
  max-width: 820px;
}
.seo h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  margin: 1.7rem 0 0.65rem;
}
.seo h3 { font-size: 1.02rem; color: var(--lime); margin-top: 1.25rem; }
.seo p, .seo li { color: var(--muted); font-size: 0.95rem; line-height: 1.78; }
.seo ul { margin: 0.4rem 0 1rem; padding-left: 1.2rem; }
.seo a { color: var(--lime); }
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 1rem 0 1.4rem;
}
.facts div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
}
.facts strong { display: block; color: var(--lime); font-size: 0.78rem; margin-bottom: 0.2rem; }
.facts span { color: var(--muted); font-size: 0.88rem; }
.ask {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  height: fit-content;
}
@media (max-width: 720px) {
  .facts { grid-template-columns: 1fr; }
}
.ask details { border-top: 1px solid var(--line); padding: 0.75rem 0; }
.ask details:first-child { border-top: 0; padding-top: 0; }
.ask summary { cursor: pointer; font-weight: 800; }
.ask p { margin: 0.4rem 0 0; }

.foot {
  margin-top: 0.5rem;
  padding: 1.4rem 0 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}
.foot__brand {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; margin: 0.9rem 0; }
.foot a:hover { color: var(--lime); }
.foot__social {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 0.2rem 0 0.9rem;
}
.soc {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: 0.75rem; font-weight: 800;
}
.soc:hover { border-color: var(--lime); color: var(--lime); }
.foot__rg {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem 0.8rem;
  margin: 0.4rem 0 0.8rem;
}
.rg {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px;
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-weight: 800;
  font-size: 0.78rem;
}
.rg--aware { background: #ec1d25; color: #fff; }
.rg--plus {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--lime);
  font-size: 0.9rem;
}

.page {
  padding: 1.3rem 0 2rem;
  max-width: 880px;
}
.page h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.6rem; }
.page .lead { color: var(--muted); max-width: 42rem; line-height: 1.7; }
.page .muted { color: var(--muted); line-height: 1.75; }
.page .seo { max-width: none; padding-top: 0.6rem; }
.page .cta-row { margin: 1.2rem 0 0.4rem; }
.stack { display: grid; gap: 0.7rem; margin: 1.1rem 0; }
.cover {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  margin: 1rem 0 1.2rem;
}
.cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.bonus-list {
  list-style: none;
  margin: 1rem 0 1.4rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.bonus-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.9rem;
}
.bonus-list strong { color: var(--lime); }
.bonus-list span { color: var(--muted); }
.offers {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0.7rem;
}
.offers--2 { grid-template-columns: 1fr 1fr; }
.offer {
  position: relative;
  min-height: 160px;
  border-radius: 14px;
  overflow: hidden;
  background: #10141f;
}
.offer img { width: 100%; height: 100%; object-fit: cover; min-height: 160px; }
.offer__t {
  position: absolute; left: 0.9rem; bottom: 0.8rem;
  font-weight: 800; text-shadow: 0 2px 12px #000, 0 0 18px #000;
}

.tabbar { display: none; }

@media (max-width: 980px) {
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1rem 1rem;
    background: #10121a;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.7rem 0.2rem; }
  .nav-toggle { display: block; }
  .hero, .guide { grid-template-columns: 1fr; }
  .promos, .offers, .offers--2 { grid-template-columns: 1fr; }
  .rail { grid-template-columns: repeat(5, minmax(64px, 1fr)); overflow-x: auto; }
  .games { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 50;
    height: calc(var(--tab) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: #101014;
    border-top: 1px solid var(--line);
  }
  .tabbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.15rem; font-size: 0.62rem; font-weight: 800; color: var(--muted);
  }
  .tabbar a.on { color: var(--lime); }
  .tabbar img { width: 22px; height: 22px; object-fit: contain; }
  body { padding-bottom: calc(var(--tab) + env(safe-area-inset-bottom) + 8px); }
  .c-btn--login { display: none; }
  .hero__cta .c-btn--login { display: inline-flex; }
  .hero__banner,
  .hero__banner img { min-height: 180px; }
  .promo,
  .promo img { min-height: 140px; }
  .offer,
  .offer img { min-height: 140px; }
  .hero__copy p { max-width: none; }
  .top__cta .c-btn--join { white-space: nowrap; }
}
@media (max-width: 560px) {
  .top { padding: 0.5rem 0.75rem; min-height: 60px; gap: 0.45rem; }
  .logo img { height: 26px; }
  .wrap { width: min(100% - 1.4rem, var(--wrap)); }
  .games { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { padding-top: 1rem; }
  .hero__stats { flex-direction: column; }
  .hero__banner,
  .hero__banner img { min-height: 148px; }
  .tile img { width: 48px; height: 48px; }
  .tile { font-size: 0.68rem; padding: 0.7rem 0.2rem 0.8rem; }
  .c-btn { padding: 0.5rem 0.85rem; min-height: 40px; font-size: 0.82rem; }
  .c-btn--xl { min-height: 46px; padding: 0.7rem 1.1rem; font-size: 0.92rem; }
  .bonus-list li { flex-direction: column; gap: 0.2rem; }
  .rail { grid-template-columns: repeat(5, minmax(56px, 1fr)); }
  .cap { padding: 0.85rem 0.8rem 0.7rem; }
  .cap strong { font-size: 1.05rem; }
}
