/* ═══════════════════════════════════════════════════════════════
   julialippman.com — Non Gamstop Casinos UK — main.css
   Design: CLEAN CONVERT | March 2026
   ═══════════════════════════════════════════════════════════════ */

/* ── FONTS ── */
@font-face {
  font-family: 'Inter';
  font-display: swap;
}

/* ── VARIABLES ── */
: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 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
table { border-collapse: collapse; width: 100%; }
button { cursor: pointer; font-family: var(--font); }

/* ── CONTAINER ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* ── HEADER ── */
.site-header { background: var(--dark); padding: 0; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
.logo { color: #fff; font-size: 1.2rem; font-weight: 700; text-decoration: none; letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; opacity: 0.9; }
.desktop-nav { display: flex; gap: 24px; align-items: center; }
.desktop-nav a { color: #cbd5e1; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; text-decoration: none; }
.desktop-nav a:hover { color: #fff; text-decoration: none; }
.nav-author { background: var(--accent); color: #fff !important; padding: 6px 14px; border-radius: var(--radius); font-size: 0.85rem !important; }
.nav-author:hover { background: var(--accent-dark); }

/* ── HAMBURGER ── */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV ── */
.mobile-nav { display: none; }
@media (max-width: 768px) {
  .mobile-nav.open {
    display: flex;
    flex-direction: column;
    background: var(--dark2);
    padding: 16px;
    gap: 0;
  }
  .mobile-nav a { color: #cbd5e1; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.95rem; text-decoration: none; }
  .mobile-nav a:last-child { border-bottom: none; }
  .hamburger { display: flex; }
  .desktop-nav { display: none; }
}

/* ── HERO ── */
.hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important; color: #fff; padding: 64px 0 56px; }
.hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.hero h1, .hero-desc { color: #f1f5f9; }
h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.03em; }
.hero-desc { font-size: 1.05rem; color: #94a3b8; margin-bottom: 28px; max-width: 620px; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 1.5rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 0.75rem; color: #94a3b8; }

.hero-cta { margin-bottom: 20px; }
.cta-disclaimer { font-size: 0.75rem; color: #64748b; margin-top: 8px; }
.trust-stars { display: flex; align-items: center; gap: 8px; color: #94a3b8; font-size: 0.9rem; }
.trust-text { color: #94a3b8; }

.hero-author { text-align: center; min-width: 140px; }
.hero-author-img { width: 90px; height: 90px; border-radius: 50%; border: 3px solid var(--accent); object-fit: cover; margin-bottom: 12px; }
.hero-author-name { font-weight: 700; color: #f1f5f9; font-size: 0.9rem; margin-bottom: 4px; }
.hero-author-title { color: #94a3b8; font-size: 0.8rem; margin-bottom: 4px; }
.hero-author-verified { color: var(--accent); font-size: 0.75rem; }

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 40px 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-author { display: flex; align-items: center; gap: 16px; text-align: left; }
  .hero-author-img { width: 70px; height: 70px; margin-bottom: 0; }
}

/* ── 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: 1rem;
  text-decoration: none;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pulse 2s infinite;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(22,163,74,0.4); text-decoration: none; color: #fff; }
.btn-large { padding: 18px 36px; font-size: 1.1rem; }
@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); }
}

/* ── SECTIONS ── */
.content-section { padding: 60px 0; }
.section-light { background: var(--bg); }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: #f1f5f9; }
.section-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; }
.section-subtitle { color: var(--muted); margin-bottom: 32px; }

.content-section h2 {
  display: block;
  width: 100%;
  float: none;
  clear: both;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
  letter-spacing: -0.02em;
}
.section-dark .content-section h2 { color: #f1f5f9; }
.section-dark h2 { color: #f1f5f9; }

/* ── H2 BANNER ── */
.h2-banner-wrap {
  display: block;
  width: calc(100% + 32px);
  margin-left: -16px;
  margin-bottom: 28px;
  overflow: hidden;
  line-height: 0;
  clear: both;
  border-radius: 0;
}
.h2-banner-img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  object-position: center;
}
@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;
  background: var(--bg);
}
.section-alt .h2-banner-wrap figcaption { background: var(--bg-alt); }

/* ── SECTION BODY ── */
.section-body p { margin-bottom: 16px; line-height: 1.8; color: var(--text); }
.section-body ul, .section-body ol { margin: 16px 0 16px 24px; }
.section-body li { margin-bottom: 8px; line-height: 1.7; }
.section-body strong { font-weight: 600; }

/* ── TABLES ── */
.section-body table { margin: 24px 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.section-body th { background: var(--dark); color: #f1f5f9; padding: 12px 16px; text-align: left; font-size: 0.875rem; font-weight: 600; }
.section-body td { padding: 11px 16px; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
.section-body tr:last-child td { border-bottom: none; }
.section-body tr:hover td { background: rgba(22,163,74,0.04); }
@media (max-width: 768px) {
  .section-body table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ── VITRINA ── */
.vitrina-section { background: var(--dark); padding: 60px 0; }
.vitrina-title { font-size: clamp(1.3rem, 2.5vw, 1.75rem); font-weight: 700; color: #f1f5f9; text-align: center; margin-bottom: 8px; }
.vitrina-subtitle { color: #94a3b8; text-align: center; margin-bottom: 36px; }
.vitrina-grid { display: flex; flex-direction: column; gap: 16px; }

.casino-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.casino-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.casino-card.top-pick { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.casino-card.top-pick::before { content: '⭐ Editor\'s Choice'; position: absolute; top: -12px; left: 20px; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; }

.casino-rank { font-size: 1.8rem; font-weight: 900; color: var(--accent); min-width: 40px; text-align: center; line-height: 1; }
.casino-main { flex: 1; }
.casino-badge { display: inline-block; background: rgba(22,163,74,0.15); color: var(--accent); font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-bottom: 6px; }
.casino-name { font-size: 1.15rem; font-weight: 700; color: #f1f5f9; margin-bottom: 4px; }
.casino-license { font-size: 0.8rem; color: #94a3b8; margin-bottom: 4px; }
.casino-bonus { font-size: 0.875rem; color: #fbbf24; font-weight: 600; margin-bottom: 8px; }
.casino-features { display: flex; flex-wrap: wrap; gap: 6px; }
.feature-tag { background: rgba(255,255,255,0.06); color: #cbd5e1; font-size: 0.72rem; padding: 3px 10px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); }
.casino-cta { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 150px; }
.casino-rating { font-size: 0.9rem; color: #fbbf24; font-weight: 600; }

@media (max-width: 768px) {
  .casino-card { flex-direction: column; text-align: center; padding: 20px 16px; }
  .casino-rank { font-size: 1.4rem; }
  .casino-features { justify-content: center; }
  .casino-cta { width: 100%; }
  .casino-cta .btn-primary { width: 100%; justify-content: center; }
}

/* ── AUTHOR BOX ── */
.author-section { padding: 60px 0; }
.author-box { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; background: rgba(255,255,255,0.05); border-radius: 12px; padding: 32px; border: 1px solid rgba(255,255,255,0.1); }
.author-portrait img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); }
.author-details h3 { font-size: 1.2rem; font-weight: 700; color: #f1f5f9; margin-bottom: 4px; }
.author-job { color: var(--accent); font-size: 0.9rem; margin-bottom: 12px; }
.author-bio { color: #94a3b8; font-size: 0.9rem; line-height: 1.7; margin-bottom: 16px; }
.expertise-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.expertise-tag { background: rgba(22,163,74,0.15); color: var(--accent); font-size: 0.75rem; padding: 4px 12px; border-radius: 20px; border: 1px solid rgba(22,163,74,0.3); }
.author-link { color: var(--accent); font-size: 0.9rem; font-weight: 600; }
@media (max-width: 600px) {
  .author-box { grid-template-columns: 1fr; text-align: center; }
  .expertise-tags { justify-content: center; }
}

/* ── REVIEWED BY ── */
.reviewed-by-section { padding: 60px 0; }
.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); display: flex; gap: 16px; align-items: flex-start; }
.reviewer-img-wrap img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); flex-shrink: 0; }
.reviewer-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 2px; }
.reviewer-title { color: var(--muted); font-size: 0.8rem; margin-bottom: 6px; }
.reviewer-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 10px; }
.reviewer-quote { font-size: 0.85rem; color: var(--text); line-height: 1.6; font-style: italic; margin-bottom: 8px; border-left: 3px solid var(--accent); padding-left: 12px; }
.reviewer-date { font-size: 0.75rem; color: var(--muted); }

/* ── FAQ ── */
.faq-section { padding: 60px 0; }
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-question { width: 100%; background: var(--bg); border: none; padding: 18px 20px; text-align: left; font-size: 0.95rem; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: background 0.2s; }
.faq-question:hover { background: var(--bg-alt); }
.faq-question[aria-expanded="true"] { background: var(--dark); color: #f1f5f9; }
.faq-icon { font-size: 1.2rem; color: var(--accent); flex-shrink: 0; font-style: normal; transition: transform 0.2s; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 16px 20px; background: var(--bg); border-top: 1px solid var(--border); }
.faq-answer[hidden] { display: none; }
.faq-answer p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; margin: 0; }

/* ── FOOTER ── */
.site-footer { background: var(--dark); padding: 48px 0 32px; color: #94a3b8; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; margin-bottom: 32px; flex-wrap: wrap; }
.footer-brand .logo { color: #f1f5f9; }
.footer-tagline { color: #64748b; font-size: 0.85rem; margin-top: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: #94a3b8; font-size: 0.875rem; }
.footer-links a:hover { color: #f1f5f9; }
.footer-disclaimer { border-top: 1px solid #1e293b; padding-top: 24px; font-size: 0.8rem; line-height: 1.7; color: #475569; }
.footer-disclaimer p { margin-bottom: 8px; }
.footer-disclaimer a { color: #64748b; }
.footer-disclaimer strong { color: #94a3b8; }
@media (max-width: 768px) {
  .footer-inner { flex-direction: column; gap: 20px; }
}

/* ── STICKY CTA ── */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; background: var(--dark); padding: 12px 16px; display: none; align-items: center; justify-content: center; gap: 12px; z-index: 200; box-shadow: 0 -4px 12px rgba(0,0,0,0.2); }
.sticky-cta.visible { display: flex; }
.sticky-cta-btn { font-size: 0.9rem; padding: 10px 20px; animation: none; }
.sticky-close { background: none; border: none; color: #94a3b8; font-size: 1.2rem; padding: 4px 8px; }
@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: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.popup-overlay:not([hidden]) { display: flex; }
.popup-box { background: var(--dark2); border-radius: 16px; max-width: 480px; width: 100%; padding: 40px 32px; position: relative; box-shadow: var(--shadow-lg); border: 1px solid #334155; text-align: center; }
.popup-close { position: absolute; top: 12px; right: 16px; background: none; border: none; color: #94a3b8; font-size: 1.2rem; padding: 4px 8px; }
.popup-close:hover { color: #f1f5f9; }
.popup-icon { font-size: 3rem; margin-bottom: 12px; }
.popup-box h3 { font-size: 1.3rem; font-weight: 700; color: #f1f5f9; margin-bottom: 12px; }
.popup-box p { color: #94a3b8; font-size: 0.9rem; margin-bottom: 24px; line-height: 1.6; }
.popup-cta { display: block; text-align: center; justify-content: center; }
.popup-disclaimer { font-size: 0.75rem; color: #475569; margin-top: 12px; margin-bottom: 0; }

/* ── UTILITY ── */
@media (max-width: 480px) {
  .container { padding: 0 12px; }
  h1 { font-size: 1.4rem; }
  .content-section { padding: 40px 0; }
  .vitrina-section { padding: 40px 0; }
  .reviewed-by-section, .author-section, .faq-section { padding: 40px 0; }
}
