/* Prevent zooming and overscroll on touch devices */
html, body {
    overscroll-behavior-y: none;
    touch-action: pan-x pan-y;
}

/* Hide scrollbar for a clean kiosk look */
::-webkit-scrollbar {
    display: none;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-popup {
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============ ANIMATIONS ============ */

/* Fade In */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.95); }
}

.animate-fade-in {
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-out {
    animation: fadeOut 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Floating Logo */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Glow Pulse */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(236, 72, 153, 0.3); transform: scale(1); }
    50% { box-shadow: 0 0 35px rgba(236, 72, 153, 0.7); transform: scale(1.02); }
}

.animate-pulse-glow {
    animation: pulseGlow 2.5s infinite ease-in-out;
}

/* Scanner Laser Line */
@keyframes scanLine {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.scanner-laser {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: #ec4899;
    box-shadow: 0 0 15px #ec4899, 0 0 30px #ec4899;
    animation: scanLine 2.5s linear infinite;
    z-index: 10;
}

/* Marquee / Slider */
@keyframes slideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    display: flex;
    width: 200%;
    animation: slideLeft 20s linear infinite;
}

/* ============ NEW ANIMATIONS ============ */

/* Gentle Shimmer Effect */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-shimmer {
    background: linear-gradient(90deg, transparent 0%, rgba(236, 72, 153, 0.08) 25%, rgba(236, 72, 153, 0.15) 50%, rgba(236, 72, 153, 0.08) 75%, transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 4s ease-in-out infinite;
}

/* Phone Ring Animation */
@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    5% { transform: rotate(15deg); }
    10% { transform: rotate(-15deg); }
    15% { transform: rotate(12deg); }
    20% { transform: rotate(-12deg); }
    25% { transform: rotate(0deg); }
}

.animate-ring {
    animation: ring 3s ease-in-out infinite;
    transform-origin: center center;
}

/* Slide Up */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-slide-up {
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-up-delay-1 {
    opacity: 0;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.animate-slide-up-delay-2 {
    opacity: 0;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.animate-slide-up-delay-3 {
    opacity: 0;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

/* Rotating border glow for logo */
@keyframes borderRotate {
    0% { border-color: rgba(236, 72, 153, 0.3); }
    33% { border-color: rgba(236, 72, 153, 0.7); }
    66% { border-color: rgba(255, 255, 255, 0.3); }
    100% { border-color: rgba(236, 72, 153, 0.3); }
}

.animate-border-glow {
    animation: borderRotate 4s ease-in-out infinite;
}

/* Breathing Glow for Hotline */
@keyframes breathe {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.03); }
}

.animate-breathe {
    animation: breathe 2s ease-in-out infinite;
}

/* Sparkle dots around logo */
@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1); }
}

.sparkle-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ec4899;
    border-radius: 50%;
    box-shadow: 0 0 8px #ec4899;
}

.sparkle-1 { top: 5%; left: 20%; animation: sparkle 2.5s ease-in-out 0s infinite; }
.sparkle-2 { top: 15%; right: 15%; animation: sparkle 2.5s ease-in-out 0.5s infinite; }
.sparkle-3 { bottom: 20%; left: 10%; animation: sparkle 2.5s ease-in-out 1s infinite; }
.sparkle-4 { bottom: 10%; right: 25%; animation: sparkle 2.5s ease-in-out 1.5s infinite; }
.sparkle-5 { top: 40%; left: 5%; animation: sparkle 2.5s ease-in-out 0.7s infinite; }
.sparkle-6 { top: 35%; right: 8%; animation: sparkle 2.5s ease-in-out 1.2s infinite; }

/* ---------- Offers ---------- */

/* Thick coloured slash across the pre-offer price, readable from a distance */
.price-slash {
    text-decoration: line-through;
    text-decoration-color: #fb7185;
    text-decoration-thickness: 5px;
}

/* Gold halo for the offer price, mirroring .drop-shadow-neon for the normal one */
.drop-shadow-gold {
    filter: drop-shadow(0 0 25px rgba(251, 191, 36, 0.55));
}

/* Slow gold breathing on the whole product card while an offer is showing */
@keyframes offerFrame {
    0%, 100% { box-shadow: 0 0 35px rgba(251, 191, 36, 0.20); }
    50%      { box-shadow: 0 0 65px rgba(251, 191, 36, 0.42); }
}
.offer-frame {
    animation: offerFrame 2.6s ease-in-out infinite;
}

/* The OFFER ribbon drops in once, then settles */
@keyframes offerPop {
    0%   { transform: rotate(-12deg) scale(0.4); opacity: 0; }
    60%  { transform: rotate(-12deg) scale(1.12); opacity: 1; }
    100% { transform: rotate(-12deg) scale(1); opacity: 1; }
}
.animate-offer-pop {
    animation: offerPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* Store logo in the product screen corner: a slow left-right sway */
@keyframes sway {
    0%, 100% { transform: translateX(-10px) rotate(-2deg); }
    50%      { transform: translateX(10px) rotate(2deg); }
}
.animate-sway {
    animation: sway 2.4s ease-in-out infinite;
}
