/* Valentine's Day Theme - Elegant Love & Romance */
/* Theme-specific variables and styles for Valentine's Day 2026 */
/* SOPHISTICATED VERSION - Appeals to everyone! */

:root {
    /* Valentine's Day Color Palette - Light Mode - ELEGANT & BOLD */
    --theme-primary: #dc2626;           /* True Red - Bold Love */
    --theme-primary-light: #ef4444;     /* Bright Red */
    --theme-primary-dark: #b91c1c;      /* Deep Red */
    --theme-secondary: #991b1b;         /* Wine Red - Sophisticated */
    --theme-secondary-dark: #7f1d1d;    /* Dark Wine */
    --theme-accent: #d97706;            /* Gold - Luxurious */
    --theme-accent-light: #f59e0b;      /* Bright Gold */
    --theme-highlight: #fbbf24;         /* Champagne Gold */
    --theme-rose-gold: #c9a961;         /* Rose Gold */
    --theme-rose-gold-light: #f7e7ce;   /* Light Champagne */
    --theme-coral: #ea580c;             /* Burnt Orange accent */
    --theme-peach: #fed7aa;             /* Soft Peach */
    --theme-lavender: #f5f5f4;          /* Neutral Light */
    --theme-white: #ffffff;
    --theme-dark: #1c1917;
    --theme-dark-gray: #292524;
    --theme-gray: #57534e;
    --theme-light-gray: #a8a29e;
    --theme-bg-light: #fef2f2;          /* Very Light Red tint */
    --nav-height: 60px;

    /* Light mode specific */
    --theme-body-bg: linear-gradient(180deg, #fef2f2 0%, #fff7ed 50%, #fffbeb 100%);
    --theme-card-bg: var(--theme-white);
    --theme-card-border: #fecaca;
    --theme-text-primary: var(--theme-dark);
    --theme-text-secondary: var(--theme-gray);
    --theme-input-bg: var(--theme-white);
    --theme-nav-bg: rgba(255, 255, 255, 0.95);
    --theme-nav-border: #fecaca;
    --theme-modal-bg: var(--theme-white);
    --theme-shadow: rgba(220, 38, 38, 0.1);

    /* Header colors - Bold Red & Gold gradient */
    --header-gradient-start: #b70025;
    --header-gradient-mid: #7f1d1d;
    --header-gradient-end: #b70025;
    --header-accent: #ff94d5;
    --header-text: #ffffff;

    /* Theme color for meta tag */
    --theme-color: #dc2626;
}

/* Dark Mode Variables - Elegant Night */
[data-theme="dark"] {
    --theme-body-bg: linear-gradient(180deg, #1c1917 0%, #292524 50%, #1f1f1f 100%);
    --theme-card-bg: #292524;
    --theme-card-border: #44403c;
    --theme-text-primary: #fef2f2;
    --theme-text-secondary: #d6d3d1;
    --theme-input-bg: #44403c;
    --theme-nav-bg: rgba(41, 37, 36, 0.95);
    --theme-nav-border: #44403c;
    --theme-modal-bg: #292524;
    --theme-bg-light: #44403c;
    --theme-white: #292524;
    --theme-dark: #fef2f2;
    --theme-gray: #d6d3d1;
    --theme-light-gray: #a8a29e;
    --theme-shadow: rgba(0, 0, 0, 0.4);
    --theme-card-border: #78716c;

    /* Dark mode header - elegant red & black */
    --header-gradient-start: #7f1d1d;
    --header-gradient-mid: #991b1b;
    --header-gradient-end: #b91c1c;
    --header-accent: #fbbf24;
}

/* ============================================
   FLOATING HEARTS ANIMATION CONTAINER
   ============================================ */
.floating-hearts-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    bottom: -50px;
    animation: floatUp linear infinite;
    opacity: 0.6;
    filter: blur(0.5px);
}

.floating-heart svg {
    fill: var(--theme-primary-light);
    filter: drop-shadow(0 2px 4px rgba(244, 63, 94, 0.3));
}

.floating-heart:nth-child(1) { left: 5%; animation-duration: 15s; animation-delay: 0s; }
.floating-heart:nth-child(2) { left: 15%; animation-duration: 18s; animation-delay: 2s; }
.floating-heart:nth-child(3) { left: 25%; animation-duration: 14s; animation-delay: 4s; }
.floating-heart:nth-child(4) { left: 35%; animation-duration: 20s; animation-delay: 1s; }
.floating-heart:nth-child(5) { left: 45%; animation-duration: 16s; animation-delay: 3s; }
.floating-heart:nth-child(6) { left: 55%; animation-duration: 19s; animation-delay: 5s; }
.floating-heart:nth-child(7) { left: 65%; animation-duration: 13s; animation-delay: 2s; }
.floating-heart:nth-child(8) { left: 75%; animation-duration: 17s; animation-delay: 4s; }
.floating-heart:nth-child(9) { left: 85%; animation-duration: 21s; animation-delay: 1s; }
.floating-heart:nth-child(10) { left: 95%; animation-duration: 15s; animation-delay: 3s; }

.floating-heart:nth-child(odd) svg { fill: var(--theme-secondary); }
.floating-heart:nth-child(3n) svg { fill: var(--theme-accent); }
.floating-heart:nth-child(4n) svg { fill: var(--theme-rose-gold); }

.floating-heart:nth-child(odd) { transform: scale(0.6); opacity: 0.4; }
.floating-heart:nth-child(even) { transform: scale(0.8); opacity: 0.5; }
.floating-heart:nth-child(3n) { transform: scale(1); opacity: 0.6; }

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg) scale(var(--scale, 0.8));
        opacity: 0;
    }
    10% {
        opacity: var(--opacity, 0.5);
    }
    90% {
        opacity: var(--opacity, 0.5);
    }
    100% {
        transform: translateY(-110vh) rotate(360deg) scale(var(--scale, 0.8));
        opacity: 0;
    }
}

/* ============================================
   SPARKLE EFFECTS
   ============================================ */
.sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #fff 0%, transparent 70%);
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1) rotate(180deg);
        opacity: 1;
    }
}

/* ============================================
   VALENTINE'S HEADER STYLES
   ============================================ */
.bf-header {
    background: linear-gradient(135deg, var(--header-gradient-start) 0%, var(--header-gradient-mid) 50%, var(--header-gradient-end) 100%);
    position: relative;
    overflow: hidden;
    padding: 1.5rem 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 20px rgba(225, 29, 72, 0.25);
}

.bf-header.compact {
    padding: 1.25rem 0.75rem;
}

/* Romantic gradient overlay with hearts pattern */
.bf-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.15) 0%, transparent 40%);
    z-index: 1;
}

/* Heart pattern overlay */
.bf-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M25 39.7l-.6-.5C11.5 28.7 8 25 8 19c0-5 4-9 9-9 4.1 0 6.4 2.3 8 4.1 1.6-1.8 3.9-4.1 8-4.1 5 0 9 4 9 9 0 6-3.5 9.7-16.4 20.2l-.6.5z'/%3E%3C/svg%3E");
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
    animation: heartPatternFloat 20s ease-in-out infinite;
}

@keyframes heartPatternFloat {
    0%, 100% { background-position: 0 0; }
    50% { background-position: 25px 25px; }
}

.bf-banner {
    position: relative;
    text-align: center;
    z-index: 2;
}

/* Love shimmer effect */
.lightning-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 70%
    );
    animation: headerShine 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes headerShine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Modern title styling with love vibes */
.bf-title {
    font-size: 1.9rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 0.35rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.bf-title-compact {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 0.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
}

/* Valentine's title colors with heart icon */
.bf-black {
    color: var(--header-accent);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.bf-friday {
    color: var(--header-text);
    animation: loveGlow 2s ease-in-out infinite;
}

@keyframes loveGlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
}

/* ============================================
   HEART DECORATION AROUND COUNTDOWN
   ============================================ */
.heart-decoration {
    display: inline-block;
    animation: heartBeat 1.2s ease-in-out infinite;
}

.heart-decoration svg {
    width: 24px;
    height: 24px;
    fill: var(--header-accent);
    filter: drop-shadow(0 2px 4px rgba(254, 205, 211, 0.5));
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.15); }
}

/* ============================================
   VALENTINE'S COUNTDOWN TIMER
   ============================================ */
.countdown-timer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1rem;
}

.countdown-timer:has(.sale-live) {
    flex-direction: column;
    gap: 0.5rem;
}

.time-segment {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 0.65rem 0.5rem;
    min-width: 60px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.time-segment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.time-segment:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.2);
}

.time-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--header-text);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.time-label {
    display: block;
    font-size: 0.5625rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.15rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Heart circle around DAYS */
.time-segment.has-circle {
    position: relative;
}

.heart-circle-container {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    pointer-events: none;
    z-index: 10;
}

.heart-circle-container svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.heart-circle-container .heart-border {
    fill: none;
    stroke: var(--header-accent);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawHeart 1.5s ease-out forwards;
    animation-delay: 0.5s;
    filter: drop-shadow(0 2px 6px rgba(254, 205, 211, 0.5));
}

@keyframes drawHeart {
    0% { stroke-dashoffset: 200; }
    100% { stroke-dashoffset: 0; }
}

/* Hide the old pencil circle */
.pencil-circle-container {
    display: none;
}

.sale-live {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--header-accent);
    animation: lovePulse 1.5s ease-in-out infinite;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@keyframes lovePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.03);
    }
}

/* ============================================
   VALENTINE'S SUBTITLE WITH HEART UNDERLINE
   ============================================ */
.bf-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

/* Heart underline decoration */
.heart-underline-container {
    position: relative;
    width: 80%;
    max-width: 250px;
    height: 16px;
    margin: 0.25rem auto 0.5rem;
    pointer-events: none;
    z-index: 3;
}

.heart-underline-container svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.heart-underline-container path {
    fill: none;
    stroke: var(--header-accent);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawHeartLine 1.2s ease-out forwards;
    animation-delay: 0.3s;
    filter: drop-shadow(0 1px 3px rgba(254, 205, 211, 0.5));
}

@keyframes drawHeartLine {
    0% { stroke-dashoffset: 400; }
    100% { stroke-dashoffset: 0; }
}

/* Hide the old pencil underline */
.pencil-underline-container {
    display: none;
}

/* ============================================
   VALENTINE'S THEMED BUTTONS
   ============================================ */
.shop-now-btn {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
    position: relative;
    overflow: hidden;
}

.shop-now-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: buttonShine 3s ease-in-out infinite;
}

@keyframes buttonShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.shop-now-btn:hover {
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.4);
    transform: translateX(5px) scale(1.02);
}

.view-btn {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
    position: relative;
    overflow: hidden;
}

.view-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: buttonShine 3s ease-in-out infinite;
}

.view-btn:hover {
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.4);
    transform: scale(1.05);
}

.retry-btn {
    background: linear-gradient(135deg, var(--theme-primary-light) 0%, var(--theme-secondary) 100%);
}

.retry-btn:hover {
    background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary-dark) 100%);
}

/* ============================================
   VALENTINE'S FILTER CHIPS
   ============================================ */
.filter-chip:hover,
.filter-chip.active {
    background: linear-gradient(135deg, var(--theme-primary-light) 0%, var(--theme-secondary) 100%);
    border-color: var(--theme-primary-light);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

/* ============================================
   VALENTINE'S NAVIGATION
   ============================================ */
.nav-item.active {
    color: var(--theme-primary);
}

.nav-item.active::before {
    background: linear-gradient(90deg, var(--theme-primary), var(--theme-secondary));
}

.nav-item:hover {
    color: var(--theme-primary-light);
}

/* ============================================
   VALENTINE'S STORE CARDS
   ============================================ */
.store-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.store-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.03), rgba(236, 72, 153, 0.03));
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.store-card:hover::before {
    opacity: 1;
}

.store-card:hover {
    border-color: var(--theme-primary-light);
    box-shadow: 0 8px 30px rgba(225, 29, 72, 0.15);
    transform: translateY(-4px) scale(1.02);
}

/* Love badge for deals */
.deal-badge {
    position: relative;
    overflow: hidden;
}

.deal-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
    animation: badgeShine 2s ease-in-out infinite;
}

@keyframes badgeShine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.deal-badge.featured {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
}

.deal-badge.new {
    background: linear-gradient(135deg, var(--theme-secondary), var(--theme-accent));
    color: #ffffff;
}

.deal-badge.datafree {
    background: linear-gradient(135deg, var(--theme-accent), var(--theme-accent-light));
}

.deal-badge.hot {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #ffffff;
}

.deal-badge.love {
    background: linear-gradient(135deg, var(--theme-primary), #ff6b9d);
    color: #ffffff;
}

/* Logo container with subtle heart overlay */
.store-logo-container {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.05), rgba(236, 72, 153, 0.05));
    position: relative;
}

/* ============================================
   VALENTINE'S CATALOGUE CARDS
   ============================================ */
.catalogue-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.catalogue-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 35px rgba(225, 29, 72, 0.15);
}

.catalogue-header {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.08), rgba(236, 72, 153, 0.08));
    position: relative;
    overflow: hidden;
}

.catalogue-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 50 50'%3E%3Cpath fill='%23e11d48' fill-opacity='0.03' d='M25 39.7l-.6-.5C11.5 28.7 8 25 8 19c0-5 4-9 9-9 4.1 0 6.4 2.3 8 4.1 1.6-1.8 3.9-4.1 8-4.1 5 0 9 4 9 9 0 6-3.5 9.7-16.4 20.2l-.6.5z'/%3E%3C/svg%3E");
    pointer-events: none;
}

[data-theme="dark"] .catalogue-header {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.15), rgba(236, 72, 153, 0.15));
}

/* ============================================
   VALENTINE'S MODAL
   ============================================ */
.modal-content {
    border-color: var(--theme-primary-light);
    box-shadow: 0 8px 40px rgba(225, 29, 72, 0.25);
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.modal-icon {
    color: var(--theme-primary);
}

.modal-btn-confirm {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
}

.modal-btn-confirm:hover {
    box-shadow: 0 4px 20px rgba(225, 29, 72, 0.4);
}

/* ============================================
   TOUCH FEEDBACK
   ============================================ */
button,
a,
.filter-chip {
    -webkit-tap-highlight-color: rgba(225, 29, 72, 0.15);
}

/* ============================================
   VALENTINE'S LOADING ANIMATION
   ============================================ */
.loading-spinner {
    border-top-color: var(--theme-primary-light);
    position: relative;
}

/* Loading heart animation */
@keyframes heartPulseLoad {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================
   VALENTINE'S COUNTDOWN LABEL
   ============================================ */
.countdown-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.countdown-label .heart-icon {
    width: 16px;
    height: 16px;
    fill: var(--header-accent);
    animation: heartBeat 1.2s ease-in-out infinite;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (min-width: 768px) {
    .bf-title {
        font-size: 3.5rem;
    }

    .time-segment {
        min-width: 75px;
        padding: 0.75rem 0.65rem;
    }

    .time-value {
        font-size: 1.75rem;
    }

    .floating-hearts-container .floating-heart {
        transform: scale(1.2);
    }
}

/* ============================================
   CONFETTI / LOVE BURST EFFECT (on click)
   ============================================ */
.love-burst {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

.love-burst-heart {
    position: absolute;
    animation: burstOut 0.6s ease-out forwards;
}

@keyframes burstOut {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0) rotate(var(--r));
        opacity: 0;
    }
}

/* ============================================
   SPECIAL VALENTINE'S MESSAGE
   ============================================ */
.valentine-message {
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(254,205,211,0.3));
    border: 2px solid var(--theme-primary-light);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.valentine-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    animation: messageShine 3s ease-in-out infinite;
}

@keyframes messageShine {
    0% { left: -100%; }
    100% { left: 200%; }
}

.valentine-message p {
    color: var(--theme-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0;
}

[data-theme="dark"] .valentine-message {
    background: linear-gradient(135deg, rgba(41,37,36,0.95), rgba(68,64,60,0.5));
}

[data-theme="dark"] .valentine-message p {
    color: var(--theme-primary-light);
}

/* ============================================
   FUN ENHANCED LOADING SCREEN
   ============================================ */

/* Bouncing emoji container */
.loading-emojis {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}

.loading-emoji {
    font-size: 2rem;
    animation: emojiJump 1s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.loading-emoji:nth-child(1) { animation-delay: 0s; }
.loading-emoji:nth-child(2) { animation-delay: 0.15s; }
.loading-emoji:nth-child(3) { animation-delay: 0.3s; }
.loading-emoji:nth-child(4) { animation-delay: 0.45s; }
.loading-emoji:nth-child(5) { animation-delay: 0.6s; }

@keyframes emojiJump {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.2);
    }
}

/* Enhanced glowing heart spinner */
.page-loading-spinner.enhanced {
    animation: heartPulseGlow 1.2s ease-in-out infinite;
}

.page-loading-spinner.enhanced::before,
.page-loading-spinner.enhanced::after {
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(236, 72, 153, 0.6),
        0 0 60px rgba(225, 29, 72, 0.4);
}

@keyframes heartPulseGlow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    }
    25% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 25px rgba(236, 72, 153, 0.8));
    }
    50% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
    }
    75% {
        transform: scale(1.2);
        filter: drop-shadow(0 0 30px rgba(225, 29, 72, 0.9));
    }
}

/* Love messages styling */
.love-messages-enhanced {
    margin-top: 20px;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.love-message-enhanced {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: messageSlide 0.5s ease-out;
}

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

/* Loading confetti burst effect */
.loading-confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    animation: confettiFall 1.5s ease-out forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-20px) rotate(0deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg) scale(0);
        opacity: 0;
    }
}

/* ============================================
   ENHANCED COUNTDOWN TIMER - BIGGER & BOLDER
   ============================================ */

/* Main countdown container enhancement */
.countdown-wrapper {
    position: relative;
    padding: 1.5rem 1rem;
    margin: 0.5rem 0;
}

/* Pulsing heart ring around countdown */
.countdown-heart-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    pointer-events: none;
    z-index: 0;
}

.countdown-heart-ring::before,
.countdown-heart-ring::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--header-accent);
    border-right-color: var(--theme-secondary);
    animation: ringPulse 2s ease-in-out infinite;
}

.countdown-heart-ring::before {
    width: 100%;
    height: 100%;
}

.countdown-heart-ring::after {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    animation-delay: 0.5s;
    animation-direction: reverse;
}

@keyframes ringPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05) rotate(180deg);
        opacity: 1;
    }
}

/* Enhanced time segments - BIGGER */
.countdown-timer.enhanced {
    gap: 0.75rem;
}

.countdown-timer.enhanced .time-segment {
    min-width: 70px;
    padding: 0.85rem 0.6rem;
    background: rgba(255, 255, 255, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
    overflow: visible;
}

.countdown-timer.enhanced .time-value {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(180deg, #fff 0%, #fce7f3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.countdown-timer.enhanced .time-label {
    font-size: 0.65rem;
    letter-spacing: 2px;
    font-weight: 700;
}

/* Sparkle effects on countdown */
.time-segment .sparkle-effect {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    animation: sparkleFloat 2s ease-in-out infinite;
    box-shadow: 0 0 10px #fff, 0 0 20px var(--theme-secondary);
}

.time-segment .sparkle-effect:nth-child(1) {
    top: -3px;
    right: 10%;
    animation-delay: 0s;
}

.time-segment .sparkle-effect:nth-child(2) {
    bottom: -3px;
    left: 20%;
    animation-delay: 0.5s;
}

.time-segment .sparkle-effect:nth-child(3) {
    top: 50%;
    right: -3px;
    animation-delay: 1s;
}

@keyframes sparkleFloat {
    0%, 100% {
        transform: scale(0.5);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

/* Flip animation for seconds */
.time-value.flip {
    animation: flipDigit 0.3s ease-out;
}

@keyframes flipDigit {
    0% {
        transform: perspective(100px) rotateX(0deg);
    }
    50% {
        transform: perspective(100px) rotateX(-15deg) scale(1.1);
    }
    100% {
        transform: perspective(100px) rotateX(0deg);
    }
}

/* Hover micro-interactions on countdown */
.countdown-timer.enhanced .time-segment:hover {
    transform: translateY(-5px) scale(1.08);
    background: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 10px 30px rgba(225, 29, 72, 0.3),
        0 0 20px rgba(236, 72, 153, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
}

.countdown-timer.enhanced .time-segment:hover .time-value {
    animation: valueWiggle 0.5s ease-in-out;
}

@keyframes valueWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

/* ============================================
   FUN CARD INTERACTIONS
   ============================================ */

/* Floating effect for cards */
.store-card.fun-mode,
.catalogue-card.fun-mode {
    animation: cardFloat 4s ease-in-out infinite;
}

.store-card.fun-mode:nth-child(even),
.catalogue-card.fun-mode:nth-child(even) {
    animation-delay: 2s;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Heartbeat shadow pulse */
.store-card.fun-mode,
.catalogue-card.fun-mode {
    box-shadow: 0 4px 15px var(--theme-shadow);
}

.store-card.fun-mode::after,
.catalogue-card.fun-mode::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.4);
    animation: heartbeatShadow 2s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes heartbeatShadow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.4);
    }
    25% {
        box-shadow: 0 0 0 8px rgba(225, 29, 72, 0.15);
    }
    50% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.4);
    }
    75% {
        box-shadow: 0 0 0 12px rgba(225, 29, 72, 0.1);
    }
}

/* Animated heart icon on hover */
.card-love-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 10;
    pointer-events: none;
}

.card-love-heart svg {
    width: 100%;
    height: 100%;
    fill: var(--theme-primary);
    filter: drop-shadow(0 2px 4px rgba(225, 29, 72, 0.3));
}

.store-card:hover .card-love-heart,
.catalogue-card:hover .card-love-heart {
    opacity: 1;
    transform: scale(1);
    animation: heartPop 0.6s ease-out;
}

@keyframes heartPop {
    0% {
        transform: scale(0) rotate(-45deg);
    }
    50% {
        transform: scale(1.3) rotate(10deg);
    }
    70% {
        transform: scale(0.9) rotate(-5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

/* Love badge emoji */
.love-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: linear-gradient(135deg, #fff 0%, #fce7f3 100%);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--theme-primary);
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.2);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.store-card:hover .love-badge,
.catalogue-card:hover .love-badge {
    opacity: 1;
    transform: translateY(0);
}

[data-theme="dark"] .love-badge {
    background: linear-gradient(135deg, #44403c 0%, #57534e 100%);
    color: var(--theme-primary-light);
}

/* ============================================
   CURSOR HEART TRAIL
   ============================================ */

.cursor-heart-trail {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    font-size: 16px;
    animation: cursorHeartFade 1s ease-out forwards;
    filter: drop-shadow(0 2px 4px rgba(225, 29, 72, 0.3));
}

@keyframes cursorHeartFade {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.3) translateY(-30px) rotate(45deg);
    }
}

/* Different colored hearts */
.cursor-heart-trail.pink { color: #ec4899; }
.cursor-heart-trail.red { color: #e11d48; }
.cursor-heart-trail.purple { color: #a855f7; }
.cursor-heart-trail.rose { color: #b76e79; }
.cursor-heart-trail.coral { color: #ff6b6b; }

/* ============================================
   CLICK EFFECTS - KISS EMOJI BURST
   ============================================ */

.click-burst-container {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
}

.click-burst-emoji {
    position: absolute;
    font-size: 1.5rem;
    animation: emojiBurstOut 0.7s ease-out forwards;
}

@keyframes emojiBurstOut {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0.3) rotate(var(--rotate));
        opacity: 0;
    }
}

/* ============================================
   BACKGROUND SPARKLE/GLITTER EFFECTS
   ============================================ */

.sparkle-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.sparkle-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    animation: sparkleGlitter 3s ease-in-out infinite;
    box-shadow:
        0 0 6px #fff,
        0 0 12px var(--theme-secondary),
        0 0 18px var(--theme-primary);
}

.sparkle-particle:nth-child(odd) {
    background: var(--theme-secondary);
    box-shadow:
        0 0 6px var(--theme-secondary),
        0 0 12px var(--theme-primary);
}

.sparkle-particle:nth-child(3n) {
    background: var(--theme-accent-light);
    box-shadow:
        0 0 6px var(--theme-accent-light),
        0 0 12px var(--theme-accent);
}

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

/* More varied floating hearts with colors */
.floating-heart.color-pink svg { fill: #ec4899; }
.floating-heart.color-red svg { fill: #e11d48; }
.floating-heart.color-purple svg { fill: #a855f7; }
.floating-heart.color-rose-gold svg { fill: #b76e79; }
.floating-heart.color-coral svg { fill: #ff6b6b; }
.floating-heart.color-lavender svg { fill: #e0b0ff; }
.floating-heart.color-peach svg { fill: #ffb4a2; }

/* Enhanced floating with wiggle */
.floating-heart.wiggle {
    animation: floatUpWiggle linear infinite;
}

@keyframes floatUpWiggle {
    0% {
        transform: translateY(0) rotate(0deg) translateX(0) scale(var(--scale, 0.8));
        opacity: 0;
    }
    10% {
        opacity: var(--opacity, 0.5);
    }
    25% {
        transform: translateY(-25vh) rotate(90deg) translateX(10px) scale(var(--scale, 0.8));
    }
    50% {
        transform: translateY(-55vh) rotate(180deg) translateX(-10px) scale(var(--scale, 0.8));
    }
    75% {
        transform: translateY(-80vh) rotate(270deg) translateX(10px) scale(var(--scale, 0.8));
    }
    90% {
        opacity: var(--opacity, 0.5);
    }
    100% {
        transform: translateY(-110vh) rotate(360deg) translateX(0) scale(var(--scale, 0.8));
        opacity: 0;
    }
}

/* ============================================
   ENHANCED BUTTON CLICK EFFECTS
   ============================================ */

.shop-now-btn.clicked,
.view-btn.clicked,
.filter-chip.clicked {
    animation: buttonClickPop 0.3s ease-out;
}

@keyframes buttonClickPop {
    0% { transform: scale(1); }
    50% { transform: scale(0.92); }
    100% { transform: scale(1); }
}

/* ============================================
   RESPONSIVE ENHANCEMENTS
   ============================================ */

@media (min-width: 768px) {
    .countdown-timer.enhanced .time-segment {
        min-width: 90px;
        padding: 1rem 0.8rem;
    }

    .countdown-timer.enhanced .time-value {
        font-size: 2.4rem;
    }

    .countdown-timer.enhanced .time-label {
        font-size: 0.75rem;
    }

    .loading-emoji {
        font-size: 2.5rem;
    }
}

/* ============================================
   DARK MODE ADJUSTMENTS FOR NEW FEATURES
   ============================================ */

[data-theme="dark"] .sparkle-particle {
    background: var(--theme-primary-light);
    box-shadow:
        0 0 6px var(--theme-primary-light),
        0 0 12px var(--theme-secondary);
}

[data-theme="dark"] .countdown-timer.enhanced .time-value {
    background: linear-gradient(180deg, #fce7f3 0%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .countdown-timer.enhanced .time-segment {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .card-love-heart svg {
    fill: var(--theme-primary-light);
}

/* ============================================
   FLYING CUPID ANIMATION - DEALS PAGE
   ============================================ */
.flying-cupid {
    position: absolute;
    top: 15%;
    right: -60px;
    width: 50px;
    height: 50px;
    z-index: 5;
    animation: cupidFly 8s ease-in-out infinite;
    pointer-events: none;
}

.flying-cupid svg {
    width: 100%;
    height: 100%;
    fill: var(--header-accent);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes cupidFly {
    0% {
        transform: translateX(0) translateY(0) rotate(-10deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    25% {
        transform: translateX(-80px) translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateX(-160px) translateY(10px) rotate(-5deg);
    }
    75% {
        transform: translateX(-240px) translateY(-10px) rotate(5deg);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(-320px) translateY(0) rotate(-10deg);
        opacity: 0;
    }
}

/* Second cupid flying opposite direction */
.flying-cupid.reverse {
    right: auto;
    left: -60px;
    top: 25%;
    animation: cupidFlyReverse 10s ease-in-out infinite;
    animation-delay: 4s;
}

@keyframes cupidFlyReverse {
    0% {
        transform: translateX(0) translateY(0) scaleX(-1) rotate(10deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    25% {
        transform: translateX(80px) translateY(15px) scaleX(-1) rotate(-5deg);
    }
    50% {
        transform: translateX(160px) translateY(-10px) scaleX(-1) rotate(5deg);
    }
    75% {
        transform: translateX(240px) translateY(10px) scaleX(-1) rotate(-5deg);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(320px) translateY(0) scaleX(-1) rotate(10deg);
        opacity: 0;
    }
}

/* ============================================
   CUPID ARROW UNDERLINE - CATALOGUE PAGE
   ============================================ */
.cupid-arrow-underline {
    position: relative;
    width: 90%;
    max-width: 280px;
    height: 20px;
    margin: 0.25rem auto 0.5rem;
    pointer-events: none;
    z-index: 3;
}

.cupid-arrow-underline svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.cupid-arrow-underline .arrow-shaft {
    fill: none;
    stroke: var(--header-accent);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawArrow 1.5s ease-out forwards;
    animation-delay: 0.2s;
}

.cupid-arrow-underline .arrow-head {
    fill: var(--header-accent);
    opacity: 0;
    animation: arrowHeadAppear 0.3s ease-out forwards;
    animation-delay: 1.5s;
}

.cupid-arrow-underline .arrow-feathers {
    fill: none;
    stroke: var(--header-accent);
    stroke-width: 2;
    stroke-linecap: round;
    opacity: 0;
    animation: feathersAppear 0.3s ease-out forwards;
    animation-delay: 0.1s;
}

@keyframes drawArrow {
    0% { stroke-dashoffset: 300; }
    100% { stroke-dashoffset: 0; }
}

@keyframes arrowHeadAppear {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes feathersAppear {
    0% { opacity: 0; }
    100% { opacity: 1; }
}