/* ================================================================
   Aviator Germany - Brand Design System
   ================================================================ */
:root {
  /* Backgrounds & surfaces */
  --bg: #ffffff;
  --bg-header: #000000;
  --bg-footer: #0a0a0a;
  --bg-card: #f8f9fa;
  --bg-surf: #141414;
  --bg-surf2: #e9ecef;

  /* Accents - Aviator red CTA */
  --accent: #e52521;
  --accent2: #ff3a35;

  /* Utility */
  --accent-red: #ff2a2a;
  --neon: #26d926;
  --success: #26d926;

  /* Text */
  --text: #1a1a1a;
  --text-light: #ffffff;
  --text2: #6c757d;

  /* Decoration */
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.05);

  /* Layout */
  --container: 1200px;
  --radius: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent2); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--bg-header);
  color: var(--text-light);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  max-width: var(--container);
  margin: 0 auto;
}
.logo-link { display: inline-flex; align-items: center; }
.logo-img { height: 40px; width: auto; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  align-items: center;
}
.main-nav a {
  color: var(--text-light);
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 15px;
  transition: background .2s;
  display: inline-block;
}
.main-nav a:hover { background: rgba(255,255,255,.1); }
.main-nav a.is-active {
  background: var(--accent);
  color: #fff;
}

.play-btn {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 14px;
  transition: background .2s, transform .1s;
  box-shadow: 0 4px 14px rgba(229,37,33,.35);
}
.play-btn:hover { background: var(--accent2); color: #fff !important; transform: translateY(-1px); }

.burger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  padding: 6px 10px;
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--bg-header);
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: none;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; align-items: stretch; }
  .main-nav a { display: block; padding: 12px 16px; }
  .burger { display: inline-flex; }
  .header-inner { gap: 10px; }
  .play-btn { padding: 9px 14px; font-size: 13px; }
}

/* ---------- Main content ---------- */
main { padding: 40px 0 60px; }

h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 40px 0 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
h3 {
  font-size: clamp(18px, 2.4vw, 22px);
  margin: 30px 0 12px;
  font-weight: 700;
}
p { margin-bottom: 16px; }

article ul, article ol { margin: 14px 0 22px 22px; }
article ul li, article ol li { margin-bottom: 8px; }

article a { text-decoration: underline; text-underline-offset: 2px; }

.lead {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 26px;
}

.hero-img {
  width: 100%;
  border-radius: var(--radius);
  margin: 20px 0 30px;
  box-shadow: var(--shadow);
}

/* ---------- Tables ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 30px;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}
th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
th {
  background: var(--bg-header);
  color: var(--text-light);
  font-weight: 600;
}
tr:last-child td { border-bottom: none; }

/* ---------- Top Casino Showcase ---------- */
.top-casinos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0 50px;
}
.top-casinos .casino-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  border: 2px solid var(--border);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.top-casinos .casino-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.top-casinos .casino-card.featured { border-color: var(--accent); background: #fff; box-shadow: 0 6px 20px rgba(229,37,33,.10); }

.rank-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--bg-surf2);
  color: var(--text);
  padding: 5px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .5px;
}
.casino-card.featured .rank-badge {
  background: var(--accent);
  color: #fff;
}
.badge-editor {
  display: inline-block;
  background: var(--neon);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
  text-transform: uppercase;
}

.casino-logo {
  width: 100%;
  height: 90px;
  object-fit: contain;
  margin: 20px 0 14px;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
}

.stars {
  color: #f5b301;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.rating-num { font-weight: 700; color: var(--text); font-size: 14px; margin-left: 4px; }

.usp {
  margin: 10px 0 16px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.usp strong { color: var(--accent); }

.casino-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
}
.btn {
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  font-size: 14px;
  transition: background .2s, transform .1s;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff !important;
  flex: 1;
  min-width: 130px;
}
.btn-primary:hover { background: var(--accent2); color: #fff !important; transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--border);
  flex: 1;
  min-width: 100px;
}
.btn-secondary:hover { background: var(--bg-surf2); color: var(--text) !important; }

@media (max-width: 900px) {
  .top-casinos { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
  .top-casinos { grid-template-columns: 1fr; }
}

/* ---------- Reviews Slider ---------- */
.reviews {
  background: var(--bg-card);
  padding: 40px 0;
  margin: 40px 0;
  border-radius: var(--radius);
}
.reviews h2 { text-align: center; margin-top: 0; }
.reviews-slider-wrap {
  position: relative;
  max-width: 1100px;
  margin: 20px auto 0;
  padding: 0 60px;
}
.reviews-slider {
  overflow: hidden;
}
.reviews-track {
  display: flex;
  gap: 20px;
  transition: transform .4s ease;
}
.review-card {
  flex: 0 0 calc((100% - 40px) / 3);
  background: #fff;
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.reviewer-name { font-weight: 700; color: var(--text); }
.review-date { color: var(--text2); font-size: 13px; }
.review-stars { color: #f5b301; margin-bottom: 10px; font-size: 15px; }
.review-text { font-size: 14px; color: var(--text); line-height: 1.6; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 5;
}
.slider-arrow:hover { background: var(--accent2); }
.slider-prev { left: 0; }
.slider-next { right: 0; }
.slider-arrow:disabled { background: var(--text2); cursor: not-allowed; opacity: .5; }

@media (max-width: 900px) {
  .review-card { flex: 0 0 calc((100% - 20px) / 2); }
  .reviews-slider-wrap { padding: 0 50px; }
}
@media (max-width: 640px) {
  .review-card { flex: 0 0 100%; }
  .reviews-slider-wrap { padding: 0 45px; }
}

/* ---------- Author box ---------- */
.author-box {
  display: flex;
  gap: 22px;
  background: var(--bg-card);
  padding: 26px;
  border-radius: var(--radius);
  margin: 40px 0 20px;
  align-items: flex-start;
  border-left: 4px solid var(--accent);
}
.author-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-info h4 { margin: 0 0 6px; font-size: 18px; }
.author-role { color: var(--accent); font-size: 14px; margin-bottom: 10px; font-weight: 600; }
.author-bio { font-size: 14px; color: var(--text); line-height: 1.6; margin-bottom: 10px; }
.author-date { font-size: 13px; color: var(--text2); font-style: italic; }
@media (max-width: 640px) {
  .author-box { flex-direction: column; align-items: center; text-align: center; }
  .author-avatar { width: 80px; height: 80px; }
}

/* ---------- FAQ ---------- */
.faq-block { margin: 40px 0; }
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: background .2s;
}
.faq-item:hover { background: var(--bg-surf2); }
.faq-q {
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}
.faq-q::after {
  content: "+";
  font-size: 24px;
  color: var(--accent);
  transition: transform .2s;
  font-weight: 400;
  line-height: 1;
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  font-size: 15px;
}
.faq-item.open .faq-a { max-height: 500px; padding-top: 12px; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--bg-surf) 0%, #2a0a0a 100%);
  color: var(--text-light);
  padding: 40px;
  border-radius: var(--radius);
  text-align: center;
  margin: 40px 0;
}
.final-cta h2 { color: #fff; margin-top: 0; }
.final-cta p { color: rgba(255,255,255,.85); margin-bottom: 20px; }
.final-cta .btn-primary {
  font-size: 16px;
  padding: 14px 34px;
  flex: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-footer);
  color: var(--text-light);
  padding: 50px 0 20px;
  margin-top: 60px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 30px;
}
.footer-col h5 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: rgba(255,255,255,.75);
  font-size: 14px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-cta {
  text-align: center;
  margin: 30px 0 20px;
}
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  text-align: center;
}
.footer-disclaimer strong { color: var(--accent-red); }
.footer-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 14px 0;
  flex-wrap: wrap;
}
.footer-badges span {
  background: rgba(255,255,255,.05);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  color: rgba(255,255,255,.7);
  letter-spacing: .5px;
}
.copyright { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 10px; }

@media (max-width: 700px) {
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Article layout ---------- */
.article-body { max-width: 900px; margin: 0 auto; }
.article-body ul li::marker { color: var(--accent); }

/* ---------- Info boxes / callouts ---------- */
.callout {
  background: var(--bg-card);
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  border-radius: 6px;
  margin: 20px 0;
}
.callout strong { color: var(--accent); }

/* ---------- Legal pages ---------- */
.legal-body h2 { font-size: 22px; margin-top: 30px; }
.legal-body h3 { font-size: 18px; margin-top: 22px; }

/* ---------- Contact form ---------- */
.contact-form {
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius);
  max-width: 600px;
  margin: 20px 0;
}
.form-row { margin-bottom: 16px; }
.form-row label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--accent); }

/* ==============================
   Casino hero block (review pages)
   ============================== */
.casino-hero-block {
  display: flex;
  align-items: center;
  gap: 32px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.casino-hero-img-wrap {
  flex: 0 0 300px;
  width: 300px;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.casino-hero-img {
  width: 300px;
  height: 300px;
  object-fit: contain;
  display: block;
}
.casino-hero-cta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.casino-hero-title {
  font-size: 1.75rem;
  margin: 0;
  color: #111;
  font-weight: 700;
}
.casino-hero-sub {
  font-size: 1rem;
  color: #555;
  margin: 0;
}
.casino-hero-btn {
  align-self: flex-start;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 8px;
  background: #e52521;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 12px rgba(229,37,33,0.3);
}
.casino-hero-btn:hover {
  background: #c41c19;
  transform: translateY(-1px);
}
.casino-hero-note {
  font-size: 0.85rem;
  color: #888;
  margin-top: 4px;
}
@media (max-width: 720px) {
  .casino-hero-block {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
  .casino-hero-img-wrap,
  .casino-hero-img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }
  .casino-hero-cta {
    align-items: center;
    text-align: center;
  }
  .casino-hero-btn {
    align-self: center;
    width: 100%;
    text-align: center;
  }
}
