:root {
  --bg: #000;
  --bg-soft: #0a0a0a;
  --text: #fff;
  --muted: #c9c9c9;
  --gold: #ac8c1a;
  --gold-deep: #816912;
  --line: rgba(255, 255, 255, 0.12);
  --container: 1180px;
  --header-h: 88px;
  --font: "Noto Sans KR", sans-serif;
  --display: "Cormorant Garamond", "Noto Sans KR", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: #111;
  background: #fff;
  line-height: 1.7;
}
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 0.6em; font-weight: 700; }
p { margin: 0 0 1em; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.logo-mark { width: 34px; height: 34px; color: #fff; }
.logo-text {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  font-weight: 700;
}
.logo-text em {
  font-style: normal;
  font-weight: 600;
  opacity: 0.92;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.site-nav a:hover,
.site-nav a.active { color: var(--gold); }
.has-sub { position: relative; }
.has-sub > a::after {
  content: "▾";
  margin-left: 6px;
  font-size: 0.7em;
  opacity: 0.8;
}
.submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 160px;
  background: #111;
  border: 1px solid var(--line);
  padding: 10px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: 0.2s ease;
}
.has-sub:hover .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.submenu a {
  display: block;
  padding: 8px 16px;
  font-size: 0.9rem;
  color: #ddd;
}
.submenu a:hover { color: var(--gold); background: rgba(255,255,255,0.04); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 6px 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
  background: #000;
}
.hero-bg,
.cta-bg {
  position: absolute;
  inset: -2%;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.82) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.45), transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 0;
  max-width: 820px;
}
.eyebrow {
  font-weight: 600;
  margin-bottom: 12px;
}
.eyebrow.light { color: #fff; font-size: 1.1rem; }
.eyebrow.gold { color: var(--gold); font-size: 1.35rem; }
.hero h1 {
  font-size: clamp(3rem, 7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero-desc {
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-light {
  background: #fff;
  color: #111;
}
.btn-light:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-1px);
}

/* Sections */
.section { padding: 88px 0; }
.section-head.center { text-align: center; margin-bottom: 48px; }
.section-head h2,
.sports-copy h2,
.faq-panel h2,
.cta-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.casino { background: #fff; color: #111; }
.card-grid.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.info-card .thumb {
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 18px;
  aspect-ratio: 4 / 3;
  background: #111;
}
.info-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.info-card:hover img { transform: scale(1.04); }
.info-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.info-card p {
  color: #444;
  font-size: 0.95rem;
}

/* Sports */
.sports {
  background: #000;
  color: #fff;
  padding: 100px 0;
}
.sports-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(420px, 1.15fr);
  gap: 48px;
  align-items: center;
}
.sports-copy .eyebrow { margin-bottom: 10px; }
.sports-copy h2 { margin-bottom: 18px; }
.sports-copy p {
  color: rgba(255,255,255,0.84);
  font-size: 0.98rem;
}
.check-list { margin-top: 22px; }
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.92);
  font-size: 0.98rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #2ecc71;
  font-weight: 700;
}

.sports-slider {
  position: relative;
  min-width: 0;
}
.slider-viewport {
  position: relative;
  overflow: hidden;
  margin-right: -12px;
  mask-image: linear-gradient(90deg, #000 0%, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 78%, transparent 100%);
}
.slider-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 40px 12px 2px;
  scroll-behavior: smooth;
}
.slider-track::-webkit-scrollbar { display: none; }
.sport-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: #fff;
  color: #111;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0,0,0,0.32);
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
  opacity: 0.78;
}
.sport-card.is-active {
  opacity: 1;
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(0,0,0,0.48);
}
.sport-card:hover {
  opacity: 1;
  transform: translateY(-8px);
}
.sport-card .thumb {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #111;
}
.sport-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.sport-card:hover img { transform: scale(1.05); }
.sport-card-body {
  padding: 18px 16px 22px;
  min-height: 150px;
}
.sport-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.sport-card p {
  margin: 0;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}
.slider-nav {
  display: flex;
  gap: 8px;
}
.slider-nav button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.03);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.slider-nav button:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.slider-nav button:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}
.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.slider-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,0.28);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.slider-dots button[aria-current="true"] {
  width: 22px;
  background: var(--gold);
}

/* CTA */
.cta-banner {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.72), rgba(0,0,0,0.78)),
    linear-gradient(0deg, rgba(0,0,0,0.55), transparent 40%);
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  padding: 72px 0;
}
.cta-kicker {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.cta-content p { color: rgba(255,255,255,0.88); }

/* FAQ */
.faq {
  background: #000;
  color: #fff;
  padding-top: 40px;
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: stretch;
}
.faq-visual {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.faq-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.faq-badge {
  position: absolute;
  left: 18px;
  top: 18px;
  width: min(78%, 260px);
  background: rgba(176, 28, 46, 0.88);
  color: #fff;
  padding: 18px 16px;
}
.faq-badge strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.faq-badge ol {
  margin: 0;
  padding-left: 18px;
  font-size: 0.9rem;
}
.faq-badge li { margin-bottom: 6px; }
.faq-panel h2 { margin-bottom: 22px; }
.accordion details {
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  font-weight: 600;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "∨";
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: transform 0.2s ease;
}
.accordion details[open] summary::after { transform: rotate(180deg); }
.answer {
  padding: 0 4px 18px;
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: #000;
  color: #bbb;
  text-align: center;
  padding: 48px 0 36px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.follow {
  color: #fff;
  font-weight: 600;
  margin-bottom: 14px;
}
.socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.85rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--gold); }
.copy {
  margin: 0;
  font-size: 0.8rem;
  color: #777;
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  background: #2f6fed;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 90;
}
.to-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* Motion */
.hero-content,
.info-card,
.sports-copy,
.sport-card,
.cta-content,
.faq-visual,
.faq-panel {
  animation: rise 0.8s ease both;
}
.info-card:nth-child(2) { animation-delay: 0.08s; }
.info-card:nth-child(3) { animation-delay: 0.16s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .card-grid.three,
  .sports-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 560px; }
  .sports-slider { order: -1; }
  .sport-card {
    flex-basis: min(78%, 300px);
  }
  .slider-viewport {
    mask-image: linear-gradient(90deg, #000 0%, #000 82%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 82%, transparent 100%);
  }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }
  .container { width: min(100% - 28px, var(--container)); }
  .nav-toggle { display: block; }
  .site-header { position: sticky; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: #000;
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 12px 20px 20px;
  }
  .site-nav.open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .submenu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    border: 0;
    background: transparent;
    padding: 8px 0 0 12px;
  }
  .hero {
    min-height: 560px;
  }
  .hero-content { padding: 56px 0; }
  .hero h1 { font-size: 2.6rem; }
  .hero-desc { font-size: 0.95rem; }
  .btn {
    width: 100%;
    max-width: 280px;
  }
  .section { padding: 56px 0; }
  .sports { padding: 64px 0; }
  .sport-card {
    flex-basis: min(82vw, 300px);
  }
  .sport-card-body { min-height: 140px; }
  .slider-viewport {
    margin-right: 0;
    mask-image: linear-gradient(90deg, #000 0%, #000 86%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 86%, transparent 100%);
  }
  .cta-banner { min-height: 480px; }
  .cta-content h2 { font-size: 1.45rem; }
  .faq-visual { min-height: 320px; }
  .faq-badge { width: min(86%, 240px); }
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
  .footer-links span { display: none; }
}
