/* Regalplaycorner — UK showcase (ref: listenliveandlocal.com structure) */
:root {
  --bg: #0b0e1e;
  --bg-elevated: #11162a;
  --bg-card: #141a32;
  --text: #f4f5f7;
  --text-muted: #b4b9c5;
  --accent: #90ee90;
  --accent-dim: rgba(144, 238, 144, 0.18);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1120px;
  --header-h: 72px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 30, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-link:hover {
  text-decoration: none;
  color: var(--text);
  opacity: 0.92;
}

.logo-link img {
  flex-shrink: 0;
}

/* Nav + burger */
.nav-toggle {
  display: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-main a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  white-space: nowrap;
}

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

/* Sections */
main {
  overflow-x: hidden;
}

.section {
  padding: 3.5rem 1.25rem;
}

.section--tight {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.eyebrow--push {
  margin-top: 2rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

/* Hero */
.hero {
  padding: 2.5rem 1.25rem 3.5rem;
}

.hero__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero__image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.hero__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero__text h1 {
  margin-bottom: 1rem;
}

.hero__text .lede {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Two columns */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.two-col--reverse {
  direction: rtl;
}

.two-col--reverse > * {
  direction: ltr;
}

.col-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.col-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Bonus cards */
.bonus-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.bonus-badges li {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.bonus-badges li.is-accent {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.bonus-footnote {
  margin: 0.9rem 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 52rem;
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  max-width: 720px;
}

.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100%;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.bonus-card:hover {
  border-color: rgba(144, 238, 144, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.bonus-card__logo-wrap {
  background: linear-gradient(180deg, #1a2038 0%, #0f1324 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  margin-bottom: 1rem;
}

.bonus-card__logo-wrap img {
  max-height: 64px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.bonus-card__name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.bonus-card__summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
  flex: 1;
}

.bonus-card__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Full bleed CTA / slots */
.full-bleed--slots {
  background-image: url("../../images/background-slots-hall.jpg");
}

.full-bleed {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 3rem 1.25rem;
  background: var(--bg-elevated) center/cover no-repeat;
}

.full-bleed::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 14, 30, 0.92) 0%,
    rgba(11, 14, 30, 0.55) 100%
  );
  z-index: 0;
}

.full-bleed__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.full-bleed h2,
.full-bleed p {
  color: var(--text);
  max-width: 560px;
}

.full-bleed p {
  color: var(--text-muted);
}

/* Columns text */
.text-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.section-intro {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  max-width: 48rem;
  line-height: 1.6;
  font-size: 1.02rem;
}

/* Review criteria grid */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.criteria-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  transition: border-color 0.2s;
}

.criteria-card:hover {
  border-color: rgba(144, 238, 144, 0.25);
}

.criteria-card h3 {
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.criteria-card p {
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.55;
}

.section-cta {
  margin-top: 1.5rem;
}

.section-cta a {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Live dealer topic cards */
.live-deck {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  max-width: 640px;
}

.live-deck__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.2rem;
  text-align: left;
}

.live-deck__card h3 {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.live-deck__card p {
  font-size: 0.86rem;
  margin: 0;
  line-height: 1.55;
}

/* Page inner (subpages) */
.page-hero {
  padding: 2.5rem 1.25rem 1rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  max-width: var(--max);
  margin: 0 auto 0.5rem;
}

.page-hero p {
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero .lede {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 42rem;
}

.prose {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.prose ul {
  color: var(--text-muted);
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose code {
  font-size: 0.9em;
}

/* Footer */
.site-footer {
  background: #080a16;
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.25rem 2rem;
  margin-top: 0;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__brand a.logo-link {
  align-self: flex-start;
}

.site-footer__email {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer__email a {
  color: var(--text);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: flex-end;
  align-items: center;
}

.site-footer__links a {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: none;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.legal {
  grid-column: 1 / -1;
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--text-muted);
  opacity: 0.9;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin: 0;
}

.legal a {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-main {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #080a16;
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    display: none;
    z-index: 99;
  }

  .nav-main.is-open {
    display: flex;
  }

  .nav-main a {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-main a:last-of-type {
    border-bottom: 0;
  }
}

@media (min-width: 901px) {
  .nav-main {
    display: flex !important;
  }
}

@media (max-width: 800px) {
  .hero__grid,
  .two-col,
  .text-columns,
  .bonus-grid,
  .criteria-grid,
  .live-deck {
    grid-template-columns: 1fr;
  }

  .two-col--reverse {
    direction: ltr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__links {
    justify-content: flex-start;
  }

  .live-deck {
    max-width: none;
  }
}

@media (max-width: 500px) {
  .section {
    padding: 2.5rem 1rem;
  }

  .full-bleed {
    min-height: 280px;
  }
}
