/*
 * Custom CSS - Clean, Professional Red Neon Theme
 * This file will not be overwritten by theme updates.
*/

/* ============================================
   GLOBAL FONT SMOOTHING
   ============================================ */
html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ============================================
   DETROID AESTHETIC: DEEP GRID BACKGROUND
   ============================================ */
body {
  background-color: #030712 !important;
  background-image: 
    radial-gradient(ellipse at 50% 50%, rgba(var(--cl-accent), 0.15), transparent 60%),
    radial-gradient(circle, rgba(255,255,255,0.08) 1.5px, transparent 1.5px);
  background-size: 100% 100%, 40px 40px;
  background-attachment: fixed;
}

/* ============================================
   HERO TITLE FONT (Outfit - Bold Display)
   ============================================ */
.hero-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ============================================
   NEON GLOW EFFECTS
   ============================================ */

/* Glow on primary text accent */
.text-accent-500 {
  text-shadow: 0 0 10px rgba(var(--cl-accent), 0.5), 0 0 20px rgba(var(--cl-accent), 0.3);
}

/* Neon text glow for accent-colored text */
.neon-text {
  text-shadow:
    0 0 10px rgba(var(--cl-accent), 0.5),
    0 0 25px rgba(var(--cl-accent), 0.3),
    0 0 50px rgba(var(--cl-accent), 0.2);
}

/* Subtle neon text for smaller elements */
.neon-text-subtle {
  text-shadow:
    0 0 8px rgba(var(--cl-accent), 0.4),
    0 0 20px rgba(var(--cl-accent), 0.2);
}

/* Neon border glow on hover for cards + lift animation */
.neon-card-hover {
  transition: all 0.3s ease-in-out;
  transform: translateY(0) scale(1);
}

.neon-card-hover:hover {
  border-color: rgba(var(--cl-accent), 0.3);
  transform: translateY(-4px) scale(1);
  box-shadow:
    0 8px 30px rgba(var(--cl-accent), 0.1);
}

/* ============================================
   CARD BACKGROUND - Hatrick Style
   ============================================ */
.neon-card-hover,
.bg-card\/75,
.bg-card,
.bg-card\/90 {
  background-color: rgba(10, 15, 30, 0.75) !important;
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.05) !important;
  border-radius: 16px !important;
  transition: all 0.3s ease-in-out;
}

.bg-card\/50 {
  background-color: rgba(10, 15, 30, 0.5) !important;
  backdrop-filter: blur(10px);
  border-radius: 16px !important;
}

/* Neon glow for buttons */
.neon-btn,
.bg-accent-500 {
  box-shadow: 0 0 20px rgba(var(--cl-accent), 0.4);
  transition: all 0.3s ease-in-out;
  border-radius: 12px !important;
}

.neon-btn:hover,
.bg-accent-500:hover,
.hover\:bg-accent-600:hover {
  box-shadow: 0 0 30px rgba(var(--cl-accent), 0.6);
  transform: translateY(-2px);
}

/* Outline Buttons */
.border-accent-500 {
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 12px !important;
  transition: all 0.3s ease-in-out;
}

.border-accent-500:hover {
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

/* ============================================
   GLOBAL ROUNDED CORNERS OVERRIDE
   ============================================ */

/* All cards, containers, navbars, footers - smooth rounded */
.rounded-theme {
  border-radius: 1rem;
}

.rounded-theme-lg {
  border-radius: 1.25rem;
}

.rounded-theme-sm {
  border-radius: 0.75rem;
}

/* Pill shape for buttons */
.rounded-pill {
  border-radius: 9999px;
}

/* ============================================
   SMOOTH TRANSITIONS
   ============================================ */

/* Global smooth transitions */
a, button, input, select, textarea, .choices__inner {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   PRODUCT CARD ENHANCEMENTS
   ============================================ */

/* Product card image smooth zoom on hover */
.group:hover .product-card-img {
  transform: scale(1.03);
}

.product-card-img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   NAVBAR GLASS EFFECT (SUBTLE)
   ============================================ */
.navbar-glass {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ============================================
   HERO SECTION + LEFT ALIGN
   ============================================ */
.hero-glow {
  position: relative;
  overflow: hidden;
}

/* Force hero text to left */
.hero-glow .container {
  justify-content: flex-start !important;
}

.hero-glow .container > div:first-child {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* Force buttons to left */
.hero-glow .container > div:first-child > .flex {
  justify-content: flex-start !important;
}

/* ============================================
   SECTION DIVIDER GLOW
   ============================================ */
hr.neon-hr {
  border-color: rgba(var(--cl-accent), 0.8);
  box-shadow: 0 0 12px rgba(var(--cl-accent), 0.5), 0 0 30px rgba(var(--cl-accent), 0.2);
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
  background: rgba(var(--cl-accent), 0.5);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--cl-accent), 0.8);
}

/* ============================================
   CHOICES.JS ROUNDED OVERRIDE
   ============================================ */
.choices .choices__inner {
  border-radius: 0.75rem !important;
}

.choices .choices__list.choices__list--dropdown {
  border-radius: 0.75rem !important;
}

.currency-selector .choices__list.choices__list--dropdown {
  border-radius: 0.75rem !important;
}

.currency-selector.xs .choices__inner {
  border-radius: 0.75rem !important;
}

.currency-selector.lg .choices__inner {
  border-radius: 0.75rem !important;
}

/* ============================================
   MISSING TAILWIND ROUNDED UTILITIES
   (not present in built.css, needed for the neon theme)
   ============================================ */

/* rounded-xl */
.rounded-xl {
  border-radius: 0.75rem;
}

/* rounded-2xl */
.rounded-2xl {
  border-radius: 1rem;
}

/* rounded-t-2xl */
.rounded-t-2xl {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

/* rounded-b-2xl */
.rounded-b-2xl {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

/* rounded-l-xl */
.rounded-l-xl {
  border-top-left-radius: 0.75rem;
  border-bottom-left-radius: 0.75rem;
}

/* rounded-r-xl */
.rounded-r-xl {
  border-top-right-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
}

/* py-2.5 (may be missing) */
.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

/* mx-2 */
.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

/* mb-2 (should exist, but just in case) */

/* ============================================
   SPLIDE SLIDER ROUNDED OVERRIDE
   ============================================ */
.splide__slide img {
  border-radius: 0.5rem;
}

/* ============================================
   GLOBAL SMOOTH SELECTION COLOR
   ============================================ */
::selection {
  background-color: rgba(var(--cl-accent), 0.5);
  color: rgba(var(--cl-t-primary), 1);
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-to-top-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(var(--cl-accent), 0.6);
  background-color: rgba(var(--cl-accent), 0.25);
  color: rgba(var(--cl-t-primary), 1);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem) scale(0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-to-top-btn:hover {
  background-color: rgba(var(--cl-accent), 0.5);
  border-color: rgba(var(--cl-accent), 1);
  box-shadow:
    0 0 18px rgba(var(--cl-accent), 0.6),
    0 0 40px rgba(var(--cl-accent), 0.3),
    0 0 60px rgba(var(--cl-accent), 0.15);
  transform: translateY(-2px) scale(1.05);
}

.scroll-to-top-btn:active {
  transform: translateY(0) scale(0.95);
}





/* ============================================
   NAVIGATION & TYPOGRAPHY
   ============================================ */

/* Navigation items hover glow */
.group-hover\:bg-white\/\[0\.025\]:hover {
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.02);
}

/* Heading letter spacing */
h1 {
  letter-spacing: -0.02em;
}
