/* Zodiac Site Custom Styles */

.zodiac-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.zodiac-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.zodiac-card.selected {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
    border: 2px solid #fbbf24;
}

.oriental-bg {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 25%, #4338ca 50%, #312e81 100%);
}

.floating-animation {
    animation: float 3s ease-in-out infinite;
}

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

.fortune-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.year-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.year-input:focus {
    border-color: #fbbf24;
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.2);
}

/* Glass morphism effect for navbar */
.glass-morphism {
    background: rgba(30, 58, 138, 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(30, 58, 138, 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;
    }
}

/* Lucky color display - default red */
#lucky-color {
    background-color: #dc2626;
}

/* Lucky color based on data attribute */
#lucky-color[data-color="#dc2626"] { background-color: #dc2626; }
#lucky-color[data-color="#f59e0b"] { background-color: #f59e0b; }
#lucky-color[data-color="#10b981"] { background-color: #10b981; }
#lucky-color[data-color="#3b82f6"] { background-color: #3b82f6; }
#lucky-color[data-color="#8b5cf6"] { background-color: #8b5cf6; }
#lucky-color[data-color="#ec4899"] { background-color: #ec4899; }
#lucky-color[data-color="#6b7280"] { background-color: #6b7280; }
#lucky-color[data-color="#000000"] { background-color: #000000; }
#lucky-color[data-color="#ffffff"] { background-color: #ffffff; border: 1px solid #e5e7eb; }