/* =============================================================
   devilmailer.de — Casino Ohne Lugas — main.css
   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;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

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

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

/* ===== HEADER / NAV ===== */
.site-header {
  background: #0f172a;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.site-logo span { color: #16A34A; }

.desktop-nav { display: flex; gap: 20px; align-items: center; }
.desktop-nav a {
  color: #cbd5e1;
  font-size: 0.875rem;
  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;
  padding: 4px;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 8px;
  background: #1e293b;
  padding: 16px;
  border-top: 1px solid #334155;
}
.mobile-nav a {
  color: #cbd5e1;
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px solid #334155;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav.open { display: flex; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  color: #fff;
  padding: 60px 0 48px;
}
.hero-inner { max-width: 900px; }
.hero-badge {
  display: inline-block;
  background: rgba(22,163,74,.2);
  color: #4ade80;
  border: 1px solid rgba(22,163,74,.4);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #f1f5f9;
  margin-bottom: 16px;
}
.hero-desc {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 700px;
  margin-bottom: 28px;
}
.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-stat {
  text-align: center;
}
.hero-stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4ade80;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #16A34A, #15803d);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  animation: pulse-cta 2.5s infinite;
  box-shadow: 0 4px 16px rgba(22,163,74,.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22,163,74,.5);
  text-decoration: none;
  color: #fff;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 20px;
  border: 1px solid #334155;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.btn-secondary:hover {
  background: rgba(255,255,255,.05);
  color: #f1f5f9;
  text-decoration: none;
}
.trust-stars {
  font-size: 0.875rem;
  color: #94a3b8;
}
.trust-stars .stars { color: #D97706; letter-spacing: 2px; }

@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 4px 16px rgba(22,163,74,.4); }
  50% { box-shadow: 0 4px 28px rgba(22,163,74,.65); }
}

/* Author block in hero */
.hero-author-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  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-info { display: flex; flex-direction: column; gap: 2px; }
.hero-author-name a { color: #f1f5f9; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.hero-author-role { font-size: 0.75rem; color: #94a3b8; }
.hero-pub-date { font-size: 0.75rem; color: #64748b; }

/* ===== INTRO SECTION ===== */
.intro-section {
  background: var(--bg-alt);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.intro-section p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 860px;
}
.intro-section p:last-child { margin-bottom: 0; }

/* ===== CONTENT SECTIONS ===== */
.content-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.content-section.bg-alt { background: var(--bg-alt); }
.content-section.bg-dark {
  background: #0f172a;
  color: #e2e8f0;
}
.content-section.bg-dark h2 { color: #f1f5f9; }
.content-section.bg-dark p { color: #94a3b8; }

.section-h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
  scroll-margin-top: 80px;
}
.content-section p {
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.7;
}
.content-section p:last-child { margin-bottom: 0; }

/* ===== H2 BANNERS ===== */
.h2-banner-wrap {
  display: block;
  width: calc(100% + 32px);
  margin-left: -16px;
  overflow: hidden;
  line-height: 0;
  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 figcaption {
  font-size: 11px;
  color: #6b7280;
  text-align: right;
  padding: 4px 8px 0;
  font-style: italic;
  background: #fff;
  line-height: 1.4;
}

/* ===== VITRINA / CASINO SHOWCASE ===== */
.vitrina-section {
  background: var(--bg);
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.vitrina-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--text);
}
.vitrina-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.casino-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  transition: box-shadow 0.15s, transform 0.15s;
  position: relative;
}
.casino-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  transform: translateY(-1px);
}
.casino-card.rank-1 {
  border-color: #16A34A;
  background: linear-gradient(135deg, #f0fdf4, #fff);
}

.rank-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-muted);
  text-align: center;
  line-height: 1;
}
.casino-card.rank-1 .rank-num { color: #16A34A; }

.badge-best {
  position: absolute;
  top: -10px;
  left: 16px;
  background: linear-gradient(135deg, #16A34A, #15803d);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(22,163,74,.4);
}

.casino-card-body { min-width: 0; }
.casino-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}
.casino-license {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.casino-bonus {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
}
.casino-highlight {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.casino-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.feature-tag {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.casino-card-cta { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 120px; }
.casino-rating {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
}
.casino-stars { font-size: 0.65rem; color: var(--gold); }
.btn-casino {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #16A34A, #15803d);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 10px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(22,163,74,.3);
}
.btn-casino:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(22,163,74,.45);
  text-decoration: none;
  color: #fff;
}

/* ===== TABLES ===== */
.table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.data-table caption {
  caption-side: top;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0 0 8px;
}
.data-table th {
  background: #0f172a;
  color: #f1f5f9;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}
.data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.data-table tr:last-child td { border-bottom: none; }

/* ===== E-E-A-T AUTHOR BOX ===== */
.eeat-section {
  background: var(--bg-alt);
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.author-box {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.author-img-wrap img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
}
.author-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.author-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.author-bio {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 12px;
}
.author-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.expertise-tag {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 10px;
}
.author-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

/* ===== REVIEWED BY ===== */
.reviewed-by-section {
  background: #f0fdf4;
  padding: 48px 0;
  border-bottom: 1px solid #bbf7d0;
}
.reviewed-by-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}
.reviewed-by-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.reviewer-card {
  background: #fff;
  border: 1px solid #16A34A;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.reviewer-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #16A34A;
  flex-shrink: 0;
}
.reviewer-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.reviewer-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.reviewer-badge {
  font-size: 0.7rem;
  color: #16A34A;
  font-weight: 600;
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--bg);
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.faq-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 28px;
}
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  color: var(--text);
  gap: 12px;
  transition: background 0.15s;
}
.faq-question:hover { background: var(--bg-alt); }
.faq-icon {
  font-size: 1.25rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.25s;
  color: var(--text-muted);
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}
.faq-answer p {
  padding: 0 0 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 500px; }

/* ===== FOOTER ===== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 40px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #1e293b;
}
.footer-brand .site-logo { font-size: 1.1rem; margin-bottom: 12px; display: block; }
.footer-desc { font-size: 0.85rem; line-height: 1.6; color: #64748b; }
.footer-nav h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #cbd5e1;
  margin-bottom: 12px;
}
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { font-size: 0.85rem; color: #64748b; }
.footer-nav a:hover { color: #94a3b8; text-decoration: none; }
.footer-bottom {
  padding-top: 24px;
  font-size: 0.75rem;
  color: #475569;
  line-height: 1.6;
}
.footer-bottom a { color: #64748b; }
.disclaimer-18 {
  font-size: 0.8rem;
  color: #dc2626;
  font-weight: 600;
  margin-bottom: 8px;
}

/* ===== STICKY CTA ===== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-top: 2px solid #16A34A;
  padding: 12px 16px;
  z-index: 200;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -4px 16px rgba(0,0,0,.3);
}
.sticky-cta-text {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.3;
}
.sticky-cta-text strong { color: #f1f5f9; display: block; }
.sticky-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #16A34A, #15803d);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.sticky-cta-close {
  background: none;
  border: none;
  color: #64748b;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.sticky-cta.visible { display: flex; }

/* ===== POPUP ===== */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.popup-overlay.visible { display: flex; }
.popup-box {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  max-width: 420px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #94a3b8;
  line-height: 1;
}
.popup-badge {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.popup-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}
.popup-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.popup-cta {
  display: block;
  background: linear-gradient(135deg, #16A34A, #15803d);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  margin-bottom: 10px;
  animation: pulse-cta 2.5s infinite;
}
.popup-disclaimer {
  font-size: 0.7rem;
  color: #9ca3af;
}

/* ===== BREADCRUMB ===== */
.breadcrumb-section {
  background: var(--bg-alt);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  align-items: center;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb span { color: var(--text); font-weight: 500; }

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

  .hero { padding: 36px 0 32px; }
  .hero h1 { font-size: 1.55rem; }

  .casino-card {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
  }
  .casino-card-cta {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    min-width: unset;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }

  .author-box { grid-template-columns: 1fr; }
  .author-img-wrap { text-align: center; }
  .author-img-wrap img { margin: 0 auto; }

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

  .footer-inner { grid-template-columns: 1fr; gap: 24px; }

  .h2-banner-wrap { width: calc(100% + 32px); margin-left: -16px; }
}

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