/* ============================================================
   Ice Casino CA — stylesheet
   Palette: frozen night + ice-blue + aurora mint + warm gold CTA
   No external fonts, no images. SVG/CSS only.
   ============================================================ */

:root {
  --abyss:      #061321;
  --abyss-2:    #08182a;
  --glacier:    #0e2740;
  --glacier-2:  #123150;
  --frost:      #5cc8ff;
  --frost-deep: #2b8fd0;
  --aurora:     #79f2d6;
  --ice-white:  #eaf6ff;
  --steel:      #93b0c7;
  --gold:       #ffba49;
  --gold-deep:  #f59522;
  --line:       rgba(124, 196, 255, 0.18);
  --shadow:     0 18px 48px rgba(0, 0, 0, 0.45);
  --radius:     16px;
  --maxw:       1140px;
  --font:       "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ice-white);
  background:
    radial-gradient(1100px 600px at 75% -8%, rgba(92,200,255,0.16), transparent 60%),
    radial-gradient(900px 520px at 8% 12%, rgba(121,242,214,0.10), transparent 55%),
    var(--abyss);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--frost); }

/* ---------- Headings ---------- */
h1, h2, h3 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -0.01em; }

h1 {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  font-weight: 800;
}
h1 .accent {
  background: linear-gradient(120deg, var(--frost), var(--aurora));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 700;
  margin-top: 0;
}
h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: var(--ice-white);
}

p { margin: 0 0 1.05em; color: #d6e7f5; }
.muted { color: var(--steel); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--frost);
  margin-bottom: 14px;
}
.eyebrow svg { width: 14px; height: 14px; }

section { padding: 56px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: none; }
.lead { font-size: 1.12rem; color: #cfe4f4; max-width: 760px; }

/* ---------- Top ref bonus banner (above everything) ---------- */
.ribbon {
  position: relative;
  z-index: 5;
  background: linear-gradient(100deg, var(--gold), var(--gold-deep));
  color: #2a1500;
}
.ribbon-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 12px 20px;
  text-align: center;
}
.ribbon strong { font-size: 1.02rem; }
.ribbon .ribbon-sub { font-weight: 600; opacity: .85; }

/* ---------- Header / logo ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(6, 19, 33, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo svg { width: 42px; height: 42px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: .04em;
  background: linear-gradient(120deg, #ffffff, var(--frost));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo-text span {
  font-size: .62rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--aurora);
  margin-top: 5px;
}
.nav { display: flex; gap: 22px; }
.nav a {
  color: var(--steel);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
}
.nav a:hover { color: var(--ice-white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  color: #2a1500;
  background: linear-gradient(100deg, var(--gold), var(--gold-deep));
  box-shadow: 0 12px 26px rgba(245, 149, 34, 0.35);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--frost); outline-offset: 3px; }
.btn.ghost {
  background: transparent;
  color: var(--ice-white);
  border: 1px solid var(--frost);
  box-shadow: none;
}
.btn.sm { padding: 11px 20px; font-size: .9rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero { padding-top: 50px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}
.hero p.lead { margin-bottom: 26px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 28px;
  list-style: none;
  padding: 0;
}
.hero-facts li { font-size: .9rem; color: var(--steel); display: flex; align-items: center; gap: 8px; }
.hero-facts b { color: var(--ice-white); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aurora); flex: none; }

/* Hero bonus card */
.bonus-card {
  position: relative;
  background:
    linear-gradient(160deg, rgba(92,200,255,0.14), rgba(121,242,214,0.06)),
    var(--glacier);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px 28px 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.bonus-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--frost), var(--aurora), var(--frost));
}
.bonus-tag {
  display: inline-block;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 800; color: var(--abyss);
  background: var(--aurora);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.bonus-amount {
  font-size: clamp(2.1rem, 6vw, 2.9rem);
  font-weight: 800; line-height: 1.05; margin: 4px 0 2px;
}
.bonus-amount .spins { color: var(--frost); }
.bonus-card ul { list-style: none; padding: 0; margin: 16px 0 22px; }
.bonus-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: #cfe4f4; margin-bottom: 8px; }
.bonus-card li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--aurora); }
.bonus-card .btn { width: 100%; }
.fineprint { font-size: .74rem; color: var(--steel); margin: 12px 0 0; }

/* ---------- Generic cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--glacier);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 14px;
  background: linear-gradient(150deg, rgba(92,200,255,0.2), rgba(121,242,214,0.12));
  color: var(--frost);
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .95rem; margin-bottom: 0; }

/* pros / cons */
.pc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pc-head svg { width: 24px; height: 24px; }
.card.pros { border-color: rgba(121,242,214,0.35); }
.card.cons { border-color: rgba(255,186,73,0.35); }
.pc-list { list-style: none; padding: 0; margin: 0; }
.pc-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: .96rem; color: #d6e7f5; }
.pc-list li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.pros li svg { color: var(--aurora); }
.cons li svg { color: var(--gold); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step {
  display: grid; grid-template-columns: 52px 1fr; gap: 18px;
  background: var(--glacier); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px; align-items: start;
}
.step::before {
  counter-increment: step; content: counter(step);
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.3rem; color: var(--abyss);
  background: linear-gradient(150deg, var(--frost), var(--aurora));
}
.step h3 { margin: 2px 0 6px; }
.step p { margin: 0; font-size: .96rem; }

/* ---------- Tables (responsive, scroll on mobile) ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 8px 0;
}
table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: .95rem;
}
caption { caption-side: top; text-align: left; padding: 14px 16px; color: var(--steel); font-size: .85rem; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
thead th {
  background: var(--glacier-2);
  color: var(--frost);
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
}
tbody tr:nth-child(even) { background: rgba(18, 49, 80, 0.4); }
tbody tr:last-child td { border-bottom: none; }
td b { color: var(--ice-white); }
.scroll-hint { font-size: .78rem; color: var(--steel); margin: 8px 0 0; }

/* ---------- Mid bonus strip ---------- */
.strip {
  background:
    linear-gradient(110deg, rgba(92,200,255,0.16), rgba(121,242,214,0.07)),
    var(--glacier-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 22px; flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.strip-txt b { font-size: 1.35rem; }
.strip-txt p { margin: 4px 0 0; color: var(--steel); font-size: .92rem; }
.strip .btn { flex: none; }

/* ---------- FAQ accordion (no JS, uses details/summary) ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--glacier);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1.02rem;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.5rem; font-weight: 400; color: var(--frost);
  transition: transform .2s ease;
  line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--frost); outline-offset: -3px; }
.faq .faq-body { padding: 0 20px 18px; }
.faq .faq-body p { margin: 0; color: #cfe4f4; font-size: .96rem; }

/* ---------- Footer ---------- */
.site-foot {
  border-top: 1px solid var(--line);
  padding: 40px 0 60px;
  color: var(--steel);
  font-size: .9rem;
}
.foot-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.foot-top .logo-text b { font-size: 1.1rem; }
.age {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold);
  font-weight: 800; font-size: .85rem; flex: none;
}
.foot-note { max-width: 720px; }
.foot-legal { margin-top: 18px; font-size: .82rem; opacity: .8; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
}
@media (max-width: 600px) {
  section { padding: 44px 0; }
  .cards, .cards.two { grid-template-columns: 1fr; }
  .step { grid-template-columns: 44px 1fr; gap: 14px; }
  .step::before { width: 44px; height: 44px; font-size: 1.1rem; }
  .strip { flex-direction: column; align-items: flex-start; }
  .strip .btn { width: 100%; }
  .head-inner { padding: 12px 16px; }
}

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