/* Font Setup */
.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-sans {
    font-family: 'Inter', sans-serif;
}

.serif-italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

/* Smooth Scroll & Selection */
html {
    scroll-behavior: smooth;
}

::selection {
    background-color: #ffedd5;
    color: #7c2d12;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Optimized High-Performance Card */
.card-glass {
    background: #ffffff;
    border: 1px solid rgba(173, 125, 88, 0.12);
    box-shadow: 0 8px 32px 0 rgba(173, 125, 88, 0.08);
}

/* Premium Components */
.btn-premium {
    background: linear-gradient(135deg, #ad7d58 0%, #d4a373 100%);
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-premium:hover::after {
    left: 100%;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(173, 125, 88, 0.5);
}

.active-gift {
    background-color: #ad7d58 !important;
    color: white !important;
    border-color: #ad7d58 !important;
    box-shadow: 0 4px 12px rgba(173, 125, 88, 0.3);
    transform: scale(1.05);
}

.active-recipient-type {
    border-color: #ad7d58 !important;
    color: #ad7d58 !important;
    background-color: #fff7ed !important;
    font-weight: 600 !important;
}

body {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

body.content-ready {
    opacity: 1;
}
