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

:root {
    --bg-dark: #0B201A;
    --gold: #D4AF37;
    --gold-dim: rgba(212, 175, 55, 0.4);
    --text-light: #F0FDF4;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow: hidden;
}

.font-royal { font-family: 'Cormorant Garamond', serif; }
.font-sans-modern { font-family: 'Plus Jakarta Sans', sans-serif; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

#gate {
    transition: transform 1.5s cubic-bezier(0.65, 0, 0.35, 1), opacity 1.5s ease;
    will-change: transform, opacity;
}
#gate.open {
    transform: translateY(-100%) scale(0.95);
    opacity: 0;
    pointer-events: none;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-up { opacity: 0; transform: translateY(40px); transition: all 1s ease-out; }
.show-up { opacity: 1; transform: translateY(0); }

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.gift-card-emerald {
    background: linear-gradient(135deg, #D4AF37, #8C7335);
    color: #0B201A; position: relative; overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.input-emerald {
    width: 100%; background: transparent;
    border: none; border-bottom: 1px solid rgba(212, 175, 55, 0.5);
    padding: 12px 0; color: white; outline: none;
    font-family: 'Plus Jakarta Sans', sans-serif; transition: 0.3s;
}
.input-emerald:focus { border-bottom-color: var(--gold); }
.input-emerald::placeholder { color: rgba(255,255,255,0.4); }

.nav-leaf-container {
    position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%) translateY(200%);
    z-index: 50; transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: auto;

    background: rgba(8, 26, 21, 0.6);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 24px; padding: 8px 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex; gap: 4px;
}
.nav-leaf-container.visible { transform: translateX(-50%) translateY(0); }

.nav-leaf {
    position: relative;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: transparent;
}

.nav-leaf i {
    font-size: 1.5rem; color: rgba(255, 255, 255, 0.5);
    transition: 0.3s; z-index: 2;
}

.nav-leaf.active {
    background: #D4AF37;

    border-radius: 20px 4px 20px 4px;
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.nav-leaf.active i {
    color: #0B201A;
    font-weight: bold;
}

.nav-leaf.active::after {
    content: ''; position: absolute;
    width: 2px; height: 60%;
    background: rgba(11, 32, 26, 0.1);
    transform: rotate(45deg);
    border-radius: 10px;
}