/* ========================================
   STRAMDRAM.COM — Beste Casino NO
   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);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

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

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

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1140px;
  margin: 0 auto;
}

.site-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.site-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;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.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: 0;
    list-style: none;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
  }
  .mobile-nav.open {
    display: flex;
    max-height: 400px;
  }
  .mobile-nav a {
    display: block;
    padding: 12px 20px;
    color: #cbd5e1;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .mobile-nav a:hover { background: rgba(255,255,255,0.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 h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

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

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

.stat-item {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

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

.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 0.2s;
  border: none;
  cursor: pointer;
}

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

.trust-stars {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fbbf24;
  font-size: 1.1rem;
}

.trust-stars span { color: #94a3b8; font-size: 0.85rem; }

.hero-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  max-width: 400px;
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.hero-author-info .name { font-weight: 600; color: #f1f5f9; font-size: 0.95rem; }
.hero-author-info .title { color: #94a3b8; font-size: 0.8rem; }
.hero-author-info .updated { color: #64748b; font-size: 0.75rem; }

/* ======== SECTIONS ======== */
.content-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.content-section:nth-of-type(2) { background: var(--bg-alt); }
.content-section:nth-of-type(4) { background: var(--bg-alt); }
.content-section:nth-of-type(6) { background: var(--bg-alt); }
.content-section:nth-of-type(8) { background: var(--bg-alt); }

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

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

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

.section-body p { margin-bottom: 16px; color: var(--text); }
.section-body p:last-child { margin-bottom: 0; }
.section-body ul, .section-body ol { padding-left: 20px; margin-bottom: 16px; }
.section-body li { margin-bottom: 8px; }
.section-body strong { font-weight: 600; }

/* Tables */
.section-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
  overflow-x: auto;
  display: block;
}

.section-body thead th {
  background: var(--dark);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.section-body tbody tr { border-bottom: 1px solid var(--border); }
.section-body tbody tr:last-child { border-bottom: none; }
.section-body tbody td { padding: 10px 14px; vertical-align: top; }
.section-body tbody tr:hover { background: rgba(22,163,74,0.04); }

/* ======== VITRINA ======== */
.vitrina-section {
  padding: 56px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.vitrina-section h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  display: block;
  width: 100%;
  float: none;
  clear: both;
}

.vitrina-subtitle {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 1rem;
}

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

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

.casino-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

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

.casino-card.top-pick::before {
  content: '🏆 #1';
  position: absolute;
  top: -10px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
}

.casino-rank {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

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

.casino-main { flex: 1; }

.casino-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 6px;
}

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

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

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

.casino-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feature-tag {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}

.casino-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

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

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

/* ======== E-E-A-T AUTHOR BOX ======== */
.eeat-section {
  padding: 56px 0;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.eeat-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 24px;
}

.author-box {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 28px;
}

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

.author-info h3 { font-size: 1.3rem; font-weight: 700; color: #f1f5f9; margin-bottom: 4px; }
.author-info .title { color: var(--accent); font-size: 0.9rem; margin-bottom: 12px; }
.author-info p { color: #94a3b8; font-size: 0.95rem; line-height: 1.7; margin-bottom: 14px; }

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

.expertise-tag {
  background: rgba(22,163,74,0.15);
  color: #4ade80;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(22,163,74,0.3);
}

.author-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

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

/* ======== REVIEWED BY ======== */
.reviewed-by-section {
  padding: 56px 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.reviewed-by-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--muted);
  margin-bottom: 28px;
}

.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;
  text-align: center;
}

.reviewer-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  display: block;
  border: 2px solid var(--accent);
}

.reviewer-name { font-weight: 700; font-size: 1rem; color: var(--dark); }
.reviewer-title { color: var(--muted); font-size: 0.8rem; margin: 4px 0 8px; }
.reviewer-stars { color: #fbbf24; font-size: 1rem; margin-bottom: 12px; }
.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: 8px; }

/* ======== FAQ ======== */
.faq-section {
  padding: 56px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.faq-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 28px;
}

.faq-list { display: flex; flex-direction: column; gap: 12px; }

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

.faq-question {
  width: 100%;
  background: var(--bg-alt);
  border: none;
  padding: 16px 20px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.2s;
}

.faq-question:hover { background: #eef2f7; }

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s;
}

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

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

.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: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

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

.footer-brand .logo { font-size: 1.2rem; font-weight: 700; color: #f1f5f9; }
.footer-brand .logo span { color: var(--accent); }
.footer-brand p { margin-top: 10px; font-size: 0.85rem; line-height: 1.6; }

.footer-links h4 { color: #f1f5f9; font-size: 0.9rem; margin-bottom: 12px; font-weight: 600; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #94a3b8; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
}

.disclaimer {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 12px;
}

.footer-copy { font-size: 0.78rem; color: #475569; }

.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239,68,68,0.15);
  color: #fca5a5;
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ======== 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 20px;
  z-index: 200;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sticky-cta.visible { display: flex; }
.sticky-cta-text { color: #f1f5f9; font-size: 0.85rem; font-weight: 600; }

@media (min-width: 769px) { .sticky-cta { display: none !important; } }

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

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

.popup-box {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--muted);
}

.popup-box h3 { font-size: 1.4rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.popup-box p { font-size: 0.9rem; color: var(--muted); margin-bottom: 20px; }
.popup-box .btn-primary { width: 100%; justify-content: center; }
.popup-disclaimer { font-size: 0.72rem; color: var(--muted); margin-top: 10px; }

/* ======== BREADCRUMB ======== */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); text-decoration: none; }
.breadcrumb span { margin: 0 6px; }

/* ======== TRUST BAR ======== */
.trust-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.trust-bar-inner {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.trust-item .icon { color: var(--accent); font-size: 1rem; }

/* ======== CONTENT IMAGE ======== */
.content-img-wrap {
  margin: 20px 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.content-img-wrap img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* ======== UTILITY ======== */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
