/* ===========================================================================
   Deutschescasino.win – Hugo Affiliate Theme
   Dark casino design with gold/green accents
   =========================================================================== */

:root {
  --bg: #0b1a12;
  --bg-soft: #0e2016;
  --surface: #12281e;
  --surface-2: #17301f;
  --gold: #f0b93c;
  --gold-strong: #ffd766;
  --green: #23c774;
  --red: #ff6b6b;
  --text: #eaf4ee;
  --muted: #9db7a9;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --container: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Age bar ---------- */
.age-bar {
  background: #000;
  color: #cfe3d6;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}
.age-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 20px;
  flex-wrap: wrap;
}
.age-bar a { color: var(--gold); text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  background: rgba(11, 26, 18, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand-name { font-weight: 800; font-size: 20px; letter-spacing: -0.5px; }
.brand-tld { color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
}
.main-nav a:hover { color: var(--text); background: var(--surface); }
.nav-cta {
  background: var(--gold);
  color: #0b1a12 !important;
  font-weight: 700;
}
.nav-cta:hover { background: var(--gold-strong); color: #0b1a12 !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: 0.2s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: linear-gradient(180deg, var(--gold-strong), var(--gold)); color: #0b1a12; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { background: var(--surface); }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--sm { padding: 8px 14px; font-size: 13px; border-radius: 9px; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.badge--cat { background: rgba(35, 199, 116, 0.15); color: var(--green); }
.badge--cat:hover { background: rgba(35, 199, 116, 0.25); color: var(--green); }
.badge--gold { background: var(--gold); color: #0b1a12; }
/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 60px;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(240, 185, 60, 0.14), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(35, 199, 116, 0.12), transparent 55%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(240, 185, 60, 0.12);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.hero p { color: var(--muted); font-size: 18px; max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.hero-trust li { color: var(--green); font-weight: 600; }
.hero-graphic { display: flex; justify-content: center; }
.hero-graphic svg { width: min(260px, 100%); filter: drop-shadow(0 20px 50px rgba(0,0,0,0.4)); }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section--categories { background: var(--bg-soft); }
.section--trust { background: var(--bg-soft); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -0.5px; }
.section-head p { color: var(--muted); margin-top: 6px; }
.link-more { color: var(--gold); font-weight: 700; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

/* ---------- Casino list & cards ---------- */
.casino-list { display: flex; flex-direction: column; gap: 16px; }
.casino-card {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.casino-card:hover { border-color: rgba(240, 185, 60, 0.4); transform: translateY(-2px); }
.casino-card--highlight { border-color: rgba(240, 185, 60, 0.5); box-shadow: var(--shadow); }
.casino-rank {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--gold);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.casino-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--gold), #c98f1e);
  color: #0b1a12;
  font-size: 30px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.casino-topline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.casino-name { font-size: 19px; font-weight: 700; }
.casino-rating { margin: 4px 0 8px; font-size: 14px; color: var(--muted); }
.rating-value { color: var(--gold); font-weight: 800; }
.casino-bonus { color: var(--green); font-weight: 700; margin-bottom: 8px; }
.casino-features { display: flex; flex-wrap: wrap; gap: 8px; }
.casino-features li {
  font-size: 12.5px;
  color: var(--muted);
  background: var(--surface-2);
  padding: 4px 10px;
  border-radius: 999px;
}
.casino-card-cta { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.casino-card-cta small { font-size: 11px; color: var(--muted); }
.disclosure-note { margin-top: 18px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---------- Article grid & cards ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, transform 0.2s;
}
.article-card:hover { border-color: rgba(240, 185, 60, 0.4); transform: translateY(-2px); }
.article-title { font-size: 18px; line-height: 1.35; }
.article-title a { color: var(--text); }
.article-title a:hover { color: var(--gold); }
.article-excerpt { color: var(--muted); font-size: 14.5px; }
.article-meta { margin-top: auto; font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.dot { opacity: 0.5; }

/* ---------- Category cards ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s, transform 0.2s;
}
.category-card:hover { border-color: rgba(240, 185, 60, 0.4); transform: translateY(-2px); }
.category-card h3 { font-size: 17px; }
.category-card .count { color: var(--gold); font-size: 13.5px; font-weight: 700; }

/* ---------- Page hero (list/terms) ---------- */
.page-hero {
  padding: 52px 0 8px;
  background: radial-gradient(900px 400px at 50% -20%, rgba(240, 185, 60, 0.12), transparent 60%);
}
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.5px; }
.page-hero p { color: var(--muted); margin-top: 10px; max-width: 640px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13.5px;
  color: var(--muted);
  margin: 22px 0 6px;
}
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .sep { opacity: 0.5; }
.breadcrumbs .current { color: var(--text); font-weight: 600; }
/* ---------- Single article ---------- */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 30px 0 60px;
  align-items: start;
}
.article-header { margin-bottom: 24px; }
.article-h1 { font-size: clamp(26px, 4vw, 40px); line-height: 1.15; letter-spacing: -0.7px; margin: 14px 0 14px; }
.article-byline { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13.5px; align-items: center; }

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 26px;
}
.toc summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--gold);
  list-style: none;
}
.toc summary::-webkit-details-marker { display: none; }
.toc-body { margin-top: 14px; }
.toc-body ul { list-style: none; padding-left: 0; }
.toc-body li { margin: 6px 0; }
.toc-body a { color: var(--muted); }
.toc-body a:hover { color: var(--gold); }
.toc-body ul ul { padding-left: 16px; border-left: 1px solid var(--border); margin-left: 6px; }

.article-body { font-size: 17px; color: #d7e6dd; }
.article-body h2 {
  font-size: 27px;
  margin: 38px 0 14px;
  letter-spacing: -0.4px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.article-body h3 { font-size: 21px; margin: 26px 0 10px; }
.article-body p { margin: 0 0 18px; }
.article-body a { color: var(--gold); text-decoration: underline; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin: 6px 0; }
.article-body blockquote {
  border-left: 4px solid var(--gold);
  background: var(--surface);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 0 0 18px;
  color: var(--text);
  font-style: italic;
}
.article-body strong { color: var(--text); }

/* ---------- Casino CTA box (in article) ---------- */
.casino-cta {
  background: var(--bg-soft);
  border: 1px solid rgba(240, 185, 60, 0.3);
  border-radius: var(--radius);
  padding: 24px;
  margin: 34px 0;
}
.casino-cta h2 { font-size: 22px; margin-bottom: 4px; }
.casino-cta .cta-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }

/* ---------- FAQ ---------- */
.faq { margin: 34px 0; }
.faq h2 { font-size: 26px; margin-bottom: 18px; letter-spacing: -0.4px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--gold); font-size: 20px; font-weight: 800; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 20px 18px; color: var(--muted); font-size: 15.5px; }

/* ---------- Post nav ---------- */
.post-nav { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; margin-top: 40px; }
.post-nav-link {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 600;
  max-width: 48%;
}
.post-nav-link:hover { border-color: rgba(240, 185, 60, 0.4); }
.post-nav-link--next { text-align: right; }

/* ---------- Sidebar ---------- */
.sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 96px; }
.widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.widget-title { font-size: 16px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 16px; }
.widget-list li { margin: 10px 0; }
.widget-list a { color: var(--muted); font-size: 14.5px; display: flex; justify-content: space-between; gap: 8px; }
.widget-list a:hover { color: var(--gold); }
.widget-list .count { color: var(--gold); font-weight: 700; }

.mini-casino-list { display: flex; flex-direction: column; gap: 14px; }
.mini-casino-list li { display: flex; align-items: center; gap: 12px; }
.mini-rank {
  width: 26px; height: 26px; border-radius: 8px; background: var(--surface-2);
  color: var(--gold); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0;
}
.mini-info { display: flex; flex-direction: column; line-height: 1.3; }
.mini-info strong { font-size: 14px; }
.mini-info .rating-value { font-size: 12.5px; }
.mini-casino-list .btn { margin-left: auto; }
/* ---------- Trust grid ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-item { text-align: center; padding: 10px; }
.trust-icon { font-size: 40px; display: block; margin-bottom: 14px; }
.trust-item h3 { font-size: 18px; margin-bottom: 8px; }
.trust-item p { color: var(--muted); font-size: 14.5px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }
.page-link {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
}
.page-link:hover { border-color: rgba(240, 185, 60, 0.4); }
.page-info { color: var(--muted); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: #071209; border-top: 1px solid var(--border); padding: 56px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-about p { color: var(--muted); margin-top: 14px; font-size: 14.5px; max-width: 320px; }
.brand-footer { margin-bottom: 8px; }
.footer-col h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 16px; }
.footer-col ul li { margin: 9px 0; }
.footer-col a { color: var(--muted); font-size: 14.5px; }
.footer-col a:hover { color: var(--gold); }
.footer-disclaimer { border-top: 1px solid var(--border); padding: 22px 0; }
.footer-disclaimer p { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.footer-disclaimer a { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding: 18px 0; }
.footer-bottom p { color: var(--muted); font-size: 13px; }

/* ---------- 404 ---------- */
.error-page { padding: 100px 0; text-align: center; }
.error-code {
  font-size: 110px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.error-page h1 { font-size: 30px; margin-bottom: 12px; }
.error-page p { color: var(--muted); margin-bottom: 26px; }
.error-page .hero-actions { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-graphic { display: none; }
  .article-grid, .category-grid { grid-template-columns: repeat(2, 1fr); }
  .single-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .casino-card { grid-template-columns: auto 1fr; }
  .casino-card-cta { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .article-grid, .category-grid, .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .casino-card { grid-template-columns: 1fr; text-align: center; }
  .casino-rank, .casino-logo { margin: 0 auto; }
  .casino-features { justify-content: center; }
  .post-nav-link { max-width: 100%; }
}



