/*
Theme Name: CasinoFreiheit
Theme URI: https://example.com/casino-freiheit
Author: SEO Case Study
Author URI: https://example.com
Description: Premium Casino ohne Limit WordPress Theme - SEO optimized, mobile-first, schema-ready. Built for German casino affiliate market targeting players seeking unrestricted online gambling options.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: casino-freiheit
Tags: casino, affiliate, seo, schema, mobile-first, dark-theme, gambling

*/

/* =====================================================
   CASINO FREIHEIT THEME - MASTER STYLESHEET
   Design Direction: Premium Dark Gold — editorial-grade
   casino affiliate site with authority aesthetic
   ===================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500;600&family=JetBrains+Mono:wght@400;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Core palette */
  --color-bg:          #0d0f12;
  --color-bg-card:     #141720;
  --color-bg-elevated: #1a1f2e;
  --color-border:      #252a3a;
  --color-border-gold: #c8963e;

  /* Gold accent system */
  --gold-100: #fff4d6;
  --gold-300: #f0c060;
  --gold-400: #e0a030;
  --gold-500: #c8963e;
  --gold-600: #a07030;
  --gold-dark: #3d2a0a;

  /* Text */
  --text-primary:   #f0ede8;
  --text-secondary: #9aa0b0;
  --text-muted:     #5a6070;
  --text-gold:      var(--gold-300);

  /* Rating colors */
  --star-color: #f0c060;
  --badge-new:  #22c55e;
  --badge-hot:  #ef4444;
  --badge-vip:  #a855f7;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing scale */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --container-max:    1200px;
  --container-narrow: 800px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Shadows */
  --shadow-card:   0 4px 24px rgba(0,0,0,0.4);
  --shadow-gold:   0 0 20px rgba(200,150,62,0.25);
  --shadow-glow:   0 0 40px rgba(200,150,62,0.15);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 250ms;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-300); text-decoration: none; transition: color var(--duration) var(--ease-out); }
a:hover { color: var(--gold-400); }
ul, ol { padding-left: 1.5em; }
li { margin-bottom: 0.4em; }

/* =====================================================
   LAYOUT CONTAINERS
   ===================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.container--narrow {
  max-width: var(--container-narrow);
}

/* =====================================================
   TYPOGRAPHY SYSTEM
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; }
h5 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; }

p { margin-bottom: var(--space-md); color: var(--text-secondary); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.8;
}

.text-gold { color: var(--gold-300) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }

strong { color: var(--text-primary); font-weight: 600; }

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 15, 18, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: var(--space-lg);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo__icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.site-logo__text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.site-logo__text span { color: var(--gold-300); }

/* Primary Navigation */
#primary-nav { display: flex; align-items: center; gap: 0; list-style: none; padding: 0; margin: 0; }
#primary-nav > li { position: relative; }
#primary-nav > li > a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color var(--duration);
  border-radius: var(--radius-sm);
}
#primary-nav > li > a:hover,
#primary-nav > li.current-menu-item > a { color: var(--gold-300); }

/* Dropdown */
.sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--duration) var(--ease-out);
  z-index: 200;
  box-shadow: var(--shadow-card);
}
#primary-nav > li:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--duration);
}
.sub-menu a:hover { color: var(--gold-300); background: rgba(200,150,62,0.08); }

/* CTA in header */
.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--duration) var(--ease-out);
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: #0d0f12;
  box-shadow: 0 4px 16px rgba(200,150,62,0.3);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
  box-shadow: 0 6px 24px rgba(200,150,62,0.5);
  transform: translateY(-1px);
  color: #0d0f12;
}

.btn--outline {
  background: transparent;
  color: var(--gold-300);
  border: 1.5px solid var(--gold-500);
}
.btn--outline:hover {
  background: rgba(200,150,62,0.1);
  color: var(--gold-300);
}

.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}

.btn--lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn--sm { padding: 0.45rem 1rem; font-size: 0.8rem; }

.btn--play {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(34,197,94,0.3);
}
.btn--play:hover {
  background: linear-gradient(135deg, #16a34a, #15803d);
  box-shadow: 0 6px 24px rgba(34,197,94,0.45);
  transform: translateY(-1px);
  color: #fff;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  position: relative;
  padding: var(--space-4xl) 0 var(--space-3xl);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(200,150,62,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(200,150,62,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200,150,62,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,150,62,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero__content { position: relative; z-index: 1; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(200,150,62,0.12);
  border: 1px solid rgba(200,150,62,0.3);
  color: var(--gold-300);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__title {
  margin-bottom: var(--space-lg);
}

.hero__title .highlight {
  color: var(--gold-300);
  position: relative;
  display: inline-block;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold-300);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

/* =====================================================
   SECTION STYLES
   ===================================================== */
.section {
  padding: var(--space-3xl) 0;
}

.section--dark {
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section--accent {
  background: linear-gradient(180deg, rgba(200,150,62,0.05) 0%, transparent 100%);
}

.section-header {
  margin-bottom: var(--space-2xl);
}

.section-header--center {
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-sm);
}

.section-desc {
  color: var(--text-secondary);
  max-width: 600px;
}

.section-header--center .section-desc {
  margin: 0 auto;
}

/* Divider */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  margin: var(--space-2xl) 0;
}

/* =====================================================
   CASINO CARDS — Main Ranking
   ===================================================== */
.casino-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.casino-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: var(--space-lg);
  align-items: center;
  transition: all var(--duration) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.casino-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: 0;
  transition: opacity var(--duration);
}

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

.casino-card:hover::before { opacity: 1; }

/* Top rank card style */
.casino-card--top {
  border-color: rgba(200,150,62,0.35);
  background: linear-gradient(135deg, rgba(200,150,62,0.06) 0%, var(--color-bg-card) 40%);
}

.casino-card__rank {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}

.casino-card--top .casino-card__rank {
  background: var(--gold-dark);
  border-color: var(--gold-500);
  color: var(--gold-300);
}

.casino-card__logo {
  width: 100px;
  height: 60px;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.casino-card__logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }

.casino-logo-placeholder {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-300);
  text-align: center;
  padding: 0.5rem;
  line-height: 1.3;
}

.casino-card__info { min-width: 0; }

.casino-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.casino-card__rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: var(--space-sm);
}

.stars {
  color: var(--star-color);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.rating-value {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-300);
}

.rating-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.casino-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.feature-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  border: 1px solid var(--color-border);
  white-space: nowrap;
}

.feature-tag--gold { background: rgba(200,150,62,0.1); color: var(--gold-300); border-color: rgba(200,150,62,0.2); }
.feature-tag--green { background: rgba(34,197,94,0.08); color: #22c55e; border-color: rgba(34,197,94,0.2); }

.casino-card__bonus {
  text-align: right;
  flex-shrink: 0;
  min-width: 160px;
}

.bonus-amount {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.2;
}

.bonus-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.casino-card__cta { flex-shrink: 0; }

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge--new { background: rgba(34,197,94,0.15); color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }
.badge--hot { background: rgba(239,68,68,0.15); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }
.badge--top { background: rgba(200,150,62,0.15); color: var(--gold-300); border: 1px solid rgba(200,150,62,0.3); }
.badge--vip { background: rgba(168,85,247,0.15); color: #a855f7; border: 1px solid rgba(168,85,247,0.3); }

/* =====================================================
   COMPARISON TABLE
   ===================================================== */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.comparison-table thead tr {
  background: var(--color-bg-elevated);
  border-bottom: 2px solid var(--gold-500);
}

.comparison-table th {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  white-space: nowrap;
}

.comparison-table th:first-child { color: var(--gold-300); }

.comparison-table tbody tr {
  border-bottom: 1px solid var(--color-border);
  transition: background var(--duration);
}

.comparison-table tbody tr:last-child { border-bottom: none; }
.comparison-table tbody tr:hover { background: rgba(255,255,255,0.02); }

.comparison-table td {
  padding: var(--space-md) var(--space-lg);
  color: var(--text-secondary);
  vertical-align: middle;
}

.comparison-table td:first-child {
  font-weight: 700;
  color: var(--text-primary);
}

.table-casino-name {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.table-rank-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  width: 20px;
}

.check { color: #22c55e; font-size: 1rem; }
.cross { color: #ef4444; font-size: 1rem; }
.partial { color: var(--gold-300); font-size: 0.9rem; }

/* =====================================================
   INFO CARDS / FEATURE BOXES
   ===================================================== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.info-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--duration) var(--ease-out);
}

.info-card:hover {
  border-color: rgba(200,150,62,0.3);
  transform: translateY(-2px);
}

.info-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(200,150,62,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--space-lg);
}

.info-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.info-card__text { font-size: 0.875rem; color: var(--text-secondary); margin: 0; }

/* =====================================================
   FAQ ACCORDION
   ===================================================== */
.faq-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--space-sm); }

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

.faq-item.is-open { border-color: rgba(200,150,62,0.3); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-lg);
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  transition: color var(--duration);
}

.faq-question:hover { color: var(--gold-300); }
.faq-question__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--duration) var(--ease-out);
}
.faq-item.is-open .faq-question__icon { background: var(--gold-dark); border-color: var(--gold-500); color: var(--gold-300); transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-answer__inner {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* =====================================================
   PROS / CONS
   ===================================================== */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.pros-cons-box {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
}

.pros-cons-box--pros { border-top: 3px solid #22c55e; }
.pros-cons-box--cons { border-top: 3px solid #ef4444; }

.pros-cons-box__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pros-cons-box--pros .pros-cons-box__title { color: #22c55e; }
.pros-cons-box--cons .pros-cons-box__title { color: #ef4444; }

.pros-cons-list { list-style: none; padding: 0; }
.pros-cons-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
}
.pros-cons-list li:last-child { border-bottom: none; }
.pros-cons-list li::before { font-size: 0.9rem; flex-shrink: 0; margin-top: 1px; }
.pros-cons-box--pros .pros-cons-list li::before { content: '✓'; color: #22c55e; }
.pros-cons-box--cons .pros-cons-list li::before { content: '✗'; color: #ef4444; }

/* =====================================================
   PAYMENT METHODS GRID
   ===================================================== */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-md);
}

.payment-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
  transition: all var(--duration);
}

.payment-card:hover { border-color: rgba(200,150,62,0.3); transform: translateY(-2px); }

.payment-card__icon { font-size: 1.6rem; }
.payment-card__name { font-size: 0.8rem; font-weight: 600; color: var(--text-primary); }
.payment-card__speed { font-size: 0.7rem; color: var(--text-muted); }

/* =====================================================
   ALERT / NOTICE BOXES
   ===================================================== */
.alert {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border-left: 4px solid;
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.alert--warning {
  background: rgba(234,179,8,0.08);
  border-color: #eab308;
  color: var(--text-primary);
}

.alert--info {
  background: rgba(59,130,246,0.08);
  border-color: #3b82f6;
  color: var(--text-primary);
}

.alert--success {
  background: rgba(34,197,94,0.08);
  border-color: #22c55e;
  color: var(--text-primary);
}

.alert__icon { font-size: 1.1rem; flex-shrink: 0; }

/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: var(--space-md) 0;
  list-style: none;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb__sep { color: var(--text-muted); opacity: 0.5; }
.breadcrumb__current { color: var(--gold-300); }

/* =====================================================
   SIDEBAR & STICKY BOX
   ===================================================== */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-2xl);
  align-items: start;
}

.sticky-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.sidebar-widget {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sidebar-widget__header {
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg-elevated);
  border-bottom: 1px solid var(--color-border);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-300);
}

.sidebar-widget__body { padding: var(--space-lg); }

.sidebar-top-list { list-style: none; padding: 0; }
.sidebar-top-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.85rem;
  margin-bottom: 0;
}
.sidebar-top-list li:last-child { border-bottom: none; }
.sidebar-top-list__rank { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); width: 20px; }
.sidebar-top-list__name { flex: 1; color: var(--text-primary); font-weight: 600; }
.sidebar-top-list__score { color: var(--gold-300); font-weight: 700; font-size: 0.8rem; }

/* =====================================================
   HIGHLIGHTED STAT BOXES
   ===================================================== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.stat-box {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.stat-box__value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold-300);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-box__label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =====================================================
   TABLE OF CONTENTS
   ===================================================== */
.toc {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.toc__title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-300);
  margin-bottom: var(--space-md);
}

.toc__list { list-style: none; padding: 0; counter-reset: toc-counter; }
.toc__list li { counter-increment: toc-counter; margin-bottom: 0; }
.toc__list > li { padding: 0.35rem 0; border-bottom: 1px solid var(--color-border); }
.toc__list > li:last-child { border-bottom: none; }
.toc__list a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  gap: var(--space-sm);
}
.toc__list a::before {
  content: counter(toc-counter) '.';
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  flex-shrink: 0;
  min-width: 20px;
  padding-top: 1px;
}
.toc__list a:hover { color: var(--gold-300); }

/* =====================================================
   FOOTER
   ===================================================== */
#site-footer {
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-4xl);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  padding: var(--space-3xl) 0;
}

.footer-brand__tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.footer-col__title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-300);
  margin-bottom: var(--space-md);
}

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--gold-300); }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.footer-bottom__legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
}

.footer-bottom__links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  padding: 0;
}

.footer-bottom__links a { font-size: 0.75rem; color: var(--text-muted); }
.footer-bottom__links a:hover { color: var(--gold-300); }

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(239,68,68,0.1);
  border: 2px solid #ef4444;
  border-radius: 50%;
  color: #ef4444;
  font-weight: 900;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* =====================================================
   PAGE HERO (inner pages)
   ===================================================== */
.page-hero {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(200,150,62,0.04) 0%, transparent 100%);
}

.page-hero h1 { margin-bottom: var(--space-sm); }
.page-hero .lead { margin-bottom: 0; }

/* =====================================================
   CONTENT ARTICLE STYLES
   ===================================================== */
.article-content h2 { margin-top: var(--space-2xl); margin-bottom: var(--space-md); }
.article-content h3 { margin-top: var(--space-xl); margin-bottom: var(--space-sm); color: var(--gold-300); font-family: var(--font-body); font-size: 1.1rem; }
.article-content ul, .article-content ol { margin-bottom: var(--space-md); }
.article-content ul li { color: var(--text-secondary); font-size: 0.95rem; }
.article-content > p { font-size: 0.95rem; line-height: 1.85; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sticky-sidebar { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  #primary-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: var(--space-lg);
    gap: 0;
    overflow-y: auto;
    z-index: 999;
  }
  #primary-nav.is-open { display: flex; }
  #primary-nav > li > a { font-size: 1.05rem; padding: var(--space-md) 0; border-bottom: 1px solid var(--color-border); border-radius: 0; }
  .sub-menu { position: static; visibility: visible; opacity: 1; transform: none; background: transparent; border: none; box-shadow: none; padding-left: var(--space-lg); }

  .nav-toggle { display: flex; }
  .header-cta .btn--outline { display: none; }

  .casino-card { grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; gap: var(--space-md); }
  .casino-card__rank { grid-row: 1; }
  .casino-card__logo { grid-row: 1; }
  .casino-card__info { grid-column: 1 / -1; }
  .casino-card__bonus { grid-column: 1 / -1; text-align: left; }
  .casino-card__cta { grid-column: 1 / -1; }
  .casino-card__cta .btn { width: 100%; }

  .pros-cons-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .casino-card__bonus { min-width: auto; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
