/* ==========================================================================
   TON Casino Guide — Design System & Styles (2026)
   Aesthetic: Dark Cyber-Neon, Glassmorphism, Premium iGaming UX
   ========================================================================== */

/* Fonts loaded via <head> preconnect in index.html for maximum performance */

:root {
  /* Colors */
  --bg-dark: #090b10;
  --bg-card: #121622;
  --bg-card-hover: #181d2c;
  --bg-glass: rgba(18, 22, 34, 0.75);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 255, 136, 0.3);
  
  --ton-blue: #0088cc;
  --ton-blue-glow: rgba(0, 136, 204, 0.4);
  --neon-green: #00ff88;
  --neon-green-glow: rgba(0, 255, 136, 0.35);
  --accent-purple: #7c3aed;
  --accent-gold: #f59e0b;
  --accent-red: #ef4444;

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing & Layout */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 136, 204, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(124, 58, 237, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(0, 255, 136, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Header & Nav */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 1rem 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--ton-blue), var(--neon-green));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--ton-blue-glow);
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--neon-green);
}

.nav-cta {
  background: linear-gradient(135deg, #0088cc, #00bbff);
  color: #fff;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 30px;
  box-shadow: 0 0 14px var(--ton-blue-glow);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(0, 187, 255, 0.6);
}

/* Mobile Hamburger Toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.nav-toggle:hover {
  border-color: var(--border-glow);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid var(--border-glow);
  color: var(--neon-green);
  padding: 0.35rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #00ff88, #0088cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 2rem;
}

/* Feature Badges Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  text-align: left;
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-box:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.feature-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Filter & Sorting Controls */
.controls-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--neon-green);
  color: #000;
  border-color: var(--neon-green);
  font-weight: 600;
}

.search-input {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  outline: none;
  min-width: 200px;
}

.search-input:focus {
  border-color: var(--ton-blue);
}

/* ==========================================================================
   Interactive Widgets — Bonus Calculator & Casino Quiz
   ========================================================================== */
.widget {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2.5rem;
}

.widget-head {
  text-align: center;
  margin-bottom: 1.5rem;
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.widget-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Calculator controls */
.calc-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.calc-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.calc-amount-input {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  font-weight: 700;
  width: 220px;
  outline: none;
  font-family: var(--font-heading);
}

.calc-amount-input:focus {
  border-color: var(--ton-blue);
}

.calc-currency {
  display: flex;
  gap: 0.4rem;
}

.calc-cur-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-heading);
}

.calc-cur-btn:hover {
  border-color: var(--border-glow);
}

.calc-cur-btn.active {
  background: var(--neon-green);
  color: #000;
  border-color: var(--neon-green);
}

/* Calculator results grid */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.calc-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: var(--transition);
}

.calc-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.calc-card-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.calc-card-logo {
  font-size: 1.6rem;
  line-height: 1;
}

.calc-card-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
}

.calc-bonus-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.calc-bonus-val {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--neon-green);
  line-height: 1;
}

.calc-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.calc-perk {
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.calc-total {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.calc-total strong {
  color: var(--accent-gold);
}

.calc-card .btn-play {
  margin-top: auto;
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
}

/* Quiz widget */
.quiz-progress {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.quiz-dot {
  width: 40px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.quiz-dot.active {
  background: var(--neon-green);
}

.quiz-step {
  max-width: 640px;
  margin: 0 auto;
}

.quiz-question {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.25rem;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-align: left;
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  font-family: var(--font-body);
}

.quiz-option:hover {
  border-color: var(--neon-green);
  background: rgba(0, 255, 136, 0.06);
  transform: translateX(4px);
}

.quiz-option-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.quiz-back {
  display: block;
  margin: 1.25rem auto 0;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
}

.quiz-back:hover {
  color: #fff;
  text-decoration: underline;
}

/* Quiz result */
.quiz-result {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.quiz-result-badge {
  display: inline-block;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid var(--border-glow);
  color: var(--neon-green);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.3rem 1rem;
  border-radius: 30px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quiz-result-card {
  background: rgba(0, 0, 0, 0.25);
  border: 2px solid var(--neon-green);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.15);
}

.quiz-result-logo {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.quiz-result-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.quiz-result-rating {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.quiz-result-desc {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.quiz-result-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.quiz-result-perks .calc-perk {
  font-size: 0.8rem;
  background: rgba(0, 255, 136, 0.1);
  color: var(--neon-green);
}

.quiz-result-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}

.quiz-result-actions .btn-play {
  display: inline-flex;
  width: 100%;
  max-width: 340px;
}

@media (max-width: 600px) {
  .widget {
    padding: 1.5rem 1.25rem;
  }
  .calc-amount-input {
    width: 100%;
  }
}

/* Main Casino Cards List */
.casino-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.casino-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  transition: var(--transition);
  display: grid;
  grid-template-columns: 80px 1.5fr 1.2fr 1fr;
  align-items: center;
  gap: 1.5rem;
  overflow: hidden;
}

.casino-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.casino-card.featured-top {
  border: 2px solid var(--neon-green);
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.18);
}

.top-rank-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, var(--neon-green), #00bbff);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.25rem 0.8rem;
  border-bottom-right-radius: var(--radius-sm);
  text-transform: uppercase;
}

.casino-logo-wrap {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 1px solid var(--border-glass);
}

.casino-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.casino-name-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.casino-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
}

.badge-tag {
  background: rgba(0, 136, 204, 0.15);
  color: var(--ton-blue);
  border: 1px solid rgba(0, 136, 204, 0.3);
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
}

.stars-rating {
  color: var(--accent-gold);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.rating-score {
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.85rem;
}

.casino-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.3rem;
}

.casino-tag {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.bonus-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
}

.bonus-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bonus-val {
  color: var(--neon-green);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
}

.bonus-code,
.promo-code {
  font-size: 0.8rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-top: 0.2rem;
}

.promo-code span {
  background: rgba(245, 158, 11, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: var(--accent-gold);
  font-weight: 700;
}

/* Crypto Payments & Coins Display Box */
.crypto-supported-box {
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.crypto-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.crypto-coins-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.coin-badge {
  background: rgba(0, 136, 204, 0.12);
  border: 1px solid rgba(0, 136, 204, 0.25);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.coin-badge.coin-ton {
  background: rgba(0, 136, 204, 0.2);
  border-color: rgba(0, 136, 204, 0.5);
  color: #38bdf8;
}

.coin-badge.coin-usdt {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.coin-badge.coin-btc {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

.coin-badge.coin-eth {
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.4);
  color: #c084fc;
}

.coin-badge.coin-sol {
  background: rgba(236, 72, 153, 0.18);
  border-color: rgba(236, 72, 153, 0.4);
  color: #f472b6;
}

.coin-badge.coin-card {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

.coin-badge.coin-tgc {
  background: rgba(139, 92, 246, 0.18);
  border-color: rgba(139, 92, 246, 0.4);
  color: #a78bfa;
}

.coin-badge.coin-doge {
  background: rgba(234, 179, 8, 0.18);
  border-color: rgba(234, 179, 8, 0.4);
  color: #facc15;
}

.payout-speed-tag {
  font-size: 0.8rem;
  color: var(--neon-green);
  margin-top: 0.15rem;
}

.cta-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-play {
  background: linear-gradient(135deg, var(--neon-green), #00cc66);
  color: #000;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 0 16px var(--neon-green-glow);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(0, 255, 136, 0.6);
}

.btn-review {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
  transition: var(--transition);
}

.btn-review:hover {
  color: #fff;
  text-decoration: underline;
}

/* Comparison Table Section */
.section-title-wrap {
  margin-bottom: 2rem;
  text-align: center;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

.table-responsive {
  overflow-x: auto;
  margin-bottom: 4rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.comparison-table th, .comparison-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-glass);
}

.comparison-table th {
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.comparison-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Guide Content Section (SEO-rich text) */
.guide-article {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 4rem;
}

.guide-article h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin: 1.75rem 0 1rem;
  color: #fff;
}

.guide-article h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.25rem 0 0.75rem;
  color: var(--neon-green);
}

.guide-article p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.guide-article ul, .guide-article ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.guide-article li {
  margin-bottom: 0.4rem;
}

.snippet-box {
  background: rgba(0, 136, 204, 0.08);
  border-left: 4px solid var(--ton-blue);
  padding: 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

/* FAQ Section */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 4rem;
}

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

.faq-question {
  padding: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--neon-green);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Footer */
.footer {
  background: #050609;
  border-top: 1px solid var(--border-glass);
  padding: 3rem 0 2rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-disclaimer {
  line-height: 1.5;
  margin-top: 0.75rem;
}

.footer-links-title {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--neon-green);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  /* Hide the standalone bar CTA on mobile; navigation moves into the dropdown */
  .nav-cta {
    display: none;
  }

  /* Nav links collapse into a full-width dropdown panel under the bar */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    padding: 0.25rem 1.25rem 0.75rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links .nav-link {
    display: block;
    padding: 0.9rem 0.25rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-glass);
  }

  .nav-links li:last-child .nav-link {
    border-bottom: none;
  }
}

@media (max-width: 900px) {
  .casino-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }
  
  .casino-logo-wrap {
    margin: 0 auto;
  }

  .casino-name-row {
    justify-content: center;
  }

  .stars-rating {
    justify-content: center;
  }

  .casino-tags-list, .crypto-coins-list {
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}
