/* Tarot Site Custom Styles */

/* Glass morphism effect for navbar */
.glass-morphism {
    background: rgba(88, 28, 135, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Ensure menu text is visible */
nav a {
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}

/* Override any conflicting styles from external CSS */
#dream-link, #tarot-link, #horoscope-link, #zodiac-link {
    color: white !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure desktop menu is visible */
.hidden.md\:flex {
    display: none;
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex !important;
    }
}

/* Hamburger menu styles */
#mobile-menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

#mobile-menu-icon span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Mobile menu dropdown */
#mobile-menu.hidden {
    display: none !important;
}

#mobile-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(88, 28, 135, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem;
    z-index: 1000;
}

#mobile-menu a {
    padding: 0.75rem 1rem;
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Desktop language dropdown */
@media (min-width: 768px) {
    .md\:block {
        display: block !important;
    }
}

/* Tarot card animations and effects */
.tarot-card {
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.tarot-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    backface-visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
}

.card-back {
    transform: rotateY(180deg);
}

.card-draw {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.shuffle-animation {
    animation: shuffle 0.6s ease-in-out;
}

@keyframes shuffle {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(15deg) scale(0.9); }
    50% { transform: rotate(-15deg) scale(0.8); }
    75% { transform: rotate(10deg) scale(0.9); }
    100% { transform: rotate(0deg) scale(1); }
}

.card-glow {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.border-gold {
    border-color: #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

/* Twinkle animation for stars */
@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}