/* ====================================================================
   NINE CASINO AU  —  styles.css
   Premium dark-blue casino theme. All colours via CSS variables.
   ==================================================================== */

:root {
  --bg:        #070b1a;
  --bg-2:      #0a1226;
  --surface:   #101a33;
  --surface-2: #16213f;
  --line:      #21314f;
  --brand:     #2b6cff;
  --brand-2:   #3ad0ff;
  --gold:      #e9b949;
  --gold-2:    #f7d27a;
  --green:     #34d399;
  --red:       #f06b6b;
  --text:      #e8edf7;
  --muted:     #93a0bf;
  --muted-2:   #6c7aa0;
  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 20px 50px -20px rgba(0,0,0,.7);
  --glow:      0 0 40px -8px rgba(58,208,255,.45);
  --maxw:      1180px;
  --font-display: "Unbounded", "Trebuchet MS", sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Atmospheric background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 85% -5%, rgba(43,108,255,.22), transparent 60%),
    radial-gradient(50% 40% at 5% 10%, rgba(58,208,255,.14), transparent 60%),
    radial-gradient(70% 60% at 50% 110%, rgba(233,185,73,.10), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 80% at 50% 0%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 0%, #000 30%, transparent 100%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 6vw, 4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.45rem); }
p { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--text); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: .72rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--brand-2);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(58,208,255,.08);
  border: 1px solid rgba(58,208,255,.25);
  margin-bottom: 18px;
}
.gold { color: var(--gold-2); }
.brand-text { color: var(--brand-2); }

.section { padding: 86px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: 15px 30px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, filter .2s ease;
  letter-spacing: .01em;
}
.btn-primary {
  color: #06122c;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 10px 30px -10px rgba(233,185,73,.7);
}
.btn-primary:hover { transform: translateY(-3px); filter: brightness(1.05); box-shadow: 0 18px 40px -12px rgba(233,185,73,.8); }
.btn-blue {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 30px -10px rgba(43,108,255,.8);
}
.btn-blue:hover { transform: translateY(-3px); filter: brightness(1.08); }
.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--brand-2); color: var(--brand-2); transform: translateY(-2px); }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7,11,26,.72);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { color: var(--muted); font-size: .92rem; font-weight: 600; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { width: 24px; height: 2px; background: var(--text); transition: .25s; }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 60px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero-copy > * { opacity: 0; transform: translateY(18px); animation: rise .7s forwards; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .15s; }
.hero-copy > *:nth-child(3) { animation-delay: .25s; }
.hero-copy > *:nth-child(4) { animation-delay: .35s; }
.hero-copy > *:nth-child(5) { animation-delay: .45s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero h1 span { color: var(--brand-2); }
.hero-sub { margin: 20px 0 30px; font-size: 1.18rem; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-stats .stat strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--gold-2); display: block; }
.hero-stats .stat span { font-size: .82rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .12em; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow), var(--glow); }
.hero-badge {
  position: absolute; bottom: -22px; left: -18px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #06122c; font-family: var(--font-display); font-weight: 700;
  padding: 16px 22px; border-radius: 16px; box-shadow: var(--shadow);
  font-size: 1rem; line-height: 1.2;
}
.hero-badge small { display: block; font-size: .68rem; letter-spacing: .1em; opacity: .75; font-weight: 600; }

/* ---------- Trust bar ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.trust-item .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }

/* ---------- Bonus band ---------- */
.bonus-band {
  background:
    linear-gradient(135deg, rgba(43,108,255,.18), rgba(58,208,255,.06)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 44px;
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
  box-shadow: var(--shadow);
}
.bonus-band h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.bonus-band .big { color: var(--gold-2); }
.bonus-band p { margin-top: 10px; max-width: 620px; }
.bonus-band .terms { font-size: .78rem; color: var(--muted-2); margin-top: 14px; }

/* ---------- Generic cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(58,208,255,.45); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(58,208,255,.1); border: 1px solid rgba(58,208,255,.25);
  margin-bottom: 16px; font-size: 1.4rem;
}

/* ---------- Games ---------- */
.game-card { padding: 0; overflow: hidden; }
.game-card img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.game-card .game-body { padding: 20px 22px 24px; }
.game-card .tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; }

.providers { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
.providers img {
  height: 60px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface-2); padding: 6px 10px; filter: grayscale(.3); opacity: .85;
  transition: .2s;
}
.providers img:hover { filter: none; opacity: 1; transform: translateY(-3px); }

/* ---------- Payments ---------- */
.pay-logos { display: flex; flex-wrap: wrap; gap: 14px; }
.pay-logos img { height: 54px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); padding: 6px 10px; }

table.tbl { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: .95rem; overflow: hidden; border-radius: var(--radius-sm); }
table.tbl th, table.tbl td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.tbl thead th { background: var(--surface-2); color: var(--text); font-family: var(--font-display); font-size: .82rem; letter-spacing: .04em; }
table.tbl tbody tr { background: rgba(255,255,255,.012); }
table.tbl tbody td { color: var(--muted); }
table.tbl tbody td:first-child { color: var(--text); font-weight: 600; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 24px; }
.step::before {
  counter-increment: step; content: counter(step);
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
}
.step h3 { margin-bottom: 4px; }

/* ---------- Pros / cons ---------- */
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pc-col { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.pc-col.pros { background: rgba(52,211,153,.06); border-color: rgba(52,211,153,.3); }
.pc-col.cons { background: rgba(240,107,107,.06); border-color: rgba(240,107,107,.3); }
.pc-col h3 { margin-bottom: 16px; }
.pc-col ul { list-style: none; display: grid; gap: 12px; }
.pc-col li { display: flex; gap: 12px; color: var(--text); font-size: .96rem; }
.pc-col li::before { font-family: var(--font-display); font-weight: 700; flex: 0 0 auto; }
.pc-col.pros li::before { content: "+"; color: var(--green); }
.pc-col.cons li::before { content: "–"; color: var(--red); }

/* ---------- Mobile feature ---------- */
.mobile-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
.mobile-grid img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); margin: 0 auto; }
.feature-list { list-style: none; display: grid; gap: 16px; margin-top: 22px; }
.feature-list li { display: flex; gap: 14px; }
.feature-list .fi { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; background: rgba(58,208,255,.1); border: 1px solid rgba(58,208,255,.25); display: grid; place-items: center; }

/* ---------- FAQ (CSS-only accordion) ---------- */
.faq { display: grid; gap: 14px; max-width: 880px; margin: 0 auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 4px 22px; transition: border-color .2s;
}
.faq details[open] { border-color: rgba(58,208,255,.4); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.08rem; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.5rem; color: var(--brand-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; }

/* ---------- Author box ---------- */
.author { display: flex; gap: 20px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 30px; }
.author img { width: 76px; height: 76px; border-radius: 50%; border: 2px solid var(--gold); }
.author .who strong { font-family: var(--font-display); color: var(--text); }
.author .who span { font-size: .85rem; color: var(--muted-2); }

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(43,108,255,.22), rgba(58,208,255,.08)), var(--surface);
  border: 1px solid var(--line); padding: 60px 30px; box-shadow: var(--shadow);
}
.final-cta h2 { max-width: 760px; margin: 0 auto 16px; }
.final-cta p { max-width: 620px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 30px; margin-top: 20px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .logo img { height: 40px; margin-bottom: 16px; }
.footer h4 { font-family: var(--font-display); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { color: var(--muted); font-size: .92rem; }
.footer a:hover { color: var(--brand-2); }
.footer p { font-size: .9rem; }
.age-badge { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--red); color: var(--red); font-family: var(--font-display); font-weight: 700; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; font-size: .82rem; color: var(--muted-2); }
.footer-bottom .disclaimer { margin-top: 10px; }

/* ---------- Responsible band ---------- */
.responsible { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 38px; display: flex; gap: 22px; align-items: flex-start; }
.responsible .age-badge { flex: 0 0 auto; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .mobile-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bonus-band { grid-template-columns: 1fr; text-align: center; }
  .bonus-band p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg-2);
    border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav-links.is-open { max-height: 360px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px 22px; border-top: 1px solid var(--line); }
  .nav-burger { display: flex; }
  .nav .nav-cta .btn:not(.nav-play) { display: none; }
  .grid-2, .grid-3, .grid-4, .pc { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .bonus-band, .responsible, .final-cta { padding: 28px 22px; }
  .nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.is-open span:nth-child(2) { opacity: 0; }
  .nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
