* {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: #050510;
    color: #e2e8f0;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.fire-text-animate {
    background: linear-gradient(90deg, #fb923c, #f97316, #dc2626, #f97316, #fb923c);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fireGradient 4s linear infinite;
}

.fire-gradient {
    background: linear-gradient(90deg, #fb923c, #f97316, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.fire-animated-bg {
    background: radial-gradient(ellipse at top, rgba(249, 115, 22, 0.25) 0%, rgba(5, 5, 16, 0) 55%),
                radial-gradient(ellipse at bottom, rgba(220, 38, 38, 0.2) 0%, rgba(5, 5, 16, 0) 60%),
                radial-gradient(circle at 50% 10%, rgba(251, 146, 60, 0.18) 0%, rgba(5, 5, 16, 0) 40%),
                linear-gradient(180deg, #0a0a16 0%, #050510 100%);
    position: relative;
}

.fire-animated-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.16) 0%, transparent 65%);
    pointer-events: none;
}

.ember {
    position: absolute;
    bottom: -20px;
    left: var(--left);
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 196, 140, 1) 0%, rgba(249, 115, 22, 0.9) 40%, rgba(220, 38, 38, 0) 70%);
    filter: blur(0.2px);
    animation: emberRise var(--duration) ease-in infinite;
    animation-delay: var(--delay);
    opacity: 0;
    z-index: 15;
}

.ember::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 40%;
    height: 40%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, #fff7ed 0%, rgba(255, 237, 213, 0.4) 60%, transparent 100%);
    filter: blur(1px);
}

.spark {
    position: absolute;
    bottom: -10px;
    left: var(--left);
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: radial-gradient(circle, #fff7ed 0%, rgba(251, 146, 60, 0.8) 50%, transparent 70%);
    animation: sparkRise var(--duration) ease-out infinite;
    animation-delay: var(--delay);
    opacity: 0;
    z-index: 16;
    filter: blur(0.4px);
}

@keyframes emberRise {
    0% {
        transform: translate(-50%, 0) scale(0.4);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    70% {
        opacity: 0.6;
    }
    100% {
        transform: translate(calc(-50% + var(--tx)), -320px) scale(0.2);
        opacity: 0;
    }
}

@keyframes sparkRise {
    0% {
        transform: translate(-50%, 0) scale(0.6);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    100% {
        transform: translate(calc(-50% + var(--tx)), -260px) scale(0.1);
        opacity: 0;
    }
}

.fire-glow-hover {
    position: relative;
    overflow: hidden;
}

.fire-glow-hover::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 rgba(249, 115, 22, 0);
    transition: box-shadow 0.4s ease;
    pointer-events: none;
}

.fire-glow-hover:hover::after {
    box-shadow: 0 25px 60px -30px rgba(249, 115, 22, 0.9);
}

.fire-add-btn {
    position: relative;
    overflow: hidden;
}

.fire-add-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -120%;
    width: 60%;
    height: 200%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 237, 213, 0.25) 50%, transparent 100%);
    transform: skewX(-25deg);
    transition: left 0.8s ease;
}

.fire-add-btn:hover::before {
    left: 160%;
}

.fire-add-btn:active {
    transform: scale(0.98);
}

.coming-soon-btn {
    position: relative;
    overflow: hidden;
}

.coming-soon-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
}

.product-card {
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    animation: cardFadeUp 0.8s ease forwards;
}

.product-card.revealed {
    opacity: 1;
    transform: translateY(0);
    animation: none;
}

.product-image {
    transition: transform 0.6s ease, filter 0.6s ease;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}

.product-card:hover .product-image {
    transform: scale(1.06);
    filter: drop-shadow(0 0 45px rgba(249, 115, 22, 0.25));
}

.card-actions {
    position: relative;
    overflow: hidden;
}

.card-actions-swap {
    animation: actionsSwap 0.35s ease;
}

.btn-swap {
    animation: actionsSwap 0.35s ease;
}

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

@keyframes actionsSwap {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.price-glow {
    text-shadow: 0 10px 40px rgba(249, 115, 22, 0.25);
}

.cart-badge-pop {
    animation: badgePop 0.4s ease;
}

@keyframes badgePop {
    0% {
        transform: scale(0.6);
    }
    70% {
        transform: scale(1.25);
    }
    100% {
        transform: scale(1);
    }
}

.loader-spinner {
    border: 3px solid rgba(148, 163, 184, 0.25);
    border-top: 3px solid #f97316;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    animation: spin 0.8s linear infinite;
    margin: 3rem auto;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#empty-state {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
    color: #64748b;
}

.slider-slide img {
    filter: drop-shadow(0 10px 30px rgba(255, 140, 0, 0.35));
}
#hero-slider { background: transparent; }
#hero-slider .slider-slide { background: transparent; }

.logo-blurred {
  filter: blur(10px) brightness(1.05);
  opacity: 0.8;
  pointer-events: none;
  user-select: none;
}

.logo-clear {
  filter: none;
  opacity: 1;
  pointer-events: auto;
  user-select: auto;
}

body.modal-open,
html.modal-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
}

.zoom-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 60;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-blur-sm;
}
.zoom-modal.active {
  display: flex;
}
.zoom-modal-content {
  width: 100%;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.zoom-modal img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-contain;
  border-radius: 0.75rem;
  box-shadow: 0 20px 60px -20px rgba(255, 69, 0, 0.5);
}
.close-zoom {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.hide-panel {
  display: none !important;
}

@media (max-width: 768px) {
    .fire-animated-bg {
        min-height: auto !important;
    }
    #hero-slider-section {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
    #hero-slider-section h2 {
        margin-bottom: 0.75rem !important;
    }
    #hero-slider .slider-slide {
        height: 260px !important;
    }
}
