/* ============================================
   ROVERBORGEN.COM — BESTE CASINO NO
   CLEAN CONVERT DESIGN
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0f172a;
  --navy2: #1e293b;
  --navy3: #334155;
  --green: #16A34A;
  --green-light: #22c55e;
  --green-dark: #15803d;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --white: #ffffff;
  --off-white: #f8fafc;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: #334155;
  --card-bg: #1e293b;
  --card-bg2: #243347;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

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

/* === CONTAINER === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === HEADER === */
.site-header {
  background: linear-gradient(135deg, #0a1120 0%, var(--navy) 100%);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

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

.site-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

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

.header-badge {
  background: var(--green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === HERO === */
.hero {
  background: linear-gradient(160deg, #080e1a 0%, var(--navy) 40%, #0f2010 100%);
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(22,163,74,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.07) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.hero-breadcrumb a { color: var(--text-muted); }
.hero-breadcrumb span { color: var(--green-light); }

.hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero h1 em {
  color: var(--green-light);
  font-style: normal;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 28px;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-meta-item svg { width: 14px; height: 14px; fill: var(--green-light); }

/* === VITRINA (SHOWCASE CARDS) === */
.vitrina-section {
  padding: 50px 0;
  background: linear-gradient(180deg, var(--navy) 0%, #131f35 100%);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green-light);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.vitrina-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.vitrina-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.vitrina-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--green);
  border-radius: 4px 0 0 4px;
}

.vitrina-card.rank-1::before { background: linear-gradient(180deg, var(--gold) 0%, var(--green) 100%); }
.vitrina-card.rank-2::before { background: var(--green); }
.vitrina-card.rank-3::before { background: #6366f1; }
.vitrina-card.rank-4::before { background: #ec4899; }

.vitrina-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--green);
}

.card-rank {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
}

.rank-1 .card-rank { background: linear-gradient(135deg, var(--gold), #d97706); color: #fff; }
.rank-2 .card-rank { background: var(--green-dark); }
.rank-3 .card-rank { background: #4f46e5; }
.rank-4 .card-rank { background: #be185d; }

.card-body { min-width: 0; }

.card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.card-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  background: rgba(22,163,74,0.2);
  color: var(--green-light);
  border: 1px solid rgba(22,163,74,0.3);
  white-space: nowrap;
}

.card-bonus {
  font-size: 0.95rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 8px;
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag {
  font-size: 0.75rem;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.feature-tag::before { content: '✓ '; color: var(--green-light); }

.card-license {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.card-license::before { content: '🛡 '; }

.card-cta { flex-shrink: 0; text-align: center; }

.card-rating {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
  text-align: center;
}

.card-stars {
  font-size: 0.7rem;
  color: var(--gold);
  margin-bottom: 12px;
  text-align: center;
}

.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 8px;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(22,163,74,0.3);
  letter-spacing: 0.2px;
}

.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22,163,74,0.45);
  color: var(--white);
}

.rank-1 .btn-cta {
  background: linear-gradient(135deg, var(--gold) 0%, #d97706 100%);
  box-shadow: 0 4px 14px rgba(245,158,11,0.35);
}

.rank-1 .btn-cta:hover {
  box-shadow: 0 6px 20px rgba(245,158,11,0.5);
}

/* === CONTENT SECTIONS === */
.content-section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.content-section:nth-child(even) {
  background: #0d1928;
}

.section-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 900px) {
  .section-inner {
    grid-template-columns: 1fr 380px;
    align-items: start;
  }

  .section-inner.reverse {
    grid-template-columns: 380px 1fr;
  }

  .section-inner.reverse .section-text { order: 2; }
  .section-inner.reverse .section-media { order: 1; }
}

.section-h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.section-h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1em;
  background: var(--green);
  margin-right: 12px;
  vertical-align: middle;
  border-radius: 2px;
}

.section-body { color: var(--text); }

.section-body p {
  margin-bottom: 16px;
  font-size: 0.98rem;
  line-height: 1.75;
}

.section-body p:last-child { margin-bottom: 0; }

.section-body strong { color: var(--white); font-weight: 700; }

.section-body ul {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  gap: 10px;
}

.section-body ul li {
  padding: 10px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.5;
}

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

.section-body th {
  background: var(--navy3);
  color: var(--green-light);
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-body td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--text);
}

.section-body tr:last-child td { border-bottom: none; }

.section-body tr:nth-child(odd) td { background: rgba(255,255,255,0.02); }
.section-body tr:nth-child(even) td { background: rgba(255,255,255,0.04); }

/* Section media (banner image) */
.section-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.section-media img {
  width: 100%;
  border-radius: var(--radius);
  transition: transform 0.3s;
}

.section-media:hover img { transform: scale(1.02); }

/* === AUTHOR BOX === */
.author-section {
  padding: 50px 0;
  background: #0b1422;
}

.author-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  align-items: start;
}

.author-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--green);
}

.author-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.author-title {
  font-size: 0.85rem;
  color: var(--green-light);
  margin-bottom: 12px;
  font-weight: 600;
}

.author-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

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

.expertise-tag {
  font-size: 0.75rem;
  background: rgba(22,163,74,0.12);
  color: var(--green-light);
  border: 1px solid rgba(22,163,74,0.25);
  padding: 4px 12px;
  border-radius: 20px;
}

/* === REVIEWERS === */
.reviewers-section {
  padding: 50px 0;
  background: var(--navy);
}

.reviewers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.reviewer-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.reviewer-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.reviewer-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green);
}

.reviewer-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.reviewer-title {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.reviewer-stars { color: var(--gold); font-size: 0.8rem; margin-bottom: 4px; }

.reviewer-quote {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.65;
  border-left: 3px solid var(--green);
  padding-left: 12px;
}

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

/* === FAQ === */
.faq-section {
  padding: 60px 0;
  background: #0d1928;
}

.faq-list {
  margin-top: 30px;
  display: grid;
  gap: 12px;
}

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

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background 0.2s;
  font-family: var(--font);
}

.faq-question:hover { background: rgba(255,255,255,0.04); }

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.2s, background 0.2s;
  color: var(--green-light);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--green);
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* === TRUST BADGES === */
.trust-section {
  background: #080e1a;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.trust-icon { font-size: 1.2rem; }

/* === FOOTER === */
.site-footer {
  background: #060b14;
  padding: 50px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand .site-logo {
  font-size: 1.3rem;
  margin-bottom: 12px;
  display: block;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-light);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col li { font-size: 0.85rem; color: var(--text-muted); }

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

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 14px;
}

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

/* === RESPONSIBLE GAMBLING BANNER === */
.rg-banner {
  background: linear-gradient(135deg, #0a1628, #091220);
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: var(--radius);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.rg-icon { font-size: 1.4rem; flex-shrink: 0; }

/* === STICKY CTA MOBILE === */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  padding: 14px 20px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
  transform: translateY(100%);
  transition: transform 0.3s;
}

.sticky-cta.visible { transform: translateY(0); }

.sticky-cta-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: white;
}

.sticky-cta-btn {
  background: white;
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

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

/* === TABLET === */
@media (min-width: 768px) {
  .vitrina-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vitrina-card {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  .card-cta {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 14px;
    margin-top: 4px;
  }

  .card-rating-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .card-rating { margin-bottom: 0; }
  .card-stars { margin-bottom: 0; }
}

/* === DESKTOP === */
@media (min-width: 1024px) {
  .vitrina-grid {
    grid-template-columns: 1fr;
  }

  .vitrina-card {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto;
  }

  .card-cta {
    grid-column: auto;
    border-top: none;
    padding-top: 0;
    margin-top: 0;
    flex-direction: column;
    gap: 6px;
  }

  .card-rating-wrap { flex-direction: column; align-items: center; }
}

/* === UTILS === */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--navy3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-dark); }

/* === SCHEMA BREADCRUMB === */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb li::after { content: '›'; margin-left: 6px; color: var(--navy3); }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb li:last-child { color: var(--text); }

/* === SECTION DIVIDER === */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* === HIGHLIGHT BOX === */
.highlight-box {
  background: rgba(22,163,74,0.08);
  border: 1px solid rgba(22,163,74,0.2);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.92rem;
  color: var(--text);
}

/* === IMAGE CAPTION === */
.img-caption {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

/* === TOP BANNER === */
.top-banner {
  background: linear-gradient(90deg, #0d1f0d, #0f2a12);
  border-bottom: 1px solid rgba(22,163,74,0.3);
  padding: 10px 20px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.top-banner strong { color: var(--green-light); }
.top-banner a { color: var(--gold-light); font-weight: 600; }

/* === Updated badge === */
.updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22,163,74,0.15);
  border: 1px solid rgba(22,163,74,0.3);
  color: var(--green-light);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(10px);
  z-index: 150;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover { background: var(--green-dark); color: white; }
