/* ============================================================
   V8SPIN — Australian market landing page
   Palette: near-black ground, gold accent, silver highlight
   ============================================================ */

:root {
  --bg:        #0a0a0a;
  --bg-2:      #121212;
  --bg-3:      #1a1a1a;
  --line:      #2a2a2a;
  --gold:      #e7be00;
  --gold-2:    #ffd94a;
  --gold-deep: #a88800;
  --silver:    #d8d8d8;
  --text:      #ececec;
  --muted:     #9a9a9a;
  --radius:    14px;
  --radius-sm: 10px;
  --maxw:      1180px;
  --shadow:    0 8px 28px rgba(0,0,0,.55);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Quicksand, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 68px; /* room for bottom nav */
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.25; font-weight: 700; }
h2 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .8rem; }
.gold  { color: var(--gold); }
.center { text-align: center; margin-top: 22px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4em;
  padding: .6em 1.3em;
  border: 0; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: .9rem;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn:active { transform: translateY(0); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
  color: #1a1400;
  box-shadow: 0 4px 14px rgba(231,190,0,.28);
}
.btn-outline { background: transparent; border: 1.5px solid var(--gold); color: var(--gold); }
.btn-ghost   { background: rgba(255,255,255,.07); color: var(--text); }
.btn-block   { display: flex; width: 100%; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background:
    linear-gradient(rgba(8,8,8,.86), rgba(8,8,8,.94)),
    url("beab7be348096fd13ebaf.jpg") center/cover;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
}
.brand { flex: 1; min-width: 0; display: flex; align-items: center; }
.brand img { height: auto; width: auto; max-height: 40px; max-width: 100%; }
.header-actions { display: flex; gap: 8px; }

.icon-btn {
  background: none; border: 0; color: var(--text);
  cursor: pointer; padding: 6px; line-height: 0;
}
.menu-toggle { display: flex; flex-direction: column; gap: 4px; }
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--gold); border-radius: 2px;
}

/* ---------------- Ticker ---------------- */
.ticker {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  background: rgba(231,190,0,.07);
  border-top: 1px solid rgba(231,190,0,.18);
  overflow: hidden;
}
.ticker-icon { width: 22px; height: 22px; border-radius: 4px; flex: 0 0 auto; }
.ticker-viewport { flex: 1; overflow: hidden; }
.ticker-track {
  display: inline-flex; gap: 48px;
  white-space: nowrap;
  font-size: .82rem; color: var(--gold-2);
  animation: ticker-scroll 34s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------------- Drawer ---------------- */
.drawer-mask {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,.6);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.drawer-mask.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
  width: 288px; max-width: 84vw;
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  transform: translateX(-100%); transition: transform .28s ease;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px; border-bottom: 1px solid var(--line);
}
.drawer-logo { height: 34px; width: auto; }
.drawer-close { font-size: 26px; line-height: 1; color: var(--muted); }
.drawer-cta { padding: 16px; display: grid; gap: 10px; }
.drawer-links { list-style: none; margin: 0; padding: 8px 0; flex: 1; }
.drawer-links a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; font-weight: 600; font-size: .92rem;
  border-left: 3px solid transparent;
}
.drawer-links a:hover { background: rgba(231,190,0,.08); border-left-color: var(--gold); color: var(--gold); }
.drawer-foot { padding: 16px; border-top: 1px solid var(--line); }

/* ---------------- Hero carousel ---------------- */
.hero { max-width: 860px; margin: 16px auto 0; padding: 0 14px; }
.carousel { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.carousel-track { display: flex; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.carousel-track .slide { flex: 0 0 100%; position: relative; overflow: hidden; aspect-ratio: 16/7; background: #000; }
.slide-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: blur(22px) brightness(.5); transform: scale(1.15);
}
.slide-img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.5); color: #fff;
  border: 0; border-radius: 50%;
  width: 34px; height: 34px; cursor: pointer; font-size: 14px;
  display: grid; place-items: center;
  opacity: 0; transition: opacity .2s;
}
.carousel:hover .carousel-arrow { opacity: 1; }
.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }
.carousel-dots {
  position: absolute; bottom: 10px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 7px;
}
.carousel-dots button {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.45); cursor: pointer; transition: all .2s;
}
.carousel-dots button.active { background: var(--gold); width: 20px; border-radius: 4px; }

/* ---------------- Quick actions ---------------- */
.quick-actions {
  max-width: var(--maxw); margin: 18px auto 0; padding: 0 14px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
}
.qa {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 4px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: .74rem; font-weight: 600; text-align: center;
  transition: border-color .18s, transform .18s;
}
.qa:hover { border-color: var(--gold); transform: translateY(-2px); color: var(--gold); }
.qa-ic { font-size: 1.35rem; line-height: 1; }

/* ---------------- Jackpot strip ---------------- */
.jackpot-strip {
  max-width: var(--maxw); margin: 18px auto 0;
  padding: 18px 14px; text-align: center;
  background: linear-gradient(135deg, rgba(231,190,0,.13), rgba(231,190,0,.03));
  border-block: 1px solid rgba(231,190,0,.25);
}
.jackpot-label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.jackpot-amount {
  font-size: clamp(1.9rem, 6vw, 3rem); font-weight: 700;
  color: var(--gold-2);
  text-shadow: 0 0 22px rgba(231,190,0,.4);
  font-variant-numeric: tabular-nums;
  margin: 2px 0;
}
.jackpot-note { font-size: .74rem; color: var(--muted); }

/* ---------------- Sections ---------------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 34px 14px; }
.section-head { margin-bottom: 18px; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section-head h2 { position: relative; padding-left: 13px; }
.section-head h2::before {
  content: ""; position: absolute; left: 0; top: .18em; bottom: .18em;
  width: 4px; border-radius: 2px;
  background: linear-gradient(var(--gold-2), var(--gold-deep));
}
.section-head p { margin: 0; font-size: .87rem; }
.link-more { color: var(--gold); font-weight: 600; font-size: .85rem; flex: 0 0 auto; }

/* ---------------- Category tabs ---------------- */
.cat-tabs {
  display: flex; gap: 8px; overflow-x: auto;
  padding-bottom: 10px; margin-bottom: 16px;
  scrollbar-width: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted); font: inherit; font-weight: 700; font-size: .84rem;
  cursor: pointer; transition: all .18s;
}
.cat-tab img { width: 20px; height: 20px; object-fit: contain; }
.cat-tab:hover { color: var(--text); border-color: #444; }
.cat-tab.active {
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  color: #1a1400; border-color: transparent;
}

/* ---------------- Provider grid ---------------- */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 10px;
}
.provider-card {
  position: relative;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden; aspect-ratio: 1/1;
  display: grid; place-items: center; padding: 8px;
  transition: border-color .18s, transform .18s;
}
.provider-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.provider-card img { max-height: 100%; object-fit: contain; }
.provider-card .tag {
  position: absolute; top: 6px; left: 6px;
  background: var(--gold); color: #1a1400;
  font-size: .6rem; font-weight: 700;
  padding: 2px 7px; border-radius: 999px;
  letter-spacing: .04em;
}
.provider-card.maint { opacity: .45; }
.provider-card.maint .tag { background: #777; color: #fff; }

/* ---------------- Game grid ---------------- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(146px, 1fr));
  gap: 12px;
}
.game-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
  transition: transform .18s, border-color .18s;
}
.game-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.game-thumb { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.game-thumb::after {
  content: "Play"; position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(0,0,0,.55); color: var(--gold);
  font-weight: 700; font-size: .9rem;
  opacity: 0; transition: opacity .2s;
}
.game-card:hover .game-thumb::after { opacity: 1; }
.game-meta { padding: 8px 9px; }
.game-name {
  font-size: .78rem; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.game-rtp { font-size: .68rem; color: var(--muted); }

/* ---------------- Promotions ---------------- */
.promo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 14px;
}
.promo-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .18s, transform .18s;
  cursor: pointer; text-align: left;
  font: inherit; color: inherit; padding: 0;
}
.promo-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.promo-card .pc-img { aspect-ratio: 16/9; background: var(--bg-3); }
.promo-card .pc-img img { width: 100%; height: 100%; object-fit: cover; }
.promo-card .pc-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.promo-card h3 { font-size: 1rem; color: var(--gold); }
.promo-card p { font-size: .84rem; color: var(--muted); flex: 1; }
.pc-tag {
  align-self: flex-start;
  font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(231,190,0,.4);
  padding: 2px 8px; border-radius: 999px; margin-bottom: 8px;
}

/* ---------------- VIP ---------------- */
.vip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.vip-card {
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; text-align: center;
}
.vip-card.is-top { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(231,190,0,.25) inset; }
.vip-tier { font-size: .95rem; font-weight: 700; color: var(--gold); letter-spacing: .06em; text-transform: uppercase; }
.vip-req { font-size: .74rem; color: var(--muted); margin: 4px 0 10px; }
.vip-perks { list-style: none; margin: 0; padding: 0; font-size: .78rem; display: grid; gap: 5px; }
.vip-perks li::before { content: "\2713 "; color: var(--gold); font-weight: 700; }

.vip-progress-demo {
  margin-top: 20px; padding: 16px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.vip-progress-label {
  display: flex; justify-content: space-between;
  font-size: .82rem; font-weight: 600; margin-bottom: 8px;
}
.vip-bar { height: 7px; background: #2c2c2c; border-radius: 999px; overflow: hidden; }
.vip-bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold-2), var(--gold-deep)); border-radius: 999px; }
.vip-progress-demo .small { margin: 8px 0 0; }

/* ---------------- Payments / support ---------------- */
.pay-grid, .support-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); gap: 12px;
}
.pay-card, .support-card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
  transition: border-color .18s, transform .18s;
}
.support-card { text-align: center; }
.support-card:hover, .pay-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.pay-card h3, .support-card h3 { font-size: .95rem; color: var(--gold); }
.pay-card p, .support-card p { font-size: .84rem; color: var(--muted); margin: 0; }
.support-card .qa-ic { font-size: 1.7rem; display: block; margin-bottom: 6px; }

/* ---------------- Refer band ---------------- */
.refer-band {
  background: linear-gradient(135deg, rgba(231,190,0,.1), transparent 65%);
  border-block: 1px solid rgba(231,190,0,.2);
  max-width: none;
}
.refer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
}
.refer-inner h2 { color: var(--gold); }
.refer-inner p { font-size: .9rem; max-width: 46ch; }
.refer-art { width: 210px; flex: 0 0 auto; border-radius: var(--radius); }

/* ---------------- About ---------------- */
.about p { font-size: .88rem; color: #c4c4c4; max-width: 78ch; }
.about h3 { font-size: 1.05rem; color: var(--gold); margin: 1.8em 0 .55em; }
.about ul, .about ol { font-size: .88rem; color: #c4c4c4; max-width: 78ch; margin: 0 0 1em; padding-left: 1.3em; }
.about li { margin-bottom: .5em; }
.about li::marker { color: var(--gold); font-weight: 700; }
.about strong { color: var(--text); }
.about a:not(.btn) { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.about .btn { margin: 4px 0 6px; }

.faq { max-width: 78ch; display: grid; gap: 8px; }
.faq details {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 0 16px;
  transition: border-color .18s;
}
.faq details[open] { border-color: rgba(231,190,0,.45); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: .9rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.25rem; line-height: 1; flex: 0 0 auto; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 14px; }

/* ---------------- Footer ---------------- */
.site-footer {
  margin-top: 30px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 30px 14px 20px;
}
.footer-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 26px;
}
.footer-col h4 {
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.footer-col.wide p { font-size: .82rem; color: var(--muted); }
.footer-logo { width: 150px; margin-bottom: 10px; }
.badge-img { width: 100%; max-width: 240px; opacity: .9; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .84rem; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  max-width: var(--maxw); margin: 26px auto 0;
  padding-top: 18px; border-top: 1px solid var(--line);
  text-align: center;
}
.age-badge {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid #d9534f; color: #d9534f;
  font-weight: 700; font-size: .82rem; margin-bottom: 10px;
}
.footer-bottom p { margin: 4px 0; color: var(--muted); }

/* ---------------- Floating icons ---------------- */
/* ---------------- Bottom nav ---------------- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--bg-2); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 2px; font-size: .66rem; font-weight: 600; color: var(--muted);
}
.bottom-nav a span { font-size: 1.15rem; line-height: 1; }
.bottom-nav a:hover { color: var(--gold); }
.bottom-nav .bn-primary { color: var(--gold); }

/* ---------------- Promo modal ---------------- */
.promo-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; }
.promo-modal[hidden] { display: none; }
.promo-mask { position: absolute; inset: 0; background: rgba(0,0,0,.75); }
.promo-box {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  width: min(760px, 100%); max-height: 88vh; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.promo-close {
  position: absolute; top: 8px; right: 12px; z-index: 2;
  background: none; border: 0; color: var(--muted);
  font-size: 26px; line-height: 1; cursor: pointer;
}
.promo-info { padding: 22px; overflow-y: auto; }
.promo-label {
  font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.promo-title { font-size: 1.3rem; margin: 4px 0 8px; }
.promo-desc { font-size: .86rem; color: var(--muted); min-height: 3.2em; }
.promo-menu { display: grid; gap: 6px; margin-top: 16px; }
.promo-item {
  padding: 9px 12px; border-radius: var(--radius-sm);
  background: var(--bg-3); border: 1px solid transparent;
  font-size: .78rem; font-weight: 600; cursor: pointer;
  transition: all .16s;
}
.promo-item:hover { border-color: var(--gold); color: var(--gold); }
.promo-item.active { background: rgba(231,190,0,.14); border-color: var(--gold); color: var(--gold); }
.promo-visual { background: var(--bg-3); }
.promo-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- Responsive ---------------- */
@media (max-width: 860px) {
  .refer-inner { flex-direction: column; text-align: center; }
  .refer-inner p { max-width: none; }
  .refer-art { width: 170px; }
  .promo-box { grid-template-columns: 1fr; }
  .promo-visual { order: -1; aspect-ratio: 16/9; }
}

@media (max-width: 620px) {
  .carousel-track .slide { aspect-ratio: 5/3; }
  .quick-actions { grid-template-columns: repeat(3, 1fr); }
  .header-actions .btn-ghost { display: none; }
  .provider-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
  .section { padding: 26px 14px; }
  .section-head.row { flex-direction: column; align-items: flex-start; }
  h2 { font-size: 1.28rem; }
}

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