/* ============================================================
   LandscapesOfEngland.co.uk — Non Gamstop Casinos UK
   Clean Convert Design System v3.9
   ============================================================ */

@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, -apple-system, sans-serif;
  --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

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

.logo-icon { font-size: 1.4rem; }

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: rgba(255,255,255,.85);
  font-weight: 500;
  font-size: .9rem;
  text-decoration: none;
  transition: color .2s;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

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

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav { display: none; }
  .mobile-nav.open {
    display: flex;
    flex-direction: column;
    background: var(--dark2);
    padding: 12px 24px 16px;
    gap: 4px;
  }
  .mobile-nav a {
    color: rgba(255,255,255,.85);
    font-size: .95rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    text-decoration: none;
    font-weight: 500;
  }
  .mobile-nav a:last-child { border-bottom: none; }
}

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

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22,163,74,.2);
  border: 1px solid rgba(22,163,74,.4);
  color: #4ade80;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: #f1f5f9;
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 32px;
  max-width: 680px;
}

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

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.stat-label {
  font-size: .75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 2px;
}

.btn-hero { margin-bottom: 28px; }

.trust-stars {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.stars { color: #fbbf24; font-size: 1.2rem; letter-spacing: 2px; }
.trust-text { color: #94a3b8; font-size: .85rem; }

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

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

.author-info-sm {
  display: flex;
  flex-direction: column;
}

.author-name-sm {
  font-weight: 600;
  color: #f1f5f9;
  font-size: .9rem;
}

.author-title-sm {
  color: #94a3b8;
  font-size: .78rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.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: .95rem;
  text-decoration: none;
  animation: pulse 2s infinite;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22,163,74,.4);
  text-decoration: none;
  color: #fff;
}

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

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.content-section { padding: 64px 0; }
.section-light { background: var(--bg); }
.section-alt { background: var(--bg-alt); }

.content-section h2 {
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
  display: block;
  width: 100%;
  float: none;
  clear: both;
  line-height: 1.3;
}

/* ============================================================
   H2 BANNERS — Full width, block under H2
   ============================================================ */
.h2-banner-wrap {
  display: block;
  width: calc(100% + 48px);
  margin-left: -24px;
  margin-right: -24px;
  overflow: hidden;
  line-height: 0;
  clear: both;
  margin-bottom: 32px;
}

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

.h2-banner-wrap figcaption {
  font-size: 11px;
  color: #6b7280;
  text-align: right;
  padding: 4px 8px 0;
  font-style: italic;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .h2-banner-img { aspect-ratio: 1/1; object-position: center top; }
  .h2-banner-wrap { width: calc(100% + 48px); margin-left: -24px; }
}

/* ============================================================
   SECTION BODY
   ============================================================ */
.section-body p {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.8;
}

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

.section-body ul {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.section-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--text);
}

.section-body ul li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.section-alt .section-body ul li { background: #fff; }

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

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  background: #fff;
}

thead { background: var(--dark); }
thead th {
  padding: 14px 16px;
  text-align: left;
  color: #fff;
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}

tbody tr { border-bottom: 1px solid var(--border); }
tbody tr:last-child { border-bottom: none; }
tbody td {
  padding: 13px 16px;
  color: var(--text);
  vertical-align: top;
}

tbody tr:nth-child(2n) { background: #f9fafb; }

/* ============================================================
   VITRINA
   ============================================================ */
.vitrina-section {
  background: var(--dark);
  padding: 64px 0;
}

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

.vitrina-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.vitrina-sub { color: #94a3b8; font-size: .9rem; }

.vitrina-grid {
  display: grid;
  gap: 20px;
}

.casino-card {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 24px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 20px;
  align-items: center;
  transition: transform .2s, border-color .2s;
}

.casino-card:hover {
  transform: translateY(-2px);
  border-color: rgba(22,163,74,.5);
}

.casino-card.top-pick {
  border-color: rgba(22,163,74,.6);
  background: linear-gradient(135deg, #1e293b, #0f2a1a);
  box-shadow: 0 0 0 1px rgba(22,163,74,.3);
}

.casino-rank {
  font-size: 1.4rem;
  font-weight: 900;
  color: #4ade80;
  text-align: center;
}

.casino-badge {
  display: inline-block;
  background: rgba(22,163,74,.2);
  color: #4ade80;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 8px;
}

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

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

.casino-bonus {
  font-size: .88rem;
  color: #fbbf24;
  font-weight: 600;
  margin-bottom: 10px;
}

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

.feature-tag {
  background: rgba(255,255,255,.08);
  color: #cbd5e1;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 500;
}

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

.casino-rating {
  color: #fbbf24;
  font-weight: 700;
  font-size: .9rem;
  text-align: right;
}

@media (max-width: 768px) {
  .casino-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .casino-rank { text-align: left; }
  .casino-cta { align-items: flex-start; }
  .casino-cta .btn-primary { width: 100%; justify-content: center; }
}

/* ============================================================
   E-E-A-T AUTHOR BOX
   ============================================================ */
.eeat-section {
  background: var(--bg-alt);
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.author-box {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 36px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow);
}

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

.author-box-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.author-box-name span { color: var(--accent); }

.author-box-title {
  font-size: .85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
  margin-bottom: 14px;
}

.author-box-bio {
  color: var(--text);
  margin-bottom: 16px;
  font-size: .95rem;
  line-height: 1.7;
}

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

.author-expertise strong {
  color: var(--dark);
  font-size: .85rem;
  margin-right: 4px;
}

.expertise-tag {
  background: rgba(22,163,74,.1);
  color: var(--accent-dark);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
}

.author-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: .9rem;
}

@media (max-width: 768px) {
  .author-box { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .author-portrait { margin: 0 auto; }
}

/* ============================================================
   REVIEWED BY
   ============================================================ */
.reviewed-by-section {
  background: var(--bg);
  padding: 64px 0;
}

.reviewed-by-title {
  font-size: 1.5rem;
  font-weight: 700;
  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-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow .2s;
}

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

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

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

.reviewer-name { font-weight: 700; color: var(--dark); font-size: .9rem; }
.reviewer-title { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.reviewer-date { font-size: .75rem; color: var(--muted); margin-top: 2px; }

.reviewer-stars { color: #fbbf24; margin-bottom: 12px; font-size: 1rem; }

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

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  background: var(--bg-alt);
  padding: 64px 0;
}

.faq-section h2 {
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: 40px;
}

.faq-list { display: grid; gap: 12px; max-width: 800px; margin: 0 auto; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.faq-question:hover { background: #f9fafb; }
.faq-question[aria-expanded="true"] { background: #f0fdf4; color: var(--accent-dark); }

.faq-icon {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .2s;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-answer.open { max-height: 400px; }

.faq-answer p {
  padding: 0 20px 20px;
  font-size: .9rem;
  color: #374151;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

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

.footer-nav a {
  color: #94a3b8;
  font-size: .875rem;
  text-decoration: none;
  transition: color .2s;
}

.footer-nav a:hover { color: #fff; }

.footer-disclaimer p {
  font-size: .8rem;
  color: #64748b;
  margin-bottom: 8px;
  line-height: 1.65;
}

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

/* ============================================================
   STICKY CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: rgba(15,23,42,.95);
  backdrop-filter: blur(8px);
  display: none;
  z-index: 200;
  border-top: 1px solid rgba(255,255,255,.1);
}

.sticky-btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 768px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 80px; }
}

/* ============================================================
   POPUP
   ============================================================ */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.popup-overlay.show { display: flex; }

.popup-box {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,.4);
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #f3f4f6;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  transition: background .2s;
}

.popup-close:hover { background: #e5e7eb; }

.popup-icon { font-size: 3rem; margin-bottom: 16px; }

.popup-box h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.popup-box p {
  color: #374151;
  margin-bottom: 8px;
  font-size: .95rem;
}

.popup-sub { color: var(--muted); font-size: .82rem; margin-bottom: 20px; }

.popup-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}

.popup-disclaimer {
  font-size: .75rem;
  color: var(--muted);
  margin: 0;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 768px) {
  .hero { padding: 40px 0 48px; }
  .hero-stats { gap: 20px; }
  .content-section { padding: 40px 0; }
  .eeat-section { padding: 40px 0; }
  .reviewed-by-section { padding: 40px 0; }
  .faq-section { padding: 40px 0; }
  .vitrina-section { padding: 40px 0; }
  .site-footer { padding: 32px 0 24px; }
  .footer-inner { flex-direction: column; gap: 20px; }
  h2 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .h2-banner-wrap { width: calc(100% + 32px); margin-left: -16px; }
  .author-box { padding: 20px; }
  .casino-card { padding: 16px; }
}
