/* ApuestaPortal — Premium Casino Rankings · Royal Blue + Electric Cyan */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  /* Forest green — brand primary (logo color) */
  --primary: 222 47% 11%;
  /* #1e3a8a */
  --primary-foreground: 0 0% 100%;

  /* Dark charcoal — header, hero, footer */
  --deep: 220 35% 10%;

  /* Light background */
  --background: 210 20% 97%;
  --foreground: 220 30% 12%;

  /* White cards */
  --card: 0 0% 100%;
  --card-foreground: 220 30% 12%;

  /* Muted */
  --muted: 220 15% 93%;
  --muted-foreground: 220 16% 44%;

  /* Gold CTA — visit buttons */
  --destructive: 190 90% 50%;
  /* #06b6d4 amber/gold */
  --destructive-foreground: 220 40% 10%;

  /* Green — checkmarks, licence badges */
  --secondary: 222 47% 11%;
  /* #1e3a8a */
  --secondary-foreground: 0 0% 100%;

  /* Accent gold */
  --accent: 190 90% 50%;
  --accent-foreground: 220 40% 10%;

  /* Warning = accent gold */
  --warning: 190 90% 50%;
  --warning-foreground: 220 40% 10%;

  /* Border */
  --border: 220 15% 88%;
  --input: 220 15% 88%;
  --ring: 222 47% 11%;

  --radius: 0.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ── Animations ── */
@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-from-bottom {
  from {
    opacity: 0;
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fade-in 0.6s ease-out;
}

.animate-fade-in-up {
  animation: fade-in-up 0.6s ease-out;
  animation-fill-mode: both;
}

.animate-slide-in-right {
  animation: slide-in-right 0.6s ease-out;
  animation-fill-mode: both;
}

.animate-slide-in-from-bottom {
  animation: slide-in-from-bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-scale-in {
  animation: scale-in 0.4s ease-out;
}

/* Typography */
.text-balance {
  text-wrap: balance;
}

.text-pretty {
  text-wrap: pretty;
}

/* Focus */
*:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

/* Transitions */
button,
a {
  transition: all 0.2s ease-in-out;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: hsl(var(--muted));
}

::-webkit-scrollbar-thumb {
  background: hsl(var(--muted-foreground) / 0.3);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--muted-foreground) / 0.5);
}

/* ══════════════════════════════════════════════════════
   HEADER — dark charcoal with green accent line
   ══════════════════════════════════════════════════════ */
header.bg-primary {
  background: linear-gradient(180deg, #0f1a0a 0%, #152209 100%) !important;
  border-bottom: 2px solid #1e3a8a !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5) !important;
}

/* Logo size */
.logo-img {
  width: 150px;
  height: auto;
}

/* Nav links on dark header — white */
header.bg-primary nav a {
  color: rgba(255, 255, 255, 0.85) !important;
}

header.bg-primary nav a:hover {
  color: #22d3ee !important;
}

/* Mobile menu button on dark bg */
header.bg-primary button {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* ══════════════════════════════════════════════════════
   HERO — dark forest gradient, white text guaranteed
   ══════════════════════════════════════════════════════ */
section.bg-primary {
  background: linear-gradient(135deg,
      #0a1407 0%,
      #152209 40%,
      #1c3010 70%,
      #0f1a0a 100%) !important;
  position: relative;
  overflow: hidden;
  color: #ffffff !important;
}

section.bg-primary::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

section.bg-primary * {
  color: inherit;
}

section.bg-primary h1,
section.bg-primary h2,
section.bg-primary p,
section.bg-primary span {
  color: #ffffff !important;
}

section.bg-primary .text-primary-foreground\/90 {
  color: rgba(255, 255, 255, 0.88) !important;
}

section.bg-primary .text-primary-foreground\/80 {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Hero stat numbers — gold glow */
.rv-gold-pulse {
  color: #06b6d4 !important;
  animation: rv-gold-pulse 2.8s ease-in-out infinite;
}

@keyframes rv-gold-pulse {

  0%,
  100% {
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.35);
  }

  50% {
    text-shadow: 0 0 24px rgba(6, 182, 212, 0.75), 0 0 42px rgba(6, 182, 212, 0.30);
  }
}

/* Hero trust badge pills */
.bg-primary-foreground\/10 {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

.bg-primary-foreground\/10:hover {
  background: rgba(30, 58, 138, 0.20) !important;
  border-color: rgba(30, 58, 138, 0.50) !important;
}

/* ══════════════════════════════════════════════════════
   CTA / VISIT BUTTONS — gold on dark bg, dark text
   ══════════════════════════════════════════════════════ */


.bg-destructive,
a.bg-destructive,
button.bg-destructive {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
  color: #1a1200 !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 2px 10px rgba(6, 182, 212, 0.40) !important;
}

.certified-ranking-btn {
  display: table-capture;
}

.bg-destructive:hover,
a.bg-destructive:hover,
button.bg-destructive:hover,
.hover\:bg-destructive\/90:hover {
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%) !important;
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.60) !important;
  transform: translateY(-1px) scale(1.02) !important;
}

/* ══════════════════════════════════════════════════════
   TABLE HEADERS (dark bg) — must have white text
   ══════════════════════════════════════════════════════ */
.bg-primary.text-primary-foreground {
  background: linear-gradient(180deg, #0f1a0a 0%, #1c3010 100%) !important;
  color: #ffffff !important;
}

.bg-primary.text-primary-foreground * {
  color: #ffffff !important;
}

/* Rank number circles (warning = gold on dark hero row) */
.bg-warning.text-warning-foreground {
  background: linear-gradient(135deg, #06b6d4, #0891b2) !important;
  color: #1a1200 !important;
}

/* ══════════════════════════════════════════════════════
   BONUS BOXES — light teal/green tinted
   ══════════════════════════════════════════════════════ */
.bg-warning\/30 {
  background: linear-gradient(135deg, #f0f9e8, #e8f5d0) !important;
  border: 1px solid rgba(30, 58, 138, 0.25) !important;
  border-radius: 8px !important;
}

.text-warning-foreground {
  color: #1f4000 !important;
}

.font-bold.text-lg.text-warning-foreground {
  font-weight: 800 !important;
  color: #1e40af !important;
}

.bg-warning\/20 {
  background: rgba(30, 58, 138, 0.12) !important;
  border: 1px solid rgba(30, 58, 138, 0.25) !important;
  border-radius: 8px !important;
}

/* ══════════════════════════════════════════════════════
   FEATURE / INFO CARDS — light bg, dark text
   ══════════════════════════════════════════════════════ */
.bg-card.border {
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  background: #ffffff !important;
  color: hsl(220 30% 12%) !important;
}

.bg-card.border:hover {
  border-color: rgba(30, 58, 138, 0.40) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10) !important;
}

.bg-card.border.rounded-xl:first-child {
  border-left: 4px solid #1e3a8a;
}

/* ══════════════════════════════════════════════════════
   PRIMARY ICON CONTAINERS (light bg) — green icons
   ══════════════════════════════════════════════════════ */
.bg-primary\/10 {
  background: rgba(30, 58, 138, 0.10) !important;
}

.bg-primary\/10 .text-primary,
.text-primary {
  color: #1e40af !important;
}

/* But on dark hero section, primary text must be white */
section.bg-primary .text-primary {
  color: #22d3ee !important;
}

/* ══════════════════════════════════════════════════════
   "Ver Análisis Completo" button — dark bg, white text
   ══════════════════════════════════════════════════════ */
.bg-primary.hover\:bg-primary\/90 {
  background: #1e40af !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}

.bg-primary.hover\:bg-primary\/90:hover {
  background: #1d4ed8 !important;
  transform: translateY(-1px) !important;
}

/* ══════════════════════════════════════════════════════
   SECONDARY / GREEN BADGES (on light bg)
   ══════════════════════════════════════════════════════ */
.bg-secondary\/20 {
  background: rgba(30, 58, 138, 0.12) !important;
  color: #1f4000 !important;
  border: 1px solid rgba(30, 58, 138, 0.25) !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
}

.bg-secondary\/10 {
  background: rgba(30, 58, 138, 0.08) !important;
}

.text-secondary {
  color: #1e40af !important;
}

/* ══════════════════════════════════════════════════════
   SECTION DIVIDERS
   ══════════════════════════════════════════════════════ */
.border-y-2.border-amber-400 {
  border-color: #1e3a8a !important;
}

/* ══════════════════════════════════════════════════════
   FOOTER — very dark, white text guaranteed
   ══════════════════════════════════════════════════════ */
footer {
  background: linear-gradient(180deg, #0a1407 0%, #060d03 100%) !important;
  border-top: 2px solid #1e3a8a !important;
  color: #ffffff !important;
}

footer * {
  color: inherit;
}

footer p,
footer span,
footer li,
footer a {
  color: rgba(255, 255, 255, 0.65) !important;
}

footer h4 {
  color: #22d3ee !important;
  font-size: 0.6875rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

footer a:hover {
  color: #ffffff !important;
}

footer .text-cyan-400 {
  color: #22d3ee !important;
}

/* ══════════════════════════════════════════════════════
   RESPONSIBLE GAMING SECTION
   ══════════════════════════════════════════════════════ */
.bg-secondary\/10 {
  background: rgba(30, 58, 138, 0.08) !important;
  border-color: rgba(30, 58, 138, 0.25) !important;
}

/* ══════════════════════════════════════════════════════
   GRADIENT SECTIONS
   ══════════════════════════════════════════════════════ */
.bg-gradient-to-br.from-primary {
  background: linear-gradient(135deg,
      #0a1407 0%,
      #152209 60%,
      #1c3010 100%) !important;
  color: #ffffff !important;
}

/* Disclaimer info banners */
.bg-gradient-to-r.from-blue-50 {
  background: linear-gradient(90deg, #f0f9e8, #e8f5d0) !important;
}

/* ══════════════════════════════════════════════════════
   COOKIE BANNER
   ══════════════════════════════════════════════════════ */
#cookie-banner .bg-card {
  border-top: 3px solid #1e3a8a !important;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15) !important;
}

/* ══════════════════════════════════════════════════════
   MOBILE NAV — dark bg, white text
   ══════════════════════════════════════════════════════ */
#mobile-menu {
  background: linear-gradient(180deg, #0f1a0a 0%, #152209 100%) !important;
  padding: 1rem;
}

#mobile-menu a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.80) !important;
  font-weight: 500;
  transition: color .2s, padding-left .2s;
}

#mobile-menu a:last-child {
  border-bottom: none;
}

#mobile-menu a:hover {
  color: #22d3ee !important;
  padding-left: 6px;
}

/* Age warning */
.bg-amber-50 {
  background: #fffbeb !important;
}

/* Stars */
.fill-yellow-400,
.text-yellow-400 {
  fill: #06b6d4 !important;
  color: #06b6d4 !important;
}

/* Hover row highlight — gold accent */
.hover\:bg-muted\/50:hover {
  background: hsl(220 20% 96%) !important;
  box-shadow: inset 4px 0 0 #1e3a8a !important;
}

/* ══════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ══════════════════════════════════════════════════════ */
.rv-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.rv-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.rv-delay-1 {
  transition-delay: 0.10s;
}

.rv-delay-2 {
  transition-delay: 0.20s;
}

.rv-delay-3 {
  transition-delay: 0.30s;
}

.rv-delay-4 {
  transition-delay: 0.40s;
}

.rv-delay-5 {
  transition-delay: 0.50s;
}

/* Shimmer skeleton */
@keyframes rv-shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.rv-shimmer {
  background: linear-gradient(90deg, #1a2d10 25%, #253f15 50%, #1a2d10 75%);
  background-size: 200% 100%;
  animation: rv-shimmer 1.6s linear infinite;
  border-radius: 4px;
}

/* Ambient glow on icon badges */
@keyframes rv-icon-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(30, 58, 138, 0.0);
  }

  50% {
    box-shadow: 0 0 14px 4px rgba(30, 58, 138, 0.3);
  }
}

.rv-icon-glow {
  animation: rv-icon-glow 3s ease-in-out infinite;
}

/* Casino table row — green left-border on hover */
.rv-table-row {
  position: relative;
  transition: background 0.22s ease, box-shadow 0.22s ease;
}

.rv-table-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #22d3ee, #1e3a8a);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 0 2px 2px 0;
}

.rv-table-row:hover::before {
  transform: scaleY(1);
}

.rv-table-row:hover {
  background: rgba(30, 58, 138, 0.04) !important;
  box-shadow: inset 0 0 0 1px rgba(30, 58, 138, 0.10);
}

/* Badge bounce-in */
@keyframes rv-bounce-in {
  0% {
    opacity: 0;
    transform: scale(0.6) translateY(-6px);
  }

  60% {
    transform: scale(1.08) translateY(2px);
  }

  80% {
    transform: scale(0.96);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.rv-bounce-in {
  animation: rv-bounce-in 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* Card entrance from left */
@keyframes rv-slide-left {
  from {
    opacity: 0;
    transform: translateX(-32px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.rv-slide-left {
  animation: rv-slide-left 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Score ring fill */
@keyframes rv-ring-fill {
  from {
    stroke-dashoffset: 283;
  }

  to {
    stroke-dashoffset: var(--rv-ring-offset, 57);
  }
}

.rv-ring-arc {
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.rv-ring-arc.in-view {
  stroke-dashoffset: var(--rv-ring-offset, 57);
}

/* Staggered list */
.rv-stagger>* {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.rv-stagger.in-view>*:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}

.rv-stagger.in-view>*:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}

.rv-stagger.in-view>*:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.25s;
}

.rv-stagger.in-view>*:nth-child(4) {
  opacity: 1;
  transform: none;
  transition-delay: 0.35s;
}

.rv-stagger.in-view>*:nth-child(5) {
  opacity: 1;
  transform: none;
  transition-delay: 0.45s;
}

.rv-stagger.in-view>*:nth-child(6) {
  opacity: 1;
  transform: none;
  transition-delay: 0.55s;
}

/* Page transition */
@keyframes rv-page-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rv-page-enter {
  animation: rv-page-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ══════════════════════════════════════════════════════
   MOBILE RESPONSIVE
   ══════════════════════════════════════════════════════ */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

* {
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

@media (max-width: 500px) {
  .rv-age-banner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

@media (max-width: 480px) {

  .hero-ranking h1,
  section.bg-primary h1 {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
  }

  section.bg-primary .text-3xl,
  section.bg-primary .text-4xl {
    font-size: 2rem !important;
  }
}

@media (max-width: 1023px) {
  .casino-card {
    border-radius: 12px;
  }

  .card-mobile .grid {
    gap: 8px;
  }

  .card-mobile .stat-box {
    padding: 8px 10px;
  }

  .card-mobile .flex.flex-wrap {
    gap: 6px;
  }

  .card-mobile .cta-glow,
  .card-mobile .cta-outline {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    font-size: 0.875rem !important;
    border-radius: 10px !important;
  }
}

@media (max-width: 640px) {
  .filter-pill {
    padding: 8px 14px;
    font-size: 12px;
  }

  footer .grid {
    gap: 24px !important;
  }

  footer .flex-wrap img {
    height: 40px !important;
  }

  footer .py-10 {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

@media (max-width: 640px) {

  article p,
  .prose p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  h1 {
    font-size: 1.75rem !important;
  }

  h2 {
    font-size: 1.35rem !important;
  }
}

@media (max-width: 1023px) {
  .hidden.lg\:block {
    display: none !important;
  }

  .lg\:hidden {
    display: block !important;
  }
}

@media (max-width: 640px) {
  .bg-card.rounded-lg.shadow-sm.p-5 {
    padding: 16px !important;
  }

  .bg-card .text-lg.font-bold {
    font-size: 1rem !important;
  }
}

@media (max-width: 640px) {

  a.bg-destructive,
  button.bg-destructive {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  #affiliate-notice {
    font-size: 10px !important;
    line-height: 1.5;
  }

  #affiliate-notice strong {
    font-size: 10px;
  }
}

@media (max-width: 640px) {
  section[style*="eff6ff"] .flex {
    flex-wrap: wrap;
  }

  section[style*="eff6ff"] .flex-shrink-0 {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════
   RANKING PAGE — override navy vars with brand green
   ══════════════════════════════════════════════════════ */
.sort-sticky {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}

.sort-sticky div {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.sort-sticky div::-webkit-scrollbar {
  display: none;
}

/* cta-glow override for ranking page — gold */
.cta-glow {
  background: linear-gradient(135deg, #06b6d4, #0891b2) !important;
  color: #1a1200 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35) !important;
  transition: all .25s ease;
  text-decoration: none;
  display: block;
}

.cta-glow:hover {
  transform: translateY(-1px) scale(1.02) !important;
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.55) !important;
  background: linear-gradient(135deg, #22d3ee, #06b6d4) !important;
}

.cta-outline {
  border: 2px solid #1e40af !important;
  color: #1e40af !important;
  background: transparent;
  transition: all .25s ease;
  text-decoration: none;
  display: block;
}

.cta-outline:hover {
  background: #1e40af !important;
  color: #fff !important;
}

/* Hero-ranking: dark forest gradient */
.hero-ranking {
  background: linear-gradient(135deg, #060d03 0%, #0a1407 30%, #152209 60%, #0a1407 100%) !important;
  position: relative;
  overflow: hidden;
}

.hero-ranking::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(30, 58, 138, 0.14) 0%, transparent 65%);
  pointer-events: none;
  animation: pulse-glow 4s ease-in-out infinite;
}

.hero-ranking::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 58, 138, 0.6), transparent);
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: .6;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
  }
}

/* Hero ranking — text must be white */
.hero-ranking,
.hero-ranking * {
  color: #ffffff;
}

.hero-ranking .text-white\/40 {
  color: rgba(255, 255, 255, 0.40) !important;
}

.hero-ranking .text-white\/50 {
  color: rgba(255, 255, 255, 0.50) !important;
}

/* Rank badge override in ranking page */
:root {
  --navy: #0f1a0a;
  --navy-mid: #152209;
  --gold: #06b6d4;
  --gold-light: #22d3ee;
  --gold-dark: #0891b2;
}

.filter-pill {
  padding: 6px 16px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: #475569;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}

.filter-pill:hover,
.filter-pill.active {
  background: #1e40af;
  color: #ffffff;
  border-color: #1e40af;
}

/* FAQ */
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s ease;
}

.faq-item:hover {
  border-color: rgba(30, 58, 138, 0.40);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: .95rem;
  color: #0a1407;
}

.faq-chevron {
  transition: transform .3s ease;
  color: #94a3b8;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  font-size: .9rem;
  color: #475569;
  line-height: 1.65;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: #1e3a8a;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 20px 16px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all .65s cubic-bezier(.22, 1, .36, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

.reveal-delay-4 {
  transition-delay: .4s;
}

.reveal-delay-5 {
  transition-delay: .5s;
}

/* Feature tags */
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  transition: all .2s ease;
}

.feature-tag:hover {
  background: #152209;
  color: #22d3ee;
  border-color: rgba(30, 58, 138, 0.3);
}

/* Stat box */
.stat-box {
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px 12px;
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: all .2s ease;
}

.stat-box:hover {
  background: #f0f9e8;
  border-color: rgba(30, 58, 138, 0.30);
}

/* Score bars */
.score-bar-track {
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: 3px;
}

/* Casino cards */
.casino-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all .35s cubic-bezier(.34, 1.56, .64, 1);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.casino-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 58, 138, 0.45);
  box-shadow: 0 20px 60px rgba(30, 58, 138, 0.10), 0 4px 24px rgba(0, 0, 0, 0.12);
}

.casino-card-rank1 {
  border-color: rgba(30, 58, 138, 0.30);
  background: linear-gradient(180deg, #f4fff0 0%, #fff 6%);
}

.casino-card-rank1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #22d3ee, #1e3a8a, #1e40af);
}

/* Rank bubbles */
.rank-1 {
  background: linear-gradient(135deg, #ffd700, #06b6d4, #0891b2);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.60);
}

.rank-2 {
  background: linear-gradient(135deg, #e8e8e8, #c0c0c0, #a8a8a8);
  box-shadow: 0 0 12px rgba(192, 192, 192, .4);
}

.rank-3 {
  background: linear-gradient(135deg, #cd7f32, #b8722e, #9c5e22);
  box-shadow: 0 0 12px rgba(205, 127, 50, .4);
}

.rank-other {
  background: linear-gradient(135deg, #1c3010, #152209);
}

/* Badges */
.badge-expert {
  background: linear-gradient(90deg, #152209, #0a1407);
  color: #22d3ee;
  border: 1px solid rgba(30, 58, 138, 0.35);
}

.badge-bonus {
  background: linear-gradient(90deg, #14532d, #052e16);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, .3);
}

.badge-payout {
  background: linear-gradient(90deg, #1c1917, #0c0a09);
  color: #a78bfa;
  border: 1px solid rgba(167, 139, 250, .3);
}

.badge-trend {
  background: linear-gradient(90deg, #7f1d1d, #450a0a);
  color: #fca5a5;
  border: 1px solid rgba(252, 165, 165, .3);
}

/* Crown float */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(-3deg)
  }

  50% {
    transform: translateY(-10px) rotate(3deg)
  }
}

.trophy-float {
  animation: float 3.5s ease-in-out infinite;
}

.crown-icon {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem;
  animation: float 2.5s ease-in-out infinite;
}

/* Card responsive */
@media(max-width:1023px) {
  .card-desktop {
    display: none !important;
  }

  .card-mobile {
    display: block !important;
  }
}

@media(min-width:1024px) {
  .card-desktop {
    display: flex !important;
  }

  .card-mobile {
    display: none !important;
  }
}

/* ══════════════════════════════════════════════════════
   CASINO DETAIL PAGES — blue-toned headings overridden
   ══════════════════════════════════════════════════════ */
.text-blue-900 {
  color: #1f4000 !important;
}

.text-blue-600 {
  color: #1e3a8a !important;
}

.bg-blue-600 {
  background: #1e3a8a !important;
}

.bg-blue-600:hover,
.hover\:bg-blue-700:hover {
  background: #1d4ed8 !important;
}

.bg-blue-100 {
  background: #e8f5d0 !important;
}

.from-blue-50 {
  --tw-gradient-from: #f0f9e8 !important;
}

.to-indigo-50 {
  --tw-gradient-to: #e8f5d0 !important;
}

.border-blue-100 {
  border-color: rgba(30, 58, 138, 0.20) !important;
}

.from-blue-600 {
  --tw-gradient-from: #1e3a8a !important;
}

.to-indigo-600 {
  --tw-gradient-to: #1e40af !important;
}

.text-blue-100 {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Floating CTA button on casino detail pages */
.fixed.bg-blue-600 {
  background: linear-gradient(135deg, #06b6d4, #0891b2) !important;
  color: #1a1200 !important;
}

.fixed.bg-blue-600:hover,
.fixed.hover\:bg-blue-700:hover {
  background: linear-gradient(135deg, #22d3ee, #06b6d4) !important;
}

/* Gold-pulse on hero numbers */
@keyframes rv-gold-pulse-alt {

  0%,
  100% {
    text-shadow: 0 0 8px rgba(6, 182, 212, 0.35);
  }

  50% {
    text-shadow: 0 0 24px rgba(6, 182, 212, 0.75), 0 0 42px rgba(6, 182, 212, 0.3);
  }
}