/* ============================================================
   main.css — leicesterandleicester.co.uk | Non Gamstop Casinos
   ============================================================ */

@font-face {
  font-family: 'Inter';
  font-display: swap;
}

:root {
  --bg: #FFFFFF;
  --bg-alt: #F8F9FA;
  --border: #E5E7EB;
  --text: #111827;
  --muted: #6B7280;
  --accent: #16A34A;
  --accent-dark: #15803d;
  --dark: #0f172a;
  --dark2: #1e293b;
  --radius: 8px;
  --font: 'Inter', system-ui, sans-serif;
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
  --container: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  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; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo span { white-space: nowrap; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.desktop-nav a:hover { color: #fff; text-decoration: none; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* MOBILE NAV */
.mobile-nav { display: none; }

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav.open {
    display: flex;
    flex-direction: column;
    background: var(--dark2);
    padding: 12px 24px 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .mobile-nav a {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
  }
  .mobile-nav a:last-child { border-bottom: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  color: #fff;
  padding: 72px 0 80px;
}

.hero-inner { max-width: 800px; }

.hero h1, .hero-desc { color: #f1f5f9; }

.hero-badge {
  display: inline-block;
  background: rgba(22,163,74,0.15);
  border: 1px solid rgba(22,163,74,0.4);
  color: #86efac;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 18px;
  color: #cbd5e1;
  margin-bottom: 32px;
  max-width: 640px;
  line-height: 1.65;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; }

.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: #4ade80;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.btn-hero {
  font-size: 18px;
  padding: 16px 36px;
  border-radius: 10px;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: #94a3b8;
  font-size: 14px;
}

.stars { font-size: 16px; }
.trust-text { color: #94a3b8; }

.hero-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar-sm {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(22,163,74,0.5);
}

.author-name-sm {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #f1f5f9;
}

.author-title-sm {
  display: block;
  font-size: 12px;
  color: #94a3b8;
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.content-section { padding: 72px 0; }
.bg-white { background: var(--bg); }
.bg-alt { background: var(--bg-alt); }
.bg-dark { background: var(--dark); color: #f1f5f9; }

.content-section h2 {
  display: block;
  width: 100%;
  float: none;
  clear: both;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-body p {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}

.section-body p:last-child { margin-bottom: 0; }

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

.check-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}

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

.check-list li::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 14px;
}

/* ============================================================
   H2 BANNER — full width block under H2
   ============================================================ */
.h2-banner-wrap {
  display: block;
  width: calc(100% + 32px);
  margin-left: -16px;
  margin-bottom: 28px;
  overflow: hidden;
  line-height: 0;
  clear: both;
}

.h2-banner-img {
  display: block;
  width: 100%;
  aspect-ratio: 3/1;
  object-fit: cover;
}

@media (max-width: 767px) {
  .h2-banner-img {
    aspect-ratio: 1/1;
    object-position: center top;
  }
}

.h2-banner-wrap figcaption {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
  padding: 4px 8px 0;
  font-style: italic;
  line-height: 1.4;
}

/* ============================================================
   TABLES
   ============================================================ */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 500px;
}

.data-table thead tr {
  background: var(--dark);
  color: #fff;
}

.data-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}

.data-table tbody tr:last-child td { border-bottom: none; }

.data-table tbody tr:nth-child(2n) td { background: var(--bg-alt); }

/* ============================================================
   VITRINA
   ============================================================ */
.vitrina-section { padding: 72px 0; }

.vitrina-header {
  text-align: center;
  margin-bottom: 40px;
}

.vitrina-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.vitrina-subtitle {
  color: #94a3b8;
  font-size: 16px;
}

.vitrina-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.casino-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 20px;
  align-items: start;
  transition: transform 0.2s, box-shadow 0.2s;
}

.casino-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.casino-card.top-pick {
  border-color: rgba(22,163,74,0.4);
  background: linear-gradient(135deg, #0f172a, #0f2818);
  box-shadow: 0 0 0 1px rgba(22,163,74,0.3), var(--shadow);
}

.casino-rank {
  width: 40px;
  height: 40px;
  background: rgba(22,163,74,0.15);
  border: 1px solid rgba(22,163,74,0.3);
  color: #4ade80;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

.casino-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  background: rgba(22,163,74,0.12);
  color: #86efac;
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.casino-name {
  font-size: 20px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 6px;
}

.casino-license {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 6px;
}

.casino-bonus {
  font-size: 14px;
  color: #4ade80;
  font-weight: 600;
  margin-bottom: 12px;
}

.casino-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feature-tag {
  display: inline-block;
  font-size: 12px;
  background: rgba(255,255,255,0.06);
  color: #cbd5e1;
  border-radius: 4px;
  padding: 4px 10px;
  white-space: nowrap;
}

.casino-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.casino-rating {
  font-size: 15px;
  font-weight: 700;
  color: #fbbf24;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .casino-card {
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
  }
  .casino-cta {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ============================================================
   CTA BUTTON
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #16A34A, #15803d);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  animation: pulse 2s infinite;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.btn-primary:hover { opacity: 0.92; text-decoration: none; color: #fff; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(22,163,74,0); }
}

/* ============================================================
   AUTHOR BOX
   ============================================================ */
.author-section { padding: 64px 0; }

.author-box {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.author-portrait {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  flex-shrink: 0;
}

.author-name {
  font-size: 24px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 4px;
}

.author-title {
  font-size: 14px;
  color: #86efac;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.author-bio {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 16px;
}

.author-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.expertise-tag {
  display: inline-block;
  font-size: 12px;
  background: rgba(22,163,74,0.12);
  border: 1px solid rgba(22,163,74,0.25);
  color: #86efac;
  border-radius: 20px;
  padding: 4px 12px;
}

.author-profile-link {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 640px) {
  .author-box { flex-direction: column; align-items: center; text-align: center; }
  .author-expertise { justify-content: center; }
}

/* ============================================================
   REVIEWED BY
   ============================================================ */
.reviewed-section { padding: 72px 0; }

.section-heading {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 36px;
  text-align: center;
}

.reviewed-by-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .reviewed-by-cards { grid-template-columns: 1fr; }
}

.reviewer-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}

.reviewer-card:hover { box-shadow: var(--shadow-hover); }

.reviewer-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.reviewer-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.reviewer-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}

.reviewer-title {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.reviewer-date {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.reviewer-stars {
  font-size: 16px;
  margin-bottom: 12px;
}

.reviewer-quote {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { padding: 72px 0; }

.faq-section h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 36px;
  text-align: center;
}

.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: background 0.2s;
}

.faq-q:hover { background: var(--bg-alt); }

.faq-q[aria-expanded="true"] { background: var(--bg-alt); }

.faq-icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s;
}

.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-a {
  display: none;
  padding: 0 20px 18px;
}

.faq-a.open { display: block; }

.faq-a p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { padding: 56px 0 32px; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  color: #f1f5f9;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.footer-tagline { color: #64748b; font-size: 14px; }

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #94a3b8;
  font-size: 14px;
  text-decoration: none;
}

.footer-links a:hover { color: #f1f5f9; text-decoration: none; }

.footer-disclaimer {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.footer-disclaimer p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.65;
}

.footer-disclaimer a { color: #94a3b8; }

.footer-copy {
  font-size: 12px;
  color: #475569;
  text-align: center;
}

/* ============================================================
   STICKY CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  filter: drop-shadow(0 4px 16px rgba(22,163,74,0.5));
}

@media (min-width: 769px) { .sticky-cta { display: none !important; } }

/* ============================================================
   POPUP
   ============================================================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup-box {
  background: var(--dark2);
  border: 1px solid rgba(22,163,74,0.3);
  border-radius: 16px;
  padding: 36px 32px;
  max-width: 420px;
  width: 100%;
  position: relative;
  text-align: center;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #64748b;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.popup-emoji { font-size: 48px; margin-bottom: 16px; }

.popup-box h3 {
  font-size: 22px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 12px;
}

.popup-box p {
  color: #94a3b8;
  font-size: 15px;
  margin-bottom: 20px;
}

.popup-disclaimer {
  font-size: 11px !important;
  color: #475569 !important;
  margin-top: 12px;
  margin-bottom: 0 !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero { padding: 48px 0 56px; }
  .content-section { padding: 48px 0; }
  .vitrina-section { padding: 48px 0; }
  .author-section { padding: 48px 0; }
  .reviewed-section { padding: 48px 0; }
  .faq-section { padding: 48px 0; }
  .site-footer { padding: 40px 0 24px; }

  .hero-stats { gap: 20px; }

  .h2-banner-wrap {
    width: calc(100% + 48px);
    margin-left: -24px;
  }

  .footer-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn-primary { font-size: 14px; padding: 12px 20px; }
  .hero h1 { font-size: 26px; }
  .casino-card { padding: 18px; }
}
