body {
  --fantasy-pink: #ff8fb1;
  --fantasy-lavender: #c4b5fd;
  --fantasy-peach: #ffc4a3;
  --fantasy-mint: #86e3ce;
  --fantasy-cream: #fff7fb;
  --fantasy-sky: #dbeafe;
  --fantasy-ink: #5b4b63;
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 143, 177, 0.2), transparent 26%),
    radial-gradient(circle at 90% 6%, rgba(196, 181, 253, 0.24), transparent 24%),
    radial-gradient(circle at 78% 90%, rgba(134, 227, 206, 0.16), transparent 22%),
    linear-gradient(180deg, #fff4f8 0%, #fff 38%, #f7f1ff 100%) !important;
  color: var(--fantasy-ink);
  overflow-x: hidden;
}

@keyframes fantasy-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(10deg);
  }
}

@keyframes fantasy-float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes fantasy-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes fantasy-sparkle {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.8) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(18deg);
  }
}

@keyframes fantasy-wiggle {
  0%,
  100% {
    transform: rotate(-6deg);
  }
  50% {
    transform: rotate(6deg);
  }
}

@keyframes fantasy-heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.2);
  }
  55% {
    transform: scale(1);
  }
}

@keyframes fantasy-spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fantasy-sway {
  0%,
  100% {
    transform: translateX(0) rotate(-4deg);
  }
  50% {
    transform: translateX(8px) rotate(4deg);
  }
}

@keyframes fantasy-pop {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  100% {
    transform: translateY(-10px) scale(1.04) rotate(-1.5deg);
  }
}

@keyframes fantasy-rainbow-shift {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(25deg);
  }
}

.fantasy-deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

.fantasy-deco-sparkle {
  width: 28px;
  animation: fantasy-sparkle 2.4s ease-in-out infinite;
}

.fantasy-deco-heart {
  width: 26px;
  animation: fantasy-heartbeat 1.8s ease-in-out infinite;
}

.fantasy-deco-star {
  width: 30px;
  animation: fantasy-spin-slow 10s linear infinite;
}

.fantasy-deco-cloud {
  width: 78px;
  animation: fantasy-float-soft 6s ease-in-out infinite;
}

.fantasy-deco-bow {
  width: 46px;
  animation: fantasy-wiggle 3s ease-in-out infinite;
}

.fantasy-deco-candy {
  width: 40px;
  animation: fantasy-sway 4.5s ease-in-out infinite;
}

.fantasy-deco-rainbow {
  width: 86px;
  animation: fantasy-float 7s ease-in-out infinite;
}

.fantasy-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.fantasy-sparkles span {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--fantasy-pink);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: fantasy-sparkle 2.8s ease-in-out infinite;
}

.fantasy-sparkles span:nth-child(1) {
  top: 18px;
  right: 8%;
  background: var(--fantasy-lavender);
}

.fantasy-sparkles span:nth-child(2) {
  top: 42px;
  left: 12%;
  animation-delay: 0.6s;
}

.fantasy-sparkles span:nth-child(3) {
  bottom: 16px;
  right: 22%;
  background: var(--fantasy-mint);
  animation-delay: 1.1s;
}

.fantasy-header {
  padding: 0.75rem 0 1.25rem;
}

.fantasy-header-bar {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border: 3px solid #fff;
  border-radius: 2rem;
  box-shadow: 0 16px 36px rgba(255, 143, 177, 0.16);
  padding: 0.85rem 1.1rem 1rem;
}

.fantasy-header-bar .navbar-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  padding: 0.2rem;
  background: #fff;
  box-shadow: 0 8px 18px rgba(255, 143, 177, 0.2);
  animation: fantasy-float-soft 5s ease-in-out infinite;
}

.fantasy-header-bar .navbar-brand h1 {
  background: linear-gradient(90deg, var(--primary-color), #ff8fb1 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

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

.fantasy-round-btn {
  width: 48px;
  height: 48px;
  border: 0 !important;
  border-radius: 50% !important;
  background: #fff7fb !important;
  color: var(--primary-color) !important;
  box-shadow: 0 8px 16px rgba(255, 143, 177, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease !important;
}

.fantasy-round-btn:hover {
  transform: translateY(-3px) scale(1.08) rotate(-8deg);
  background: var(--primary-color) !important;
  color: #fff !important;
}

.fantasy-navbar .nav-link {
  border: none !important;
  padding: 0.55rem 1rem !important;
  margin-left: 0.25rem !important;
  border-radius: 999px !important;
  color: var(--fantasy-ink) !important;
  background: #fff7fb;
  transition: 0.25s ease !important;
}

.fantasy-navbar .nav-link:hover,
.fantasy-navbar .nav-link.active,
.fantasy-navbar .nav-link.show {
  color: #fff !important;
  background: var(--primary-color) !important;
  transform: translateY(-2px);
}

.fantasy-navbar .nav-link:hover i,
.fantasy-navbar .nav-link.active i,
.fantasy-navbar .nav-link.show i {
  color: #fff !important;
}

.fantasy-navbar .dropdown-menu {
  border-radius: 1.25rem !important;
  padding: 0.6rem;
  border: 0;
}

.fantasy-navbar .dropdown-item {
  border-radius: 0.9rem;
}

.fantasy-pill-btn {
  border: 0 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--fantasy-ink) !important;
  box-shadow: 0 8px 18px rgba(91, 75, 99, 0.08);
  transition: 0.25s ease !important;
}

.fantasy-pill-btn:hover {
  transform: translateY(-2px) scale(1.03);
  background: var(--primary-color) !important;
  color: #fff !important;
}

.fantasy-pill-btn:hover i {
  color: #fff !important;
}

.fantasy-cart-btn {
  background: linear-gradient(135deg, var(--primary-color), #ff8fb1) !important;
  color: #fff !important;
}

.fantasy-cart-btn i,
.fantasy-cart-btn .badge {
  color: #fff !important;
}

.navbar .shopping-cart-btn .badge {
  position: absolute;
  top: -4px;
  right: -2px;
  display: flex;
  align-items: center;
  padding-top: 6px;
  font-size: 0.7rem;
  border-radius: 999px;
  animation: fantasy-heartbeat 1.8s ease-in-out infinite;
}

#mobileMenu .navbar-nav .nav-link {
  border-radius: 1rem;
  margin-bottom: 0.4rem;
}

#mobileMenu .navbar-nav .nav-link.active,
#mobileMenu .navbar-nav .nav-link.show {
  color: #fff !important;
  background-color: var(--primary-color) !important;
}

#main-slider img {
  border-radius: 1.75rem !important;
  box-shadow: 0 16px 30px rgba(255, 143, 177, 0.16);
}

.fantasy-section-title {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.fantasy-section-icon {
  width: 54px;
  min-width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, var(--primary-color), #ffb3c9);
  box-shadow: 0 10px 20px rgba(255, 143, 177, 0.28);
  animation: fantasy-wiggle 3.4s ease-in-out infinite;
}

.fantasy-section-icon i {
  font-size: 1.4rem;
}

.fantasy-more-btn {
  border: 0 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--primary-color) !important;
  box-shadow: 0 8px 18px rgba(255, 143, 177, 0.16);
}

.fantasy-more-btn:hover {
  background: var(--primary-color) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.fantasy-offers {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 143, 177, 0.18), rgba(196, 181, 253, 0.16) 50%, rgba(134, 227, 206, 0.16));
  border: 3px dashed rgba(255, 143, 177, 0.45);
  border-radius: 2rem;
  padding: 1.4rem 1rem 1rem;
  overflow: visible;
}

.card.card-custom,
.fantasy-item-card,
.special-card,
#popular-products-slider .card,
#brands-slider .card,
#blogs-slider .card {
  border: 0 !important;
  border-radius: 1.5rem !important;
  background: #fff;
  box-shadow: 0 10px 24px rgba(91, 75, 99, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.special-product-card:hover .special-card,
#popular-products-slider .splide__slide > a.card:hover,
#brands-slider .card:hover,
#blogs-slider .card:hover,
.fantasy-item-card:hover,
a:hover > .fantasy-item-card {
  transform: translateY(-10px) scale(1.03) rotate(-1.5deg);
  box-shadow: 0 18px 32px rgba(255, 143, 177, 0.22);
}

.fantasy-product-card img,
.special-card img,
.shop-card-1 img,
#popular-products-slider img {
  border-radius: 1.15rem !important;
}

.fantasy-off-badge,
.off-badge {
  background: linear-gradient(135deg, #ff6b9d, #ff8fb1) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  display: inline-block;
  animation: fantasy-heartbeat 2s ease-in-out infinite;
}

.card-price-badge {
  position: absolute;
  left: 1.1rem;
  top: 1.1rem;
}

.fantasy-category-item {
  display: block;
  text-align: center;
}

.fantasy-category-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  padding: 0.4rem;
  background: linear-gradient(145deg, #ffd1e0, #ddd6fe, #c4f5e6);
  box-shadow: 0 10px 20px rgba(255, 143, 177, 0.16);
  transition: 0.3s ease;
}

.fantasy-category-item:hover img {
  animation: fantasy-bounce 0.7s ease;
  transform: scale(1.06) rotate(-4deg);
}

.fantasy-category-item h2 {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.fantasy-ability-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #fff;
  background: linear-gradient(145deg, var(--primary-color), #c4b5fd);
  box-shadow: 0 12px 22px rgba(196, 181, 253, 0.28);
  animation: fantasy-float 5s ease-in-out infinite;
}

#abilities .col-md-3:nth-child(2n) .fantasy-ability-icon {
  animation-delay: 0.7s;
  background: linear-gradient(145deg, #ff8fb1, #ffc4a3);
}

#abilities .col-md-3:nth-child(3n) .fantasy-ability-icon {
  animation-delay: 1.2s;
  background: linear-gradient(145deg, #86e3ce, #c4b5fd);
}

#posters img {
  border-radius: 1.5rem !important;
  transition: 0.3s ease;
}

#posters a:hover img {
  transform: scale(1.02) rotate(-0.5deg);
}

.blog-overlay {
  background: linear-gradient(180deg, transparent 40%, rgba(91, 75, 99, 0.55));
  border-radius: 1.15rem;
}

.blog-overlay .badge {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  border-radius: 999px;
}

.fantasy-footer {
  position: relative;
  margin-top: 4rem;
  padding-top: 3rem;
  background: linear-gradient(180deg, #fff7fb 0%, #ffe4f0 40%, #efe7ff 100%);
  border-radius: 3rem 3rem 0 0;
  overflow: hidden;
}

.fantasy-footer-clouds {
  position: absolute;
  top: -18px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 4%;
}

.fantasy-footer-clouds img {
  width: 92px;
  animation: fantasy-float-soft 7s ease-in-out infinite;
}

.fantasy-footer-clouds img:nth-child(2) {
  width: 110px;
  animation-delay: 1s;
}

.fantasy-footer-clouds img:nth-child(3) {
  animation-delay: 1.8s;
}

.fantasy-footer-card {
  background: #fff;
  border-radius: 1.8rem;
  box-shadow: 0 12px 24px rgba(255, 143, 177, 0.12);
  padding: 1.4rem;
  height: 100%;
}

.fantasy-footer .fantasy-contact-chip {
  width: 48px;
  min-width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff7fb;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(255, 143, 177, 0.16);
  animation: fantasy-float-soft 4.5s ease-in-out infinite;
}

.fantasy-brand-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  background: linear-gradient(135deg, var(--primary-color), #ff8fb1);
  color: #fff !important;
}

.shop-dropdown {
  border-radius: 1.1rem !important;
}

.shop-dropdown .dropdown-item.active,
.shop-dropdown .dropdown-item:hover {
  background: rgba(var(--bs-primary-rgb), 0.12);
  border-radius: 0.8rem;
}

#product-detail #main-carousel,
#product-detail #thumbnail-carousel {
  background: rgba(255, 255, 255, 0.8) !important;
  border-radius: 1.5rem !important;
}

.btn-primary,
.bg-primary.text-white {
  border-radius: 999px;
}

.form-control {
  border-radius: 1rem !important;
}

.alert {
  border-radius: 1.25rem;
}

@media (max-width: 768px) {
  .fantasy-header-bar {
    border-radius: 1.5rem;
    padding: 0.7rem;
  }

  .fantasy-section-icon {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }

  .card-price-badge {
    right: 1rem;
    left: auto;
  }

  .fantasy-deco-cloud,
  .fantasy-deco-rainbow {
    display: none;
  }
}
