/* AUS55 — Australian Casino Hub */
:root {
  --bg: #071a1c;
  --bg-elevated: #0d2a2e;
  --bg-soft: #11383d;
  --surface: rgba(13, 42, 46, 0.85);
  --text: #e8f2f0;
  --text-muted: #9bb5b0;
  --gold: #d4a84b;
  --gold-bright: #f0c96a;
  --gold-deep: #a87b2a;
  --teal: #1fa387;
  --teal-bright: #2ec4a0;
  --border: rgba(212, 168, 75, 0.22);
  --danger: #e85d5d;
  --radius: 4px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --affiliate: "https://track.affilirise.com/visit/?bta=658977&nci=5811&utm_campaign=casino";
  --max: 1180px;
}

*,
*::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 90% 60% at 10% -10%, rgba(31, 163, 135, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(212, 168, 75, 0.12), transparent 50%),
    linear-gradient(180deg, #051314 0%, var(--bg) 40%, #0a1f22 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, opacity 0.2s ease;
}

a:hover {
  color: #fff;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(5, 19, 20, 0.82);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.logo span {
  color: var(--gold);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--gold-bright);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1a1205 !important;
  font-weight: 700;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(212, 168, 75, 0.25);
}

.nav-cta:hover {
  filter: brightness(1.08);
  color: #1a1205 !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;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.55rem;
  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, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #1a1205;
  box-shadow: 0 12px 32px rgba(212, 168, 75, 0.28);
}

.btn-primary:hover {
  color: #1a1205;
  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-teal {
  background: linear-gradient(135deg, var(--teal-bright), #147a66);
  color: #041412;
}

.btn-teal:hover {
  color: #041412;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero — full bleed */
.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 18s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 19, 20, 0.35) 0%, rgba(5, 19, 20, 0.55) 45%, rgba(5, 19, 20, 0.96) 100%),
    linear-gradient(90deg, rgba(5, 19, 20, 0.75) 0%, transparent 55%);
}

.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, 7vw, 5.2rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
  color: #fff;
}

.brand-mark em {
  font-style: normal;
  color: var(--gold);
}

.hero-lead {
  max-width: 32rem;
  font-size: 1.08rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  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.45rem;
  border-radius: 50%;
  background: var(--teal);
  vertical-align: middle;
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 600;
  margin: 0 0 0.6rem;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* Tables */
.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.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

th {
  background: rgba(212, 168, 75, 0.08);
  color: var(--gold-bright);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

tbody tr {
  transition: background 0.2s ease;
}

tbody tr:hover {
  background: rgba(31, 163, 135, 0.08);
}

tbody tr:last-child td {
  border-bottom: none;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(46, 196, 160, 0.15);
  color: var(--teal-bright);
}

.badge-gold {
  background: rgba(212, 168, 75, 0.18);
  color: var(--gold-bright);
}

/* Game grid — not cards as marketing widgets; interactive media links */
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.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.6s ease;
  z-index: -2;
}

.game-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(5, 19, 20, 0.92) 100%);
  z-index: -1;
}

.game-tile:hover img {
  transform: scale(1.06);
}

.game-tile-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem;
}

.game-tile h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.game-tile p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Feature split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  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 */
.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);
  font-size: 1.25rem;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  color: var(--text-muted);
  margin: 0.75rem 0 0;
}

/* CTA band */
.cta-band {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.cta-band-inner {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.75rem;
  background:
    linear-gradient(120deg, rgba(31, 163, 135, 0.15), rgba(212, 168, 75, 0.1)),
    var(--bg-elevated);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  animation: pulseGlow 4s ease-in-out infinite;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 0.4rem;
}

.cta-band p {
  margin: 0;
  color: var(--text-muted);
  max-width: 28rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
  background: rgba(0, 0, 0, 0.25);
}

.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.75rem;
  color: var(--gold);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.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.25rem;
}

.disclaimer strong {
  color: var(--danger);
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 0.75rem;
  line-height: 1.1;
}

.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(--teal-bright);
}

/* Content prose */
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  margin: 2.5rem 0 0.75rem;
}

.prose p {
  color: var(--text-muted);
}

.prose ul {
  color: var(--text-muted);
}

/* Animations */
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 168, 75, 0); }
  50% { box-shadow: 0 0 40px 0 rgba(212, 168, 75, 0.12); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@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(5, 19, 20, 0.96);
    padding: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav.open {
    display: flex;
  }

  .hero {
    min-height: 78vh;
  }
}

@media (max-width: 600px) {
  .cta-band-inner {
    padding: 1.75rem;
  }

  .header-inner {
    position: relative;
  }
}
