:root {
  --bg: #f3ece0;
  --bg-alt: #e9dfcd;
  --surface: #fbf6ec;
  --surface-2: #f6efe1;
  --border: #ddcfb6;
  --border-soft: #e9dfcd;
  --ink: #2e2820;
  --ink-soft: #6d6252;
  --gold: #c8952a;
  --gold-deep: #a4761b;
  --teal: #1f6b5b;
  --teal-deep: #17564a;
  --clay: #b1442f;
  --clay-deep: #93331f;
  --shadow: 0 10px 30px rgba(78, 60, 30, .12);
  --shadow-soft: 0 4px 14px rgba(78, 60, 30, .08);
  --radius: 14px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--teal-deep); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 236, 224, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(78, 60, 30, .06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }

.brand img { height: 40px; width: auto; transition: transform .3s ease; }

.brand:hover img { transform: scale(1.05); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .3px;
  text-decoration: none;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
}

.btn span { position: relative; z-index: 2; }

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-101%);
  transition: transform .35s ease;
  z-index: 1;
}

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

.btn:active { transform: translateY(0); }

.btn-login {
  color: var(--teal-deep);
  background: transparent;
  border: 2px solid var(--teal);
}

.btn-login::before { background: var(--teal); }

.btn-login:hover { color: var(--surface); box-shadow: 0 8px 18px rgba(31, 107, 91, .28); }

.btn-login:hover::before { transform: translateX(0); }

.btn-signup {
  color: #33260c;
  background: linear-gradient(135deg, #e6bd5c 0%, #c8952a 100%);
  border: 2px solid var(--gold-deep);
  box-shadow: 0 6px 16px rgba(164, 118, 27, .25);
}

.btn-signup::before { background: linear-gradient(135deg, #c8952a 0%, #a4761b 100%); }

.btn-signup:hover { color: #fdf6e6; box-shadow: 0 10px 22px rgba(164, 118, 27, .38); }

.btn-signup:hover::before { transform: translateX(0); }

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 6px 16px rgba(164, 118, 27, .25); }
  50% { box-shadow: 0 6px 24px rgba(164, 118, 27, .5); }
}

.btn-signup { animation: pulse-gold 2.6s ease-in-out infinite; }

.hero { padding: 28px 0 8px; }

.hero-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface-2);
}

.hero-card img { width: 100%; height: auto; object-fit: cover; }

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding: 5%;
  background: linear-gradient(90deg, rgba(28, 22, 12, .82) 0%, rgba(28, 22, 12, .55) 45%, rgba(28, 22, 12, 0) 80%);
}

.hero-kicker {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(200, 149, 42, .22);
  border: 1px solid rgba(230, 189, 92, .6);
  color: #f4dda2;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.hero-title {
  max-width: 620px;
  color: #fdf7ea;
  font-size: clamp(26px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.5px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .45);
}

.hero-title .accent { color: #f0c96c; }

.hero-sub {
  max-width: 520px;
  color: #eadfc9;
  font-size: clamp(14px, 1.7vw, 19px);
  line-height: 1.5;
}

.hero-terms { color: #c9bda6; font-size: 12px; letter-spacing: .4px; }

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 38px;
  margin-top: 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e6bd5c 0%, #c8952a 100%);
  color: #33260c;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.btn-play:hover { transform: translateY(-3px) scale(1.03); filter: brightness(1.08); box-shadow: 0 14px 32px rgba(0, 0, 0, .45); }

.btn-play .arrow { transition: transform .25s ease; }

.btn-play:hover .arrow { transform: translateX(4px); }

.section { padding: 46px 0 10px; }

.section-head { text-align: center; margin-bottom: 26px; }

.section-eyebrow {
  display: block;
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-title {
  display: block;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -.4px;
}

.section-note { display: block; color: var(--ink-soft); font-size: 15px; margin-top: 6px; }

.slots-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.slot-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.slot-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 16px 34px rgba(78, 60, 30, .22);
}

.slot-thumb { position: relative; overflow: hidden; }

.slot-thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .45s ease, filter .35s ease; }

.slot-card:hover .slot-thumb img { transform: scale(1.09); filter: saturate(1.1); }

.slot-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 22, 12, .55);
  opacity: 0;
  transition: opacity .3s ease;
}

.slot-card:hover .slot-overlay { opacity: 1; }

.slot-play {
  padding: 10px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e6bd5c 0%, #c8952a 100%);
  color: #33260c;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(12px) scale(.9);
  transition: transform .3s ease, filter .2s ease;
}

.slot-card:hover .slot-play { transform: translateY(0) scale(1); }

.slot-play:hover { filter: brightness(1.1); }

.slot-name {
  display: block;
  padding: 12px 10px 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface);
}

.toc-wrap { padding: 42px 0 6px; }

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.toc > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .3px;
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface) 100%);
  transition: background-color .25s ease;
}

.toc > summary::-webkit-details-marker { display: none; }

.toc > summary:hover { background: var(--bg-alt); }

.toc > summary .chev {
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--gold-deep);
  border-bottom: 2.5px solid var(--gold-deep);
  transform: rotate(45deg);
  transition: transform .3s ease;
  flex: none;
  margin-right: 4px;
}

.toc[open] > summary .chev { transform: rotate(-135deg); }

.toc-list {
  margin: 0;
  padding: 6px 22px 20px;
  border-top: 1px solid var(--border-soft);
  columns: 2;
  column-gap: 30px;
  list-style: none;
  counter-reset: toc;
}

.toc-list li { break-inside: avoid; padding: 5px 0; }

.toc-list li.sub { padding-left: 22px; }

.toc-list a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease, padding-left .2s ease;
}

.toc-list a:hover { color: var(--clay-deep); border-color: var(--clay); padding-left: 4px; }

.content { padding: 34px 0 20px; }

.content-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 34px 38px 40px;
}

.content h1 {
  margin: 0 0 22px;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.6px;
}

.content h2 {
  margin: 38px 0 14px;
  padding-left: 14px;
  border-left: 5px solid var(--gold);
  font-size: clamp(22px, 2.8vw, 29px);
  line-height: 1.25;
  font-weight: 800;
}

.content h3 {
  margin: 28px 0 12px;
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 700;
  color: var(--teal-deep);
}

.content p { margin: 0 0 16px; }

.content strong { color: var(--clay-deep); }

.content ol, .content ul { margin: 0 0 18px; padding-left: 22px; }

.content li { margin-bottom: 8px; }

.content hr {
  height: 1px;
  border: 0;
  margin: 32px 0;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.table-scroll { overflow-x: auto; margin: 0 0 22px; -webkit-overflow-scrolling: touch; }

.content table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 15.5px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.content th {
  background: var(--bg-alt);
  color: var(--ink);
  text-align: left;
  font-weight: 800;
  padding: 12px 14px;
  border-bottom: 2px solid var(--border);
}

.content td { padding: 11px 14px; border-bottom: 1px solid var(--border-soft); vertical-align: top; }

.content tbody tr:nth-child(even) { background: rgba(233, 223, 205, .45); }

.content tbody tr:last-child td { border-bottom: 0; }

.content table.glance td:first-child { width: 34%; font-weight: 700; color: var(--teal-deep); }

.faq { margin-top: 6px; }

.faq-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.faq-item[open] { border-color: var(--gold); box-shadow: var(--shadow-soft); }

.faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  transition: background-color .25s ease;
}

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

.faq-item > summary:hover { background: var(--bg-alt); }

.faq-item h3 { margin: 0; font-size: 17px; font-weight: 700; color: var(--ink); }

.faq-item .plus {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
}

.faq-item .plus::before,
.faq-item .plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--gold-deep);
  transform: translate(-50%, -50%);
  transition: transform .3s ease, opacity .3s ease;
}

.faq-item .plus::before { width: 16px; height: 2.5px; }

.faq-item .plus::after { width: 2.5px; height: 16px; }

.faq-item[open] .plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-answer { padding: 0 20px 18px; }

.faq-answer p { margin: 0; }

.site-footer {
  margin-top: 40px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 34px 0 26px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.footer-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }

.footer-brand img { height: 36px; width: auto; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }

.footer-nav a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}

.footer-nav a:hover { color: var(--clay-deep); }

.footer-note {
  padding-top: 18px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.65;
}

.footer-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border-radius: 50%;
  border: 2px solid var(--clay);
  color: var(--clay-deep);
  font-size: 13px;
  font-weight: 800;
  vertical-align: middle;
}

.footer-copy { margin-top: 14px; color: var(--ink-soft); font-size: 13px; }

@media (max-width: 1024px) {
  .slots-grid { grid-template-columns: repeat(4, 1fr); }
  .content-inner { padding: 28px 24px 32px; }
}

@media (max-width: 860px) {
  .hero-overlay { background: linear-gradient(180deg, rgba(28, 22, 12, .3) 0%, rgba(28, 22, 12, .8) 100%); justify-content: flex-end; }
  .toc-list { columns: 1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .slots-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .header-inner { min-height: 64px; }
  .brand img { height: 36px; }
  .btn { padding: 9px 16px; font-size: 14px; }
  .hero-sub, .hero-terms { display: none; }
  .btn-play { padding: 12px 28px; font-size: 15px; }
  .content-inner { padding: 22px 16px 26px; }
  .slot-overlay { opacity: 1; background: linear-gradient(180deg, rgba(28, 22, 12, 0) 45%, rgba(28, 22, 12, .68) 100%); align-items: flex-end; padding-bottom: 12px; }
  .slot-play { transform: none; padding: 8px 18px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
