/* ============================================================
   TEAMJOL.COM — Beste Casino NO — main.css
   ============================================================ */

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

: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.7;
  font-size: 16px;
}

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,.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.5px;
}
.logo span { color: var(--accent); }

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

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

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

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  color: #fff;
  padding: 72px 0 56px;
}
.hero h1, .hero-desc { color: #f1f5f9; }
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
.hero-desc {
  font-size: 1.1rem;
  max-width: 700px;
  opacity: .9;
  margin-bottom: 2rem;
}
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.stat-item {
  text-align: center;
}
.stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}
.stat-lbl {
  font-size: .8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.hero-cta-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.trust-stars {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #fbbf24;
  font-size: .95rem;
}
.trust-stars span { color: #cbd5e1; font-size: .85rem; }
.hero-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
}
.hero-author-info { font-size: .85rem; color: #94a3b8; }
.hero-author-info strong { color: #fff; display: block; font-size: .95rem; }

/* ── 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;
  text-decoration: none;
  animation: pulse 2s infinite;
  font-size: 1rem;
  white-space: nowrap;
}
.btn-primary:hover { text-decoration: none; filter: brightness(1.1); }

@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: 8px;
  background: transparent;
  color: var(--accent);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  border: 2px solid var(--accent);
  text-decoration: none;
  font-size: .95rem;
}
.btn-secondary:hover { background: var(--accent); color: #fff; text-decoration: none; }

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

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

/* ── H2 BANNER ── */
.h2-banner-wrap {
  display: block;
  width: calc(100% + 32px);
  margin-left: -16px;
  overflow: hidden;
  line-height: 0;
  clear: both;
  margin-bottom: 2rem;
  border-radius: 0;
}
.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;
  line-height: 1.4;
}

/* ── SECTION BODY ── */
.section-body { max-width: 860px; }
.section-body p { margin-bottom: 1.1rem; }
.section-body ul, .section-body ol { padding-left: 1.5rem; margin-bottom: 1.1rem; }
.section-body li { margin-bottom: .5rem; }
.section-body strong { font-weight: 600; }
.section-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .9rem;
  overflow-x: auto;
  display: block;
}
.section-body th {
  background: var(--dark);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}
.section-body td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
}
.section-body tr:nth-child(2n) td { background: var(--bg-alt); }
.section-body tr:nth-child(2n+1) td { background: #fff; }

/* ── VITRINA ── */
.vitrina-section { padding: 72px 0; background: var(--bg-alt); }
.vitrina-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--dark);
  float: none;
  clear: both;
  display: block;
  width: 100%;
}
.vitrina-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.casino-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: box-shadow .2s;
  position: relative;
}
.casino-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.casino-card.top-pick {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(22,163,74,.2);
}
.casino-rank {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-pick .casino-rank { background: var(--accent); }
.casino-main { flex: 1; min-width: 0; }
.casino-badge {
  display: inline-block;
  background: #fef9c3;
  color: #78350f;
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: .4rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.top-pick .casino-badge { background: #dcfce7; color: #14532d; }
.casino-name { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: .3rem; }
.casino-license, .casino-bonus { font-size: .85rem; color: var(--muted); margin-bottom: .3rem; }
.casino-features { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.feature-tag {
  background: var(--bg-alt);
  color: var(--muted);
  font-size: .75rem;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.casino-cta {
  flex-shrink: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}
.casino-rating { font-size: 1rem; font-weight: 700; color: var(--dark); }

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

/* ── EEAT AUTHOR ── */
.eeat-section {
  padding: 72px 0;
  background: var(--bg);
}
.author-box {
  display: flex;
  gap: 2rem;
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--border);
}
.author-photo {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
}
.author-info h3 { font-size: 1.4rem; font-weight: 700; color: var(--dark); margin-bottom: .25rem; }
.author-title { color: var(--accent); font-weight: 600; margin-bottom: .75rem; font-size: .9rem; }
.author-bio { color: var(--muted); margin-bottom: 1rem; font-size: .95rem; line-height: 1.6; }
.author-expertise { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.author-expertise li {
  background: #dcfce7;
  color: #14532d;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
}
@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: 72px 0; background: var(--bg-alt); }
.reviewed-by-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--dark);
}
.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: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.reviewer-top { display: flex; align-items: center; gap: 1rem; }
.reviewer-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.reviewer-name { font-weight: 700; color: var(--dark); font-size: .95rem; }
.reviewer-title { color: var(--muted); font-size: .8rem; }
.reviewer-stars { color: #fbbf24; font-size: .9rem; margin-bottom: .25rem; }
.reviewer-quote { color: var(--muted); font-size: .875rem; line-height: 1.6; font-style: italic; }
.reviewer-date { font-size: .75rem; color: #9ca3af; margin-top: auto; }

/* ── FAQ ── */
.faq-section { padding: 72px 0; background: var(--bg); }
.faq-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--dark);
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: var(--bg-alt);
  border: none;
  padding: 1rem 1.25rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-family: var(--font);
}
.faq-q:hover { background: #e9ecef; }
.faq-icon { flex-shrink: 0; font-size: 1.1rem; transition: transform .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 1rem 1.25rem;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-a { display: block; }

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 48px 0 32px;
  font-size: .85rem;
}
.footer-inner {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.footer-brand .logo { margin-bottom: .5rem; }
.footer-brand p { max-width: 280px; line-height: 1.6; }
.footer-links h4 { color: #fff; font-size: .875rem; margin-bottom: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.footer-links a { color: #94a3b8; font-size: .85rem; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}
.disclaimer {
  max-width: 700px;
  font-size: .8rem;
  line-height: 1.6;
  color: #64748b;
}
.age-badge {
  background: #dc2626;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 6px;
  flex-shrink: 0;
}

/* ── STICKY CTA ── */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--dark2);
  padding: 12px 16px;
  border-top: 2px solid var(--accent);
}
.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}
.sticky-cta p { color: #f1f5f9; font-size: .9rem; font-weight: 600; }
.sticky-close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.2rem;
  cursor: pointer;
  flex-shrink: 0;
  font-family: var(--font);
}

/* ── POPUP ── */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.popup-overlay.open { display: flex; }
.popup-box {
  background: #fff;
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  padding: 2.5rem;
  text-align: center;
  position: relative;
}
.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--muted);
  font-family: var(--font);
}
.popup-box h3 { font-size: 1.5rem; font-weight: 800; color: var(--dark); margin-bottom: .75rem; }
.popup-box p { color: var(--muted); margin-bottom: 1.5rem; font-size: .95rem; }
.popup-disclaimer { font-size: .75rem; color: #9ca3af; margin-top: 1rem; }

/* ── UTILS ── */
.section-intro {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 700px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

@media(max-width: 768px) {
  .content-section { padding: 48px 0; }
  .hero { padding: 48px 0 40px; }
  .hero-stats { gap: 1rem; }
  .vitrina-section { padding: 48px 0; }
  .eeat-section, .reviewed-by-section, .faq-section { padding: 48px 0; }
  .site-footer { padding: 40px 0 24px; }
  .footer-inner { flex-direction: column; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}
