/**
 * Liefde.cards - Nostalgic 90s/2000s Style
 * With Modern Animations & Effects
 */

/* Custom Cursor */
* {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><text y="20" font-size="20">💌</text></svg>'), auto;
}

a, button {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><text y="20" font-size="20">💝</text></svg>'), pointer !important;
}

/* CSS Variables */
:root {
    --primary: #FF1493;
    --secondary: #FFD700;
    --accent: #00CED1;
    --background: #FFF0F5;
    --dark: #4B0082;
    --light: #FFEFD5;
    --gradient-sunset: linear-gradient(135deg, #FF6B9D 0%, #FFC371 50%, #FF5E62 100%);
    --gradient-ocean: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-fire: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow: 0 4px 15px rgba(255, 20, 147, 0.3);
    --shadow-lg: 0 10px 40px rgba(255, 20, 147, 0.4);
    --neon-glow: 0 0 5px #FFD700, 0 0 10px #FFD700, 0 0 20px #FF1493;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', 'Comic Sans MS', cursive, sans-serif;
    background: 
        repeating-linear-gradient(
            45deg,
            #FFE4E1,
            #FFE4E1 10px,
            #FFF0F5 10px,
            #FFF0F5 20px
        ),
        linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    min-height: 100vh;
    color: #4B0082;
    position: relative;
    overflow-x: hidden;
}

/* Animated Background Stars */
body::before {
    content: '✨💫⭐🌟💖💝💕';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 2rem;
    opacity: 0.1;
    letter-spacing: 50px;
    line-height: 100px;
    animation: twinkle 10s infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 14px;
    height: 14px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(45deg, #FFB6C1 25%, #FFC0CB 25%, #FFC0CB 50%, #FFB6C1 50%, #FFB6C1 75%, #FFC0CB 75%);
    background-size: 20px 20px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FF1493, #FF69B4);
    border: 3px ridge #FFD700;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFD700, #FFA500);
    box-shadow: var(--neon-glow);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Navigation */
.main-nav {
    background: linear-gradient(180deg, #FF1493, #C71585);
    border-bottom: 5px ridge #FFD700;
    box-shadow: 0 5px 20px rgba(255, 20, 147, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 
        2px 2px 0 #FF1493,
        4px 4px 0 #C71585,
        0 0 10px #FFD700;
    letter-spacing: 2px;
}

.logo-heart {
    font-size: 2rem;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu li a {
    color: #FFD700;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #FFD700;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #FFD700;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
    z-index: -1;
}

.nav-menu li a:hover::before {
    width: 200px;
    height: 200px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #FF1493;
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: 3px outset #FFD700;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn::before {
    content: '✨';
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s;
}

.btn:hover::before {
    left: 10px;
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(180deg, #FFD700, #FFA500);
    color: #4B0082;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #FFA500, #FFD700);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--neon-glow);
    animation: wiggle 0.5s;
}

@keyframes wiggle {
    0%, 100% { transform: translateY(-3px) rotate(0deg); }
    25% { transform: translateY(-3px) rotate(-3deg); }
    75% { transform: translateY(-3px) rotate(3deg); }
}

.btn-secondary {
    background: linear-gradient(180deg, #FF69B4, #FF1493);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.5);
}

.btn-white {
    background: white;
    color: #FF1493;
    border-color: white;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Pulse Animation for CTA buttons */
.pulse {
    animation: pulse-scale 2s infinite;
}

@keyframes pulse-scale {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Hero Section */
.hero {
    background: 
        linear-gradient(135deg, rgba(255, 20, 147, 0.8), rgba(138, 43, 226, 0.8)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><text x="10" y="50" font-size="40">💝</text><text x="60" y="80" font-size="30">💕</text></svg>');
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px ridge #FFD700;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    color: #FFD700;
    text-shadow: 
        3px 3px 0 #FF1493,
        6px 6px 0 #C71585,
        9px 9px 0 #8B008B,
        0 0 20px #FFD700,
        0 0 40px #FFD700;
    margin-bottom: 1rem;
    animation: glitchText 5s infinite;
    letter-spacing: 3px;
}

@keyframes glitchText {
    0%, 90%, 100% {
        transform: translate(0, 0);
    }
    92% {
        transform: translate(-2px, 2px);
    }
    94% {
        transform: translate(2px, -2px);
    }
    96% {
        transform: translate(-2px, -2px);
    }
    98% {
        transform: translate(2px, 2px);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.hero-note {
    color: #FFD700;
    font-size: 1.125rem;
    font-weight: 600;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    animation: blink-text 3s infinite;
}

@keyframes blink-text {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0.7;
    }
}

.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

@keyframes float-up {
    0% {
        bottom: -10%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        bottom: 110%;
        opacity: 0;
    }
}

/* Sections */
.section-title {
    font-size: 3rem;
    text-align: center;
    color: #FF1493;
    text-shadow: 
        2px 2px 0 #FFD700,
        4px 4px 0 #FFA500,
        0 0 20px #FF1493;
    margin: 3rem 0 2rem;
    letter-spacing: 2px;
}

/* Features Grid */
.features {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #FFF0F5, #FFE4E1);
    border-top: 3px ridge #FFD700;
    border-bottom: 3px groove #FF1493;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border: 5px ridge #FFD700;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '✨';
    position: absolute;
    top: -50px;
    right: -50px;
    font-size: 100px;
    opacity: 0.1;
    transform: rotate(-15deg);
}

.feature-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 15px 40px rgba(255, 20, 147, 0.4);
    border-color: #FF1493;
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: spin-slow 10s linear infinite;
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.feature-card h3 {
    color: #FF1493;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(255, 20, 147, 0.3);
}

.feature-card p {
    color: #4B0082;
    line-height: 1.6;
}

/* Occasions */
.occasions {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #FFE4E1, #FFF0F5, #E6E6FA);
}

.occasions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.occasion-card {
    background: white;
    padding: 2rem;
    border: 4px solid #FFD700;
    border-radius: 50%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.4s;
    cursor: pointer;
}

.occasion-card:hover {
    transform: scale(1.15) rotate(5deg);
    border-color: #FF1493;
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.5);
    background: linear-gradient(135deg, #FFF0F5, #FFE4E1);
}

.occasion-emoji {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: bounce-gentle 2s infinite;
}

@keyframes bounce-gentle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.occasion-card h3 {
    color: #FF1493;
    font-size: 1rem;
    font-weight: 700;
}

/* Pricing */
.pricing {
    padding: 4rem 2rem;
    background: 
        linear-gradient(135deg, rgba(138, 43, 226, 0.9), rgba(75, 0, 130, 0.9)),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.05) 10px, rgba(255, 255, 255, 0.05) 20px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border: 5px groove #FFD700;
    border-radius: 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.pricing-card.featured {
    transform: scale(1.05);
    border-width: 7px;
    border-color: #FF1493;
    box-shadow: 0 0 50px rgba(255, 20, 147, 0.6);
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.pricing-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #4B0082;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
    border: 2px solid #FF1493;
}

.pricing-badge.premium {
    background: linear-gradient(135deg, #FF1493, #C71585);
    color: white;
    animation: rainbow-glow 3s infinite;
}

@keyframes rainbow-glow {
    0%, 100% {
        box-shadow: 0 0 20px #FF1493;
    }
    50% {
        box-shadow: 0 0 30px #FFD700;
    }
}

.pricing-card h3 {
    font-size: 2rem;
    color: #FF1493;
    margin-bottom: 1rem;
}

.pricing-price {
    margin: 2rem 0;
}

.pricing-price .currency {
    font-size: 2rem;
    color: #4B0082;
    vertical-align: super;
}

.pricing-price .amount {
    font-size: 4rem;
    font-weight: 700;
    color: #FF1493;
    text-shadow: 2px 2px 0 #FFD700;
}

.pricing-price .period {
    font-size: 1.5rem;
    color: #666;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem;
    border-bottom: 1px dashed #FFD700;
    color: #4B0082;
    font-weight: 600;
}

.pricing-note {
    margin-top: 1rem;
    color: #666;
    font-size: 0.875rem;
    font-style: italic;
}

/* CTA Section */
.cta {
    padding: 5rem 2rem;
    background: 
        linear-gradient(135deg, #FF1493, #8B008B),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="50" cy="50" r="40" fill="%23FFD700" opacity="0.1"/></svg>');
    text-align: center;
    border-top: 5px ridge #FFD700;
    border-bottom: 5px groove #FFD700;
}

.cta-content h2 {
    font-size: 3rem;
    color: #FFD700;
    text-shadow: 
        2px 2px 0 #FF1493,
        4px 4px 0 #C71585,
        0 0 30px #FFD700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Footer */
.main-footer {
    background: linear-gradient(180deg, #4B0082, #2F0854);
    color: #FFD700;
    padding: 3rem 2rem 1rem;
    border-top: 5px ridge #FFD700;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #FF1493;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #FF1493;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #FFD700;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section ul li a:hover {
    color: white;
    text-shadow: 0 0 10px #FFD700;
    padding-left: 10px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    font-size: 2rem;
    transition: all 0.3s;
}

.footer-social a:hover {
    transform: scale(1.3) rotate(15deg);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px dashed #FFD700;
    color: #DEB887;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: #FFD700;
    text-decoration: none;
    margin: 0 1rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10000;
}

.toast {
    background: white;
    border: 4px solid #FFD700;
    border-radius: 15px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.5s ease-out;
}

.toast.success {
    border-color: #00FF00;
}

.toast.error {
    border-color: #FF0000;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .features-grid,
    .occasions-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Animate on Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Retro Blink */
.blink {
    animation: blink-animation 1s steps(2, start) infinite;
}

@keyframes blink-animation {
    to {
        visibility: hidden;
    }
}
/* Language Switcher Dropdown */
.language-switcher {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 3px ridge #FFD700;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.875rem;
    color: #FFD700;
    font-weight: 600;
}

.language-btn:hover {
    background: #FFD700;
    color: #FF1493;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
}

.current-flag {
    font-size: 1.25rem;
}

.current-lang {
    display: none; /* Hide text on mobile, show flag only */
}

.dropdown-arrow {
    font-size: 0.625rem;
    transition: transform 0.3s ease;
}

.language-switcher:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    background: white;
    border: 4px ridge #FFD700;
    border-radius: 15px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.4);
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: dropdownBounce 0.5s ease-out;
}

@keyframes dropdownBounce {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    60% {
        transform: translateY(5px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.language-dropdown li {
    margin: 0;
}

.language-dropdown li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #4B0082;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    border-radius: 0;
    background: transparent;
}

.language-dropdown li a:hover {
    background: linear-gradient(90deg, #FFE4E1, #FFF0F5);
    color: #FF1493;
    padding-left: 1.5rem;
}

.language-dropdown li a.active {
    background: linear-gradient(90deg, #FFD700, #FFA500);
    color: #4B0082;
    font-weight: 700;
}

.language-dropdown .flag {
    font-size: 1.5rem;
}

.language-dropdown .name {
    flex: 1;
}

.language-dropdown .check {
    margin-left: auto;
    color: #FF1493;
    font-weight: bold;
}

/* User Menu Dropdown */
.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border: 3px ridge #FFD700;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Quicksand', sans-serif;
    color: #FFD700;
    font-weight: 600;
}

.user-btn:hover {
    background: #FFD700;
    color: #FF1493;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #FFD700;
    object-fit: cover;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    background: white;
    border: 4px ridge #FFD700;
    border-radius: 15px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.4);
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: dropdownBounce 0.5s ease-out;
}

.user-dropdown li {
    margin: 0;
}

.user-dropdown li a {
    display: block;
    padding: 0.75rem 1rem;
    color: #4B0082;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    border-radius: 0;
    background: transparent;
    font-weight: 600;
}

.user-dropdown li a:hover {
    background: linear-gradient(90deg, #FFE4E1, #FFF0F5);
    color: #FF1493;
    padding-left: 1.5rem;
}

.user-dropdown .divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    margin: 0.5rem 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 4px;
    background: #FFD700;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px #FFD700;
}

.mobile-menu-toggle:hover span {
    background: white;
    box-shadow: 0 0 10px white;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, #FF1493, #C71585);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        border-bottom: 5px ridge #FFD700;
    }
    
    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu li a {
        width: 100%;
        justify-content: center;
    }
    
    .language-dropdown,
    .user-dropdown {
        position: static;
        box-shadow: none;
        border: 2px solid rgba(255, 255, 255, 0.3);
        margin-top: 0.5rem;
        background: rgba(255, 255, 255, 0.95);
    }
    
    .language-dropdown.active,
    .user-dropdown.active {
        display: block;
    }
    
    .current-lang {
        display: inline; /* Show language name on mobile when dropdown is open */
    }
}

@media (min-width: 769px) {
    .current-lang {
        display: inline; /* Show language name on desktop */
    }
}

/* Fix for overlapping dropdowns */
.language-switcher,
.user-menu {
    z-index: 100;
}

.language-dropdown,
.user-dropdown {
    z-index: 101;
}
