:root {
  --bg: #07070a;
  --surface: #130b11;
  --surface-soft: #1a0f16;
  --text: #fff4f7;
  --muted: #d4bbc3;
  --primary: #ff355d;
  --primary-dark: #e11d48;
  --accent: #ff8aa0;
  --warning: #ffb347;
  --border: rgba(255, 92, 122, 0.3);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  --glow: 0 0 0 1px rgba(255, 92, 122, 0.22), 0 0 18px rgba(255, 47, 88, 0.18), 0 0 34px rgba(255, 47, 88, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 7, 10, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(255, 40, 80, 0.08);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

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

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(255, 71, 103, 0.35);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--text);
  background: rgba(255, 53, 93, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255, 84, 116, 0.2);
}

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-image: url("hero-bg-uk-affiliate.png");
  background-size: cover;
  background-position: center;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(5, 5, 7, 0.88), rgba(31, 8, 15, 0.48));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: rgba(255, 53, 93, 0.14);
  color: #ff9bb0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin: 0 0 1rem;
  box-shadow: var(--glow);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  max-width: 760px;
}

.hero p {
  max-width: 700px;
  color: #f7d9e1;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.72rem 1rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn-primary {
  color: #fff4f7;
  background: var(--primary);
  box-shadow: 0 0 22px rgba(255, 53, 93, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  box-shadow: var(--glow);
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(28, 11, 17, 0.8), rgba(18, 9, 12, 0.4));
}

.section-intro {
  color: var(--muted);
}

.affiliate-note {
  border-left: 4px solid var(--primary);
  padding: 0.75rem 1rem;
  color: #ffe3e9;
  background: rgba(255, 53, 93, 0.1);
  border-radius: 8px;
  box-shadow: var(--glow);
}

.casino-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
  margin-top: 1.2rem;
}

.casino-card {
  display: grid;
  grid-template-columns: 270px 1fr auto;
  gap: 1rem;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.95rem;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  box-shadow: var(--shadow), var(--glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.casino-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 118, 143, 0.48);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(255, 88, 120, 0.24), 0 0 24px rgba(255, 47, 88, 0.18);
}

.casino-media {
  position: relative;
  min-height: 170px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 120, 145, 0.18);
  background: #1a1016;
}

.casino-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

.casino-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 7, 10, 0.04), rgba(9, 7, 10, 0.42));
}

.casino-logo-badge {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  z-index: 1;
  background: rgba(16, 9, 13, 0.88);
  border-radius: 12px;
  width: 88px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 120, 145, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.casino-logo-badge img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.casino-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.25rem;
}

.casino-card > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.chip {
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.score {
  font-size: 1rem;
  font-weight: 800;
  color: #ffb0c0;
  text-shadow: 0 0 12px rgba(255, 70, 104, 0.25);
}

.casino-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.5rem;
}

.meta-pill {
  font-size: 0.75rem;
  background: rgba(255, 82, 112, 0.12);
  color: #ffd8e0;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.casino-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.score-pill {
  font-size: 0.76rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #ffb9c7;
  border: 1px solid rgba(255, 92, 122, 0.24);
}

.visit {
  white-space: nowrap;
  font-weight: 700;
  color: #ffadb9;
}

.regulator-grid,
.games-grid,
.notice-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.regulator-card,
.game-card,
.notice-card,
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: var(--shadow), var(--glow);
}

.regulator-card img {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: #fff;
  padding: 5px;
  object-fit: contain;
}

.warning {
  border-left: 4px solid var(--warning);
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow), var(--glow);
}

.faq-item summary {
  cursor: pointer;
  padding: 0.95rem 1rem;
  font-weight: 650;
}

.faq-item p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.inner-page .prose {
  max-width: 860px;
}

.prose ul {
  padding-left: 1.2rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.7rem 0 2rem;
  background: #0a080b;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-menu {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-menu a {
  color: var(--muted);
  text-decoration: none;
}

.footer-note {
  color: var(--muted);
  margin-top: 1rem;
  font-size: 0.94rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(1, 7, 18, 0.78);
  z-index: 120;
  padding: 1rem;
}

.modal.show {
  display: grid;
}

.modal-card {
  width: min(460px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: var(--shadow), var(--glow);
}

.modal-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: #140c12;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  display: none;
  z-index: 110;
  box-shadow: var(--shadow);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner.show {
  display: flex;
}

.cookie-banner button {
  background: var(--primary);
  border: 0;
  color: #fff4f7;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.58rem 0.85rem;
  box-shadow: 0 0 20px rgba(255, 53, 93, 0.25);
}

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

.info-card h3,
.game-card h3,
.regulator-card h3,
.notice-card h2 {
  color: #ffd5de;
}

.prose h1,
.prose h2,
.section h2,
.hero h1 {
  color: #fff7f9;
  text-shadow: 0 0 16px rgba(255, 66, 98, 0.12);
}

.prose p,
.prose li,
.section-intro,
.footer-note,
.faq-item p,
.game-card p,
.regulator-card p,
.notice-card p,
.info-card p {
  color: var(--muted);
}

@media (max-width: 880px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #0c090d;
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem;
  }

  .site-nav a {
    display: block;
    width: 100%;
  }

  .casino-card {
    grid-template-columns: 1fr;
  }

  .casino-media {
    min-height: 190px;
  }

  .visit {
    margin-top: 0.3rem;
  }
}
