/* =========================================================
   KCASINO — bright modern casino design system
   ========================================================= */

:root {
  --cream: #f7f3e9;
  --cream-deep: #efe8d8;
  --paper: #fffdf8;
  --ink: #14231e;
  --ink-soft: #3d4f48;
  --muted: #687a72;
  --emerald: #0b4f41;
  --emerald-deep: #06392f;
  --emerald-soft: #dfeee6;
  --mint: #eef6f0;
  --gold: #b3862f;
  --gold-deep: #8c651f;
  --gold-soft: #e9d29a;
  --coral: #c46a4a;
  --line: rgba(20, 35, 30, 0.12);
  --line-light: rgba(255, 253, 248, 0.16);
  --shadow-sm: 0 1px 2px rgba(20, 35, 30, 0.05), 0 8px 24px rgba(20, 35, 30, 0.06);
  --shadow-md: 0 2px 4px rgba(20, 35, 30, 0.04), 0 24px 60px rgba(20, 35, 30, 0.12);
  --shadow-lg: 0 40px 100px rgba(6, 57, 47, 0.18);
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --serif: "Noto Serif KR", "Nanum Myeongjo", Georgia, serif;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-h: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--emerald);
  color: var(--paper);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.025em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.55rem, 4.5vw, 4.15rem);
}

h2 {
  font-size: clamp(2rem, 3.45vw, 3.15rem);
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

p {
  margin: 0;
}

em {
  font-style: normal;
  color: var(--gold-deep);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.2rem;
  border-radius: 8px;
  background: var(--emerald);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Buttons & labels ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.72rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--small {
  min-height: 40px;
  padding: 0.5rem 1.05rem;
  font-size: 0.86rem;
}

.btn--lg {
  min-height: 54px;
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
}

.btn--solid {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--paper);
  box-shadow: 0 10px 24px rgba(11, 79, 65, 0.2);
}

.btn--solid:hover {
  background: var(--emerald-deep);
  border-color: var(--emerald-deep);
  box-shadow: 0 14px 30px rgba(6, 57, 47, 0.26);
}

.btn--line {
  background: transparent;
  border-color: rgba(20, 35, 30, 0.28);
  color: var(--ink);
}

.btn--line:hover {
  background: rgba(20, 35, 30, 0.05);
  border-color: var(--ink);
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #1c1508;
}

.btn--gold:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--paper);
}

.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--dark:hover {
  background: var(--emerald-deep);
  border-color: var(--emerald-deep);
}

.btn--light {
  border-color: rgba(255, 253, 248, 0.45);
  color: var(--paper);
}

.btn--light:hover {
  background: rgba(255, 253, 248, 0.12);
  border-color: var(--paper);
  color: var(--paper);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.1rem;
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: currentColor;
}

.eyebrow--light {
  color: var(--gold-soft);
}

.eyebrow--dark {
  color: var(--gold-deep);
}

/* ---------- Top bar & header ---------- */

.topbar {
  background: var(--emerald-deep);
  color: rgba(255, 253, 248, 0.82);
  font-size: 0.76rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
}

.topbar p,
.topbar-links {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
}

.topbar-links a {
  color: var(--gold-soft);
  text-decoration: none;
}

.topbar-links a:hover {
  color: var(--paper);
  text-decoration: underline;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 20px;
  padding: 0 0.35rem;
  border: 1px solid var(--gold-soft);
  border-radius: 4px;
  color: var(--gold-soft);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 233, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(247, 243, 233, 0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(20, 35, 30, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--emerald);
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(233, 210, 154, 0.34);
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-name span {
  color: var(--gold-deep);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: var(--cream);
  padding: 1.1rem 0 1.5rem;
}

.mobile-menu .container {
  display: grid;
  gap: 0.15rem;
}

.mobile-menu a:not(.btn) {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu .btn {
  margin-top: 1rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(900px 520px at 84% 14%, rgba(233, 210, 154, 0.34), transparent 68%),
    radial-gradient(720px 500px at 8% 80%, rgba(223, 238, 230, 0.8), transparent 70%),
    var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 35, 30, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 35, 30, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 75%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 12%;
  right: -10%;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(179, 134, 47, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.hero-glow::before,
.hero-glow::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(11, 79, 65, 0.1);
  border-radius: 50%;
}

.hero-glow::after {
  inset: 26%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 {
  max-width: 680px;
  margin-bottom: 1.5rem;
  color: var(--ink);
  text-wrap: balance;
}

.hero h1 em {
  position: relative;
  color: var(--emerald);
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 0.16em;
  background: var(--gold-soft);
  opacity: 0.7;
  z-index: -1;
}

.hero-lead {
  max-width: 600px;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.9rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0 0 1.4rem;
  list-style: none;
}

.hero-facts li {
  padding: 0.38rem 0.8rem;
  border: 1px solid rgba(20, 35, 30, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.55);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-note {
  max-width: 560px;
  padding-left: 0.9rem;
  border-left: 2px solid var(--gold);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  padding: 1.5rem 0.5rem;
}

.live-panel {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.55);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.2deg);
}

.live-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.96);
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--emerald);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.live-status i,
.float-tag--live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d2543f;
  box-shadow: 0 0 0 4px rgba(210, 84, 63, 0.14);
  animation: pulse 2s ease-in-out infinite;
}

.live-panel__table {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.felt {
  position: relative;
  height: 310px;
  margin: 0.85rem;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 253, 248, 0.09), transparent 55%),
    linear-gradient(145deg, #0e6352, #073d33 70%);
  box-shadow: inset 0 0 0 1px rgba(233, 210, 154, 0.25), inset 0 30px 80px rgba(0, 0, 0, 0.24);
}

.felt::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 253, 248, 0.09) 0.7px, transparent 0.7px);
  background-size: 7px 7px;
  opacity: 0.5;
}

.felt__arc {
  position: absolute;
  border: 1px solid rgba(233, 210, 154, 0.3);
  border-radius: 50%;
}

.felt__arc--one {
  left: 50%;
  top: 50%;
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
}

.felt__arc--two {
  left: 50%;
  top: 50%;
  width: 270px;
  height: 270px;
  transform: translate(-50%, -50%);
  border-color: rgba(233, 210, 154, 0.18);
}

.felt__line {
  position: absolute;
  left: 50%;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: linear-gradient(transparent, rgba(233, 210, 154, 0.35), transparent);
}

.felt__label {
  position: absolute;
  left: 50%;
  top: 16%;
  transform: translateX(-50%);
  color: rgba(233, 210, 154, 0.72);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.32em;
}

.felt__bet {
  position: absolute;
  left: 13%;
  top: 45%;
  display: grid;
  gap: 0.1rem;
  color: rgba(255, 253, 248, 0.58);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
}

.felt__bet strong {
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0;
}

.felt__bet--right {
  left: auto;
  right: 13%;
  text-align: right;
}

.card {
  position: absolute;
  width: 82px;
  height: 116px;
  border-radius: 7px;
  background: #fffdf7;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.card__corner {
  position: absolute;
  top: 7px;
  left: 8px;
  display: grid;
  color: #16241f;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 0.95;
}

.card__corner small {
  font-family: var(--sans);
  font-size: 0.62rem;
}

.card__suit {
  position: absolute;
  right: 9px;
  bottom: 7px;
  color: #16241f;
  font-size: 1.6rem;
  line-height: 1;
}

.card__suit--red {
  color: #b23a30;
}

.card--a {
  left: 50%;
  top: 41%;
  transform: translate(-58%, -50%) rotate(-9deg);
}

.card--k {
  left: 50%;
  top: 45%;
  transform: translate(-18%, -50%) rotate(7deg);
}

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 4px dashed rgba(255, 253, 248, 0.75);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28), inset 0 0 0 2px rgba(0, 0, 0, 0.08);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0;
}

.chip--one {
  left: 17%;
  bottom: 15%;
  background: #c94f3d;
  color: #fff;
}

.chip--two {
  left: 31%;
  bottom: 11%;
  background: #d8b35a;
  color: #2b210c;
}

.chip--three {
  left: 43%;
  bottom: 16%;
  background: #f2ecdc;
  color: #234139;
}

.live-panel__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0.85rem 1.25rem 1.1rem;
  border-top: 1px solid var(--line);
}

.live-panel__bottom div {
  display: grid;
  gap: 0.1rem;
}

.live-panel__bottom span {
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.live-panel__bottom strong {
  color: var(--emerald);
  font-size: 0.82rem;
}

.float-tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: var(--shadow-md);
}

.float-tag--age {
  top: -0.35rem;
  right: 0.1rem;
  padding: 0.55rem 0.8rem;
  background: var(--gold);
  color: #211807;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  transform: rotate(3deg);
}

.float-tag--live {
  left: 0.7rem;
  bottom: -0.55rem;
  padding: 0.55rem 0.85rem;
  background: var(--paper);
  color: var(--emerald);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.86); }
}

/* ---------- Trust strip ---------- */

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.6);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
  display: grid;
  gap: 0.18rem;
  padding: 1.1rem 1.3rem;
  border-left: 1px solid var(--line);
}

.trust-grid > div:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust-k {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trust-grid strong {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ---------- Section base ---------- */

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section--cream {
  background: var(--cream);
}

.section--white {
  background: var(--paper);
}

.section--mint {
  background:
    radial-gradient(700px 400px at 92% 4%, rgba(233, 210, 154, 0.18), transparent 70%),
    var(--mint);
}

.section--emerald {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 500px at 88% 10%, rgba(233, 210, 154, 0.1), transparent 65%),
    linear-gradient(150deg, #0b4f41, #06392f 72%);
  color: rgba(255, 253, 248, 0.76);
}

.section--emerald h2,
.section--emerald h3 {
  color: var(--paper);
}

.section--responsible {
  background:
    radial-gradient(640px 380px at 12% 90%, rgba(233, 210, 154, 0.22), transparent 70%),
    var(--cream-deep);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}

.section-head h2 {
  margin-bottom: 1.15rem;
}

.section-head > p:last-child,
.section-head__side {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.85;
}

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  max-width: none;
}

.section-head--split h2 {
  margin-bottom: 0;
}

/* ---------- Feature cards ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.7rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(179, 134, 47, 0.4);
  box-shadow: var(--shadow-md);
}

.feature-num {
  display: inline-block;
  margin-bottom: 1.4rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.feature-card h3 {
  margin-bottom: 0.7rem;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.8;
}

.check-list {
  display: grid;
  gap: 0.45rem;
  padding: 0;
  margin: 1.2rem 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.65;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Game cards ---------- */

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.game-card {
  padding: 1.5rem 1.4rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.game-card:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 79, 65, 0.32);
  background: var(--mint);
}

.game-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.game-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--emerald);
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.game-card h3 {
  font-size: 1.18rem;
}

.game-card p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.78;
}

.mini-facts {
  display: flex;
  gap: 1.5rem;
  padding-top: 0.9rem;
  margin: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.mini-facts div {
  display: grid;
  gap: 0.05rem;
}

.mini-facts dt {
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.mini-facts dd {
  margin: 0;
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 700;
}

/* ---------- Compare panel ---------- */

.compare-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin-top: clamp(2.2rem, 4vw, 3.4rem);
  padding: clamp(1.7rem, 3.5vw, 2.8rem);
  border-radius: var(--radius-lg);
  background: var(--emerald);
  color: rgba(255, 253, 248, 0.76);
  box-shadow: var(--shadow-md);
}

.compare-panel h3 {
  margin-bottom: 0.8rem;
  color: var(--paper);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.compare-panel__copy p:last-child {
  font-size: 0.9rem;
  line-height: 1.8;
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.06);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 430px;
  font-size: 0.82rem;
}

.compare-table th,
.compare-table td {
  padding: 0.72rem 0.9rem;
  border-bottom: 1px solid rgba(255, 253, 248, 0.12);
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  color: var(--gold-soft);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare-table tbody th {
  color: var(--paper);
  font-weight: 600;
  white-space: nowrap;
}

.compare-table tbody td {
  color: rgba(255, 253, 248, 0.72);
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: 0;
}

/* ---------- Sports ---------- */

.sports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.sport-card {
  padding: 1.4rem;
  border: 1px solid rgba(20, 35, 30, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.72);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.sport-card:hover {
  transform: translateY(-3px);
  background: var(--paper);
}

.sport-card > span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.sport-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.1rem;
}

.sport-card p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.72;
}

.callout {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.6rem;
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--gold);
  background: rgba(255, 253, 248, 0.65);
}

.callout strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.5;
}

.callout p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.8;
}

/* ---------- Payments ---------- */

.pay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.pay-card {
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.pay-card--dark {
  border-color: transparent;
  background:
    radial-gradient(420px 240px at 92% 8%, rgba(233, 210, 154, 0.13), transparent 70%),
    var(--emerald);
  color: rgba(255, 253, 248, 0.74);
}

.pay-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.pay-label {
  color: var(--gold-deep);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.pay-card--dark .pay-label {
  color: var(--gold-soft);
}

.pay-ccy {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pay-card--dark .pay-ccy {
  color: rgba(255, 253, 248, 0.58);
}

.pay-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.5rem;
}

.pay-card--dark h3 {
  color: var(--paper);
}

.pay-card > p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.8;
}

.pay-card--dark > p {
  color: rgba(255, 253, 248, 0.7);
}

.pay-card--dark .check-list li {
  color: rgba(255, 253, 248, 0.66);
}

.process {
  margin-top: 1.5rem;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.process__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.process__head h3 {
  font-size: 1.3rem;
}

.process__head p {
  color: var(--muted);
  font-size: 0.78rem;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.process-list span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.process-list strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-size: 0.9rem;
}

.process-list p {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.fine-print {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.75;
}

/* ---------- License ---------- */

.license-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.license-copy h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 3.3vw, 3rem);
}

.license-copy > p {
  margin-bottom: 1.6rem;
  font-size: 0.92rem;
  line-height: 1.85;
}

.verify-list {
  display: grid;
  gap: 1.05rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.verify-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 0.8rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--line-light);
}

.verify-list span {
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.verify-list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--paper);
  font-size: 0.9rem;
}

.verify-list p {
  font-size: 0.82rem;
  line-height: 1.7;
}

.license-card {
  padding: 2rem;
  border: 1px solid rgba(233, 210, 154, 0.26);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 253, 248, 0.12);
  backdrop-filter: blur(8px);
}

.license-card__kicker {
  margin-bottom: 1.5rem;
  color: var(--gold-soft);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.license-card__mark {
  margin-bottom: 1.6rem;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.license-card__mark span {
  color: var(--gold-soft);
}

.license-card dl {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.license-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-light);
}

.license-card dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.license-card dt {
  color: rgba(255, 253, 248, 0.52);
  font-size: 0.72rem;
}

.license-card dd {
  margin: 0;
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: right;
}

.license-card__note {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 253, 248, 0.5);
  font-size: 0.7rem;
  line-height: 1.7;
}

.domain-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-light);
}

.domain-box h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.domain-box p {
  font-size: 0.86rem;
  line-height: 1.8;
}

.domain-tips {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.domain-tips li {
  display: grid;
  gap: 0.1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-light);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.04);
}

.domain-tips strong {
  color: var(--gold-soft);
  font-size: 0.8rem;
}

.domain-tips span {
  color: rgba(255, 253, 248, 0.6);
  font-size: 0.76rem;
}

/* ---------- Info table ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.info-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.info-table th,
.info-table td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.info-table thead th {
  background: var(--emerald);
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.info-table tbody th {
  width: 17%;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.info-table tbody td {
  color: var(--ink-soft);
  line-height: 1.7;
}

.info-table tbody td:last-child {
  color: var(--emerald);
  font-weight: 600;
}

.info-table tbody tr:nth-child(even) {
  background: rgba(238, 246, 240, 0.5);
}

.info-table tbody tr:last-child th,
.info-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- Responsible ---------- */

.responsible-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.responsible-copy h2 {
  margin-bottom: 1.1rem;
}

.responsible-copy > p {
  margin-bottom: 1.5rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.85;
}

.signal-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: signal;
}

.signal-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.7);
}

.signal-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 0.7rem;
  font-weight: 700;
}

.signal-list p {
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.65;
}

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.faq-head {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.faq-head h2 {
  margin-bottom: 1rem;
}

.faq-head p:last-child {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 1.25rem 2.4rem 1.25rem 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: var(--emerald);
  transition: transform 0.2s ease;
}

.faq-item summary::after {
  transform: rotate(90deg);
}

.faq-item[open] summary::after {
  transform: rotate(0deg);
}

.faq-item[open] summary {
  color: var(--emerald);
}

.faq-item p {
  padding: 0 2.2rem 1.35rem 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.85;
}

/* ---------- Final CTA ---------- */

.final-cta {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background:
    radial-gradient(600px 300px at 88% 10%, rgba(255, 253, 248, 0.5), transparent 70%),
    linear-gradient(120deg, #e9d29a, #d9bd7b 55%, #c9a85f);
}

.final-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.final-cta h2 {
  margin-bottom: 0.8rem;
  color: #14231e;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.final-cta h2 em {
  color: #0b4f41;
}

.final-cta p {
  max-width: 540px;
  color: rgba(20, 35, 30, 0.72);
  font-size: 0.9rem;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  flex: 0 0 auto;
}

.final-cta .btn--line {
  border-color: rgba(20, 35, 30, 0.35);
  color: var(--ink);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.6rem;
  background: var(--emerald-deep);
  color: rgba(255, 253, 248, 0.6);
  font-size: 0.82rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.8fr 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 2.5rem;
}

.footer-brand .brand {
  color: var(--paper);
  margin-bottom: 1rem;
}

.brand--footer .brand-mark {
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(233, 210, 154, 0.35);
}

.brand--footer .brand-name span {
  color: var(--gold-soft);
}

.footer-brand p {
  max-width: 340px;
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.footer-badges span {
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 5px;
  color: rgba(255, 253, 248, 0.56);
  font-size: 0.62rem;
  letter-spacing: 0.02em;
}

.footer-col h3 {
  margin-bottom: 1rem;
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-col a {
  color: rgba(255, 253, 248, 0.64);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--paper);
  text-decoration: underline;
}

.footer-col dl {
  display: grid;
  gap: 0.6rem;
  margin: 0;
}

.footer-col dl div {
  display: grid;
  gap: 0.05rem;
}

.footer-col dt {
  color: rgba(255, 253, 248, 0.4);
  font-size: 0.65rem;
}

.footer-col dd {
  margin: 0;
  color: rgba(255, 253, 248, 0.74);
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 253, 248, 0.12);
  font-size: 0.7rem;
  line-height: 1.75;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  max-width: 540px;
  text-align: right;
  color: rgba(255, 253, 248, 0.45);
}

.footer-legal a {
  color: var(--gold-soft);
}

/* ---------- Sub pages ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background:
    radial-gradient(600px 340px at 86% 20%, rgba(233, 210, 154, 0.3), transparent 70%),
    var(--cream);
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(11, 79, 65, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.7rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--emerald);
  text-decoration: underline;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
}

.page-hero__lead {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.85;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.page-meta span {
  position: relative;
  padding-left: 0.9rem;
}

.page-meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.page-content {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(4rem, 7vw, 6rem);
  background: var(--paper);
}

.prose {
  max-width: 820px;
  margin-inline: auto;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.9;
}

.prose h2 {
  margin: 2.6rem 0 0.9rem;
  padding-top: 0.4rem;
  color: var(--ink);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
}

.prose h2:first-of-type {
  margin-top: 0;
}

.prose h3 {
  margin: 1.8rem 0 0.6rem;
  font-size: 1.12rem;
}

.prose p {
  margin: 0 0 1rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  margin: 0 0 1.2rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

.prose strong {
  color: var(--ink);
}

.prose a {
  color: var(--emerald);
  font-weight: 600;
}

.prose a:hover {
  color: var(--gold-deep);
}

.prose table {
  width: 100%;
  margin: 1.2rem 0 1.6rem;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.prose th,
.prose td {
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose thead th {
  background: var(--mint);
  color: var(--ink);
}

.legal-note {
  margin: 0 0 2rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: var(--cream);
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.75;
}

.updated {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

/* ---------- Self check ---------- */

.self-check {
  margin: 1.8rem 0;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.self-check h3 {
  margin-top: 0;
}

.self-check__list {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.self-check__list label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.6;
  cursor: pointer;
}

.self-check__list input {
  width: 17px;
  height: 17px;
  margin: 0.18rem 0 0;
  accent-color: var(--emerald);
}

.self-check__result {
  margin: 1rem 0 0;
  padding: 0.8rem 0.95rem;
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.self-check__result.is-active {
  background: var(--emerald);
  color: var(--paper);
}

/* ---------- Help grid ---------- */

.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin: 1.2rem 0 1.6rem;
}

.help-card {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
}

.help-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.help-card p {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.help-card a {
  font-size: 0.82rem;
}

/* ---------- 404 ---------- */

.not-found {
  display: flex;
  align-items: center;
  min-height: 62vh;
  padding: 4rem 0;
  background:
    radial-gradient(600px 400px at 80% 20%, rgba(233, 210, 154, 0.3), transparent 70%),
    var(--cream);
}

.not-found__code {
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.not-found h1 {
  margin-bottom: 0.9rem;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.not-found p {
  max-width: 540px;
  color: var(--ink-soft);
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Blog ---------- */

.blog-section {
  padding: clamp(2.8rem, 5vw, 4.5rem) 0;
  background: var(--paper);
}

.blog-section--cream {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(179, 134, 47, 0.5);
  box-shadow: var(--shadow-md);
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  margin-bottom: 0.85rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.blog-card__cat {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.blog-card__title {
  margin: 0 0 0.6rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.5;
}

.blog-card__excerpt {
  margin: 0 0 1.2rem;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.75;
}

.blog-card__more {
  margin-top: auto;
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 700;
}

.blog-card__more span {
  display: inline-block;
  margin-left: 0.25rem;
  transition: transform 0.2s ease;
}

.blog-card:hover .blog-card__more span {
  transform: translateX(4px);
}

.blog-preview {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.blog-preview .section-head {
  margin-bottom: 2rem;
}

.blog-preview__foot {
  margin-top: 2rem;
  text-align: center;
}

.blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: 2.6rem;
  padding: clamp(1.8rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: var(--emerald);
  color: rgba(255, 253, 248, 0.78);
  box-shadow: var(--shadow-md);
}

.blog-featured .eyebrow {
  color: var(--gold-soft);
}

.blog-featured h2 {
  margin: 0.5rem 0 1rem;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.4;
}

.blog-featured p {
  margin-bottom: 1.4rem;
  font-size: 0.92rem;
  line-height: 1.8;
}

.blog-featured .btn {
  justify-self: start;
}

.blog-featured__points {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-featured__points li {
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.06);
  font-size: 0.82rem;
}

.blog-featured__points strong {
  color: var(--gold-soft);
  font-weight: 700;
}

.blog-count {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.blog-count h2 {
  margin: 0;
  font-size: 1.3rem;
}

.blog-count span {
  color: var(--muted);
  font-size: 0.78rem;
}

.blog-editorial {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.blog-editorial article h2 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.blog-editorial article p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.8;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.article-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 1rem;
}

.article-sidebar__box {
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.article-sidebar h2 {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
}

.article-sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-sidebar li + li {
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
}

.article-sidebar a {
  display: block;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.55;
  text-decoration: none;
}

.article-sidebar a:hover {
  color: var(--emerald);
  text-decoration: underline;
}

.article-toc {
  margin: 0 0 2.4rem;
  padding: 1.3rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}

.article-toc h2 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
}

.article-toc ol {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.86rem;
  line-height: 1.7;
}

.article-toc li {
  margin-bottom: 0.2rem;
}

.article-toc a {
  color: var(--emerald);
}

.article-note {
  margin: 0 0 2rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--emerald);
  border-radius: 0 10px 10px 0;
  background: var(--mint);
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.8;
}

.article-author {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.article-author__mark {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--emerald);
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 700;
}

.article-author h2 {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
}

.article-author p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.related-posts h2 {
  margin: 0 0 1.2rem;
  font-size: 1.35rem;
}

.related-posts .blog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-cta {
  margin-top: 2.5rem;
  padding: 1.7rem 1.8rem;
  border-radius: var(--radius);
  background: var(--emerald-deep);
  color: rgba(255, 253, 248, 0.78);
}

.blog-cta h2 {
  margin: 0 0 0.5rem;
  color: var(--paper);
  font-size: 1.15rem;
}

.blog-cta p {
  margin: 0 0 1.1rem;
  font-size: 0.86rem;
  line-height: 1.75;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .main-nav {
    gap: 1.15rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.9fr;
  }

  .footer-grid .footer-col:last-child {
    grid-column: 1 / -1;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 253, 248, 0.12);
  }

  .footer-grid .footer-col:last-child dl {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 70px;
  }

  .main-nav {
    display: none;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero-visual {
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }

  .live-panel {
    transform: rotate(-0.6deg);
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-grid > div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .trust-grid > div:nth-child(n+3) {
    border-top: 1px solid var(--line);
  }

  .feature-grid,
  .game-grid,
  .sports-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card:last-child,
  .sport-card:last-child {
    grid-column: 1 / -1;
  }

  .compare-panel,
  .license-layout,
  .domain-box,
  .responsible-grid,
  .faq-layout,
  .section-head--split {
    grid-template-columns: 1fr;
  }

  .section-head--split {
    gap: 1rem;
    align-items: start;
  }

  .compare-panel {
    gap: 1.6rem;
  }

  .faq-head {
    position: static;
  }

  .process-list {
    grid-template-columns: 1fr 1fr;
  }

  .final-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-grid .footer-col:last-child dl {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
  }

  .footer-legal {
    text-align: left;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 1.8rem, var(--container));
  }

  .blog-grid,
  .blog-preview .blog-grid,
  .blog-editorial,
  .related-posts .blog-grid,
  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .blog-featured {
    grid-template-columns: 1fr;
  }

  .blog-card {
    padding: 1.3rem;
  }

  .blog-count {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: clamp(2.25rem, 9.4vw, 3rem);
  }

  h2 {
    font-size: clamp(1.8rem, 7.2vw, 2.4rem);
  }

  .topbar-inner {
    min-height: 34px;
  }

  .topbar p span:last-child {
    display: none;
  }

  .topbar-links span[aria-hidden] {
    display: none;
  }

  .header-actions .btn {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-facts li {
    font-size: 0.72rem;
  }

  .felt {
    height: 270px;
  }

  .card {
    width: 70px;
    height: 100px;
  }

  .card__suit {
    font-size: 1.35rem;
  }

  .chip {
    width: 36px;
    height: 36px;
    border-width: 3px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid > div,
  .trust-grid > div:nth-child(3) {
    padding: 0.8rem 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust-grid > div:first-child {
    border-top: 0;
  }

  .feature-grid,
  .game-grid,
  .sports-grid,
  .pay-grid,
  .help-grid {
    grid-template-columns: 1fr;
  }

  .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .info-table {
    display: block;
    min-width: 0;
  }

  .info-table thead {
    display: none;
  }

  .info-table tbody {
    display: grid;
    gap: 0.8rem;
  }

  .info-table tbody tr {
    display: block;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
  }

  .info-table tbody tr:nth-child(even) {
    background: var(--paper);
  }

  .info-table tbody th,
  .info-table tbody td {
    display: block;
    width: auto;
    padding: 0;
    border: 0;
    white-space: normal;
  }

  .info-table tbody th {
    margin-bottom: 0.45rem;
    font-family: var(--serif);
    font-size: 1.05rem;
  }

  .info-table tbody td {
    color: var(--ink-soft);
    font-size: 0.84rem;
    line-height: 1.7;
  }

  .info-table tbody td::before {
    display: block;
    margin: 0.65rem 0 0.15rem;
    color: var(--gold-deep);
    font-family: var(--sans);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  .info-table tbody td:nth-child(2)::before {
    content: "왜 중요한가";
  }

  .info-table tbody td:nth-child(3)::before {
    content: "KCASINO에서 확인할 점";
  }

  .info-table tbody td:last-child {
    color: var(--emerald);
    font-weight: 600;
  }

  .compare-table-wrap {
    overflow: visible;
    background: transparent;
  }

  .compare-table {
    display: block;
    min-width: 0;
    font-size: 0.8rem;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table tbody {
    display: block;
  }

  .compare-table tbody tr {
    display: block;
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid rgba(255, 253, 248, 0.12);
  }

  .compare-table tbody tr:last-child {
    border-bottom: 0;
  }

  .compare-table tbody th,
  .compare-table tbody td {
    display: block;
    padding: 0;
    border: 0;
    white-space: normal;
  }

  .compare-table tbody th {
    margin-bottom: 0.35rem;
    color: var(--gold-soft);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
  }

  .compare-table tbody td {
    position: relative;
    padding-left: 3rem;
    color: rgba(255, 253, 248, 0.76);
    line-height: 1.6;
  }

  .compare-table tbody td + td {
    margin-top: 0.15rem;
  }

  .compare-table tbody td::before {
    position: absolute;
    top: 0.05rem;
    left: 0;
    color: rgba(255, 253, 248, 0.48);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.06em;
  }

  .compare-table tbody td:nth-of-type(1)::before {
    content: "라이브";
  }

  .compare-table tbody td:nth-of-type(2)::before {
    content: "RNG";
  }

  .feature-card:last-child,
  .sport-card:last-child {
    grid-column: auto;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process__head {
    flex-direction: column;
    gap: 0.2rem;
  }

  .callout {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .license-card {
    padding: 1.5rem;
  }

  .license-card dl div {
    flex-direction: column;
    gap: 0.1rem;
  }

  .license-card dd {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-grid .footer-col:last-child {
    grid-column: auto;
  }

  .footer-grid .footer-col:last-child dl {
    grid-template-columns: 1fr;
  }

  .prose {
    font-size: 0.92rem;
  }

  .page-meta {
    display: grid;
    gap: 0.3rem;
  }

  .self-check {
    padding: 1.2rem;
  }
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 1.12rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
  }

  .float-tag--age {
    right: -0.2rem;
  }

  .felt__bet {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .topbar,
  .site-header,
  .hero-visual,
  .final-cta__actions,
  .site-footer {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section,
  .page-content {
    padding: 1rem 0;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
