/* ===== Base ===== */
:root {
  --bg: #0f1220;
  --bg-alt: #161b30;
  --card: #1b2140;
  --accent: #ffb400;
  --accent-dark: #d99400;
  --text: #eef0f8;
  --text-muted: #a9aec6;
  --border: #2a3155;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 760px;
}

/* ===== Author Bio ===== */
.author-bio {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 32px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.author-avatar {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-details p {
  margin: 0 0 6px;
}

.author-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.author-role {
  color: var(--accent);
  font-size: 0.9rem;
}

.author-text {
  color: var(--text-muted);
}

.author-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== Header ===== */
.site-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.logo span {
  color: var(--accent);
}

.logo small {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--accent);
  color: #1a1a1a;
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: middle;
}

.main-nav a {
  color: var(--text-muted);
  margin-left: 28px;
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--accent);
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 80px 24px 60px;
  background: radial-gradient(circle at 50% 0%, #262c50 0%, var(--bg) 70%);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.hero-sub {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 1.1rem;
}

.hero-disclaimer {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #1a1a1a;
}

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

.btn-link {
  color: var(--text-muted);
  padding: 12px 8px;
  font-weight: 600;
}

.btn-link:hover {
  color: var(--accent);
}

/* ===== Sections ===== */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 8px;
}

.section-intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.guide-section h2,
#guide h2 {
  text-align: left;
}

/* ===== Casino list ===== */
.casino-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.casino-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.rank {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  min-width: 50px;
}

.casino-info {
  flex: 1;
  min-width: 220px;
}

.casino-info h3 {
  margin-bottom: 4px;
  font-size: 1.25rem;
}

.rating {
  color: var(--accent);
  font-weight: 700;
  margin: 4px 0 10px;
}

.perks {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.perks li {
  margin-bottom: 4px;
}

.casino-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 140px;
}

/* ===== Feature grid ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature h3 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

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

/* ===== Guide / lists ===== */
#guide p {
  color: var(--text-muted);
}

.check-list {
  padding-left: 0;
  list-style: none;
}

.check-list li {
  padding: 8px 0 8px 30px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  position: relative;
}

.check-list li::before {
  content: "✓";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: 700;
}

.check-list li:last-child {
  border-bottom: none;
}

/* ===== Brand review cards ===== */
.uk-brands-heading {
  margin-bottom: 8px;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 28px;
}

.review-card:last-of-type {
  margin-bottom: 40px;
}

.review-card h2 {
  text-align: left;
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.review-card > p {
  color: var(--text-muted);
}

.review-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95rem;
}

.review-table th,
.review-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.review-table th {
  color: var(--text-muted);
  font-weight: 600;
  width: 140px;
  white-space: nowrap;
  vertical-align: top;
}

.review-table td {
  color: var(--text);
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 20px 0;
}

.pros-cons h4 {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 1rem;
}

.pros-cons ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pros-cons li {
  margin-bottom: 6px;
}

/* ===== FAQ ===== */
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
}

.faq-item p {
  color: var(--text-muted);
  margin: 12px 0 0;
}

/* ===== Responsible gambling ===== */
.responsible {
  text-align: center;
}

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

.responsible .check-list {
  text-align: left;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-brand {
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.footer-brand + p {
  max-width: 700px;
  margin: 0 auto 12px;
}

.copyright {
  margin-top: 16px;
  opacity: 0.7;
}

/* ===== Responsive ===== */
@media (max-width: 780px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .main-nav a {
    margin-left: 16px;
    font-size: 0.85rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .casino-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .casino-cta {
    align-items: flex-start;
    width: 100%;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }

  .review-table th {
    width: 110px;
  }
}
