/* Crownplayparlour — UK casino hub */
:root {
  --bg: #0a0b1e;
  --bg-elevated: #12132a;
  --card: #15162c;
  --card-border: rgba(255, 255, 255, 0.06);
  --text: #f4f4f8;
  --text-muted: #9aa0b8;
  --gradient: linear-gradient(90deg, #8a2be2, #ff8c00);
  --gradient-text: linear-gradient(90deg, #b07cff, #ffb04a);
  --radius: 14px;
  --max: 1080px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  color: #b8a8ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 30, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.92;
}

.brand img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: flex-end;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}

main {
  overflow-x: hidden;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.hero {
  text-align: center;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

.hero__badge {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: #c9a8ff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(1.65rem, 4.5vw, 2.45rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1rem;
  max-width: 38ch;
  margin-left: auto;
  margin-right: auto;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  color: var(--text-muted);
  max-width: 46ch;
  margin: 0 auto 1.75rem;
  font-size: 1.02rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--card-border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.section__head {
  margin-bottom: 1.75rem;
}

.section__head h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.section__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.offer-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.offer-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.offer-card__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
}

.offer-card__logo img {
  max-height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.offer-card__rating {
  text-align: right;
}

.offer-card__score {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.stars {
  color: #f5b81a;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

.offer-card__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.offer-card__bonus {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.15rem;
  flex-grow: 1;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.95rem 1.2rem;
  border: none;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.btn-cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(138, 43, 226, 0.35);
}

.offer-card__terms {
  margin-top: 0.85rem;
  font-size: 0.72rem;
  text-align: center;
}

.offer-card__terms a {
  color: var(--text-muted);
}

.disclaimer-bar {
  background: var(--bg-elevated);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.45;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.info-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}

.info-box h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.info-box p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.info-box ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.info-box li {
  margin-bottom: 0.45rem;
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #6bb3ff;
  font-weight: 700;
}

.subpage-hero {
  padding-bottom: 1rem;
}

.subpage-hero h1 {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.subpage-hero p {
  color: var(--text-muted);
  margin: 0;
  max-width: 60ch;
}

.prose {
  color: var(--text-muted);
  max-width: 70ch;
}

.prose p {
  margin: 0 0 1rem;
}

.prose h2 {
  color: var(--text);
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 2.5rem 1.25rem 1.5rem;
  margin-top: 1rem;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer__brand {
  text-align: center;
  margin-bottom: 1.75rem;
}

.site-footer__brand a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
}

.site-footer__brand a:hover {
  opacity: 0.9;
}

.site-footer__brand img {
  width: 44px;
  height: 44px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.footer-col h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 0.65rem;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: var(--text);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-col p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.safer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 1.25rem;
}

.safer-row a {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 6px;
  border: 2px solid var(--text-muted);
  color: var(--text);
  font-weight: 800;
  font-size: 0.75rem;
}

.copyright {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 640px) {
  .nav {
    width: 100%;
    justify-content: center;
  }

  .site-header__inner {
    flex-direction: column;
  }
}
