/* ════════════════════════════════════════════════════════════ */
/* AMOUR & CADEAUX - VIBRANT VALENTINE'S DESIGN SYSTEM */
/* Romance, Magic, Passion - All Mixed with Elegance */
/* ════════════════════════════════════════════════════════════ */

:root {
    /* Romantic Color Palette */
    --romance-red: #ff1744;
    --romance-pink: #ff006e;
    --romance-purple: #d946ef;
    --romance-gold: #fbbf24;
    --romance-rose: #fb7185;
    --romance-magenta: #ec4899;
    --romance-violet: #a855f7;
    --romance-amber: #f59e0b;
    
    /* Transitions */
    --transition: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-smooth: 300ms ease-in-out;
}

/* ════════════════════════════════════════════════════════════ */
/* GLOBAL STYLES */
/* ════════════════════════════════════════════════════════════ */

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #0f0f1e 0%, #1a0f2e 50%, #2d0a47 100%) !important;
    position: relative;
    overflow-x: hidden;
}

/* Animated background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 20, 147, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(217, 70, 239, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: background-shift 8s ease-in-out infinite;
}

@keyframes background-shift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

main, header, footer {
    position: relative;
    z-index: 1;
}

/* ════════════════════════════════════════════════════════════ */
/* HEADER STYLING */
/* ════════════════════════════════════════════════════════════ */

header {
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.95), rgba(255, 20, 147, 0.1)) !important;
    border-bottom: 3px solid transparent !important;
    border-image: linear-gradient(90deg, #ff006e, #d946ef, #fbbf24, #ff006e);
    border-image-slice: 1;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(255, 20, 147, 0.2);
    transition: all var(--transition-smooth);
}

header:hover {
    border-bottom-color: #ff006e !important;
    box-shadow: 0 15px 50px rgba(255, 20, 147, 0.3);
}

header a:not(.text-white) {
    background: linear-gradient(135deg, #ff006e, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    transition: all var(--transition);
}

header a:hover:not(.text-white) {
    filter: brightness(1.3);
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.5);
}

/* ════════════════════════════════════════════════════════════ */
/* BUTTONS - MAGICAL EFFECTS */
/* ════════════════════════════════════════════════════════════ */

button, .btn, a[class*="btn"], a[class*="primary"] {
    position: relative;
    overflow: hidden;
    transition: all var(--transition) !important;
    background: linear-gradient(135deg, #ff006e, #ec4899) !important;
    border: none !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.3);
}

button::before, .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

button:hover, .btn:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 50px rgba(255, 20, 147, 0.5) !important;
}

button:active::before, .btn:active::before {
    width: 300px;
    height: 300px;
}

/* ════════════════════════════════════════════════════════════ */
/* GRADIENT TEXT - VIBRANT */
/* ════════════════════════════════════════════════════════════ */

.gradient-text {
    background: linear-gradient(135deg, #ff1744, #ff006e, #d946ef, #fbbf24, #ec4899) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    background-size: 300% 300%;
    animation: gradient-dance 4s ease infinite;
    filter: drop-shadow(0 0 8px rgba(255, 20, 147, 0.3));
}

@keyframes gradient-dance {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ════════════════════════════════════════════════════════════ */
/* HEADINGS - ELEGANT & BOLD */
/* ════════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em !important;
    font-weight: 900 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

h1 {
    animation: float-in 0.8s ease-out;
}

h2, h3 {
    animation: slide-in 0.6s ease-out;
}

@keyframes float-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ════════════════════════════════════════════════════════════ */
/* CARDS - PREMIUM HOVER EFFECTS */
/* ════════════════════════════════════════════════════════════ */

[class*="rounded-2xl"], .card, [class*="bg-slate"] {
    transition: all var(--transition) !important;
    border: 2px solid rgba(255, 20, 147, 0.2) !important;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.05), rgba(217, 70, 239, 0.05)) !important;
}

[class*="rounded-2xl"]:hover, .card:hover {
    transform: translateY(-8px) !important;
    border-color: #ff006e !important;
    box-shadow: 
        0 20px 50px rgba(255, 20, 147, 0.3),
        0 0 30px rgba(217, 70, 239, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.1), rgba(217, 70, 239, 0.1)) !important;
}

/* ════════════════════════════════════════════════════════════ */
/* LINKS - ELEGANT UNDERLINE */
/* ════════════════════════════════════════════════════════════ */

a {
    position: relative;
    text-decoration: none;
    transition: color var(--transition-smooth);
}

a:not([class*="btn"]):not([class*="text-white"]):not(header a)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff006e, #fbbf24);
    transition: width var(--transition-smooth);
}

a:not([class*="btn"]):hover:not([class*="text-white"]):not(header a)::after {
    width: 100%;
}

/* ════════════════════════════════════════════════════════════ */
/* INPUTS - ROMANTIC FOCUS */
/* ════════════════════════════════════════════════════════════ */

input, textarea, select {
    background: rgba(15, 15, 30, 0.8) !important;
    border: 2px solid rgba(255, 20, 147, 0.3) !important;
    color: #f1f5f9 !important;
    transition: all var(--transition-smooth) !important;
}

input:focus, textarea:focus, select:focus {
    border-color: #ff006e !important;
    background: rgba(15, 15, 30, 0.95) !important;
    box-shadow: 
        0 0 0 3px rgba(255, 20, 147, 0.2),
        0 0 20px rgba(255, 20, 147, 0.3) !important;
}

input::placeholder {
    color: rgba(203, 213, 225, 0.5) !important;
}

/* ════════════════════════════════════════════════════════════ */
/* FOOTER - DARK ROMANTIC */
/* ════════════════════════════════════════════════════════════ */

footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(45, 10, 71, 0.5)) !important;
    border-top: 2px solid transparent !important;
    border-image: linear-gradient(90deg, #ff006e, #d946ef, #ff006e);
    border-image-slice: 1;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff006e, transparent);
    opacity: 0.5;
}

footer a {
    color: #cbd5e1 !important;
    transition: all var(--transition-smooth);
}

footer a:hover {
    color: #ff006e !important;
    text-shadow: 0 0 8px rgba(255, 20, 147, 0.5);
    padding-left: 4px;
}

/* ════════════════════════════════════════════════════════════ */
/* ANIMATIONS - ENCHANTING */
/* ════════════════════════════════════════════════════════════ */

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

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 20, 147, 0.3);
        filter: brightness(1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(255, 20, 147, 0.6);
        filter: brightness(1.1);
    }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

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

/* Apply animations */
.animate-heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
}

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

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

/* ════════════════════════════════════════════════════════════ */
/* TOPLINE BANNER - EYE-CATCHING */
/* ════════════════════════════════════════════════════════════ */

[class*="topline"], [style*="topline"] {
    background: linear-gradient(90deg, #ff006e, #d946ef, #fbbf24, #ff006e) !important;
    background-size: 200% 100%;
    animation: banner-slide 3s ease infinite;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.4);
}

@keyframes banner-slide {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
    100% { background-position: 0% 0%; }
}

/* ════════════════════════════════════════════════════════════ */
/* TRUST BADGES - PREMIUM */
/* ════════════════════════════════════════════════════════════ */

[class*="trust"], [class*="badge"] {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.1), rgba(217, 70, 239, 0.1)) !important;
    border: 2px solid rgba(255, 20, 147, 0.3) !important;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

[class*="trust"]:hover, [class*="badge"]:hover {
    border-color: #ff006e !important;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.2), rgba(217, 70, 239, 0.2)) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.3) !important;
}

/* ════════════════════════════════════════════════════════════ */
/* RESPONSIVE ENHANCEMENTS */
/* ════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    h1 { font-size: clamp(1.5rem, 6vw, 2.5rem) !important; }
    h2 { font-size: clamp(1.25rem, 5vw, 2rem) !important; }
    
    button, .btn {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.875rem !important;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem !important; }
    h2 { font-size: 1.25rem !important; }
}

/* ════════════════════════════════════════════════════════════ */
/* ACCESSIBILITY */
/* ════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 2px solid #ff006e !important;
    outline-offset: 2px !important;
}
/* ════════════════════════════════════════════════════════════ */
/* PRODUCT IMAGE OPTIMIZATION */
/* ════════════════════════════════════════════════════════════ */

.product-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: inherit;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
