:root {
  color-scheme: dark;
  --bg: #0b0b0f;
  --card: #15151d;
  --accent: #e50914;
  --glass: rgba(21, 21, 29, 0.55);
  --stroke: rgba(255, 255, 255, 0.08);
}

html.light {
  color-scheme: light;
  --bg: #f4f4f7;
  --card: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --stroke: rgba(0, 0, 0, 0.08);
}

html.light body {
  background: var(--bg);
  color: #0b0b0f;
}

html.light .bg-void {
  background-color: var(--bg) !important;
}

html.light .text-white\/70,
html.light .text-white\/60 {
  color: rgba(0, 0, 0, 0.55) !important;
}

html.light .border-white\/5 {
  border-color: rgba(0, 0, 0, 0.08) !important;
}

html.light .bg-card\/80 {
  background-color: rgba(255, 255, 255, 0.9) !important;
}

.hero-grid {
  background-image: radial-gradient(circle at 20% 20%, rgba(229, 9, 20, 0.18), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(120, 80, 255, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(11, 11, 15, 0.2), #0b0b0f 55%);
}

.row-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.row-scroll::-webkit-scrollbar {
  height: 6px;
}

.row-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

.card-hover {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(229, 9, 20, 0.25);
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  background-size: 200% 100%;
  animation: shimmer 1.4s ease infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.glass-panel {
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

html.light .light-icon {
  display: none !important;
}

html:not(.light) .dark-icon {
  display: none !important;
}
