/* ============================================================
   CasinoOhneLugas.de — main.css v1.0
   Design: CLEAN CONVERT
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F8F9FA;
  --border: #E5E7EB;
  --text: #111827;
  --text-muted: #6B7280;
  --accent: #16A34A;
  --accent2: #DC2626;
  --gold: #D97706;
  --shadow: 0 1px 3px rgba(0,0,0,.10);
  --radius: 8px;
  --font: 'Inter', system-ui, sans-serif;
}

/* ---- RESET ---- */
*, *::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: 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

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

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  background: #0f172a;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}
.site-logo {
  color: #f1f5f9;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  white-space: nowrap;
}
.desktop-nav {
  display: flex;
  gap: 24px;
}
.desktop-nav a {
  color: #94a3b8;
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
  text-decoration: none;
}
.desktop-nav a:hover { color: #f1f5f9; }

.mobile-nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.2);
  color: #f1f5f9;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* BASE rule – обязателен вне media query */
.mobile-nav { display: none; }

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-nav-toggle { display: block; }
  .mobile-nav.open {
    display: flex;
    flex-direction: column;
    background: #0f172a;
    padding: 12px 16px 16px;
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .mobile-nav a {
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 0;
  }
  .mobile-nav a:hover { color: #f1f5f9; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 60px 0 48px;
}
.hero-badge {
  display: inline-block;
  background: rgba(22,163,74,.2);
  color: #4ade80;
  border: 1px solid rgba(22,163,74,.3);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: .5px;
}
.hero h1 {
  color: #f1f5f9;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 820px;
}
.hero-desc {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 760px;
  margin-bottom: 28px;
  line-height: 1.8;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.stat-item strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: #4ade80;
}
.stat-item span {
  font-size: .78rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.trust-stars {
  color: var(--gold);
  font-weight: 600;
  font-size: .9rem;
}
.trust-stars span {
  color: #94a3b8;
  font-weight: 400;
}

/* Hero author */
.hero-author-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-author-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.3);
}
.hero-author-name a { color: #f1f5f9; text-decoration: none; font-weight: 600; }
.hero-author-role, .hero-pub-date { font-size: .75rem; 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;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  animation: pulse 2s infinite;
}
@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-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22,163,74,.35);
  text-decoration: none;
  color: #fff;
}
.card-cta { font-size: .9rem; padding: 10px 20px; }

/* ============================================================
   SHOWCASE
   ============================================================ */
.showcase-section {
  padding: 64px 0;
  background: var(--bg);
}
.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 36px;
}
.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.casino-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.casino-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  transform: translateY(-1px);
}
.casino-card--top {
  border-color: var(--accent);
  border-width: 2px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}
.card-rank { margin-bottom: 8px; }
.badge-best {
  background: var(--gold);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .3px;
}
.card-body { display: flex; flex-direction: column; gap: 8px; }
.card-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.card-rank-num {
  background: #0f172a;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: .8rem;
  font-weight: 700;
}
.card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}
.card-stars { color: var(--gold); font-size: 1rem; }
.card-rating { font-weight: 700; color: var(--accent); }
.card-bonus { color: var(--accent); font-weight: 600; font-size: .95rem; }
.card-license { color: var(--text-muted); font-size: .85rem; }
.card-highlight { color: var(--text); font-size: .9rem; line-height: 1.5; }

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.content-section { padding: 64px 0; }
.bg-white { background: var(--bg); }
.bg-alt { background: var(--bg-alt); }
.bg-warning { background: #fff7ed; }

.content-section h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.25;
}
.section-content { margin-top: 32px; }
.section-content p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

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

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
thead { background: #0f172a; color: #f1f5f9; }
thead th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}
tbody tr { border-bottom: 1px solid var(--border); }
tbody tr:last-child { border-bottom: none; }
tbody td { padding: 11px 14px; color: var(--text); }
tbody tr:nth-child(even) { background: var(--bg-alt); }

/* Warning box */
.warning-box {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-left: 4px solid var(--accent2);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 24px;
}
.warning-box h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #7c2d12;
}
.warning-box ul { display: flex; flex-direction: column; gap: 6px; }
.warning-box li { color: var(--text); font-size: .9rem; }

/* CTA box */
.cta-box {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cta-box p { color: var(--text); }

/* ============================================================
   AUTHOR BOX
   ============================================================ */
.author-section { padding: 64px 0; }
.author-box {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.author-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--accent);
}
.author-info { flex: 1; }
.author-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.author-info h3 a { color: var(--text); }
.author-title { color: var(--accent); font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.author-bio { color: var(--text); font-size: .95rem; line-height: 1.7; margin-bottom: 14px; }
.author-expertise { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.author-expertise strong { font-size: .85rem; color: var(--text-muted); }
.tag {
  background: #e0f2fe;
  color: #0369a1;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 500;
}

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

/* ============================================================
   REVIEWED BY
   ============================================================ */
.reviewed-by-section {
  padding: 64px 0;
  background: #f0fdf4;
}
.reviewed-by-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 32px;
}
@media (max-width: 768px) {
  .reviewed-by-cards { grid-template-columns: 1fr; }
}
.reviewer-card {
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reviewer-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}
.reviewer-card h4 { font-size: 1rem; font-weight: 700; color: var(--text); }
.reviewer-title { color: var(--accent); font-size: .82rem; font-weight: 600; }
.reviewer-note { color: var(--text-muted); font-size: .85rem; line-height: 1.6; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { padding: 64px 0; }
.faq-section h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 32px;
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-question[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 18px; }
.faq-answer p { color: var(--text); font-size: .95rem; line-height: 1.8; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-logo { color: #f1f5f9; font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.footer-tagline { font-size: .85rem; line-height: 1.6; margin-bottom: 8px; }
.footer-author { font-size: .82rem; }
.footer-author a { color: #4ade80; }
.footer-links h4 { color: #f1f5f9; font-size: .9rem; font-weight: 600; margin-bottom: 12px; }
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #94a3b8; font-size: .85rem; text-decoration: none; }
.footer-links a:hover { color: #f1f5f9; }
.footer-info h4 { color: #f1f5f9; font-size: .9rem; font-weight: 600; margin-bottom: 12px; }
.footer-disclaimer { font-size: .78rem; line-height: 1.6; margin-bottom: 8px; }
.footer-disclaimer a { color: #4ade80; }
.footer-affiliate { font-size: .75rem; line-height: 1.6; color: #64748b; margin-bottom: 8px; }
.footer-date { font-size: .75rem; color: #64748b; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  font-size: .78rem;
  text-align: center;
}
.footer-bottom a { color: #64748b; }

/* ============================================================
   STICKY CTA (mobile)
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: -80px;
  left: 0;
  right: 0;
  z-index: 200;
  background: #0f172a;
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 10px 16px;
  transition: bottom .3s;
}
.sticky-cta.visible { bottom: 0; }
.sticky-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sticky-cta-text { color: #f1f5f9; font-size: .9rem; font-weight: 600; }
.sticky-btn { padding: 10px 18px; font-size: .85rem; animation: none; }

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

/* ============================================================
   POPUP
   ============================================================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.popup-overlay[hidden] { display: none; }
.popup-box {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  max-width: 440px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px 8px;
}
.popup-emoji { font-size: 2.5rem; margin-bottom: 12px; }
.popup-box h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }
.popup-box p { color: var(--text-muted); font-size: .95rem; margin-bottom: 12px; line-height: 1.6; }
.popup-box .trust-stars { margin-bottom: 16px; display: block; }
.popup-btn { width: 100%; justify-content: center; animation: none; margin-bottom: 12px; }
.popup-disclaimer { font-size: .72rem; color: var(--text-muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero { padding: 40px 0 32px; }
  .hero-stats { gap: 20px; }
  .content-section { padding: 40px 0; }
  .showcase-section { padding: 40px 0; }
  .author-section, .reviewed-by-section, .faq-section { padding: 40px 0; }
  .site-footer { padding: 32px 0 16px; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .table-wrap { font-size: .8rem; }
  thead th, tbody td { padding: 8px 10px; }
}
