@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-deep: #0b0f19;
  --bg-surface: #111827;
  --bg-surface-elevated: #1a2234;
  --accent-cyan: #06b6d4;
  --accent-teal: #14b8a6;
  --accent-amber: #f59e0b;
  --accent-coral: #f43f5e;
  --accent-emerald: #10b981;
  --gradient-brand: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
  --gradient-badge: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #042f2e 100%);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(6, 182, 212, 0.35);
  --card-radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-main);
  background-image: 
    radial-gradient(ellipse 60% 40% at 50% -20%, rgba(6, 182, 212, 0.15), transparent),
    radial-gradient(circle at 10% 30%, rgba(16, 185, 129, 0.08), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(244, 63, 94, 0.06), transparent 40%);
  min-height: 100vh;
  line-height: 1.6;
}

h1, h2, h3, h4, .brand-title, .pill-btn, .btn {
  font-family: 'Space Grotesk', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* Header */
.topbar {
  background: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.9rem 1.5rem;
}

.topbar-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.brand-badge {
  background: var(--gradient-brand);
  color: #0b0f19;
  font-size: 1.1rem;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.brand-name {
  background: linear-gradient(90deg, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-name span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.8rem;
  align-items: center;
}

.nav-item {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
}

.nav-item:hover, .nav-item.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
  color: var(--accent-cyan);
}

.header-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.btn {
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  transition: all 0.25s ease;
}

.btn-cyan {
  background: var(--gradient-brand);
  color: #042f2e;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.55);
}

.btn-outline {
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: #fff;
  font-size: 1.35rem;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1;
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-cyan);
}

.nav-mobile-actions {
  display: none;
}

.page-title {
  font-size: clamp(1.75rem, 5.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.table-scroll-hint {
  display: none;
  font-size: 0.82rem;
  color: var(--accent-cyan);
  margin-top: 0.6rem;
  text-align: right;
}

.btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* Page Layout */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.2rem 1.5rem 4rem;
}

/* Hero Section */
.hero-banner {
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  border: 1px solid var(--border-glow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 2.5rem;
  padding: 3rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-overlay-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--accent-cyan);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.18;
  margin-bottom: 0.9rem;
  letter-spacing: -0.5px;
}

.hero-title span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Interactive Filter Bar */
.filter-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.3rem 1.8rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.filter-heading {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 700;
}

.filter-pills {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-pill:hover, .filter-pill.active {
  background: var(--accent-cyan);
  color: #0b0f19;
  border-color: var(--accent-cyan);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(6, 182, 212, 0.35);
}

/* Main Split Layout: Left Listing + Right Sidebar */
.comparison-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

/* Casino Row Card */
.casino-rows {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.casino-row {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  padding: 1.2rem 1.4rem;
  display: grid;
  grid-template-columns: 170px 180px 1fr 140px;
  gap: 1.2rem;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}

.casino-row:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  background: var(--bg-surface-elevated);
}

.casino-brand-box {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.casino-rank {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent-cyan);
  width: 28px;
  height: 28px;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.casino-logo-img {
  width: 100px;
  height: 48px;
  object-fit: contain;
  background: #ffffff;
  padding: 6px;
  border-radius: 8px;
}

.casino-brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.casino-score {
  font-size: 0.8rem;
  color: var(--accent-amber);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.2rem;
}

.bonus-box {
  border-left: 1px solid var(--border-subtle);
  padding-left: 1.2rem;
}

.bonus-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.bonus-extra {
  font-size: 0.85rem;
  color: var(--accent-teal);
  font-weight: 600;
  margin-top: 0.2rem;
}

.bonus-req {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.perks-list {
  list-style: none;
  font-size: 0.82rem;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.perks-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.perks-list li i {
  color: var(--accent-emerald);
  font-size: 0.8rem;
}

.action-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.link-review {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.link-review:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
}

/* Sidebar Widgets */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.widget-header {
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-title {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}

.widget-body {
  padding: 1.2rem;
}

/* Top Choice of the Month Box */
.monthly-pick {
  background: linear-gradient(145deg, #1e1b4b 0%, #111827 100%);
  border: 1px solid rgba(168, 85, 247, 0.4);
  position: relative;
}

.monthly-badge {
  background: var(--gradient-badge);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  position: absolute;
  top: 10px;
  right: 10px;
}

.pick-crypto-icon {
  font-size: 2.8rem;
  color: var(--accent-amber);
  margin-bottom: 0.8rem;
}

/* Mini Casino List */
.mini-casino-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mini-casino-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mini-name {
  font-weight: 600;
  font-size: 0.88rem;
}

.mini-bonus {
  font-size: 0.74rem;
  color: var(--accent-cyan);
}

/* News / Articles Widget */
.news-item {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.news-item:last-child {
  border-bottom: none;
}

.news-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.4;
  margin-bottom: 0.3rem;
}

.news-title:hover {
  color: var(--accent-cyan);
}

.news-date {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: #080b13;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 1.5rem 2rem;
  color: var(--text-muted);
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

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

.footer-links a {
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .comparison-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .casino-row {
    grid-template-columns: 150px 160px 1fr 130px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 850px) {
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-desktop-actions {
    display: none !important;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.9rem);
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.2rem 1.5rem 1.6rem;
    border-radius: 0 0 14px 14px;
    border: 1px solid var(--border-glow);
    border-top: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    gap: 0;
    z-index: 1001;
  }

  .nav-links.open {
    display: flex;
    animation: fadeInDown 0.25s ease-out forwards;
  }

  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

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

  .nav-item {
    display: block;
    padding: 0.85rem 0.5rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
  }

  .nav-mobile-actions {
    display: flex !important;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.2rem;
    width: 100%;
  }

  .nav-mobile-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .topbar {
    padding: 0.85rem 1.2rem;
  }

  .container {
    padding: 1.8rem 1.2rem 3rem;
  }

  .hero-banner {
    padding: 2.2rem 1.4rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 5.5vw, 2.3rem);
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .casino-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.2rem;
    padding: 1.4rem 1.2rem;
  }

  .casino-brand-box {
    justify-content: center;
  }

  .bonus-box {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.9rem 0;
  }

  .perks-list {
    align-items: center;
  }

  .action-box .btn {
    width: 100%;
    justify-content: center;
  }

  .filter-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem;
    gap: 0.9rem;
  }

  .filter-pills {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.4rem;
    -webkit-overflow-scrolling: touch;
  }

  .filter-pill {
    flex-shrink: 0;
  }

  .table-scroll-hint {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 580px) {
  .topbar {
    padding: 0.75rem 1rem;
  }

  .brand-logo {
    font-size: 1.25rem;
  }

  .brand-badge {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }

  .container {
    padding: 1.5rem 0.9rem 2.5rem;
  }

  .hero-banner {
    padding: 1.8rem 1rem;
  }

  .hero-content > div:last-child {
    flex-direction: column;
    width: 100%;
  }

  .hero-content .btn {
    width: 100%;
    justify-content: center;
  }

  .spins-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .spin-card {
    padding: 1.5rem 1.2rem;
  }

  .casino-row {
    padding: 1.2rem 1rem;
  }

  .widget {
    padding: 1rem;
  }

  .widget-body {
    padding: 1rem 0 0;
  }
}

@media (max-width: 380px) {
  .topbar {
    padding: 0.65rem 0.75rem;
  }

  .brand-logo {
    font-size: 1.15rem;
    gap: 0.45rem;
  }

  .brand-badge {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }

  .mobile-toggle {
    padding: 0.35rem 0.55rem;
    font-size: 1.15rem;
  }

  .container {
    padding: 1.2rem 0.75rem 2rem;
  }

  .hero-title {
    font-size: 1.55rem;
  }
}
