/* TopEagleCrash - Crash Theme - Generated from design-tokens.json */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg-main: #0A0E1A;
  --bg-card: #131826;
  --bg-card-hover: #1A2030;
  --bg-nav: rgba(10,14,26,0.97);
  --bg-section: #0F1320;
  --accent-orange: #FF6B1A;
  --accent-yellow: #FFB627;
  --accent-green: #00C896;
  --accent-red: #FF4D6A;
  --accent-blue: #3B82F6;
  --border: #252B3D;
  --text: #E0E5EE;
  --text-muted: #8088A0;
  --text-bright: #FFFFFF;
  --gradient-cta: linear-gradient(135deg, #FF6B1A 0%, #FFB627 100%);
  --gradient-cta-hover: linear-gradient(135deg, #FF8033 0%, #FFC447 100%);
  --gradient-hero: linear-gradient(135deg, #0A0E1A 0%, #1A0F1F 50%, #1F140A 100%);
  --gradient-card: linear-gradient(145deg, #131826 0%, #1A2030 100%);
  --gradient-badge: linear-gradient(135deg, #FF6B1A 0%, #FFB627 100%);
  --glow-orange: 0 0 24px rgba(255,107,26,0.35);
  --glow-yellow: 0 0 24px rgba(255,182,39,0.35);
  --glow-card: 0 4px 24px rgba(0,0,0,0.5);
  --font: 'Inter', 'Segoe UI', sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --container-md: 960px;
  --container-lg: 1200px;
  --container-article: 760px;
  --transition: 0.22s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-main);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-yellow); }
ul, ol { padding-left: 24px; margin-bottom: 16px; }
li { margin-bottom: 6px; line-height: 1.65; }
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text-bright); font-weight: 600; }
code { background: rgba(255,107,26,0.12); color: var(--accent-orange); padding: 2px 6px; border-radius: 4px; font-size: 0.88em; }

.container { max-width: var(--container-md); margin: 0 auto; padding: 0 16px; }
section { padding: 48px 0; }
main > section:nth-child(even) { background: var(--bg-section); }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.2; margin-bottom: 16px; color: var(--text-bright); }
h1 { font-size: 40px; font-weight: 800; }
h2 { font-size: 30px; padding-bottom: 8px; border-bottom: 1px solid var(--border); margin-top: 32px; }
h2:first-child { margin-top: 0; }
h3 { font-size: 22px; color: var(--text-bright); margin-top: 24px; }
h4 { font-size: 18px; color: var(--text); margin-top: 18px; }

/* Header */
.header { background: var(--bg-nav); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; }
.nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; max-width: var(--container-lg); margin: 0 auto; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; color: var(--text-bright); white-space: nowrap; }
.nav-logo span { background: var(--gradient-cta); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: 14px; transition: color var(--transition); position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text-bright); }
.nav-burger { display: none; background: none; border: 1px solid var(--border); border-radius: 6px; padding: 6px 10px; cursor: pointer; color: var(--text); font-size: 18px; }

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block; padding: 13px 28px; border-radius: var(--radius-lg);
  text-decoration: none; font-weight: 700; font-size: 15px;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  border: none; cursor: pointer; white-space: nowrap; text-align: center;
}
.btn-primary { background: var(--gradient-cta); color: #0A0E1A !important; box-shadow: 0 4px 20px rgba(255,107,26,0.3); }
.btn-primary:hover { color: #0A0E1A !important; transform: translateY(-2px); box-shadow: 0 0 32px rgba(255,107,26,0.55), 0 8px 28px rgba(0,0,0,0.5); filter: brightness(1.06); }
.btn-secondary { background: transparent; color: var(--accent-orange); border: 1px solid var(--accent-orange); padding: 12px 26px; }
.btn-secondary:hover { background: rgba(255,107,26,0.1); color: var(--text-bright); border-color: var(--accent-yellow); }
.nav-cta { padding: 8px 18px; font-size: 14px; }

/* Hero */
main > section.hero, main > section:first-child {
  background: var(--gradient-hero);
  padding: 72px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
main > section.hero::before, main > section:first-child::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(255,107,26,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255,182,39,0.06) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
main > section.hero .container, main > section:first-child .container { position: relative; z-index: 1; }
main > section.hero h1, main > section:first-child h1 { font-size: 44px; color: var(--text-bright); margin-bottom: 20px; text-shadow: 0 0 40px rgba(255,107,26,0.25); }
main > section.hero p, main > section:first-child p { color: var(--text); max-width: 680px; margin: 0 auto 20px; font-size: 17px; line-height: 1.7; }

/* Article */
.article { max-width: var(--container-article); margin: 0 auto; }
.article p, .article ul, .article ol, .article blockquote { margin-bottom: 16px; }

/* Stats Grid (from [[STATS]] shortcode) */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 20px 0 28px; }
.stat-card { background: var(--gradient-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px 14px; text-align: center; transition: transform var(--transition), border-color var(--transition); }
.stat-card:hover { transform: translateY(-2px); border-color: var(--accent-orange); }
.stat-card__value { font-size: 22px; font-weight: 800; color: var(--text-bright); background: var(--gradient-cta); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.1; margin-bottom: 4px; }
.stat-card__label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }

/* CTA block (from **[CTA: ...](url)** shortcode) */
.cta-block { text-align: center; margin: 24px 0; padding: 8px 0; }
.cta-block .btn-primary { min-width: 220px; }
.btn-lg { padding: 15px 36px; font-size: 16px; }

/* Feature Image (from ![alt](path) markdown) */
.feature-img { margin: 20px 0 28px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--bg-card); box-shadow: var(--glow-card); }
.feature-img img { width: 100%; height: auto; display: block; }

/* Casino Card grid (from [[CASINO: slug]] shortcode) */
.casino-card { background: var(--gradient-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 22px; display: grid; grid-template-columns: 140px 1fr auto; align-items: center; gap: 22px; margin: 18px 0; transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.casino-card:hover { transform: translateY(-2px); border-color: var(--accent-orange); box-shadow: 0 0 24px rgba(255,107,26,0.18), 0 8px 24px rgba(0,0,0,0.4); }
.casino-card__logo-wrap { display: flex; align-items: center; justify-content: center; min-height: 80px; background: rgba(255,255,255,0.04); border-radius: var(--radius-md); padding: 14px; }
.casino-card__logo { max-width: 110px; max-height: 60px; width: auto; height: auto; }
.casino-card__body { min-width: 0; }
.casino-card__name { font-size: 20px; font-weight: 700; color: var(--text-bright); margin: 0 0 4px; }
.casino-card__license { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.casino-card__bonus { font-size: 14px; color: var(--text); margin: 0 0 6px; }
.casino-card__note { font-size: 12px; color: var(--text-muted); font-style: italic; margin: 0; }
.casino-card__cta .btn-primary { min-width: 160px; }

@media (max-width: 720px) {
  .casino-card { grid-template-columns: 1fr; text-align: center; }
  .casino-card__logo-wrap { max-width: 200px; margin: 0 auto; }
  .casino-card__cta .btn-primary { width: 100%; }
}

/* Tables */
.data-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden; font-size: 14px; }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.data-table th { background: var(--bg-section); color: var(--text-bright); font-weight: 600; }
.data-table tr:last-child td { border-bottom: none; }

/* Callout */
.callout { background: var(--bg-card); border-left: 3px solid var(--accent-orange); padding: 14px 18px; margin: 18px 0; border-radius: var(--radius-md); color: var(--text); }

/* FAQ */
.faq { margin: 18px 0; }
.faq details { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 10px; padding: 14px 18px; }
.faq details[open] { border-color: var(--accent-orange); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--text-bright); list-style: none; position: relative; padding-right: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; font-size: 22px; color: var(--accent-orange); line-height: 1; transition: transform var(--transition); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }

/* Offer card (casino review hero) */
.offer-card { background: var(--gradient-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 28px; display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; max-width: 520px; margin: 0 auto; box-shadow: var(--glow-card); }
.offer-card__head { display: flex; flex-direction: column; gap: 6px; }
.offer-card__brand { font-size: 28px; font-weight: 800; color: var(--text-bright); background: var(--gradient-cta); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.offer-card__license { font-size: 13px; color: var(--text-muted); }
.offer-card__operator { font-size: 13px; color: var(--text-muted); }
.offer-card__cta { width: 100%; }
.offer-card__cta .btn-primary { width: 100%; }

/* Affiliate link */
.aff-link { color: var(--accent-yellow); font-weight: 600; }
.aff-link:hover { color: var(--text-bright); }

/* Footer */
.footer { background: var(--bg-section); border-top: 1px solid var(--border); padding: 32px 0 24px; margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; max-width: var(--container-lg); margin: 0 auto; padding: 0 16px; }
.footer-col h4 { font-size: 14px; color: var(--text-bright); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-muted); font-size: 14px; }
.footer-col a:hover { color: var(--accent-orange); }
.footer-bottom { max-width: var(--container-lg); margin: 24px auto 0; padding: 18px 16px 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--text-muted); font-size: 13px; }
.footer-disclaimer { color: var(--text-muted); font-size: 12px; line-height: 1.5; max-width: 480px; }

/* 18+ Badge */
.badge-18 { display: inline-block; background: var(--accent-red); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: var(--radius-sm); margin-right: 6px; }

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }
  body { font-size: 15px; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-nav); flex-direction: column; padding: 16px; border-bottom: 1px solid var(--border); gap: 12px; }
  .nav-links.open { display: flex; }
  .nav-burger { display: inline-block; }
  main > section.hero h1, main > section:first-child h1 { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  section { padding: 36px 0; }
  .offer-card { padding: 22px; }
}
