/* ===== NYFTER.HTML SPECIFIC STYLES ===== */
/* Shop-Seite: Produkte, Code-Box, Toast, etc. */

:root {
    /* Nyfter Brand Colors */
    --nyfter-purple: #a855f7;
    --nyfter-purple-dark: #7c3aed;
    --nyfter-pink: #ec4899;
    --nyfter-pink-dark: #db2777;
    --nyfter-cyan: #06b6d4;

    /* Glass Effects */
    --glass-bg: rgba(17, 10, 32, 0.75);
    --glass-bg-light: rgba(168, 85, 247, 0.08);
    --glass-border: rgba(168, 85, 247, 0.25);
    --glass-border-hover: rgba(168, 85, 247, 0.5);
}

/* ===== BASE BODY STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0015;
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===== NYFTER BACKGROUND ===== */
.nyfter-bg {
    position: fixed;
    inset: 0;
    z-index: -3;
    background: linear-gradient(135deg, #0a0015 0%, #050510 40%, #10051a 100%);
    overflow: hidden;
}

/* Animated Grid */
.nyfter-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(168, 85, 247, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.06) 1px, transparent 1px);
    background-size: 50px 50px;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Gradient Orbs */
.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    pointer-events: none;
    z-index: -2;
}

.orb-purple {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--nyfter-purple), transparent 70%);
    top: -200px;
    left: -150px;
    animation: orbFloat1 20s ease-in-out infinite;
}

.orb-pink {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--nyfter-pink), transparent 70%);
    bottom: -200px;
    right: -150px;
    animation: orbFloat2 25s ease-in-out infinite;
}

.orb-cyan {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--nyfter-cyan), transparent 70%);
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    animation: orbFloat3 18s ease-in-out infinite;
    opacity: 0.2;
}

@keyframes orbFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(80px, 60px) scale(1.15);
    }

    66% {
        transform: translate(-40px, 80px) scale(0.9);
    }
}

@keyframes orbFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-100px, -80px) scale(1.2);
    }
}

@keyframes orbFloat3 {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.2;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.35;
    }
}

/* ===== PARTICLE CANVAS ===== */
#particle-canvas {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

/* ===== GLASSMORPHISM ===== */
.glass {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.glass-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-hover:hover {
    border-color: var(--glass-border-hover);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(168, 85, 247, 0.15);
    transform: translateY(-6px);
}

/* ===== HERO BANNER ===== */
.hero-banner {
    background: linear-gradient(135deg,
            rgba(168, 85, 247, 0.2) 0%,
            rgba(236, 72, 153, 0.15) 50%,
            rgba(6, 182, 212, 0.1) 100%);
    border: 1px solid rgba(168, 85, 247, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    animation: heroShine 4s ease-in-out infinite;
}

@keyframes heroShine {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(50%);
    }
}

/* ===== DISCOUNT CODE BOX ===== */
.code-box {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(168, 85, 247, 0.1));
    border: 2px solid var(--nyfter-purple);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.code-box::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, var(--nyfter-purple), var(--nyfter-pink), var(--nyfter-purple));
    background-size: 200% 100%;
    animation: codeGlow 3s linear infinite;
    z-index: -1;
    border-radius: 18px;
    opacity: 0.5;
}

@keyframes codeGlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.code-text {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    background: linear-gradient(135deg, var(--nyfter-purple), var(--nyfter-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: 2px;
}

/* ===== COPY BUTTON ===== */
.copy-btn {
    background: linear-gradient(135deg, var(--nyfter-purple), var(--nyfter-pink));
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.copy-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--nyfter-pink), var(--nyfter-purple));
    opacity: 0;
    transition: opacity 0.3s;
}

.copy-btn:hover::before {
    opacity: 1;
}

.copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
}

.copy-btn span {
    position: relative;
    z-index: 1;
}

.copy-btn.copied {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
}

/* ===== TOAST NOTIFICATION ===== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, var(--nyfter-purple), var(--nyfter-pink));
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 700;
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.5);
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ===== STAT CARDS ===== */
.stat-card {
    background: var(--glass-bg-light);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--nyfter-purple), var(--nyfter-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-top: 4px;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--nyfter-purple), var(--nyfter-pink), var(--nyfter-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--glass-border-hover);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(168, 85, 247, 0.12);
}

.product-image-wrap {
    position: relative;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(236, 72, 153, 0.04));
    overflow: hidden;
}

.product-image-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 100%, rgba(168, 85, 247, 0.3), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.product-card:hover .product-image-wrap::before {
    opacity: 1;
}

.product-image {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image {
    transform: scale(1.1) translateY(-5px);
}

.category-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(168, 85, 247, 0.9);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.bestseller-badge {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #000;
}

/* ===== CTA BUTTONS ===== */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--nyfter-purple), var(--nyfter-pink));
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--nyfter-pink), var(--nyfter-purple));
    opacity: 0;
    transition: opacity 0.3s;
}

.cta-btn:hover::before {
    opacity: 1;
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 15px 30px rgba(168, 85, 247, 0.35),
        0 0 40px rgba(236, 72, 153, 0.2);
}

.cta-btn span {
    position: relative;
    z-index: 1;
}

.cta-btn .arrow {
    transition: transform 0.3s;
}

.cta-btn:hover .arrow {
    transform: translateX(5px);
}

/* ===== SMALL COPY BUTTON ===== */
.copy-sm {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--nyfter-purple);
    cursor: pointer;
    transition: all 0.3s;
}

.copy-sm:hover {
    background: rgba(168, 85, 247, 0.3);
    border-color: var(--nyfter-purple);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.copy-sm.copied {
    background: rgba(34, 197, 94, 0.3) !important;
    border-color: #22c55e !important;
    color: #22c55e !important;
}

/* ===== BACK BUTTON ===== */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 12px 20px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.back-btn:hover {
    background: rgba(168, 85, 247, 0.15);
    border-color: var(--nyfter-purple);
    transform: translateX(-5px);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.25);
}

.back-btn .arrow {
    transition: transform 0.3s;
}

.back-btn:hover .arrow {
    transform: translateX(-3px);
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 16, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(168, 85, 247, 0.2);
    border-top-color: var(--nyfter-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== NEON TEXT ===== */
.neon-text {
    text-shadow:
        0 0 10px rgba(168, 85, 247, 0.8),
        0 0 30px rgba(168, 85, 247, 0.5),
        0 0 50px rgba(168, 85, 247, 0.3);
}

/* ===== SECTION TITLE ===== */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--nyfter-purple), var(--nyfter-pink));
    border-radius: 2px;
}

/* ===== FLOATING ICONS ===== */
.floating-icons {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.float-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.08;
    animation: floatIcon 25s ease-in-out infinite;
}

/* Float Icon Positions */
.float-icon-1 {
    top: 8%;
    left: 5%;
    animation-delay: 0s;
}

.float-icon-2 {
    top: 18%;
    right: 8%;
    animation-delay: 3s;
}

.float-icon-3 {
    top: 35%;
    left: 3%;
    animation-delay: 5s;
}

.float-icon-4 {
    top: 55%;
    right: 4%;
    animation-delay: 2s;
}

.float-icon-5 {
    top: 72%;
    left: 7%;
    animation-delay: 4s;
}

.float-icon-6 {
    top: 85%;
    right: 10%;
    animation-delay: 1s;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-40px) rotate(8deg);
    }

    50% {
        transform: translateY(-20px) rotate(-5deg);
    }

    75% {
        transform: translateY(-50px) rotate(10deg);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .product-card:hover {
        transform: translateY(-5px);
    }

    .hero-banner {
        text-align: center;
    }

    .stat-card {
        padding: 16px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .float-icon {
        font-size: 1.5rem;
        opacity: 0.05;
    }
}