/* SEO Factory — main.css — Non Gamstop Casinos — just4youbeauty.co.uk */
@charset "UTF-8";

@font-face {
  font-family: 'Inter';
  font-display: swap;
  src: local('Inter');
}

:root {
  --bg: #FFFFFF;
  --bg-alt: #F8F9FA;
  --border: #E5E7EB;
  --text: #111827;
  --muted: #6B7280;
  --accent: #16A34A;
  --dark: #0f172a;
  --dark2: #1e293b;
  --radius: 8px;
  --font: 'Inter', system-ui, sans-serif;
}

*, *::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);
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.site-logo {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.5px;
}
.site-logo span { color: var(--accent); }
.main-nav { display: flex; gap: 24px; list-style: none; }
.main-nav a { color: #cbd5e1; font-size: .9rem; font-weight: 500; transition: color .2s; }
.main-nav a:hover { color: #fff; text-decoration: none; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: .3s;
}

.mobile-nav { display: none; }

@media(max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav {
    flex-direction: column;
    gap: 0;
    background: var(--dark2);
    list-style: none;
    overflow: hidden;
    max-height: 0;
    transition: max-height .3s ease;
  }
  .mobile-nav.open {
    display: flex;
    max-height: 400px;
  }
  .mobile-nav a {
    display: block;
    color: #cbd5e1;
    padding: 12px 16px;
    font-size: .95rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .mobile-nav a:hover { color: #fff; background: rgba(255,255,255,.05); text-decoration: none; }
}

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

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

.hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
  max-width: 820px;
}

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

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-stat {
  text-align: center;
}
.hero-stat .val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}
.hero-stat .lbl {
  font-size: .75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.hero-cta-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #16A34A, #15803d);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  animation: pulse 2s infinite;
  transition: transform .2s;
}
.btn-primary:hover { transform: translateY(-2px); 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); }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-size: .9rem;
  font-weight: 500;
}
.btn-secondary:hover { color: #fff; text-decoration: none; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.trust-stars { color: #fbbf24; font-size: 1.1rem; }
.trust-text { font-size: .85rem; color: #64748b; }

.hero-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}
.hero-author-info .name { font-size: .9rem; font-weight: 600; color: #f1f5f9; }
.hero-author-info .role { font-size: .8rem; color: #64748b; }

/* ===== CONTENT SECTIONS ===== */
.content-section {
  padding: 56px 0;
}
.content-section:nth-child(even) { background: var(--bg-alt); }

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

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

/* H2 BANNER — full width, block, after H2 */
.h2-banner-wrap {
  display: block;
  width: calc(100% + 32px);
  margin-left: -16px;
  overflow: hidden;
  line-height: 0;
  clear: both;
  margin-bottom: 28px;
  border-radius: 8px;
}
.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: #6b7280;
  text-align: right;
  padding: 4px 8px 0;
  font-style: italic;
  background: var(--bg);
  line-height: 1.4;
}

.section-body p { margin-bottom: 18px; }
.section-body ul, .section-body ol {
  margin: 16px 0 20px 20px;
}
.section-body li { margin-bottom: 8px; }

/* Tables */
.section-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .9rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.section-body table thead tr { background: var(--dark); color: #fff; }
.section-body table th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  font-size: .85rem;
}
.section-body table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.section-body table tbody tr:last-child td { border-bottom: none; }
.section-body table tbody tr:hover { background: #f0fdf4; }

@media(max-width: 600px) {
  .section-body table { font-size: .8rem; }
  .section-body table th, .section-body table td { padding: 8px 10px; }
}

/* ===== VITRINA ===== */
.vitrina-section {
  padding: 56px 0;
  background: var(--dark);
}
.vitrina-section h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 8px;
  text-align: center;
}
.vitrina-subtitle {
  text-align: center;
  color: #64748b;
  margin-bottom: 36px;
  font-size: .95rem;
}

.vitrina-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.casino-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.casino-card:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.3); }
.casino-card.top-pick {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(22,163,74,.3);
}

.casino-rank {
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(255,255,255,.15);
  min-width: 36px;
  text-align: center;
}
.top-pick .casino-rank { color: var(--accent); }

.casino-main { flex: 1; }
.casino-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(22,163,74,.1);
  border: 1px solid rgba(22,163,74,.3);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.casino-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 6px;
}
.casino-license {
  font-size: .82rem;
  color: #64748b;
  margin-bottom: 6px;
}
.casino-bonus {
  font-size: .9rem;
  color: #fbbf24;
  font-weight: 600;
  margin-bottom: 10px;
}
.casino-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.feature-tag {
  font-size: .75rem;
  color: #94a3b8;
  background: rgba(255,255,255,.06);
  padding: 3px 8px;
  border-radius: 4px;
}

.casino-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 140px;
}
.casino-rating {
  font-size: .9rem;
  font-weight: 700;
  color: #fbbf24;
}

@media(max-width: 600px) {
  .casino-card { flex-wrap: wrap; }
  .casino-cta { width: 100%; }
  .casino-cta .btn-primary { width: 100%; justify-content: center; }
}

/* ===== E-E-A-T AUTHOR ===== */
.eeat-section {
  padding: 56px 0;
  background: var(--bg-alt);
}
.eeat-section h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 28px;
}
.author-box {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.author-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  flex-shrink: 0;
}
.author-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.author-title-tag {
  font-size: .85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}
.author-bio {
  font-size: .95rem;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.6;
}
.author-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.expertise-tag {
  font-size: .78rem;
  color: var(--accent);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
}

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

/* ===== REVIEWED BY ===== */
.reviewed-by-section {
  padding: 56px 0;
  background: var(--bg);
}
.reviewed-by-section h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 28px;
}
.reviewed-by-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media(max-width: 768px) {
  .reviewed-by-cards { grid-template-columns: 1fr; }
}
.reviewer-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}
.reviewer-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.reviewer-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}
.reviewer-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
}
.reviewer-title {
  font-size: .78rem;
  color: var(--muted);
}
.reviewer-stars {
  color: #fbbf24;
  font-size: .95rem;
  margin-bottom: 8px;
}
.reviewer-quote {
  font-size: .88rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.55;
}
.reviewer-date {
  font-size: .75rem;
  color: #9ca3af;
  margin-top: 10px;
}

/* ===== FAQ ===== */
.faq-section {
  padding: 56px 0;
  background: var(--bg-alt);
}
.faq-section h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 28px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 10px;
  background: var(--bg);
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: .95rem;
  color: var(--dark);
  gap: 12px;
  user-select: none;
}
.faq-question:hover { background: #f0fdf4; }
.faq-icon {
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .2s ease;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.65;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 20px 16px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: #64748b;
  padding: 40px 0 24px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.footer-brand .logo { font-size: 1.1rem; font-weight: 700; color: #f1f5f9; }
.footer-brand .logo span { color: var(--accent); }
.footer-brand p { font-size: .82rem; color: #475569; margin-top: 8px; max-width: 300px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: .85rem; color: #475569; transition: color .2s; }
.footer-links a:hover { color: #f1f5f9; text-decoration: none; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.07); margin-bottom: 24px; }
.footer-bottom {
  font-size: .78rem;
  color: #334155;
  line-height: 1.6;
}
.footer-bottom p { margin-bottom: 8px; }

/* ===== STICKY CTA ===== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  border-top: 2px solid var(--accent);
  padding: 12px 16px;
  z-index: 200;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sticky-cta-text {
  font-size: .88rem;
  color: #94a3b8;
  flex: 1;
}
.sticky-cta-text strong { color: #f1f5f9; }
@media(max-width: 768px) {
  .sticky-cta.show { display: flex; }
}

/* ===== POPUP ===== */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.popup-overlay.show { display: flex; }
.popup-box {
  background: var(--dark2);
  border: 1px solid rgba(22,163,74,.4);
  border-radius: 16px;
  padding: 32px 28px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  position: relative;
}
.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #64748b;
  font-size: 1.4rem;
  cursor: pointer;
}
.popup-close:hover { color: #f1f5f9; }
.popup-icon { font-size: 2.5rem; margin-bottom: 12px; }
.popup-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 8px;
}
.popup-desc { font-size: .9rem; color: #64748b; margin-bottom: 20px; }
