/* ===========================================
   CLEAN CONVERT — Main CSS
   Domain: trudeskunst.net | Lang: NO
   =========================================== */

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

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

/* ===== HEADER ===== */
.site-header {
  background: var(--dark);
  color: #fff;
  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;
  height: 64px;
  padding: 0 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon { color: var(--accent); font-size: 1.4rem; }

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

.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: all 0.3s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--dark2);
  padding: 12px 16px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: #cbd5e1;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-weight: 500;
  text-decoration: none;
}
.mobile-nav a:hover { color: #fff; }

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

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

.hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #f1f5f9;
}

.hero-desc {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 700px;
  margin-bottom: 24px;
}

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

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

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

.trust-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #f59e0b;
  font-size: 1.2rem;
}
.trust-label { color: #94a3b8; font-size: 0.85rem; margin-left: 4px; }

.hero-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

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

.hero-author-info { font-size: 0.85rem; }
.hero-author-name { color: #f1f5f9; font-weight: 600; }
.hero-author-title { 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: var(--radius);
  font-weight: 700;
  text-decoration: none;
  animation: pulse 2s infinite;
  font-size: 1rem;
  white-space: nowrap;
}
.btn-primary:hover { text-decoration: none; opacity: 0.95; }

@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;
  color: #fff;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover { border-color: #fff; text-decoration: none; }

/* ===== VITRINA ===== */
.vitrina-section {
  padding: 48px 0;
  background: var(--bg);
}

.vitrina-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  color: var(--dark);
}

.vitrina-section .section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 32px;
}

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

.casino-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  transition: box-shadow 0.2s;
}
.casino-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }

.casino-card.top-pick {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: 0 4px 16px rgba(22,163,74,0.15);
}

.top-pick-label {
  position: absolute;
  top: -10px;
  left: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.casino-rank {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--muted);
  min-width: 36px;
  text-align: center;
}
.casino-card.top-pick .casino-rank { color: var(--accent); }

.casino-main { flex: 1; }

.casino-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(22,163,74,0.1);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  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;
  color: var(--dark);
  font-weight: 600;
  margin-bottom: 8px;
}

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

.feature-tag {
  font-size: 0.75rem;
  background: var(--bg-alt);
  color: var(--muted);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

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

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

/* ===== CONTENT SECTIONS ===== */
.content-section {
  padding: 48px 0;
}

.content-section-alt {
  padding: 48px 0;
  background: var(--bg-alt);
}

.content-section h2,
.content-section-alt h2 {
  display: block;
  width: 100%;
  float: none;
  clear: both;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

/* H2 BANNER */
.h2-banner-wrap {
  display: block;
  width: calc(100% + 32px);
  margin-left: -16px;
  overflow: hidden;
  line-height: 0;
  clear: both;
  margin-bottom: 24px;
}

.h2-banner-img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

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

@media (max-width: 767px) {
  .h2-banner-img { aspect-ratio: 1 / 1; object-position: center top; }
}

.section-body p { margin-bottom: 16px; color: var(--text); }
.section-body p:last-child { margin-bottom: 0; }

.section-body ul {
  margin: 16px 0;
  padding-left: 24px;
}
.section-body ul li {
  margin-bottom: 8px;
  color: var(--text);
}

.section-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
  overflow-x: auto;
  display: block;
}
.section-body table thead tr { background: var(--dark); color: #fff; }
.section-body table th { padding: 10px 12px; text-align: left; }
.section-body table td { padding: 10px 12px; border-bottom: 1px solid var(--border); }
.section-body table tbody tr:nth-child(even) { background: var(--bg-alt); }

/* ===== E-E-A-T AUTHOR ===== */
.eeat-section {
  padding: 48px 0;
  background: var(--dark);
}

.eeat-box {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.1);
}

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

.eeat-content h2 {
  font-size: 1.4rem;
  color: #f1f5f9;
  margin-bottom: 4px;
}
.eeat-title {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.eeat-bio { color: #94a3b8; margin-bottom: 16px; line-height: 1.7; }

.eeat-expertise h3 {
  color: #f1f5f9;
  font-size: 0.9rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.expertise-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.expertise-list li {
  background: rgba(22,163,74,0.2);
  color: #86efac;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(22,163,74,0.3);
}

/* ===== REVIEWED BY ===== */
.reviewed-section {
  padding: 48px 0;
  background: var(--bg-alt);
}

.reviewed-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
  text-align: center;
}

.reviewed-by-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.reviewer-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

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

.reviewer-name { font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.reviewer-title { font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }
.reviewer-stars { color: #f59e0b; margin-bottom: 8px; }
.reviewer-quote { font-size: 0.85rem; color: var(--muted); font-style: italic; line-height: 1.5; }
.reviewer-date { font-size: 0.75rem; color: #9ca3af; margin-top: 8px; }

/* ===== FAQ ===== */
.faq-section {
  padding: 48px 0;
  background: var(--bg);
}

.faq-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: 32px;
}

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--dark);
  background: var(--bg);
  transition: background 0.2s;
  list-style: none;
}
.faq-question:hover { background: var(--bg-alt); }
.faq-question::marker { display: none; }

.faq-icon {
  color: var(--accent);
  font-size: 1.2rem;
  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 16px;
  color: var(--muted);
  line-height: 1.7;
  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: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.footer-desc { font-size: 0.85rem; line-height: 1.6; margin-bottom: 12px; }

.footer-disclaimer {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.5;
  background: rgba(0,0,0,0.2);
  padding: 12px;
  border-radius: 6px;
  border-left: 3px solid var(--accent);
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f1f5f9;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { color: #94a3b8; font-size: 0.85rem; }
.footer-links a:hover { color: #fff; }

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

.age-badge {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* ===== STICKY CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--dark);
  padding: 12px 16px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 2px solid var(--accent);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.3);
}

.sticky-cta-text {
  color: #f1f5f9;
  font-size: 0.9rem;
  font-weight: 600;
}

.sticky-cta .btn-primary {
  padding: 10px 20px;
  font-size: 0.9rem;
}

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

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

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

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

.popup-badge {
  display: inline-block;
  background: rgba(22,163,74,0.1);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.popup-box h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 8px;
}
.popup-box p { color: var(--muted); margin-bottom: 20px; font-size: 0.9rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav.open { display: flex; }

  .hero { padding: 40px 0 32px; }
  .hero h1 { font-size: 1.5rem; }
  .hero-stats { gap: 16px; }

  .casino-card { flex-wrap: wrap; }
  .casino-cta { width: 100%; }

  .eeat-box { flex-direction: column; align-items: center; text-align: center; }
  .expertise-list { justify-content: center; }

  .reviewed-by-cards { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .sticky-cta { display: flex; }
}

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