/* main.css — c64games.net | Non Gamstop Casinos | Clean Convert Design */
@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);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

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

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

img { max-width: 100%; height: auto; }

/* ── HEADER / NAV ─────────────────────────────────────────────────── */
.site-header {
  background: var(--dark);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

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

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

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

.desktop-nav { display: flex; gap: 28px; list-style: none; }
.desktop-nav a {
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.desktop-nav a:hover { color: #fff; text-decoration: none; }

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

.mobile-nav { display: none; }

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav {
    flex-direction: column;
    background: var(--dark2);
    padding: 16px 20px;
    list-style: none;
    gap: 12px;
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { color: #e2e8f0; font-size: 0.95rem; font-weight: 500; }
}

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

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

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

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

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

.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}
.stat-label {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-stars {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.stars { font-size: 1.1rem; color: #fbbf24; }
.trust-text { font-size: 0.85rem; color: #94a3b8; }

.hero-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
}
.hero-author-info { display: flex; flex-direction: column; }
.hero-author-name { font-weight: 700; color: #f1f5f9; font-size: 0.95rem; }
.hero-author-title { font-size: 0.8rem; color: #94a3b8; }

/* ── BUTTONS ──────────────────────────────────────────────────────── */
.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 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); text-decoration: none; }

@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); }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: #e2e8f0;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

/* ── CONTENT SECTIONS ─────────────────────────────────────────────── */
.content-section {
  padding: 60px 0;
}

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

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

.section-body { font-size: 1rem; line-height: 1.75; color: var(--text); }
.section-body p { margin-bottom: 16px; }
.section-body p:last-child { margin-bottom: 0; }

/* ── H2 BANNERS ───────────────────────────────────────────────────── */
.h2-banner-wrap {
  display: block;
  width: calc(100% + 40px);
  margin-left: -20px;
  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 { width: calc(100% + 40px); margin-left: -20px; }
}

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

/* ── TABLES ───────────────────────────────────────────────────────── */
.section-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.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: 0.85rem;
}
.section-body table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.section-body table tbody tr:nth-child(2n) { background: var(--bg-alt); }
.section-body table tbody tr:nth-child(2n+1) { background: var(--bg); }

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

/* ── VITRINA (Casino Cards) ───────────────────────────────────────── */
.vitrina-section { padding: 60px 0; background: var(--bg-alt); }
.vitrina-section h2 {
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 32px;
  text-align: center;
}

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

.casino-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.casino-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-color: #d1d5db;
}

.casino-card.top-pick {
  border-color: var(--accent);
  border-width: 2px;
  background: linear-gradient(135deg, #f0fdf4, #fff);
}

.casino-rank {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--dark);
  min-width: 42px;
  text-align: center;
  line-height: 1;
}

.casino-card.top-pick .casino-rank { color: var(--accent); }

.casino-main { flex: 1; }

.casino-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.casino-card.top-pick .casino-badge { background: #15803d; }

.casino-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
}

.casino-license {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 5px;
}

.casino-bonus {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}

.casino-features { display: flex; flex-wrap: wrap; gap: 6px; }
.feature-tag {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}

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

.casino-rating {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
}

@media (max-width: 640px) {
  .casino-card { flex-direction: column; align-items: flex-start; }
  .casino-cta { width: 100%; }
  .casino-cta .btn-primary { width: 100%; justify-content: center; }
}

/* ── EEAT AUTHOR BOX ──────────────────────────────────────────────── */
.eeat-section { padding: 60px 0; background: var(--dark); }
.eeat-section h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

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

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

.author-info { flex: 1; }
.author-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 4px;
}

.author-info .author-title {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.expertise-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.expertise-list li {
  background: rgba(22,163,74,0.15);
  color: #4ade80;
  font-size: 0.8rem;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 500;
}

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

/* ── REVIEWED BY ──────────────────────────────────────────────────── */
.reviewed-by-section { padding: 60px 0; background: var(--bg-alt); }
.reviewed-by-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 32px;
  text-align: center;
}

.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);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.reviewer-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  border: 2px solid var(--border);
}

.reviewer-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 2px;
}

.reviewer-title {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
}

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

.reviewer-quote {
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.6;
  font-style: italic;
}

.reviewer-date {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 10px;
}

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq-section { padding: 60px 0; background: var(--bg); }
.faq-section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 32px;
  text-align: center;
}

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

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

.faq-question {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
  user-select: none;
}

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

.faq-icon {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #374151;
  border-top: 1px solid var(--border);
  background: #fafafa;
}

.faq-item.open .faq-answer { display: block; }

/* ── FOOTER ───────────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 40px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

.footer-brand .logo { font-size: 1.2rem; margin-bottom: 12px; display: block; }
.footer-disclaimer {
  font-size: 0.8rem;
  line-height: 1.6;
  max-width: 460px;
  color: #64748b;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: 0.85rem; color: #64748b; }
.footer-col ul a:hover { color: #94a3b8; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #475569;
}

.age-badge {
  background: #dc2626;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
}

/* ── STICKY CTA (mobile) ──────────────────────────────────────────── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark2);
  padding: 12px 20px;
  z-index: 200;
  border-top: 2px solid var(--accent);
  justify-content: space-between;
  align-items: center;
}

.sticky-cta p { color: #e2e8f0; font-size: 0.85rem; font-weight: 600; }

@media (max-width: 768px) {
  .sticky-cta { display: flex; }
}

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

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

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

.popup-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

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

.popup-bonus {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 16px;
}

.popup-box p {
  color: #94a3b8;
  font-size: 0.88rem;
  margin-bottom: 24px;
  line-height: 1.6;
}
