/* regalukcasinos.com - UKGC Casino Directory */
:root {
  --bg: #f5f7fa;
  --bg-card: #fff;
  --text: #1a2b3c;
  --text-muted: #5a6b7c;
  --accent: #1a5f4a;
  --accent-hover: #2d8b6f;
  --accent-light: #e8f5f1;
  --border: #e2e8f0;
  --star-pos: #00b67a;
  --star-neg: #e53e3e;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
  --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);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 3rem 0;
}
.section-title {
  font-size: 1.75rem;
  margin: 0 0 1.5rem;
  font-weight: 700;
  color: var(--text);
}

/* Header */
.site-header {
  background: var(--text);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}
.logo-link:hover {
  color: var(--accent-light);
  text-decoration: none;
}
.logo-link img {
  width: 36px;
  height: 36px;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.main-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
}
.main-nav a:hover {
  color: #fff;
  text-decoration: none;
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #1a5f4a 0%, #0d3d32 100%);
  color: #fff;
  padding: 3rem 0;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-content {
  flex: 1;
  min-width: 280px;
}
.hero h1 {
  font-size: 2rem;
  margin: 0 0 1rem;
  font-weight: 700;
}
.hero p {
  margin: 0;
  opacity: 0.95;
  max-width: 560px;
}
.hero-badge {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
}

/* Layout: sidebar + main */
.layout-with-sidebar {
  display: flex;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 20px;
  align-items: flex-start;
}
.sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 88px;
}
.sidebar h3 {
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar li {
  margin-bottom: 0.4rem;
}
.sidebar a {
  display: block;
  padding: 0.4rem 0;
  color: var(--text);
  font-size: 0.95rem;
}
.sidebar a:hover {
  color: var(--accent);
}

.main-content {
  flex: 1;
  min-width: 0;
}

/* Casino grid */
.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.casino-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.casino-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.casino-card-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  min-height: 48px;
}
.casino-logo {
  max-height: 48px;
  max-width: 120px;
  object-fit: contain;
}
.casino-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 999px;
  margin-top: 0.5rem;
}
.casino-bonus {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.trust-score {
  width: 100%;
  margin-bottom: 1rem;
}
.trust-score-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.25rem;
}
.trust-score-bar {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.25rem;
}
.trust-score-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  border-radius: 999px;
  transition: width 0.3s;
}
.trust-score-value {
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
}
.btn-play {
  display: block;
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  margin-bottom: 0.5rem;
}
.btn-play:hover {
  background: var(--accent-hover);
  color: #fff;
  text-decoration: none;
}
.read-review {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.read-review:hover {
  color: var(--accent);
}
.casino-tc {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
}

/* Reviews section (Trustpilot style) */
.reviews-section {
  background: var(--bg-card);
  padding: 3rem 0;
}
.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.reviews-nav {
  display: flex;
  gap: 0.5rem;
}
.reviews-prev,
.reviews-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.reviews-prev:hover,
.reviews-next:hover {
  background: var(--accent-light);
  border-color: var(--accent);
}
.reviews-prev:disabled,
.reviews-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.reviews-carousel {
  overflow: hidden;
}
.reviews-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.25rem;
  transition: transform 0.3s ease;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  min-width: 260px;
  flex-shrink: 0;
}
.review-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.review-stars {
  display: flex;
  gap: 2px;
  margin-top: 0.25rem;
}
.review-stars .star {
  color: var(--star-pos);
  font-size: 1rem;
}
.review-stars .star.empty {
  color: var(--border);
}
.review-stars.negative .star:first-child {
  color: var(--star-neg);
}
.review-stars.negative .star:not(:first-child) {
  color: var(--border);
}
.review-text {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0 0 0.75rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-footer {
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.review-company {
  font-weight: 600;
  font-size: 0.9rem;
}
.review-site {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Trust features */
.trust-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.trust-feature {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.trust-feature-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  background: var(--border);
}
.trust-feature h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}
.trust-feature p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* News preview */
.news-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.news-preview-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
.news-preview-card:hover {
  box-shadow: var(--shadow-hover);
}
.news-preview-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--border);
}
.news-preview-body {
  padding: 1.25rem;
}
.news-preview-body time {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.news-preview-body h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}
.news-preview-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}
.news-preview-body a {
  font-weight: 600;
}

/* Decor grid */
.decor-section {
  background: var(--bg-card);
}
.decor-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.decor-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--border);
}

/* Footer */
.site-footer {
  background: var(--text);
  color: #fff;
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-brand p {
  margin: 0.75rem 0 0;
  opacity: 0.9;
  font-size: 0.95rem;
  max-width: 280px;
}
.footer-nav h4 {
  font-size: 0.9rem;
  margin: 0 0 1rem;
  font-weight: 600;
}
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav li {
  margin-bottom: 0.5rem;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-nav a:hover {
  color: #fff;
  text-decoration: none;
}
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.responsible-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.responsible-logos a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  text-decoration: none;
}
.responsible-logos a:hover {
  color: #fff;
  text-decoration: underline;
}
.copyright {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Page content */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 20px;
}
.page-content h1 {
  font-size: 2rem;
  margin: 0 0 1rem;
}
.page-content h2 {
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
}
.page-content p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}
.page-content ul {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

/* Contact form */
.contact-form {
  max-width: 480px;
}
.contact-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form button {
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
}
.contact-form button:hover {
  background: var(--accent-hover);
}
.turnstile-wrap {
  margin: 1rem 0;
}

/* Bonus list */
.bonus-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.bonus-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.bonus-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}
.bonus-item-content {
  flex: 1;
  min-width: 0;
}
.bonus-item h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}
.bonus-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.bonus-item .btn-play {
  width: auto;
  min-width: 100px;
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .decor-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .burger-btn {
    display: block;
  }
  .layout-with-sidebar {
    flex-direction: column;
  }
  .bonus-item {
    flex-wrap: wrap;
  }
  .bonus-item .btn-play {
    width: 100%;
  }
  .sidebar {
    width: 100%;
    position: static;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .decor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .casino-grid {
    grid-template-columns: 1fr;
  }
}
