/* ============================================
   Aviator DE — Design System
   ============================================ */

:root {
  /* Backgrounds */
  --bg: #ffffff;
  --bg-header: #000000;
  --bg-footer: #0a0a0a;
  --bg-card: #f8f9fa;
  --bg-surf: #141414;
  --bg-surf2: #e9ecef;

  /* Accents */
  --accent: #e52521;
  --accent2: #ff3a35;
  --accent-red: #ff2a2a;
  --neon: #26d926;
  --success: #26d926;

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

  /* Decor */
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.10);

  /* Rhythm */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --container: 1200px;

  /* Fonts */
  --font-display: 'Space Grotesk', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent2); }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin-top: 1.6em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); margin-top: 1.4em; }

ul, ol { padding-left: 1.4em; margin: 0 0 1.2em; }
li { margin-bottom: .35em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 860px; 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,.06);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.main-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.main-nav a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 14.5px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.main-nav a:hover { background: rgba(255,255,255,.08); color: var(--text-light); }
.main-nav a.is-active {
  color: var(--accent2);
  background: rgba(229, 37, 33, 0.12);
}

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  font-family: var(--font-display);
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: .01em;
  box-shadow: 0 6px 20px rgba(229, 37, 33, .35);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  flex-shrink: 0;
}
.play-btn::before {
  content: "▶";
  font-size: 10px;
}
.play-btn:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(229, 37, 33, .45);
  color: #fff;
}

.burger {
  display: none;
  background: none;
  border: 0;
  color: var(--text-light);
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}
.burger svg { width: 26px; height: 26px; }

/* ============================================
   Hero
   ============================================ */
.hero {
  background: linear-gradient(180deg, #000 0%, #141414 100%);
  color: var(--text-light);
  padding: 72px 20px 88px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(229,37,33,.22) 0, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(229,37,33,.12) 0, transparent 40%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero h1 {
  color: var(--text-light);
  max-width: 820px;
  margin-bottom: .4em;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid rgba(38, 217, 38, .35);
  border-radius: 999px;
  background: rgba(38, 217, 38, .06);
}
.hero .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon);
}
.hero .lede {
  max-width: 720px;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  border: 0;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(229, 37, 33, .4);
}
.btn-primary:hover {
  background: var(--accent2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(229, 37, 33, .5);
}
.btn-ghost {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,.18);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.06);
  color: var(--text-light);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.stat-num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--neon);
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-top: 6px;
  display: block;
}

/* ============================================
   Sections
   ============================================ */
main { padding: 56px 0 40px; }
.section { padding: 40px 0; }
.section h2 { margin-top: 0; }
article > h2:first-child, article > h1:first-child { margin-top: 0; }

.article-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 24px 0 32px;
}
.article-image img { width: 100%; }

/* Info boxes */
.info-box {
  background: var(--bg-card);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}
.info-box p:last-child { margin-bottom: 0; }
.info-box strong { color: var(--text); }

/* Data table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.data-table th, .data-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
.data-table th {
  background: var(--bg-header);
  color: var(--text-light);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .01em;
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:nth-child(even) td { background: var(--bg-card); }

/* ============================================
   Top Casinos Showcase (Home)
   ============================================ */
.showcase-heading {
  text-align: center;
  margin-bottom: 8px;
}
.showcase-sub {
  text-align: center;
  color: var(--text2);
  max-width: 620px;
  margin: 0 auto 32px;
}
.casino-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.casino-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.casino-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.casino-card.is-top {
  border: 2px solid var(--accent);
  box-shadow: 0 12px 40px rgba(229, 37, 33, .12);
}
.top-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--bg-surf2);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: .05em;
}
.casino-card.is-top .top-badge {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(229, 37, 33, .35);
}
.editors-pick {
  position: absolute;
  top: -12px;
  right: 24px;
  background: #141414;
  color: var(--neon);
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 6px 10px;
  border-radius: 999px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid rgba(38, 217, 38, .35);
}
.casino-logo {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 16px;
}
.casino-logo img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}
.casino-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 8px;
}
.rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: #f5b301;
}
.stars svg { width: 16px; height: 16px; }
.rating-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.usp-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 14.5px;
}
.usp-list li {
  padding: 6px 0 6px 22px;
  position: relative;
  border-bottom: 1px dashed var(--border);
}
.usp-list li:last-child { border-bottom: 0; }
.usp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 12px;
  background: var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(38, 217, 38, .18);
}
.card-cta {
  display: block;
  text-align: center;
  background: var(--accent);
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 999px;
  margin-bottom: 8px;
  transition: background .15s ease, transform .15s ease;
}
.card-cta:hover { background: var(--accent2); transform: translateY(-1px); }
.card-secondary {
  display: block;
  text-align: center;
  color: var(--text2);
  font-size: 13.5px;
  padding: 6px;
}
.card-secondary:hover { color: var(--accent); }

/* ============================================
   Reviews slider
   ============================================ */
.reviews-section {
  background: var(--bg-card);
  padding: 60px 0;
  margin: 60px 0 40px;
}
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 20px;
}
.reviews-header h2 { margin: 0; }
.reviews-nav {
  display: flex;
  gap: 10px;
}
.rev-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.rev-arrow:hover:not(:disabled) {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.rev-arrow:disabled { opacity: .35; cursor: not-allowed; }
.rev-arrow svg { width: 18px; height: 18px; }

.reviews-viewport {
  overflow: hidden;
}
.reviews-track {
  display: flex;
  gap: 20px;
  transition: transform .4s ease;
}
.review-card {
  flex: 0 0 calc((100% - 40px) / 3);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.review-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.review-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.review-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text2);
}
.review-stars {
  color: #f5b301;
  margin-bottom: 12px;
  display: inline-flex;
  gap: 2px;
}
.review-stars svg { width: 15px; height: 15px; }
.review-text {
  font-size: 14.5px;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   Author box (E-E-A-T)
   ============================================ */
.author-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 48px 0 32px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--border);
}
.author-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent);
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
}
.author-role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.author-bio {
  font-size: 14.5px;
  color: var(--text2);
  margin: 0 0 8px;
}
.author-updated {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text2);
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 32px;
}
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-q {
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  list-style: none;
  color: var(--text);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--accent);
  transition: transform .2s ease;
}
.faq-item[open] .faq-q::after { content: "−"; }
.faq-a {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.6;
}
.faq-a p:last-child { margin-bottom: 0; }

/* ============================================
   Final CTA banner
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  margin: 48px 0 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(229,37,33,.28) 0, transparent 60%);
  pointer-events: none;
}
.cta-banner h2 {
  color: var(--text-light);
  margin: 0 0 12px;
  position: relative;
}
.cta-banner p {
  color: rgba(255,255,255,.75);
  max-width: 600px;
  margin: 0 auto 24px;
  position: relative;
}
.cta-banner .btn { position: relative; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--bg-footer);
  color: rgba(255,255,255,.7);
  padding: 60px 0 24px;
  font-size: 14px;
}
.footer-cta {
  text-align: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 40px;
}
.footer-cta .btn { font-size: 16px; padding: 16px 34px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: var(--text-light);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,.7);
  font-weight: 400;
}
.footer-col a:hover { color: var(--accent2); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
}
.footer-disclaimer {
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
  max-width: 780px;
  margin: 0 auto 20px;
  text-align: center;
  line-height: 1.6;
}
.footer-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.badge-18 {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #ff2a2a;
  color: #ff2a2a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.badge-org {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,.6);
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  letter-spacing: .05em;
}

/* ============================================
   Small helpers
   ============================================ */
.mono { font-family: var(--font-mono); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.hl {
  background: linear-gradient(180deg, transparent 60%, rgba(229,37,33,.18) 60%);
  padding: 0 3px;
}
.multiplier {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--neon);
  background: #141414;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: .95em;
}

/* Article typography */
article p, article li {
  font-size: 16.5px;
  line-height: 1.75;
}
article {
  max-width: 860px;
  margin: 0 auto;
}
article.wide { max-width: 1100px; }

/* Simple two-column feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
}
.feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}
.feature-card p { margin: 0; font-size: 14.5px; color: var(--text2); }

/* Play redirect page */
.play-loader {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.play-loader h1 {
  font-family: var(--font-display);
  color: var(--text);
}
.play-loader .spinner {
  width: 56px;
  height: 56px;
  border: 4px solid var(--bg-surf2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 24px 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   Mobile
   ============================================ */
@media (max-width: 900px) {
  .burger { display: inline-flex; margin-left: auto; }
  .play-btn { padding: 8px 16px; font-size: 13px; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-header);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 24px;
    display: none;
    border-top: 1px solid rgba(255,255,255,.06);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul {
    flex-direction: column;
    gap: 2px;
    margin-bottom: 12px;
  }
  .main-nav a { padding: 12px 14px; font-size: 15px; }
  .header-inner { position: relative; }

  .hero { padding: 48px 20px 56px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .casino-grid { grid-template-columns: 1fr; }

  .review-card { flex: 0 0 100%; }
  .reviews-header { flex-direction: column; align-items: flex-start; }
  .reviews-header .reviews-nav { align-self: flex-end; }

  .author-box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px;
  }
  .author-avatar { justify-self: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .cta-banner { padding: 36px 24px; }
}

@media (max-width: 640px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.45rem; }
  .hero .lede { font-size: 16px; }
  main { padding: 32px 0; }
  article p, article li { font-size: 16px; }
  .data-table th, .data-table td { padding: 10px 12px; font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
