:root {
  --accent: #6f39ff;
  --deep: #180b2f;
  --hot: #f8c24e;
  --soft: #f7f2ff;
  --paper: #fffdf9;
  --ink: #171717;
  --muted: #666b75;
  --line: rgba(0,0,0,.12);
  --radius: 28px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 36%),
    linear-gradient(180deg, var(--soft), #ffffff 42%, #f7f7f8);
}
a { color: inherit; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 20px; top: 20px; z-index: 20; background: #fff; padding: 10px 14px; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  max-width: 1180px;
  margin: 14px auto 0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(25,25,35,.08);
}
.brand-dot img { width: 44px; height: 44px; display: block; border-radius: 13px; object-fit: contain; }
.navline { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.navline a { text-decoration: none; font-weight: 750; font-size: .92rem; padding: 9px 12px; border-radius: 999px; color: var(--deep); }
.navline a:hover { background: var(--soft); }
main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.opening-card {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .78fr);
  align-items: center;
  gap: clamp(22px, 5vw, 72px);
  padding: clamp(26px, 6vw, 72px) 0 34px;
}
.eyebrow { display: inline-flex; width: fit-content; color: var(--accent); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: .76rem; }
h1 { font-size: clamp(2.25rem, 5vw, 5.4rem); line-height: .94; margin: 14px 0 18px; max-width: 850px; letter-spacing: -.06em; }
.opening-copy p { font-size: clamp(1.02rem, 1.8vw, 1.28rem); line-height: 1.65; color: #343840; max-width: 720px; }
.opening-copy small { display: block; max-width: 680px; color: var(--muted); line-height: 1.55; margin-top: 16px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 8px; }
.btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px; border-radius: 999px; text-decoration: none; font-weight: 900; }
.btn-main { background: var(--deep); color: #fff; box-shadow: 0 14px 34px color-mix(in srgb, var(--deep) 24%, transparent); }
.btn-ghost { background: #fff; color: var(--deep); border: 1px solid var(--line); }
.hero-photo { margin: 0; position: relative; }
.hero-photo::before { content: ""; position: absolute; inset: -16px; border-radius: 34px; background: var(--accent); transform: rotate(-3deg); z-index: -1; opacity: .84; }
.hero-photo img { width: 100%; height: clamp(300px, 42vw, 520px); object-fit: cover; border-radius: 32px; display: block; box-shadow: 0 28px 80px rgba(20,20,30,.18); }
.action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 48px; }
.action-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 16px 42px rgba(20,20,30,.06); }
.tile-index { color: var(--accent); font-weight: 950; }
.action-tile h3 { margin: 12px 0 8px; font-size: 1.35rem; }
.action-tile p, .content-row p, .split-note p, .visual-note p, .responsible-box p, details p { color: #444a54; line-height: 1.7; }
.text-link { color: var(--deep); font-weight: 900; text-decoration-thickness: 2px; }
.split-note, .visual-note, .route-panel { display: grid; grid-template-columns: .8fr 1fr; gap: 28px; align-items: center; margin: 46px 0; background: rgba(255,255,255,.72); border: 1px solid rgba(0,0,0,.08); border-radius: 34px; padding: clamp(18px, 4vw, 38px); }
.split-note img, .visual-note img { width: 100%; height: 280px; object-fit: cover; border-radius: 26px; display: block; }
.content-stack { display: grid; gap: 14px; margin: 34px 0; }
.content-row { display: grid; grid-template-columns: 74px 1fr; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 22px; }
.row-marker { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--soft); color: var(--deep); font-weight: 950; }
h2 { margin: 0 0 12px; font-size: clamp(1.55rem, 3vw, 2.6rem); line-height: 1.08; letter-spacing: -.03em; }
.route-panel { grid-template-columns: 1fr 1fr; }
.check-list { display: grid; gap: 9px; padding: 0; margin: 18px 0 0; list-style: none; }
.check-list li { padding: 10px 12px; border-left: 4px solid var(--accent); background: #fff; border-radius: 12px; }
.step-list { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.step-list li { display: grid; gap: 4px; padding: 16px; border-radius: 18px; background: var(--deep); color: #fff; }
.step-list span { opacity: .82; line-height: 1.55; }
.responsible-box { margin: 46px 0; padding: 30px; border-radius: 34px; color: #fff; background: linear-gradient(135deg, var(--deep), color-mix(in srgb, var(--accent) 65%, #000)); }
.responsible-box p { color: rgba(255,255,255,.86); }
.faq-panel { margin: 42px 0 64px; }
.faq-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
summary { cursor: pointer; font-weight: 900; }
.footerline { width: min(1180px, calc(100% - 32px)); margin: 0 auto 26px; padding: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); }
.legal-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.legal-card { max-width: 760px; background: #fff; border-radius: 30px; border: 1px solid var(--line); padding: 36px; }
@media (max-width: 820px) {
  .topbar { align-items: flex-start; border-radius: 24px; }
  .brand-dot img { width: 38px; height: 38px; }
  .navline { gap: 4px; }
  .navline a { font-size: .78rem; padding: 7px 8px; }
  .opening-card { min-height: auto; grid-template-columns: 1fr; padding-top: 20px; gap: 18px; }
  .hero-photo { order: -1; }
  .hero-photo::before { inset: -8px; border-radius: 24px; }
  .hero-photo img { height: 185px; border-radius: 22px; }
  h1 { font-size: clamp(1.8rem, 10vw, 2.7rem); line-height: 1.02; }
  .opening-copy p { font-size: .96rem; line-height: 1.5; }
  .cta-row { margin-top: 14px; }
  .btn { width: 100%; min-height: 44px; padding: 10px 12px; }
  .opening-copy small { display: none; }
  .action-grid, .faq-list { grid-template-columns: 1fr; }
  .split-note, .visual-note, .route-panel { grid-template-columns: 1fr; padding: 18px; gap: 18px; }
  .content-row { grid-template-columns: 1fr; }
  .row-marker { width: 46px; height: 46px; }
}
@media (max-width: 360px) { main, .footerline { width: min(100% - 20px, 1180px); } .navline a { font-size: .72rem; } .hero-photo img { height: 150px; } }

/* mobile overflow guard for long Totalcasino terms */
.opening-copy,
.row-copy,
.action-tile,
.faq-list,
.step-list,
.content-row,
.route-panel,
.visual-note,
.split-note {
  min-width: 0;
}
h1,
h2,
h3,
p,
li,
summary,
span,
a {
  overflow-wrap: anywhere;
  word-break: normal;
}
@media (max-width: 420px) {
  .topbar {
    max-width: calc(100vw - 20px);
  }
  .navline {
    max-width: calc(100vw - 90px);
  }
}

/* final mobile above-fold and overflow guard */
html, body { overflow-x: hidden; }
.opening-copy, .row-copy, .action-tile, .faq-list, .step-list, .content-row, .route-panel, .visual-note, .split-note { min-width: 0; }
h1, h2, h3, p, li, summary, span, a { overflow-wrap: anywhere; }
@media (max-width: 420px) {
  main, .footerline { width: min(100% - 22px, 1180px); }
  .topbar { margin-top: 8px; padding: 8px 10px; max-width: calc(100vw - 18px); }
  .navline { max-width: calc(100vw - 82px); gap: 2px; }
  .navline a { font-size: .68rem; padding: 6px 6px; }
  .opening-card { padding-top: 12px; gap: 10px; }
  .hero-photo { order: 0 !important; }
  .hero-photo img { height: 118px !important; }
  .hero-photo::before { inset: -4px !important; }
  h1 { font-size: clamp(1.45rem, 8.2vw, 2.05rem) !important; margin: 8px 0 8px !important; letter-spacing: -.04em; }
  .opening-copy p { font-size: .88rem !important; line-height: 1.38 !important; margin: 0; }
  .eyebrow { font-size: .66rem; letter-spacing: .05em; }
  .cta-row { margin-top: 10px !important; gap: 8px; }
  .btn { min-height: 42px !important; padding: 9px 10px !important; }
}

/* total casino variant: darker luxury rail */
.action-tile { background: linear-gradient(180deg,#fff,#faf7ff); } .content-row { border-right: 6px solid var(--accent); }

.rating-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 24px;
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 12px 34px rgba(20,20,30,.06);
}
.rating-strip strong {
  flex: 0 0 auto;
  font-size: 1.15rem;
}
.rating-strip span {
  color: var(--muted, #5f6672);
  line-height: 1.45;
}
@media (max-width: 420px) {
  .rating-strip {
    margin: 8px 0 14px;
    padding: 10px 12px;
    gap: 8px;
    font-size: .82rem;
  }
  .rating-strip strong { font-size: .95rem; }
}
