/* Ice Casino PL — monobrand (light ice theme) */
:root {
  --bg: #f4f9fd;
  --bg-soft: #e8f3fb;
  --surface: #ffffff;
  --ink: #0b1f3a;
  --ink-soft: #3d5169;
  --muted: #6b7c90;
  --line: #d7e6f2;
  --ice: #2aa8e0;
  --ice-deep: #0e7fb8;
  --green: #22c55e;
  --green-hover: #16a34a;
  --yellow: #facc15;
  --pink: #ec4899;
  --danger: #ef4444;
  --footer: #0a1628;
  --shadow: 0 10px 30px rgba(14, 60, 100, .08);
  --radius: 14px;
  --sidebar-w: 280px;
  --header-h: 68px;
  --font: "Montserrat", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #d9f0ff 0%, transparent 55%),
    radial-gradient(900px 500px at 90% 0%, #ffe8f3 0%, transparent 50%),
    var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ice-deep); text-decoration: none; }
a:hover { color: var(--ice); }
button { font: inherit; cursor: pointer; }
.skip {
  position: absolute; left: -9999px; top: auto;
}
.skip:focus {
  left: 1rem; top: 1rem; z-index: 10000;
  background: #fff; padding: .5rem 1rem; border-radius: 8px;
}

/* Layout shell */
.layout {
  display: block;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-w);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 1rem .9rem 2rem;
  z-index: 40;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb {
  background: #c5d7e8;
  border-radius: 4px;
}
.main-wrap {
  margin-left: var(--sidebar-w);
  min-width: 0;
}
.sidebar-promo {
  background: linear-gradient(160deg, #dff3ff, #f3e9ff 55%, #e8fff2);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sidebar-promo::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(56,189,248,.35), transparent 70%);
}
.sidebar-promo h2 {
  margin: .4rem 0 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
}
.sidebar-promo .offer {
  color: var(--green);
  font-weight: 800;
  font-size: 1.15rem;
  margin: .2rem 0;
}
.sidebar-promo .meta {
  color: var(--ink-soft);
  font-size: .92rem;
  margin: 0 0 .8rem;
}
.sidebar-actions {
  display: grid;
  gap: .5rem;
}
.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav li { border-bottom: 1px solid #eef4f9; }
.side-nav a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem .35rem;
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
}
.side-nav a:hover,
.side-nav a[aria-current="page"] { color: var(--ice-deep); }
.nav-ico {
  width: 28px; height: 28px;
  border: 1.5px solid var(--ice);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--ice-deep);
  font-size: .85rem;
  flex: 0 0 auto;
}
.badge-live {
  margin-left: auto;
  background: var(--danger);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  padding: .15rem .45rem;
  border-radius: 999px;
  letter-spacing: .02em;
}
.ice-mark {
  background: var(--yellow);
  padding: 0 .2rem;
  border-radius: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  padding: 0 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
.logo img, .logo svg { height: 36px; width: auto; }
.header-cta { display: flex; align-items: center; gap: .6rem; }
.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0;
  place-items: center;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .75rem 1.2rem;
  border-radius: 10px;
  font-family: var(--font);
  font-weight: 800;
  font-size: .92rem;
  border: 2px solid transparent;
  transition: .18s ease;
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(34,197,94,.28);
}
.btn-primary:hover { background: var(--green-hover); color: #fff !important; }
.btn-outline {
  background: #fff;
  color: var(--ice-deep) !important;
  border-color: var(--ice);
}
.btn-outline:hover { background: #eef9ff; }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }
.btn-block { width: 100%; }

.content { padding: 1.25rem 1.25rem 3rem; }
.container { max-width: 1100px; margin: 0 auto; }

/* Hero */
.hero-banner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(120deg, #ffffff 0%, #eef8ff 55%, #fff5fa 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.hero-copy .pill {
  display: inline-block;
  background: linear-gradient(90deg, #ec4899, #a855f7);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .35rem .7rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}
.hero-copy h1 {
  margin: 0 0 .6rem;
  font-family: var(--font);
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  line-height: 1.15;
  font-weight: 800;
  color: #0b1f3a;
}
.hero-copy .lead {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 36ch;
}
.hero-chips {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: 1rem 0 0;
}
.chip {
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .4rem .75rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.hero-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 240px;
  background: #e7f4ff;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}

.section { margin: 2.2rem 0; }
.section h2 {
  font-family: var(--font);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin: 0 0 .75rem;
  line-height: 1.25;
}
.section h3 {
  font-family: var(--font);
  font-size: 1.15rem;
  margin: 1.4rem 0 .55rem;
}
.section p { margin: 0 0 .9rem; color: var(--ink-soft); }
.section ul, .section ol { color: var(--ink-soft); padding-left: 1.2rem; }
.section li { margin: .35rem 0; }

.cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(100deg, #e8f9ef, #e7f4ff);
  border: 1px solid #cce9d8;
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin: 1.25rem 0;
}
.cta-box p { margin: 0; color: var(--ink); max-width: 55ch; }
.cta-box strong { color: var(--ink); }

/* Slots carousel */
.slots-head {
  display: flex; align-items: end; justify-content: space-between; gap: 1rem;
  margin-bottom: .85rem;
}
.slots-head p { margin: 0; color: var(--muted); }
.slots-rail {
  overflow: hidden;
  padding: .25rem .1rem .5rem;
  cursor: default;
}
.slots-track {
  display: flex;
  gap: .85rem;
  width: max-content;
  will-change: transform;
  animation: slots-marquee 38s linear infinite;
}
.slots-rail:hover .slots-track,
.slots-rail:focus-within .slots-track {
  animation-play-state: paused;
}
.slots-rail .slot-card {
  flex: 0 0 clamp(140px, 18vw, 168px);
}
@keyframes slots-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .slots-track { animation: none; }
}
.slot-card {
  background: transparent;
  text-align: center;
  color: var(--ink);
}
.slot-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 8px 20px rgba(15, 50, 90, .12);
}
.slot-thumb img { width: 100%; height: 100%; object-fit: cover; }
.slot-provider {
  position: absolute;
  left: 50%; bottom: .45rem;
  transform: translateX(-50%);
  background: rgba(10, 22, 40, .72);
  color: #fff;
  font-size: .68rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 999px;
  white-space: nowrap;
}
.slot-hit {
  position: absolute;
  top: .45rem; right: -.4rem;
  background: var(--green);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  padding: .2rem .85rem;
  transform: rotate(28deg);
}
.slot-card span {
  display: block;
  margin-top: .45rem;
  font-size: .88rem;
  font-weight: 700;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .9rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.05rem;
  box-shadow: 0 4px 14px rgba(14,60,100,.04);
}
.card h3 {
  margin: 0 0 .4rem;
  font-size: 1.02rem;
}
.card p { margin: 0; font-size: .95rem; }
.card-offer { display: flex; flex-direction: column; gap: .65rem; }
.card-offer .card-btn { margin-top: auto; }

.table-wrap {
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 0;
}
th, td {
  padding: .75rem .85rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
  font-size: .9rem;
}
th {
  background: #0b1f3a;
  color: #fff;
  font-family: var(--font);
  font-size: .82rem;
  line-height: 1.35;
}
tr:nth-child(even) td { background: #f7fbfe; }
tr:last-child td { border-bottom: 0; }

/* Stack data tables on small screens — no horizontal scroll */
@media (max-width: 720px) {
  .table-wrap {
    border: 0;
    background: transparent;
    border-radius: 0;
  }
  .table-wrap table:not(.table-vertical) thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .table-wrap table:not(.table-vertical),
  .table-wrap table:not(.table-vertical) tbody,
  .table-wrap table:not(.table-vertical) tr,
  .table-wrap table:not(.table-vertical) td {
    display: block;
    width: 100%;
  }
  .table-wrap table:not(.table-vertical) tr {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: .75rem;
    padding: .35rem 0;
    box-shadow: 0 4px 12px rgba(14, 60, 100, .04);
  }
  .table-wrap table:not(.table-vertical) td {
    display: grid;
    grid-template-columns: minmax(7.5rem, 36%) 1fr;
    gap: .55rem 0.75rem;
    border-bottom: 1px solid #eef4f9;
    padding: .55rem .85rem;
    background: transparent !important;
    font-size: .88rem;
  }
  .table-wrap table:not(.table-vertical) tr:last-child td:last-child,
  .table-wrap table:not(.table-vertical) td:last-child {
    border-bottom: 0;
  }
  .table-wrap table:not(.table-vertical) td::before {
    content: attr(data-label);
    font-family: var(--font);
    font-weight: 700;
    color: var(--ink);
    font-size: .78rem;
    line-height: 1.35;
  }
  .table-wrap .table-vertical {
    table-layout: auto;
  }
  .table-wrap .table-vertical th,
  .table-wrap .table-vertical td {
    display: block;
    width: 100%;
  }
  .table-wrap .table-vertical th {
    border-bottom: 0;
    padding-bottom: .25rem;
  }
  .table-wrap .table-vertical td {
    padding-top: .15rem;
  }
  .table-wrap .table-vertical tr {
    display: block;
    border-bottom: 1px solid var(--line);
    padding: .55rem 0;
  }
}

.steps { padding-left: 1.15rem; }
.steps li { margin: .55rem 0; }
.note {
  font-size: .92rem;
  color: var(--muted);
  background: #fff8e8;
  border: 1px solid #f3e0a8;
  border-radius: 10px;
  padding: .85rem 1rem;
}
.checklist { list-style: none; padding-left: 0; }
.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin: .45rem 0;
}
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--green);
  font-weight: 800;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .85rem 1rem;
  margin: .55rem 0;
}
.faq summary {
  font-family: var(--font);
  font-weight: 700;
  cursor: pointer;
}
.faq details[open] summary { margin-bottom: .5rem; color: var(--ice-deep); }
.faq details div p { margin: 0; }

.related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .75rem;
  margin-top: 1.5rem;
}
.related-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  color: var(--ink) !important;
  transition: .15s ease;
}
.related-card:hover {
  border-color: var(--ice);
  transform: translateY(-2px);
}
.related-card strong { display: block; margin-bottom: .25rem; }
.related-card span { color: var(--muted); font-size: .9rem; }

.info-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .6rem;
  margin: 1rem 0 1.5rem;
}
.info-row .cell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .75rem;
}
.info-row .label {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  font-weight: 700;
}
.info-row .value {
  display: block;
  margin-top: .25rem;
  font-weight: 800;
  font-family: var(--font);
  font-size: .95rem;
}

.media {
  margin: 1.25rem 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e7f4ff;
}
.media figcaption { display: none; }

/* Footer */
.site-footer {
  width: 100%;
  background: var(--footer);
  color: #c9d4e3;
  padding: 2.5rem 1.25rem 1.5rem;
  margin-top: 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.site-footer a { color: #dce6f3; }
.site-footer a:hover { color: #fff; }
.footer-intro h2 {
  margin: 0 0 .6rem;
  color: #fff;
  font-family: var(--font);
  font-size: 1.2rem;
}
.footer-intro .ice-mark { color: #0b1f3a; }
.footer-intro p { margin: 0 0 1.5rem; max-width: 70ch; color: #aebcd0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.footer-col h3 {
  margin: 0 0 .75rem;
  color: #fff;
  font-size: .95rem;
  font-family: var(--font);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: .4rem 0; font-size: .9rem; }
.footer-contact p {
  display: flex; align-items: center; gap: .55rem;
  margin: .55rem 0;
  font-size: .92rem;
}
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1rem;
  font-size: .85rem;
  color: #8fa0b8;
}
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border: 2px solid #fff;
  border-radius: 50%;
  font-weight: 800;
  color: #fff;
  margin-right: .5rem;
  vertical-align: middle;
}

.to-top {
  position: fixed;
  right: 1rem; bottom: 1rem;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--ice-deep);
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(14,127,184,.35);
  opacity: 0;
  pointer-events: none;
  transition: .2s;
  z-index: 50;
}
.to-top.show { opacity: 1; pointer-events: auto; }

.overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(8, 20, 36, .45);
  z-index: 35;
}
body.nav-open .overlay { display: block; }

@media (max-width: 1100px) {
  .info-row { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .main-wrap { margin-left: 0; }
  .sidebar {
    width: min(86vw, 320px);
    bottom: 0;
    transform: translateX(-105%);
    transition: transform .22s ease;
    box-shadow: 12px 0 30px rgba(0,0,0,.18);
  }
  body.nav-open .sidebar { transform: translateX(0); }
  .burger { display: grid; }
  .hero-banner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { min-height: 200px; }
}
@media (max-width: 640px) {
  .content { padding: 1rem .85rem 2.5rem; }
  .hero-banner { padding: 1rem; border-radius: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .info-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; align-items: stretch; }
  .header-cta .btn-outline { display: none; }
  .btn { white-space: normal; }
  .slots-rail .slot-card {
    flex-basis: clamp(132px, 42vw, 168px);
  }
}

/* Additions: page helpers */
.hero-copy .lead { max-width: 48ch; }
.hero-media { min-height: 0; display: flex; align-items: center; background: transparent; }
.hero-media img { height: auto; min-height: 0; object-fit: contain; border-radius: 14px; }
.page-title {
  font-family: var(--font);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  margin: .2rem 0 .6rem;
}
.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;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .25rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.btn-row .btn, .cta-box .btn { white-space: normal; }
.table-vertical th { background: #e8f3fb; color: var(--ink); width: 34%; }
.table-vertical tr:nth-child(even) th { background: #dfeefa; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mini-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: .85rem;
  margin: 1rem 0;
}
.mini-slots .slot-card { max-width: 220px; }
.section .cards .card p, .section .card p { color: var(--ink-soft); }
.stat {
  display: block;
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ice-deep);
  line-height: 1.2;
}
.update-line { font-size: .85rem; color: var(--muted); margin: 0 0 1rem; }
.legal-doc h2 { font-size: 1.25rem; margin-top: 1.8rem; }
.legal-doc p, .legal-doc li { color: var(--ink-soft); }
.footer-legal p { margin: .4rem 0; }
.footer-legal .age-line { display: flex; align-items: center; gap: .5rem; }
.err-page { text-align: center; padding: 3rem 1rem 2rem; }
.err-code {
  font-family: var(--font);
  font-size: clamp(4.5rem, 14vw, 8rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, var(--ice), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.err-page h1 { font-family: var(--font); margin: .5rem 0; }
.err-page p { color: var(--ink-soft); max-width: 52ch; margin: .5rem auto 1.25rem; }
.err-page .btn-row { justify-content: center; }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
}
