@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;800&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #050505;
    /* Animated Mesh Gradient Background */
    background-image: 
        radial-gradient(at 0% 0%, rgba(15, 23, 42, 1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(30, 58, 138, 0.3) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(88, 28, 135, 0.2) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(15, 23, 42, 1) 0px, transparent 50%);
    background-attachment: fixed;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-heavy {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* Dissolve Animation (Ürün satıldığında DOM'dan silinirken çalışır) */
.dissolve-out {
    animation: dissolve 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dissolve {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.95) translateY(-10px);
        filter: blur(8px);
    }
    100% {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
        filter: blur(16px);
    }
}

/* Modal Açılış Animasyonu */
#order-modal.active {
    opacity: 1;
    pointer-events: auto;
}
#order-modal.active #modal-content {
    transform: scale(1);
}
