/*
 * Landing Page Styles — Premium Edition
 * Cinematic, immersive design inspired by Apple / Stripe / Linear
 */

/* ── Keyframes ────────────────────────────────── */

@keyframes landing-orb-drift-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(30px, -40px) scale(1.1); }
    50%      { transform: translate(-20px, -80px) scale(0.95); }
    75%      { transform: translate(40px, -20px) scale(1.05); }
}

@keyframes landing-orb-drift-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(-40px, 30px) scale(1.08); }
    50%      { transform: translate(30px, 60px) scale(0.92); }
    75%      { transform: translate(-50px, -10px) scale(1.12); }
}

@keyframes landing-orb-drift-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(50px, 40px) scale(1.15); }
    66%      { transform: translate(-30px, -50px) scale(0.9); }
}

@keyframes landing-pulse-line {
    0%, 100% { opacity: 0.2; }
    50%      { opacity: 0.6; }
}

/* Opacity-based glow — GPU-composited, no repaints */
@keyframes landing-glow-opacity {
    0%, 100% { opacity: 0; }
    50%      { opacity: 1; }
}


/* ── Grid Pattern Overlay (alternating sections) ─ */
.wishly-how-it-works::after,
.wishly-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}


/* ── Section Label (pill/badge with glow) ─────── */
.wishly-how-it-works .wishly-label,
.wishly-featured .wishly-label,
.wishly-cta .wishly-label,
#features .wishly-label {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 100px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.25);
    color: var(--w-accent, #7c3aed);
    font-size: var(--w-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.15), inset 0 0 12px rgba(124, 58, 237, 0.05);
}


/* ── Section Headings — Larger & Bolder ──────── */
.wishly-how-it-works h2,
.wishly-featured h2,
.wishly-cta h2,
#features h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
}


/* ── Reveal Enhancements — More Dramatic ─────── */
.wishly-reveal {
    transform: translateY(60px);
}

.wishly-reveal.is-visible {
    transform: translateY(0);
}


/* ═══════════════════════════════════════════════ */
/* HERO SECTION                                    */
/* ═══════════════════════════════════════════════ */
.wishly-hero {
    position: relative;
    min-height: calc(100vh - var(--w-header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--w-space-16) 0;
    overflow: hidden;
    background: radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.18) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 100%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
}

/* Static gradient mesh layer — same look, no animation cost */
.wishly-hero::before {
    content: '';
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 35%);
    pointer-events: none;
    z-index: 0;
}

/* Secondary mesh layer — static */
.wishly-hero::after {
    content: '';
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(circle at 60% 80%, rgba(124, 58, 237, 0.12) 0%, transparent 35%),
        radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 35%),
        radial-gradient(circle at 90% 40%, rgba(236, 72, 153, 0.08) 0%, transparent 30%);
    pointer-events: none;
    z-index: 0;
}

/* Static noise texture overlay — lightweight, no animation */
.wishly-hero .wishly-hero__content::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    background-repeat: repeat;
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
}

.wishly-hero__content {
    position: relative;
    z-index: var(--w-z-base, 1);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--w-container-padding);
}

.wishly-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--w-space-2);
    padding: 8px 20px;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--w-radius-full);
    font-size: var(--w-text-xs);
    font-weight: 700;
    color: var(--w-accent);
    margin-bottom: var(--w-space-8);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.15),
                inset 0 0 20px rgba(124, 58, 237, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.wishly-hero__title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.04em;
    margin-bottom: var(--w-space-8);
    white-space: nowrap;
    background: linear-gradient(to bottom, var(--w-text-primary, #fff) 40%, var(--w-text-secondary, rgba(255,255,255,0.6)));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wishly-hero__title .wishly-text-gradient {
    -webkit-text-fill-color: transparent;
}

.wishly-hero__subtitle {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: var(--w-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--w-space-12);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.wishly-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--w-space-4);
    flex-wrap: wrap;
}

.wishly-hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--w-space-12);
    margin-top: var(--w-space-20, 5rem);
    padding-top: var(--w-space-10);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.wishly-hero__stat {
    text-align: center;
}

.wishly-hero__stat-value {
    font-size: var(--w-text-4xl, 2.25rem);
    font-weight: 900;
    letter-spacing: var(--w-tracking-tight);
}

.wishly-hero__stat-label {
    font-size: var(--w-text-xs);
    color: var(--w-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: var(--w-space-2);
}

/* Decorative floating orbs — pre-blurred gradients (no filter:blur, GPU-free) */
.wishly-hero__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    will-change: transform;
    contain: layout style paint;
}

.wishly-hero__orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, rgba(124, 58, 237, 0.08) 35%, transparent 65%);
    top: 5%;
    left: -10%;
    opacity: 0.6;
    animation: landing-orb-drift-1 12s;
}

.wishly-hero__orb--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, rgba(37, 99, 235, 0.08) 35%, transparent 65%);
    bottom: 10%;
    right: -8%;
    opacity: 0.5;
    animation: landing-orb-drift-2 14s;
}

.wishly-hero__orb--3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.25) 0%, rgba(236, 72, 153, 0.06) 35%, transparent 65%);
    top: 40%;
    right: 15%;
    opacity: 0.45;
    animation: landing-orb-drift-3 10s;
}

@media (max-width: 768px) {
    .wishly-hero {
        min-height: auto;
        padding: var(--w-space-10) 0 var(--w-space-12);
    }

    .wishly-hero__title {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
        white-space: normal;
    }

    .wishly-hero__subtitle {
        font-size: var(--w-text-base);
    }

    .wishly-hero__stats {
        gap: var(--w-space-6);
        margin-top: var(--w-space-12);
        flex-wrap: wrap;
    }

    .wishly-hero__stat-value {
        font-size: var(--w-text-2xl);
    }

    .wishly-hero__badge {
        margin-bottom: var(--w-space-6);
    }

    /* Smaller orbs on mobile — no filter:blur needed (pre-blurred gradients) */
    .wishly-hero__orb--1 { width: 300px; height: 300px; }
    .wishly-hero__orb--2 { width: 250px; height: 250px; }
    .wishly-hero__orb--3 { width: 200px; height: 200px; }

    /* Disable orb animations on mobile to save battery */
    .wishly-hero__orb {
        animation: none;
    }

    .wishly-hero .wishly-hero__content::before {
        display: none; /* Hide noise overlay on mobile */
    }
}


/* ═══════════════════════════════════════════════ */
/* HOW IT WORKS SECTION                            */
/* ═══════════════════════════════════════════════ */
.wishly-how-it-works {
    position: relative;
    background:
        radial-gradient(ellipse at 30% 0%, rgba(124, 58, 237, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 100%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, rgba(0,0,0,0.02) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.02) 100%);
    overflow: hidden;
}

.wishly-how-it-works__header {
    text-align: center;
    margin-bottom: var(--w-space-16);
}

.wishly-how-it-works__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--w-space-8);
    position: relative;
}

/* Animated connecting line */
.wishly-how-it-works__steps::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: var(--w-gradient-primary);
    opacity: 0.3;
    animation: landing-pulse-line 3s ease-in-out infinite;
}

.wishly-step {
    text-align: center;
    position: relative;
    padding: var(--w-space-6);
    border-radius: var(--w-radius-2xl, 16px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.wishly-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.wishly-step__number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--w-gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--w-text-xl);
    font-weight: 800;
    color: #fff;
    margin: 0 auto var(--w-space-6);
    position: relative;
    z-index: 1;
    box-shadow:
        0 0 0 4px rgba(124, 58, 237, 0.15),
        0 0 0 8px rgba(124, 58, 237, 0.08),
        0 0 20px rgba(124, 58, 237, 0.3);
}

/* Glow pulse via opacity (GPU-composited, no repaints) */
.wishly-step__number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.5), 0 0 50px rgba(124, 58, 237, 0.2);
    opacity: 0;
    animation: landing-glow-opacity 4s ease-in-out infinite;
    pointer-events: none;
}

.wishly-step:nth-child(2) .wishly-step__number::after { animation-delay: 0.5s; }
.wishly-step:nth-child(3) .wishly-step__number::after { animation-delay: 1s; }
.wishly-step:nth-child(4) .wishly-step__number::after { animation-delay: 1.5s; }

.wishly-step__icon {
    font-size: 2.2rem;
    margin-bottom: var(--w-space-3);
}

.wishly-step__title {
    font-size: var(--w-text-lg);
    font-weight: 800;
    margin-bottom: var(--w-space-2);
}

.wishly-step__description {
    font-size: var(--w-text-sm);
    color: var(--w-text-secondary);
    line-height: var(--w-leading-relaxed);
}

@media (max-width: 768px) {
    .wishly-how-it-works__steps {
        grid-template-columns: 1fr;
        gap: var(--w-space-6);
    }

    .wishly-how-it-works__steps::before {
        display: none;
    }

    .wishly-step {
        display: flex;
        text-align: left;
        gap: var(--w-space-4);
        align-items: flex-start;
        padding: var(--w-space-4);
    }

    .wishly-step:hover {
        transform: translateY(-4px);
    }

    .wishly-step__number {
        margin: 0;
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        font-size: var(--w-text-base);
    }
}


/* ═══════════════════════════════════════════════ */
/* FEATURED PRODUCTS SECTION                       */
/* ═══════════════════════════════════════════════ */
.wishly-featured {
    position: relative;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(124, 58, 237, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 80%, rgba(236, 72, 153, 0.04) 0%, transparent 45%);
    overflow: hidden;
}

/* Radial glow behind the grid */
.wishly-featured__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--w-space-6);
    position: relative;
}

.wishly-featured__grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

/* Glass-like borders on product cards (solid bg — avoids 6x backdrop-filter layers) */
.wishly-featured__grid > * {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--w-radius-2xl, 16px);
    background: rgba(17, 17, 19, 0.85);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light mode: cards need a light background so dark text variables are readable */
[data-theme="light"] .wishly-featured__grid > * {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

.wishly-featured__grid > *:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow:
        0 0 30px rgba(124, 58, 237, 0.1),
        0 8px 40px rgba(0,0,0,0.2),
        inset 0 0 30px rgba(124, 58, 237, 0.03);
    transform: translateY(-4px);
}

[data-theme="light"] .wishly-featured__grid > *:hover {
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow:
        0 0 30px rgba(124, 58, 237, 0.12),
        0 8px 40px rgba(0,0,0,0.08);
}

.wishly-featured__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: var(--w-space-12);
}

@media (max-width: 1024px) {
    .wishly-featured__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .wishly-featured__grid {
        grid-template-columns: 1fr;
    }

    .wishly-featured__header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--w-space-4);
    }
}


/* ═══════════════════════════════════════════════ */
/* FEATURES GRID SECTION                           */
/* ═══════════════════════════════════════════════ */
#features {
    position: relative;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(124, 58, 237, 0.04) 0%, transparent 50%);
}

.wishly-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--w-space-6);
}

.wishly-feature-card {
    padding: var(--w-space-8);
    position: relative;
    overflow: hidden;
    background: rgba(17, 17, 19, 0.85);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--w-radius-2xl, 16px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

[data-theme="light"] .wishly-feature-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

/* Unique accent gradient lines at top of each feature card */
.wishly-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, #7c3aed, #2563eb);
    opacity: 0.8;
}

/* Unique accent colors per card position */
.wishly-feature-card:nth-child(2)::before {
    background: linear-gradient(90deg, #2563eb, #06b6d4);
}
.wishly-feature-card:nth-child(3)::before {
    background: linear-gradient(90deg, #ec4899, #f97316);
}
.wishly-feature-card:nth-child(4)::before {
    background: linear-gradient(90deg, #10b981, #06b6d4);
}
.wishly-feature-card:nth-child(5)::before {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
}
.wishly-feature-card:nth-child(6)::before {
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
}

.wishly-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 0 30px rgba(124, 58, 237, 0.08);
    border-color: rgba(255,255,255,0.12);
}

.wishly-feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--w-space-5);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(37, 99, 235, 0.1) 100%);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.1);
}

/* Per-card icon gradient backgrounds */
.wishly-feature-card:nth-child(2) .wishly-feature-card__icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
}
.wishly-feature-card:nth-child(3) .wishly-feature-card__icon {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(249, 115, 22, 0.1) 100%);
}
.wishly-feature-card:nth-child(4) .wishly-feature-card__icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
}
.wishly-feature-card:nth-child(5) .wishly-feature-card__icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(239, 68, 68, 0.1) 100%);
}
.wishly-feature-card:nth-child(6) .wishly-feature-card__icon {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(236, 72, 153, 0.1) 100%);
}

.wishly-feature-card__title {
    font-size: var(--w-text-lg);
    font-weight: 800;
    margin-bottom: var(--w-space-2);
}

.wishly-feature-card__description {
    font-size: var(--w-text-sm);
    color: var(--w-text-secondary);
    line-height: var(--w-leading-relaxed);
}

@media (max-width: 768px) {
    .wishly-features__grid {
        grid-template-columns: 1fr;
    }
}


/* ═══════════════════════════════════════════════ */
/* CTA SECTION                                     */
/* ═══════════════════════════════════════════════ */
.wishly-cta {
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 100%, rgba(37, 99, 235, 0.08) 0%, transparent 45%),
        radial-gradient(ellipse at 70% 100%, rgba(236, 72, 153, 0.06) 0%, transparent 45%);
}

.wishly-cta__card {
    background: linear-gradient(135deg,
        rgba(124, 58, 237, 0.12) 0%,
        rgba(37, 99, 235, 0.08) 50%,
        rgba(236, 72, 153, 0.06) 100%);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: var(--w-radius-3xl);
    padding: var(--w-space-20, 5rem) var(--w-space-8);
    position: relative;
    overflow: hidden;
}

/* Static gradient border glow — same premium feel, no per-frame cost */
.wishly-cta__card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(124, 58, 237, 0.5),
        rgba(37, 99, 235, 0.3),
        rgba(236, 72, 153, 0.3),
        rgba(16, 185, 129, 0.2),
        rgba(124, 58, 237, 0.5)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
}

/* Inner gradient glow */
.wishly-cta__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 100%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    opacity: 0.7;
}

.wishly-cta__content {
    position: relative;
    z-index: 1;
}

.wishly-cta__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: var(--w-space-5);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.wishly-cta__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--w-text-secondary);
    margin-bottom: var(--w-space-10);
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}


/* ═══════════════════════════════════════════════ */
/* CSS Custom Property for animated border         */
/* ── Featured Product Image Animations ──────────── */
.wishly-featured .wishly-product-card__image img {
    animation: wishly-image-float 6s ease-in-out infinite;
}

.wishly-featured .wishly-product-card:nth-child(odd) .wishly-product-card__image img {
    animation-delay: -2s;
}

.wishly-featured .wishly-product-card:nth-child(3n) .wishly-product-card__image img {
    animation-delay: -4s;
}

/* ── Product Drops Banner ────────────────────────── */
.wishly-drop-banner {
    background: var(--w-bg-card);
    border: 1px solid var(--w-border-primary);
    border-radius: var(--w-radius-2xl);
    padding: var(--w-space-6);
    display: flex;
    align-items: center;
    gap: var(--w-space-6);
    margin-bottom: var(--w-space-4);
    overflow: hidden;
    position: relative;
}

.wishly-drop-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--w-gradient-primary);
    opacity: 0.04;
    pointer-events: none;
}

.wishly-drop-banner--upcoming {
    border-color: var(--w-rarity-legendary);
    border-style: dashed;
}

.wishly-drop-banner__image {
    width: 80px;
    height: 80px;
    border-radius: var(--w-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    background: var(--w-bg-tertiary);
}

.wishly-drop-banner__info { flex: 1; min-width: 0; }

.wishly-drop-banner__label {
    font-size: var(--w-text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.wishly-drop-banner__label--live { color: #ef4444; }
.wishly-drop-banner__label--soon { color: var(--w-rarity-legendary); }

.wishly-drop-banner__name {
    font-size: var(--w-text-lg);
    font-weight: 800;
    margin-bottom: 4px;
}

.wishly-drop-banner__rarity { display: inline-block; margin-bottom: 6px; }

.wishly-drop-banner__timer {
    display: flex;
    gap: var(--w-space-3);
    margin-top: var(--w-space-2);
}

.wishly-drop-banner__timer-unit { text-align: center; }

.wishly-drop-banner__timer-value {
    font-size: var(--w-text-xl);
    font-weight: 900;
    color: var(--w-accent);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.wishly-drop-banner__timer-label {
    font-size: 9px;
    color: var(--w-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wishly-drop-banner__action { flex-shrink: 0; }

@media (max-width: 640px) {
    .wishly-drop-banner {
        flex-direction: column;
        text-align: center;
    }
    .wishly-drop-banner__timer { justify-content: center; }
}

/* ── Live Feed Ticker ────────────────────────────── */
.wishly-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
    animation: wishly-live-pulse 2s infinite;
}

@keyframes wishly-live-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
    70%  { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.wishly-ticker {
    border-bottom: 1px solid var(--w-border-primary);
    background: var(--w-bg-secondary);
    padding: var(--w-space-3) 0;
    overflow: hidden;
}

.wishly-ticker__inner {
    display: flex;
    align-items: center;
    gap: var(--w-space-4);
}

.wishly-ticker__label {
    display: flex;
    align-items: center;
    gap: var(--w-space-2);
    font-size: var(--w-text-xs);
    font-weight: 700;
    color: #ef4444;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    flex-shrink: 0;
}

.wishly-ticker__track {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.wishly-ticker__track-inner {
    display: inline-flex;
    gap: var(--w-space-6);
    animation: wishly-ticker-scroll 30s linear infinite;
}

.wishly-ticker__item {
    font-size: var(--w-text-xs);
    color: var(--w-text-secondary);
    white-space: nowrap;
}

.wishly-ticker__item strong {
    color: #c4b5fd;
    font-weight: 600;
}

.wishly-ticker__link {
    font-size: var(--w-text-xs);
    color: var(--w-accent);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.wishly-ticker__link:hover { text-decoration: underline; }

@keyframes wishly-ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .wishly-ticker__link { display: none; }
}
