:root {
  --ink: #15171a;
  --muted: #5a6370;
  --line: #dde3ea;
  --paper: #ffffff;
  --soft: #f4f7fa;
  --navy: #10243e;
  --teal: #117b78;
  --gold: #c9912b;
  --red: #b0443e;
  --green: #1f7a4d;
  --shadow: 0 14px 36px rgba(16, 36, 62, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex: 0 0 auto;
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover {
  color: var(--teal);
}

.hero {
  background:
    linear-gradient(90deg, rgba(16, 36, 62, 0.94), rgba(16, 36, 62, 0.8)),
    url("../images/Best%20Online%20Casinos%20Australia%202026.webp");
  background-position: center;
  background-size: cover;
  color: #fff;
  padding: 72px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 36px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 5px 10px;
  color: #122033;
  background: #f0bd52;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 14px;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: 0;
}

.hero h1,
.hero h2 {
  color: #fff;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.25rem, 4.4vw, 4.8rem);
}

h2 {
  margin-top: 44px;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
}

h3 {
  margin-top: 26px;
  font-size: 1.25rem;
}

h4 {
  margin-top: 18px;
  font-size: 1rem;
}

p {
  margin: 0 0 16px;
}

.lead {
  max-width: 780px;
  font-size: 1.25rem;
}

.page-meta {
  margin: 12px 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 700;
}

.page-meta span,
.page-meta time {
  color: #fff;
}

.author-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.author-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.author-link:hover {
  text-decoration: underline;
}

.author-link img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  color: #fff;
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: #0d6865;
}

.button.ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-panel {
  padding: 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.check-list,
ul {
  padding-left: 22px;
  margin: 0 0 18px;
}

li {
  margin-bottom: 8px;
}

.article {
  max-width: 980px;
  padding: 42px 0 64px;
}

.notice,
.cta-band {
  margin: 28px 0;
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
}

.legal-note {
  border-left-color: var(--gold);
}

.comparison-table {
  width: 100%;
  margin: 24px 0 30px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.casino-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 30px;
}

.casino-row {
  display: grid;
  grid-template-columns: 58px 72px minmax(220px, 1fr) minmax(180px, 0.75fr) 142px;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(16, 36, 62, 0.08);
}

.rank {
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 900;
}

.casino-logo {
  display: flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  padding: 7px;
  background: var(--navy);
  border: 2px solid rgba(201, 145, 43, 0.42);
  border-radius: 8px;
}

.casino-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.casino-info h3 {
  margin: 0 0 4px;
}

.casino-info p {
  margin-bottom: 5px;
  color: var(--muted);
  font-weight: 700;
}

.casino-info strong {
  color: var(--navy);
}

.payment-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.payment-pills span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 9px;
  color: var(--navy);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 800;
}

.claim-button {
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 15px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  color: #fff;
  background: var(--navy);
  font-size: 0.9rem;
}

tbody tr:nth-child(even) {
  background: #f8fafc;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 34px;
}

.score-grid article,
.review-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(16, 36, 62, 0.08);
}

.score-grid h3 {
  margin-top: 0;
}

.review-card {
  margin: 22px 0;
}

.review-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 18px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.author-profile {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin: 8px 0 30px;
}

.author-profile img {
  width: 180px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(16, 36, 62, 0.08);
}

.review-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.review-head h3 {
  margin: 0;
}

.review-head span {
  flex: 0 0 auto;
  max-width: 220px;
  padding: 5px 10px;
  color: #fff;
  background: var(--green);
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.warning-card {
  border-color: #e4b6b2;
}

.warning-card .review-head span {
  background: var(--red);
}

details {
  margin: 12px 0;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  color: var(--navy);
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin-top: 12px;
  margin-bottom: 0;
}

.site-footer {
  padding: 32px 0;
  color: #fff;
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 28px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.78);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.footer-badges img {
  max-width: 148px;
  max-height: 46px;
  width: auto;
  height: auto;
  padding: 4px;
  background: #fff;
  border-radius: 6px;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-grid,
  .score-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .casino-row {
    grid-template-columns: 52px 64px minmax(0, 1fr);
  }

  .payment-pills,
  .claim-button {
    grid-column: 1 / -1;
  }

  .review-head {
    flex-direction: column;
  }

  .review-head span {
    max-width: 100%;
  }

  .author-profile {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(100% - 22px, 1120px);
  }

  h1 {
    font-size: 2.15rem;
  }

  .lead {
    font-size: 1.08rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .casino-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .casino-logo {
    width: 58px;
    height: 58px;
  }

  .footer-badges img {
    max-width: 132px;
  }

  .notice,
  .cta-band,
  .score-grid article,
  .review-card,
  .hero-panel {
    padding: 17px;
  }
}
