/*
 * Custom CSS - Theme
 * Color scheme: Dark Navy / White / Black — NO purple
 * Accent: same dark-navy blue as the background (#0f1b3d / #1a2f5e)
*/

/* ===== ANIME HERO IMAGE ===== */

.hero-anime-wrap {
  position: relative;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 50px rgba(14, 165, 233, 0.15)) drop-shadow(0 40px 80px rgba(0, 0, 10, 0.6));
}

.hero-anime-img {
  max-height: 560px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ===== COLOR TOKENS ===== */
:root {
  --c-blue: 15, 27, 61;
  /* same deep navy as bg  */
  --c-sky: 26, 47, 94;
  /* slightly lighter navy */
  --c-ice: 40, 70, 130;
  /* mid navy blue         */
  --c-white: 255, 255, 255;
  --c-navy: 8, 14, 44;
  /* darkest navy          */
  /* bright accent only for text highlights */
  --c-accent: 148, 185, 255;
  /* soft blue-white for text only */
}

/* ===== GLOBAL ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  100% {
    background-position: 200% center;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.7;
  }
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0.15;
    transform: scale(0.8);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.3);
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: rgba(var(--c-sky), 0.35);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--c-sky), 0.6);
}

/* ===== NAVBAR ===== */
nav .bg-background\/50 {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section .m-auto.absolute.inset-0.-z-10 {
  background: radial-gradient(ellipse, rgba(var(--c-sky), 0.25) 0%, transparent 70%) !important;
}

.hero-section .absolute.-z-10.rounded-full.blur-\[120px\] {
  background: rgba(var(--c-blue), 0.15) !important;
}

/* Accent text in hero title — keep white so it's readable */
h1 .text-accent-500 {
  background: linear-gradient(90deg, #ffffff, #94b9ff, #ffffff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s linear infinite;
}

/* Headline badge */
[data-dsr] span.inline-block {
  transition: all 0.3s ease;
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

[data-dsr] span.inline-block:hover {
  background: rgba(var(--c-sky), 0.15) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  transform: translateY(-2px);
}

/* ===== STAR PARTICLES ===== */
.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--duration, 3s) var(--delay, 0s) ease-in-out infinite;
}

/* ===== PRODUCT CARDS (home/shop section) ===== */
.component-products-container {
  perspective: 1200px;
}

.component a.border-2.border-white\/5.rounded-xl {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.2) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 20px !important;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.15s ease, border-color 0.15s ease !important;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.component a.border-2.border-white\/5.rounded-xl::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.component a.border-2.border-white\/5.rounded-xl:hover::before {
  opacity: 1;
}

.component a.border-2.border-white\/5.rounded-xl:hover {
  transform: translateY(-6px) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(var(--c-blue), 0.08) 100%) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(var(--c-sky), 0.12) !important;
}

.component a.border-2.border-white\/5.rounded-xl:hover .relative img {
  transform: scale(1.04);
}

/* ===== SECTION ACCENT TITLES ===== */
h2.text-4xl,
h2.text-5xl {
  position: relative;
}

h1 .text-accent-500,
h2 .text-accent-500 {
  background: linear-gradient(90deg, #ffffff, #94b9ff, #ffffff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s linear infinite;
}

/* ===== BUTTONS ===== */
button,
a.rounded-full {
  transition: all 0.25s ease !important;
}

.bg-accent-500 {
  box-shadow: 0 4px 15px rgba(var(--c-blue), 0.4);
  transition: all 0.3s ease !important;
}

.bg-accent-500:hover {
  box-shadow: 0 6px 25px rgba(var(--c-ice), 0.3) !important;
  transform: translateY(-1px);
}

/* ===== SEARCH BAR ===== */
.bg-white\/5.rounded-xl {
  transition: all 0.3s ease;
}

.bg-white\/5.rounded-xl:focus-within {
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12), 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ===== STATS ===== */
.component [data-dsr] .text-4xl,
.component [data-dsr] .text-5xl {
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.65) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== FEEDBACK CARDS ===== */
.component .border-2.border-white\/5:not(a) {
  transition: all 0.3s ease;
}

.component .border-2.border-white\/5:not(a):hover {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.035) !important;
}

/* ===== PAGE LOAD ===== */
main>* {
  animation: fadeInUp 0.6s ease both;
}

main>*:nth-child(1) {
  animation-delay: 0.05s;
}

main>*:nth-child(2) {
  animation-delay: 0.15s;
}

main>*:nth-child(3) {
  animation-delay: 0.25s;
}

main>*:nth-child(4) {
  animation-delay: 0.35s;
}

/* ===== MODALS ===== */
.bg-black\/75 {
  backdrop-filter: blur(8px);
}

/* ===== ANNOUNCEMENT BAR ===== */
.component[data-component-id="announcement"] {
  background: linear-gradient(90deg,
      rgba(var(--c-blue), 0.1),
      rgba(var(--c-sky), 0.08),
      rgba(var(--c-blue), 0.1));
  background-size: 200% auto;
  animation: gradientShift 6s ease infinite;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===== CONTAINER ===== */
.container {
  position: relative;
}

/* ===== FOOTER ===== */
footer .bg-black\/10 {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.25) 100%) !important;
}

footer a[href] svg {
  transition: transform 0.2s ease;
}

footer a[href]:hover svg {
  transform: scale(1.2);
}

/* ===== PRODUCT PAGE ===== */

.component[data-component-id] h1.text-3xl,
.component[data-component-id] h1.md\:text-5xl {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.025em;
  animation: fadeInUp 0.6s ease both 0.05s;
}

.component[data-component-id] .status {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  padding: 6px 14px 6px 10px;
  backdrop-filter: blur(8px);
}

/* Image slider */
.splide.main .splide__track {
  border-radius: 16px !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.splide.main .splide__slide {
  border-radius: 16px !important;
  border: none !important;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3) !important;
}

.splide.thumbnails .splide__slide {
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: rgba(0, 0, 0, 0.3) !important;
  transition: all 0.2s ease;
}

.splide.thumbnails .splide__slide.is-active {
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
  opacity: 1 !important;
}

/* Tab buttons */
.component[data-component-id] [x-data] button[type="button"].rounded-xl {
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.component[data-component-id] [x-data] button[type="button"].rounded-xl:not(.opacity-50) {
  background: rgba(var(--c-sky), 0.15) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(var(--c-sky), 0.2);
}

/* Description panel */
.component[data-component-id] [x-data] .p-6.rounded-xl.border-2 {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 10, 0.4) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 18px !important;
  backdrop-filter: blur(12px);
}

/* Price box */
.component[data-component-id] [x-data="productForm"]>div:first-child .p-6.rounded-xl {
  background: linear-gradient(145deg, rgba(var(--c-sky), 0.1) 0%, rgba(0, 0, 20, 0.55) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  backdrop-filter: blur(12px);
}

/* Price number — white so it's readable */
.component[data-component-id] [x-data="productForm"] .text-3xl {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

/* Form card */
.component[data-component-id] [x-data="productForm"] form .p-6.rounded-xl {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 15, 0.5) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 18px !important;
  backdrop-filter: blur(14px);
}

/* Variant buttons */
.component[data-component-id] form button[type="button"].rounded-lg {
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  transition: all 0.2s ease;
}

.component[data-component-id] form button[type="button"].bg-white\/5 {
  background: rgba(var(--c-sky), 0.15) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.component[data-component-id] form button[type="button"].rounded-lg:not([disabled]):hover {
  background: rgba(var(--c-sky), 0.1) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Quantity stepper */
.component[data-component-id] form .flex.rounded-lg.overflow-hidden {
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.component[data-component-id] form .flex.rounded-lg.overflow-hidden button {
  background: rgba(255, 255, 255, 0.06) !important;
  border-radius: 0 !important;
  transition: background 0.2s ease;
}

.component[data-component-id] form .flex.rounded-lg.overflow-hidden button:hover:not([disabled]) {
  background: rgba(var(--c-sky), 0.4) !important;
}

/* Add to cart / Buy now */
.component[data-component-id] form .rounded-full[type="submit"],
.component[data-component-id] form .rounded-full[type="button"] {
  border-radius: 14px !important;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.7rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.component[data-component-id] form .bg-accent-500.border-accent-500:hover:not([disabled]) {
  transform: translateY(-2px) scale(1.02) !important;
  filter: brightness(1.15);
}

.component[data-component-id] form .bg-white\/5.border-accent-500\/10 {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.component[data-component-id] form .bg-white\/5.border-accent-500\/10:hover:not([disabled]) {
  background: rgba(var(--c-sky), 0.1) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  transform: translateY(-2px) !important;
}

/* Live stats */
.component[data-component-id] .flex.flex-col.gap-3.p-6.rounded-xl {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.025) 0%, rgba(0, 0, 20, 0.5) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 14px !important;
}

/* Badges */
.component[data-component-id] .badges a,
.component[data-component-id] .badges>div {
  border-radius: 10px !important;
  font-size: 0.78rem !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px !important;
  backdrop-filter: blur(8px);
}

/* Commonly Bought Together */
.component[data-component-id] h2.text-xl {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding-bottom: 0.5rem;
}

.component[data-component-id] h2.text-xl::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.5rem;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent);
  border-radius: 2px;
}

/* Sales popup */
.fixed.z-50.bottom-4>div>.bg-background {
  background: rgba(5, 10, 30, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.fixed.z-50.bottom-4>div>.bg-background .flex.items-center {
  border: none !important;
  background: transparent !important;
}

/* ===== STATUS PAGE ===== */

.component[data-component-id] .py-24.lg\:py-32 h1 {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.025em;
}

.component[data-component-id] h2.text-2xl {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 1rem;
}

.component[data-component-id] a.flex.justify-between.items-center.p-6.border-2 {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 15, 0.4) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 16px !important;
  padding: 1rem 1.25rem !important;
  transition: all 0.3s cubic-bezier(0.34, 1.2, 0.64, 1) !important;
  position: relative;
  overflow: hidden;
}

.component[data-component-id] a.flex.justify-between.items-center.p-6.border-2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
  border-radius: 0 3px 3px 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.component[data-component-id] a.flex.justify-between.items-center.p-6.border-2:hover::before {
  opacity: 1;
}

.component[data-component-id] a.flex.justify-between.items-center.p-6.border-2:hover {
  background: linear-gradient(145deg, rgba(var(--c-sky), 0.1) 0%, rgba(255, 255, 255, 0.04) 100%) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  transform: translateX(4px) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.component[data-component-id] a.flex.justify-between h2.text-xl {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.01em;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

.component[data-component-id] a.flex.justify-between h2.text-xl::after {
  display: none !important;
}

.component[data-component-id] a.flex.justify-between .flex.items-center.gap-4.status {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  padding: 4px 12px 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.component[data-component-id] a.flex.justify-between .status .relative.size-4 {
  width: 8px !important;
  height: 8px !important;
  min-width: 8px;
  border-radius: 50%;
}

.component[data-component-id] a.flex.justify-between .status span.text-base {
  font-size: 0.78rem !important;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.component[data-component-id] .flex.flex-col.gap-4>a:nth-child(1) {
  animation: fadeInUp 0.4s ease both 0.05s;
}

.component[data-component-id] .flex.flex-col.gap-4>a:nth-child(2) {
  animation: fadeInUp 0.4s ease both 0.1s;
}

.component[data-component-id] .flex.flex-col.gap-4>a:nth-child(3) {
  animation: fadeInUp 0.4s ease both 0.15s;
}

.component[data-component-id] .flex.flex-col.gap-4>a:nth-child(4) {
  animation: fadeInUp 0.4s ease both 0.2s;
}

.component[data-component-id] .flex.flex-col.gap-4>a:nth-child(5) {
  animation: fadeInUp 0.4s ease both 0.25s;
}

.component[data-component-id] .flex.flex-col.gap-4>a:nth-child(6) {
  animation: fadeInUp 0.4s ease both 0.3s;
}

.component[data-component-id] .flex.flex-col.gap-4>a:nth-child(7) {
  animation: fadeInUp 0.4s ease both 0.35s;
}

.component[data-component-id] .flex.flex-col.gap-4>a:nth-child(8) {
  animation: fadeInUp 0.4s ease both 0.4s;
}

/* ===== REMOVE GRID FROM HERO ===== */
.hero-section .absolute[style*="linear-gradient(rgba(255,255,255"] {
  display: none !important;
}

.hero-section>div>.absolute.-z-10:not([class*="blur"]) {
  opacity: 0 !important;
}

/* ===== PRODUCTS PAGE ===== */

.component[data-component-id] .py-24.lg\:py-32 {
  padding-top: 10rem;
  padding-bottom: 5rem;
}

.component[data-component-id] .py-24 h1.text-4xl {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

aside .sticky {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.035) 0%, rgba(var(--c-blue), 0.04) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 20px !important;
  backdrop-filter: blur(10px);
}

aside label.block {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 0.75rem;
}

aside .space-y-1 a {
  border-radius: 10px !important;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

aside .space-y-1 a:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff;
  padding-left: 1.25rem !important;
}

aside .space-y-1 a.bg-white\/5 {
  background: rgba(var(--c-sky), 0.15) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff;
}

aside input[type="text"],
aside input[type="number"] {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 10px !important;
  transition: all 0.2s ease;
}

aside input:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04) !important;
}

.component .flex.flex-wrap.gap-4 {
  gap: 1.25rem;
}

.component .flex.flex-wrap.gap-4>div>a {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 20, 0.5) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 18px !important;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  position: relative;
  overflow: hidden;
}

.component .flex.flex-wrap.gap-4>div>a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.component .flex.flex-wrap.gap-4>div>a:hover::after {
  opacity: 1;
}

.component .flex.flex-wrap.gap-4>div>a:hover {
  transform: translateY(-8px) scale(1.01) !important;
  background: linear-gradient(145deg, rgba(var(--c-sky), 0.12) 0%, rgba(255, 255, 255, 0.04) 100%) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 35px rgba(var(--c-sky), 0.15), 0 1px 0 rgba(255, 255, 255, 0.08) inset !important;
}

.component .flex.flex-wrap.gap-4>div>a h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.component .flex.flex-wrap.gap-4>div>a:hover h3 {
  color: #ffffff;
}

.component .flex.flex-wrap.gap-4>div>a .border-t {
  border-color: rgba(255, 255, 255, 0.06) !important;
  padding-top: 0.875rem;
}

.component .flex.flex-wrap.gap-4>div>a span.inline-flex {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.component .flex.flex-wrap.gap-4>div>a:hover span.inline-flex {
  background: rgba(var(--c-sky), 0.3) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
}

.component nav[aria-label] a,
.component nav[aria-label] span {
  border-radius: 10px !important;
  transition: all 0.2s ease;
}

.component nav[aria-label] a:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.component .flex.flex-wrap.gap-4>div:nth-child(1) {
  animation: fadeInUp 0.5s ease both 0.05s;
}

.component .flex.flex-wrap.gap-4>div:nth-child(2) {
  animation: fadeInUp 0.5s ease both 0.1s;
}

.component .flex.flex-wrap.gap-4>div:nth-child(3) {
  animation: fadeInUp 0.5s ease both 0.15s;
}

.component .flex.flex-wrap.gap-4>div:nth-child(4) {
  animation: fadeInUp 0.5s ease both 0.2s;
}

.component .flex.flex-wrap.gap-4>div:nth-child(5) {
  animation: fadeInUp 0.5s ease both 0.25s;
}

.component .flex.flex-wrap.gap-4>div:nth-child(6) {
  animation: fadeInUp 0.5s ease both 0.3s;
}

.component .flex.flex-wrap.gap-4>div:nth-child(7) {
  animation: fadeInUp 0.5s ease both 0.35s;
}

.component .flex.flex-wrap.gap-4>div:nth-child(8) {
  animation: fadeInUp 0.5s ease both 0.4s;
}

.component .flex.flex-wrap.gap-4>div:nth-child(9) {
  animation: fadeInUp 0.5s ease both 0.45s;
}

/* ===== DISCORD WIDGET ===== */

.discord-section .discord-card {
  background: linear-gradient(135deg, rgba(5, 8, 25, 0.97) 0%, rgba(8, 14, 44, 0.95) 50%, rgba(5, 8, 25, 0.97) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  overflow: hidden;
}

.discord-section .discord-card::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(var(--c-sky), 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.discord-section .discord-badge {
  background: rgba(var(--c-sky), 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.7rem;
}

.discord-section .discord-check {
  background: rgba(var(--c-sky), 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.discord-section .discord-btn {
  background: linear-gradient(135deg, rgba(var(--c-sky), 0.6), rgba(var(--c-ice), 0.8));
  box-shadow: 0 4px 20px rgba(var(--c-blue), 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-section .discord-btn:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.2);
}

.discord-section .discord-widget {
  background: rgba(10, 12, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.discord-section .discord-widget-header {
  background: rgba(12, 15, 25, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.discord-section .discord-server-icon {
  background: linear-gradient(135deg, rgba(var(--c-sky), 0.6), rgba(var(--c-ice), 0.8));
  border-radius: 30% !important;
  box-shadow: 0 4px 12px rgba(var(--c-blue), 0.5);
}

.discord-section .discord-online-badge {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.22);
  color: rgb(74, 222, 128);
}

.discord-section .discord-channel-bar {
  background: rgba(10, 12, 20, 0.85);
}

.discord-section .discord-messages {
  background: rgba(7, 9, 16, 0.7);
}

.discord-section .discord-avatar {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.discord-section .discord-msg-bar {
  background: rgba(25, 30, 45, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Product count badge - no background */
a.rounded-xl p span,
a.rounded-xl p span * {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes revealRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes revealScale {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glowPulseAccent {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(101, 113, 255, 0.2);
  }

  50% {
    box-shadow: 0 0 40px rgba(101, 113, 255, 0.5);
  }
}

@keyframes borderGlow {

  0%,
  100% {
    border-color: rgba(101, 113, 255, 0.15);
  }

  50% {
    border-color: rgba(101, 113, 255, 0.4);
  }
}

@keyframes textFlicker {

  0%,
  100% {
    opacity: 1;
  }

  92% {
    opacity: 1;
  }

  93% {
    opacity: 0.8;
  }

  94% {
    opacity: 1;
  }
}

@keyframes slideInNav {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SCROLL REVEAL - JS powered ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: none;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: none;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.93);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* ===== NAVBAR ANIMATION ===== */
nav,
header {
  animation: slideInNav 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ===== PRODUCT CARDS ===== */
a.rounded-xl {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease !important;
}

a.rounded-xl:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(101, 113, 255, 0.12) !important;
  border-color: rgba(101, 113, 255, 0.25) !important;
}

a.rounded-xl img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

a.rounded-xl:hover img {
  transform: scale(1.05) !important;
}

/* ===== BUTTONS ===== */
button,
a[class*="btn"],
.btn,
[class*="rounded"][class*="bg-accent"] {
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

button:hover,
a[class*="btn"]:hover {
  transform: translateY(-2px);
}

/* ===== NAVIGATION LINKS ===== */
nav a {
  position: relative;
  transition: color 0.2s ease !important;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: rgba(101, 113, 255, 0.8);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

nav a:hover::after {
  width: 100%;
}

/* ===== REVIEWS / FEEDBACK CARDS ===== */
[class*="feedback"],
[class*="review"] {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

[class*="feedback"]:hover,
[class*="review"]:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3) !important;
}

/* ===== STAT NUMBERS - count up effect ===== */
[class*="stat"] .text-4xl,
[class*="stat"] .text-5xl,
[class*="stat"] .text-3xl {
  animation: countUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ===== PRODUCT PAGE ===== */
.splide__slide {
  transition: opacity 0.3s ease, transform 0.3s ease !important;
}

.splide__slide.is-active {
  opacity: 1 !important;
}

.splide__slide:not(.is-active) {
  transform: scale(0.97);
  opacity: 0.5 !important;
}

/* ===== DISCORD WIDGET MESSAGES ===== */
.discord-msg {
  transition: background 0.2s ease, transform 0.2s ease !important;
}

.discord-msg:hover {
  transform: translateX(4px) !important;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement {
  animation: slideInNav 0.5s ease both;
}

/* ===== PAGE TRANSITION - Handled by script.js individually ===== */

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101, 113, 255, 0.05) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: opacity 0.3s ease;
}

/* ===== SKELETON LOADER ===== */
.skeleton-box {
  position: relative;
  background-color: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  animation: skeletonPulse 2s infinite ease-in-out;
}

.skeleton-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  animation: skeletonShimmer 1.5s infinite;
}

/* ===== MESH BACKGROUND ===== */
.mesh-glow-container {
  position: fixed;
  inset: 0;
  z-index: -20;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.35;
}

.mesh-glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(120px);
  animation: meshMovement 25s infinite ease-in-out;
}

.mesh-glow-1 {
  top: -10%;
  left: -10%;
  background: radial-gradient(circle, rgba(101, 113, 255, 0.12), transparent);
}

.mesh-glow-2 {
  bottom: -10%;
  right: -10%;
  background: radial-gradient(circle, rgba(148, 185, 255, 0.08), transparent);
  animation-delay: -7s;
}

/* ===== BACK TO TOP ===== */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 27, 61, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.scroll-top-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.scroll-top-progress circle {
  fill: none;
  stroke: rgba(101, 113, 255, 0.2);
  stroke-width: 3;
}

.scroll-top-progress circle.progress-path {
  stroke: #6571ff;
  stroke-dasharray: 126, 126;
  stroke-dashoffset: 126;
}

/* ===== QUICK BUY BUTTON ===== */
.quick-buy-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
  background: #6571ff;
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 8px 25px rgba(101, 113, 255, 0.4);
  pointer-events: none;
}

a.rounded-xl:hover .quick-buy-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
@keyframes skeletonPulse {
  0% { background-color: rgba(255, 255, 255, 0.03); }
  50% { background-color: rgba(255, 255, 255, 0.08); }
  100% { background-color: rgba(255, 255, 255, 0.03); }
}

@keyframes skeletonShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes meshMovement {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(5%, -5%) scale(1.05); }
  66% { transform: translate(-5%, 5%) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}

/* ===== PRODUCT PAGE ENHANCEMENTS ===== */

.product-main-img-wrap {
  position: relative;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-main-img-wrap:hover {
  transform: translateY(-5px) scale(1.01);
}

.product-main-img-wrap::after {
  content: '';
  position: absolute;
  inset: 10%;
  background: rgba(var(--cl-accent), 0.15);
  filter: blur(80px);
  z-index: -1;
  border-radius: 50%;
  opacity: 0.6;
  animation: glowPulse 4s ease-in-out infinite;
}

/* Neon Status Badge */
.status {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.status:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.status .pulsating {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.4;
  animation: statusPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes statusPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 0; }
}

/* Glossy Buy Buttons */
button[x-on\:click='addToCart'], button[type='submit'] {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

button[x-on\:click='addToCart']::before, button[type='submit']::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-25deg);
  transition: 0.75s;
}

button[x-on\:click='addToCart']:hover::before, button[type='submit']:hover::before {
  left: 150%;
}

button[x-on\:click='addToCart']:active { transform: scale(0.96); }

/* Price Tag Glow */
.text-3xl.text-t-primary {
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow: 0 0 25px rgba(var(--cl-accent), 0.3);
}

/* Variant Highlights */
.product-form-variant-btn {
  background: rgba(255,255,255,0.02) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  transition: all 0.3s ease !important;
}

.product-form-variant-btn.active {
  background: rgba(var(--cl-accent), 0.1) !important;
  border-color: rgba(var(--cl-accent), 0.4) !important;
  box-shadow: inset 0 0 15px rgba(var(--cl-accent), 0.1);
}

/* Editor Content Styling */
.editor ul {
  list-style: none !important;
  padding-left: 0.5rem !important;
}

.editor li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.editor li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: rgba(var(--cl-accent), 1);
  font-weight: bold;
  text-shadow: 0 0 8px rgba(var(--cl-accent), 0.6);
}

/* Shimmering Title Effect */
.component h1[style*='background-clip: text'] {
  background-size: 200% auto !important;
  animation: textShimmer 5s linear infinite !important;
}

@keyframes textShimmer {
  to { background-position: 200% center; }
}

/* ===== PREMIUM ENHANCEMENTS: MAGNETIC \u0026 BORDER EFFECTS ===== */

/* Remove old Quick Buy */
.quick-buy-btn { display: none !important; }

/* Card Border Glow Effect */
.card-border-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--border-angle), transparent 70%, rgba(var(--cl-accent), 0.8) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  --border-angle: 0deg;
  animation: borderRotate 4s linear infinite;
}

.group:hover .card-border-glow {
  opacity: 1;
}

@property --border-angle {
  syntax: '\u003cangle\u003e';
  initial-value: 0deg;
  inherits: false;
}

@keyframes borderRotate {
  to { --border-angle: 360deg; }
}

/* Tech Particles Container */
#tech-particles {
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
}

.tech-particle {
  position: absolute;
  background: rgba(var(--cl-accent), 0.3);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(var(--cl-accent), 0.2);
  filter: blur(1px);
}

/* ===== PREMIUM RAIN \u0026 HERO ANIMATIONS ===== */
#rain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
}
.raindrop {
  position: absolute;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(var(--cl-snow), 0.6));
}

/* Hero Scanline Beam */
.hero-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(var(--cl-accent), 0.1) 50%,
    transparent 50.1%,
    transparent 100%
  );
  background-size: 100% 4px;
  opacity: 0.1;
  pointer-events: none;
  animation: scanline 10s linear infinite;
}
@keyframes scanline {
  from { background-position: 0 0; }
  to { background-position: 0 100%; }
}

/* Floating Glass Shards */
.glass-shard {
  position: absolute;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.1);
  z-index: 1;
  pointer-events: none;
  border-radius: 4px;
}