/* RichPrize Casino AU — Australia (richprize-casino-au.com) */
:root {
  --bg: #070c0a;
  --bg-elevated: #0e1612;
  --bg-soft: #15201a;
  --surface: rgba(14, 22, 18, 0.94);
  --text: #eef5f0;
  --text-muted: #95a79c;
  --gold: #c9b07a;
  --gold-bright: #e2cfa0;
  --emerald: #2f7a5a;
  --emerald-bright: #45a87a;
  --border: rgba(201, 176, 122, 0.24);
  --danger: #e57373;
  --radius: 5px;
  --shadow: 0 28px 68px rgba(0, 0, 0, 0.55);
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(ellipse 65% 48% at 100% 0%, rgba(47, 122, 90, 0.18), transparent 52%),
    radial-gradient(ellipse 50% 38% at 0% 20%, rgba(201, 176, 122, 0.1), transparent 48%),
    linear-gradient(180deg, #050805 0%, var(--bg) 45%, #0b110e 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-bright); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #fff; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(7, 12, 10, 0.9);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.55rem; font-weight: 600; letter-spacing: -0.02em; color: var(--text);
}
.logo span { color: var(--gold-bright); }

.nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1.05rem; align-items: center; }
.nav a { color: var(--text-muted); font-size: 0.88rem; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-bright); }

.nav-cta {
  display: inline-flex; padding: 0.5rem 1.05rem;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #0a120e !important; font-weight: 700; border-radius: var(--radius);
}
.nav-cta:hover { filter: brightness(1.08); color: #0a120e !important; }

.menu-toggle {
  display: none; background: transparent; border: 1px solid var(--border);
  color: var(--text); padding: 0.45rem 0.7rem; border-radius: var(--radius); cursor: pointer;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.85rem 1.5rem; font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  border-radius: var(--radius); border: none; cursor: pointer; text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #0a120e; box-shadow: 0 14px 36px rgba(201, 176, 122, 0.28);
}
.btn-primary:hover { color: #0a120e; filter: brightness(1.05); }

.btn-ghost {
  background: transparent; color: var(--text); border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero {
  position: relative; min-height: 88vh; display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7,12,10,0.28) 0%, rgba(7,12,10,0.55) 42%, rgba(7,12,10,0.97) 100%),
    linear-gradient(95deg, rgba(7,12,10,0.82) 0%, transparent 58%);
}
.hero-content {
  width: min(100% - 2rem, var(--max)); margin: 0 auto; padding: 5rem 0 4rem;
  animation: riseIn 0.9s ease both;
}
.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.8vw, 5rem); font-weight: 600;
  line-height: 0.98; letter-spacing: -0.03em; margin: 0 0 0.75rem; color: #fff;
}
.brand-mark em { font-style: italic; color: var(--gold-bright); }
.hero-lead {
  max-width: 34rem; font-size: 1.06rem; color: var(--text-muted); margin: 0 0 1.75rem;
}
.trust-row {
  display: flex; flex-wrap: wrap; gap: 0.55rem 1.2rem; margin-top: 1.5rem;
  color: var(--text-muted); font-size: 0.85rem;
}
.trust-row span::before {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 0.4rem;
  border-radius: 50%; background: var(--emerald-bright); vertical-align: middle;
}

section { padding: 4.5rem 0; }
.section-head { margin-bottom: 2rem; max-width: 40rem; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3.8vw, 2.7rem); font-weight: 600;
  margin: 0 0 0.55rem; line-height: 1.15; letter-spacing: -0.02em;
}
.section-head p { margin: 0; color: var(--text-muted); }
.eyebrow {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--emerald-bright); margin-bottom: 0.45rem; font-weight: 700;
}

.table-wrap {
  overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow);
}
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td {
  padding: 1rem 1.05rem; text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
th {
  background: rgba(47,122,90,0.14); color: var(--gold-bright);
  font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700;
}
tbody tr { transition: background 0.2s ease; }
tbody tr:hover { background: rgba(201,176,122,0.07); }
tbody tr:last-child td { border-bottom: none; }

.badge {
  display: inline-block; padding: 0.2rem 0.5rem; font-size: 0.74rem; font-weight: 700;
  background: rgba(47,122,90,0.22); color: var(--emerald-bright);
}

.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.game-tile {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  min-height: 260px; isolation: isolate; color: #fff;
}
.game-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.65s ease; z-index: -2;
}
.game-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(7,12,10,0.94) 100%);
  z-index: -1;
}
.game-tile:hover img { transform: scale(1.07); }
.game-tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem; }
.game-tile h3 { margin: 0 0 0.2rem; font-family: var(--font-display); font-size: 1.55rem; }
.game-tile p { margin: 0; color: var(--text-muted); font-size: 0.9rem; }

.split {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.4rem; align-items: center;
}
.split-media {
  border-radius: var(--radius); overflow: hidden; min-height: 320px; box-shadow: var(--shadow);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

.faq details { border-bottom: 1px solid var(--border); padding: 1rem 0; }
.faq summary {
  cursor: pointer; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-bright); font-size: 1.25rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--text-muted); margin: 0.75rem 0 0; }

.cta-band { padding: 4rem 0; }
.cta-band-inner {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 2.6rem;
  background: linear-gradient(125deg, rgba(47,122,90,0.16), rgba(201,176,122,0.08)), var(--bg-elevated);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem;
  animation: pulseGlow 4.5s ease-in-out infinite;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem); margin: 0 0 0.35rem; letter-spacing: -0.02em;
}
.cta-band p { margin: 0; color: var(--text-muted); max-width: 28rem; }

.site-footer {
  border-top: 1px solid var(--border); padding: 3rem 0 2rem; margin-top: 2rem;
  background: rgba(0,0,0,0.28);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.site-footer h3 {
  font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 0.7rem; color: var(--gold-bright);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: var(--text-muted); }
.disclaimer {
  font-size: 0.8rem; color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.2rem;
}
.disclaimer strong { color: var(--danger); }

.page-hero { padding: 3.4rem 0 2rem; border-bottom: 1px solid var(--border); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.8vw, 3.25rem); margin: 0 0 0.7rem;
  line-height: 1.1; letter-spacing: -0.03em;
}
.page-hero p { margin: 0; max-width: 40rem; color: var(--text-muted); }
.breadcrumbs { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--emerald-bright); }
.prose h2 {
  font-family: var(--font-display); font-size: 1.9rem; margin: 2.4rem 0 0.7rem; letter-spacing: -0.02em;
}
.prose p, .prose ul { color: var(--text-muted); }

@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,176,122,0); }
  50% { box-shadow: 0 0 42px 0 rgba(201,176,122,0.14); }
}

.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .game-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(7,12,10,0.97); padding: 1rem; border-bottom: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .hero { min-height: 78vh; }
  .header-inner { position: relative; }
}
@media (max-width: 600px) { .cta-band-inner { padding: 1.7rem; } }
