/* ==========================================================================
   BESTE CASINO NORGE — CLEAN CONVERT DESIGN SYSTEM
   ========================================================================== */

@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:local('Inter')}

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

/* RESET */
*, *::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.6; font-size: 16px; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.5rem; }
table { border-collapse: collapse; width: 100%; }

/* TYPOGRAPHY */
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; line-height: 1.3; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* CONTAINER */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1rem; }

/* ==========================================================================
   HEADER & NAV
   ========================================================================== */
.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem 1rem;
  max-width: 1140px;
  margin: 0 auto;
}
.site-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.site-logo span { color: var(--accent); }
.desktop-nav { display: flex; gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.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;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  color: #fff;
  flex-direction: column;
  gap: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: .2s;
}
.mobile-nav { display: none; }
@media(max-width:768px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav {
    flex-direction: column;
    gap: 0;
    background: var(--dark2);
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a {
    display: block;
    padding: .75rem 1rem;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255,255,255,.05);
    font-size: .95rem;
  }
  .mobile-nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  color: #fff;
  padding: 4rem 1rem 3rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(22,163,74,.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { max-width: 1140px; margin: 0 auto; position: relative; }
.hero h1, .hero-desc { color: #f1f5f9; }
.hero h1 { margin-bottom: 1rem; }
.hero-desc { font-size: 1.1rem; color: #94a3b8; max-width: 700px; margin-bottom: 1.5rem; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.hero-stat { text-align: center; }
.hero-stat-number { font-size: 1.75rem; font-weight: 700; color: var(--accent); display: block; }
.hero-stat-label { font-size: .8rem; color: #94a3b8; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.trust-stars { color: #FBBF24; font-size: 1.1rem; letter-spacing: 2px; }
.trust-text { color: #94a3b8; font-size: .875rem; }
.hero-cta-wrap { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 2rem; }
.hero-author-inline {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-author-inline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.hero-author-info { font-size: .85rem; }
.hero-author-info strong { color: #f1f5f9; display: block; }
.hero-author-info span { color: #94a3b8; }
.month-badge {
  display: inline-block;
  background: rgba(22,163,74,.2);
  color: #4ade80;
  border: 1px solid rgba(22,163,74,.3);
  border-radius: 20px;
  padding: .25rem .75rem;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ==========================================================================
   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;
  animation: pulse 2s infinite;
  transition: transform .2s, box-shadow .2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(22,163,74,.4); text-decoration: none; color: #fff; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #f1f5f9;
  padding: 13px 27px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,.3);
  transition: border-color .2s, background .2s;
}
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,.05); 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); }
}

/* ==========================================================================
   VITRINA / CASINO CARDS
   ========================================================================== */
.vitrina-section {
  background: var(--bg-alt);
  padding: 3rem 1rem;
}
.vitrina-section h2 { text-align: center; margin-bottom: .5rem; }
.vitrina-intro { text-align: center; color: var(--muted); margin-bottom: 2rem; font-size: .95rem; }
.vitrina-grid { display: flex; flex-direction: column; gap: 1rem; }
.casino-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 1rem;
  align-items: center;
  transition: box-shadow .2s, transform .2s;
  position: relative;
}
.casino-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.casino-card.top-pick {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(22,163,74,.2);
}
.casino-card.top-pick::before {
  content: '🏆 #1';
  position: absolute;
  top: -10px;
  left: 1rem;
  background: var(--accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
}
.casino-rank {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dark), var(--dark2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.casino-badge {
  display: inline-block;
  background: rgba(22,163,74,.1);
  color: var(--accent);
  border: 1px solid rgba(22,163,74,.3);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: .4rem;
}
.casino-name { font-size: 1.1rem; font-weight: 700; margin-bottom: .25rem; }
.casino-license { font-size: .8rem; color: var(--muted); margin-bottom: .25rem; }
.casino-bonus { font-size: .875rem; color: var(--text); font-weight: 500; margin-bottom: .5rem; }
.casino-features { display: flex; flex-wrap: wrap; gap: .4rem; }
.feature-tag {
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: .75rem;
}
.casino-cta { text-align: center; min-width: 140px; }
.casino-rating { font-size: .875rem; font-weight: 600; color: #FBBF24; margin-bottom: .5rem; }
.casino-cta .btn-primary { width: 100%; justify-content: center; padding: 10px 16px; font-size: .9rem; }
@media(max-width:768px) {
  .casino-card { grid-template-columns: 40px 1fr; grid-template-rows: auto auto; }
  .casino-cta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .casino-cta .btn-primary { flex: 1; }
}

/* ==========================================================================
   CONTENT SECTIONS
   ========================================================================== */
.content-section { padding: 3rem 1rem; }
.content-section-alt { padding: 3rem 1rem; background: var(--bg-alt); }
.content-section h2 {
  display: block;
  width: 100%;
  float: none;
  clear: both;
}

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

/* Section body */
.section-body { font-size: .975rem; }
.section-body p { margin-bottom: 1rem; }
.section-body ul { margin: 1rem 0; }
.section-body li { margin-bottom: .5rem; }
.section-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .9rem;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.section-body th {
  background: var(--dark);
  color: #fff;
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: .85rem;
}
.section-body td {
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.section-body tr:last-child td { border-bottom: none; }
.section-body tr:nth-child(even) { background: var(--bg-alt); }
@media(max-width:600px) {
  .section-body table { font-size: .8rem; }
  .section-body th, .section-body td { padding: .5rem .6rem; }
}

/* ==========================================================================
   E-E-A-T AUTHOR BOX
   ========================================================================== */
.eeat-section {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  padding: 3rem 1rem;
}
.author-box {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}
.author-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
  display: block;
  margin: 0 auto;
}
.author-badge {
  display: inline-block;
  background: rgba(22,163,74,.2);
  color: #4ade80;
  border: 1px solid rgba(22,163,74,.3);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: .75rem;
}
.author-name { font-size: 1.4rem; font-weight: 700; color: #f1f5f9; margin-bottom: .25rem; }
.author-title { color: #94a3b8; font-size: .9rem; margin-bottom: 1rem; }
.author-bio { color: #cbd5e1; font-size: .95rem; margin-bottom: 1.25rem; line-height: 1.65; }
.author-expertise { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.author-expertise li {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: .8rem;
  color: #e2e8f0;
}
.author-link { color: var(--accent); font-size: .875rem; margin-top: 1rem; display: inline-block; }
@media(max-width:640px) {
  .author-box { grid-template-columns: 1fr; text-align: center; }
  .author-expertise { justify-content: center; }
}

/* ==========================================================================
   REVIEWED BY
   ========================================================================== */
.reviewed-by-section { padding: 3rem 1rem; background: var(--bg-alt); }
.reviewed-by-section h2 { text-align: center; margin-bottom: 2rem; }
.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;
}
.reviewer-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.reviewer-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}
.reviewer-name { font-weight: 600; font-size: .95rem; }
.reviewer-title { font-size: .8rem; color: var(--muted); }
.reviewer-rating { color: #FBBF24; font-size: .85rem; margin-bottom: .5rem; }
.reviewer-quote { font-size: .875rem; color: var(--muted); font-style: italic; line-height: 1.6; }
.reviewer-date { font-size: .75rem; color: #9ca3af; margin-top: .75rem; }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section { padding: 3rem 1rem; }
.faq-section h2 { text-align: center; margin-bottom: 2rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: #fff;
  border: none;
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text);
  transition: background .2s;
}
.faq-question:hover { background: var(--bg-alt); }
.faq-icon { flex-shrink: 0; font-size: 1.2rem; transition: transform .3s; color: var(--accent); font-style: normal; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  background: var(--bg-alt);
}
.faq-answer-inner { padding: 1rem 1.25rem; font-size: .9rem; line-height: 1.65; color: var(--muted); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 2.5rem 1rem;
  text-align: center;
}
.footer-inner { max-width: 800px; margin: 0 auto; }
.footer-logo { color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.footer-disclaimer {
  font-size: .8rem;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
}
.footer-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.footer-links a { color: #94a3b8; font-size: .85rem; }
.footer-links a:hover { color: #fff; }
.footer-18 { font-size: 1.5rem; font-weight: 700; color: #64748b; }

/* ==========================================================================
   STICKY CTA (mobile)
   ========================================================================== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  padding: .875rem 1rem;
  box-shadow: 0 -4px 16px rgba(0,0,0,.3);
}
@media(max-width:768px) { .sticky-cta { display: none; } }
.sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 500px; margin: 0 auto; }
.sticky-cta-text { color: #f1f5f9; font-size: .85rem; }
.sticky-cta-text strong { display: block; font-size: .95rem; }
.sticky-cta .btn-primary { flex-shrink: 0; padding: 10px 20px; font-size: .9rem; animation: none; }

/* ==========================================================================
   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: 1rem;
}
.popup-overlay.show { display: flex; }
.popup-box {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  max-width: 460px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.popup-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
}
.popup-icon { font-size: 3rem; margin-bottom: 1rem; }
.popup-title { font-size: 1.4rem; font-weight: 700; margin-bottom: .75rem; }
.popup-text { color: var(--muted); font-size: .95rem; margin-bottom: 1.5rem; }
.popup-box .btn-primary { width: 100%; justify-content: center; font-size: 1rem; padding: 14px; }
.popup-disclaimer { font-size: .7rem; color: #9ca3af; margin-top: .75rem; }

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.text-center { text-align: center; }
.section-heading { text-align: center; margin-bottom: 2rem; }
.section-heading h2 { margin-bottom: .5rem; }
.section-heading p { color: var(--muted); font-size: .95rem; }
