/* =========================================================
   Premium Casino Review — styles.css
   Drop-in stylesheet using the existing class names.
   ========================================================= */

:root {
  color-scheme: dark;
  --bg-main: #090a0d;
  --bg-surface: #111319;
  --bg-surface-hover: #191d26;
  --bg-elevated: #151922;
  --gold-primary: #e5bd35;
  --gold-hover: #f5d45e;
  --gold-gradient: linear-gradient(135deg, #f6d76a 0%, #e5bd35 48%, #b88717 100%);
  --text-main: #f4f5f7;
  --text-muted: #a2a9b7;
  --text-subtle: #737c8d;
  --border-gold: rgba(229, 189, 53, 0.22);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.22);
  --shadow-deep: 0 22px 60px rgba(0, 0, 0, 0.38);
  --radius-pill: 999px;
  --radius-box: 18px;
  --radius-small: 12px;
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  padding-bottom: 80px;
  background:
    radial-gradient(ellipse at 50% -18rem, rgba(229, 189, 53, 0.075), transparent 48rem),
    var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(229, 189, 53, 0.28);
  color: #fff;
}

img, video, svg, canvas {
  max-width: 100%;
}

img, video {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.2em;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

a:hover {
  color: var(--gold-hover);
}

button, input, select, textarea {
  font: inherit;
}

button, [role="button"] {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--gold-hover);
  outline-offset: 4px;
}

/* Header and navigation */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(9, 10, 13, 0.88);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.nav-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  max-width: 1320px;
  min-height: 78px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
}

.logo {
  flex-shrink: 0;
  z-index: 1002;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.logo span {
  color: var(--gold-primary);
  text-shadow: 0 0 22px rgba(229, 189, 53, 0.16);
}

.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 27px;
  height: 19px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-primary);
  transition: transform 220ms ease, opacity 180ms ease;
}

nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2rem);
  list-style: none;
}

nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.4rem 0;
  color: #a9afbc;
  font-size: 0.91rem;
  font-weight: 550;
  white-space: nowrap;
}

nav a:hover,
nav a.active {
  color: var(--text-main);
}

nav a.active {
  font-weight: 650;
}

nav a.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-gradient);
  content: "";
}

.header-cta-wrapper {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 980px) {
  .nav-container {
    gap: 1.25rem;
    padding-inline: 1.35rem;
  }

  nav ul {
    gap: 1rem;
  }

  nav a {
    font-size: 0.86rem;
  }
}

@media (max-width: 768px) {
  .nav-container {
    min-height: 70px;
    padding: 0.85rem 1.15rem;
  }

  .hamburger {
    display: flex;
  }

  .header-cta-wrapper {
    display: none;
  }

  nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background: rgba(12, 13, 17, 0.985);
    border-bottom: 1px solid var(--border-gold);
    box-shadow: var(--shadow-deep);
    transition: max-height 300ms ease;
  }

  nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1.25rem 1rem;
  }

  nav li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  }

  nav li:last-child {
    border-bottom: 0;
  }

  nav a {
    display: flex;
    width: 100%;
    min-height: 48px;
    padding: 0.8rem 0.15rem;
    font-size: 0.98rem;
  }

  nav a.active::after {
    right: auto;
    width: 28px;
  }

  .menu-toggle:checked ~ nav {
    max-height: min(80vh, 420px);
    overflow-y: auto;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }
}

/* Buttons and calls to action */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.78rem 1.45rem;
  border: 1px solid rgba(255, 226, 132, 0.38);
  border-radius: var(--radius-pill);
  background: var(--gold-gradient);
  box-shadow: 0 5px 18px rgba(190, 145, 18, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #171307;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.25;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 26px rgba(190, 145, 18, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #100e07;
  filter: brightness(1.04);
}

.btn-cta:active {
  transform: translateY(0);
}

.btn-large {
  width: 100%;
  max-width: 450px;
  min-height: 54px;
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-outline {
  border: 1px solid rgba(229, 189, 53, 0.62);
  background: rgba(229, 189, 53, 0.035);
  box-shadow: none;
  color: var(--gold-primary);
}

.btn-outline:hover {
  border-color: var(--gold-hover);
  background: rgba(229, 189, 53, 0.1);
  box-shadow: none;
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 1.5rem clamp(3.5rem, 6vw, 5.5rem);
  border-bottom: 1px solid rgba(229, 189, 53, 0.14);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(229, 189, 53, 0.13), transparent 58%),
    linear-gradient(180deg, rgba(18, 17, 13, 0.7) 0%, rgba(9, 10, 13, 0.96) 100%);
  text-align: center;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -180px;
  left: 50%;
  width: min(760px, 100vw);
  height: 420px;
  transform: translateX(-50%);
  border: 1px solid rgba(229, 189, 53, 0.055);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
  padding: 0.42rem 0.9rem;
  border: 1px solid rgba(229, 189, 53, 0.25);
  border-radius: var(--radius-pill);
  background: rgba(229, 189, 53, 0.075);
  color: var(--gold-hover);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(180deg, #fff 8%, #e4e6eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.25rem, 5.5vw, 4.35rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.07;
  text-wrap: balance;
}

.hero p {
  max-width: 720px;
  margin: 0 auto 2rem;
  color: #aeb5c2;
  font-size: clamp(1rem, 1.7vw, 1.13rem);
  line-height: 1.8;
  text-wrap: pretty;
}

.hero-cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.hero-cta-box .btn-cta {
  min-width: min(240px, 100%);
}

/* Main containers and responsive grids */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(2.75rem, 5vw, 4.5rem) 2rem;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.grid-2 > *,
.grid-3 > *,
.grid-4 > * {
  min-width: 0;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .container {
    padding: 2.5rem 1.1rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    gap: 1rem;
  }
}

/* Cards and surfaces */
.card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.25rem, 2.4vw, 1.8rem);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-box);
  background: linear-gradient(145deg, rgba(23, 26, 34, 0.96), rgba(15, 17, 23, 0.98));
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 189, 53, 0.42);
  background: linear-gradient(145deg, #1a1d25, #12141b);
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-bottom: 0.7rem;
  color: #f5f6f8;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.card p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.card > :last-child {
  margin-bottom: 0;
}

/* Review rating summary */
.rating-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid rgba(229, 189, 53, 0.25);
  border-radius: var(--radius-box);
  background:
    radial-gradient(ellipse at 90% 0%, rgba(229, 189, 53, 0.09), transparent 50%),
    linear-gradient(135deg, #15171d 0%, #101116 100%);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.rating-score {
  color: var(--gold-hover);
  font-size: clamp(2.7rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 28px rgba(229, 189, 53, 0.12);
}

@media (min-width: 768px) {
  .rating-box {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .rating-box > div:last-child {
    text-align: right;
  }
}

/* Tables */
.table-wrapper {
  width: 100%;
  margin: 1.6rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-small);
  background: var(--bg-surface);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.12);
  scrollbar-color: #4d452b #14151a;
  scrollbar-width: thin;
}

table {
  width: 100%;
  min-width: 600px;
  border-collapse: separate;
  border-spacing: 0;
  color: #dce0e7;
  font-size: 0.92rem;
}

th,
td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

th {
  background: #1a1b20;
  color: var(--gold-hover);
  font-size: 0.77rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

td {
  color: #b8bfcb;
}

tbody tr {
  transition: background-color 160ms ease;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

tbody tr:last-child td {
  border-bottom: 0;
}

/* Article and content typography */
.content-section {
  min-width: 0;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  scroll-margin-top: 100px;
}

.content-section h2 {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 1.35rem;
  color: #f4f5f7;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.25;
  text-wrap: balance;
}

.content-section h2::after {
  position: absolute;
  bottom: -0.48rem;
  left: 0;
  width: 42px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold-gradient);
  content: "";
}

.content-section h3 {
  margin: 1.6rem 0 0.7rem;
  color: #e9ebef;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.content-section p {
  margin-bottom: 1.15rem;
  color: #adb4c1;
  font-size: 1rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.content-section ul,
.content-section ol {
  margin: 0 0 1.35rem 1.4rem;
  color: #adb4c1;
}

.content-section li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
  line-height: 1.75;
}

.content-section li::marker {
  color: var(--gold-primary);
}

.content-section strong {
  color: #eceef2;
  font-weight: 700;
}

.content-section a:not(.btn-cta) {
  color: var(--gold-hover);
  text-decoration: underline;
  text-decoration-color: rgba(245, 212, 94, 0.35);
  text-underline-offset: 3px;
}

.content-section a:not(.btn-cta):hover {
  text-decoration-color: currentColor;
}

/* Sticky bottom CTA */
.sticky-banner {
  position: fixed;
  z-index: 999;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.8rem max(1.25rem, calc((100vw - 1280px) / 2));
  border-top: 1px solid rgba(229, 189, 53, 0.22);
  background: rgba(12, 13, 17, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.18);
}

.sticky-banner p {
  color: #e7e9ee;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.45;
}

.sticky-banner span {
  display: block;
  color: var(--gold-primary);
  font-weight: 600;
}

.sticky-banner .btn-cta {
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .sticky-banner span {
    display: inline;
  }
}

@media (max-width: 520px) {
  body {
    padding-bottom: 76px;
  }

  .sticky-banner {
    gap: 0.65rem;
    padding: 0.7rem 0.85rem;
  }

  .sticky-banner p {
    font-size: 0.76rem;
  }

  .sticky-banner .btn-cta {
    min-height: 40px;
    padding: 0.65rem 0.9rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }
}

/* Footer */
footer {
  padding: 3.5rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  background: #07080a;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(130px, 1fr) minmax(130px, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  max-width: 1280px;
  margin: 0 auto 2.5rem;
}

.footer-content h2,
.footer-content h3,
.footer-content h4 {
  margin-bottom: 0.9rem;
  color: #f0f1f4;
  font-size: 1rem;
  font-weight: 700;
}

.footer-content p {
  max-width: 60ch;
  color: #9299a7;
  line-height: 1.85;
}

.footer-content ul {
  list-style: none;
}

.footer-content li {
  margin-bottom: 0.5rem;
}

.footer-content a {
  color: #a7aebb;
}

.footer-content a:hover {
  color: var(--gold-hover);
}

.footer-disclaimer {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #747c8b;
  font-size: 0.8rem;
  line-height: 1.8;
  text-align: center;
}

@media (max-width: 767px) {
  footer {
    padding: 2.75rem 1.2rem 1.5rem;
  }

  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1.25rem;
  }

  .footer-content > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-content > :first-child {
    grid-column: auto;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* Header logo — attached Wild Roll mark */
a.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

a.logo img {
  display: block;
  height: 62px;
  width: auto;
  max-width: none;
}

@media (max-width: 768px) {
  a.logo img {
    height: 48px;
  }
}
