/* Astrology Generator Styles */

/* Cosmic Background */
.astrology-container {
    min-height: 100vh;
    background: linear-gradient(180deg, #0a0a1a 0%, #1a0a2e 50%, #0a1a2e 100%);
    position: relative;
    overflow: hidden;
}

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

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

.star:nth-child(odd) {
    animation-delay: 1s;
}

.star:nth-child(3n) {
    animation-delay: 2s;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* Main Content */
.astrology-content {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

.astrology-header {
    text-align: center;
    margin-bottom: 3rem;
}

.astrology-header h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #9b59b6, #3498db, #9b59b6);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.astrology-header .subtitle {
    color: #a0a0c0;
    font-size: 1.1rem;
}

/* Moon Phase Display */
.moon-phase-display {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.moon-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 20px rgba(255, 255, 200, 0.5));
}

.moon-phase-name {
    color: #e0e0ff;
    font-size: 1.2rem;
    font-weight: 500;
}

.moon-influence {
    color: #8080a0;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Zodiac Display */
.zodiac-display {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.2), rgba(52, 152, 219, 0.2));
    border-radius: 20px;
    border: 2px solid rgba(155, 89, 182, 0.3);
    margin: 1.5rem 0;
}

.zodiac-symbol {
    font-size: 5rem;
    display: block;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 30px rgba(155, 89, 182, 0.6));
}

.zodiac-name {
    font-size: 1.8rem;
    color: #e0e0ff;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.zodiac-dates {
    color: #8080a0;
    font-size: 0.9rem;
}

.zodiac-element {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.element-fire { background: rgba(255, 87, 34, 0.3); color: #ff7043; }
.element-earth { background: rgba(121, 85, 72, 0.3); color: #a1887f; }
.element-air { background: rgba(158, 158, 158, 0.3); color: #bdbdbd; }
.element-water { background: rgba(33, 150, 243, 0.3); color: #64b5f6; }

/* Birth Date Input */
.birth-date-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.birth-date-card label {
    color: #c0c0e0;
    font-size: 1.1rem;
}

.birth-date-card input[type="date"] {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(155, 89, 182, 0.4);
    color: #e0e0ff;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.birth-date-card input[type="date"]:focus {
    border-color: #9b59b6;
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.3);
    outline: none;
}

/* Number Count Selector */
.count-selector {
    margin: 1.5rem 0;
}

.count-selector label {
    color: #c0c0e0;
}

.count-btn-group .btn-check:checked + .btn {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    border-color: #9b59b6;
    box-shadow: 0 0 15px rgba(155, 89, 182, 0.5);
}

.count-btn-group .btn {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #c0c0e0;
}

/* Generate Button */
.generate-btn {
    background: linear-gradient(135deg, #9b59b6, #3498db);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 25px rgba(155, 89, 182, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.generate-btn:hover::before {
    left: 100%;
}

.generate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(155, 89, 182, 0.5);
}

.generate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Lucky Numbers Display */
.lucky-numbers-container {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.2), rgba(52, 152, 219, 0.2));
    border-radius: 25px;
    padding: 2rem;
    margin-top: 2rem;
    border: 2px solid rgba(155, 89, 182, 0.3);
    text-align: center;
}

.lucky-numbers-container h3 {
    color: #e0e0ff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.lucky-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.lucky-number {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: bold;
    background: linear-gradient(145deg, #9b59b6, #6c3483);
    color: white;
    box-shadow: 0 4px 20px rgba(155, 89, 182, 0.5);
    opacity: 0;
    transform: scale(0);
}

.lucky-number.revealed {
    animation: cosmicReveal 0.6s ease forwards;
}

@keyframes cosmicReveal {
    0% { 
        opacity: 0; 
        transform: scale(0) rotate(-180deg); 
        filter: blur(10px);
    }
    50% { 
        transform: scale(1.3) rotate(0deg); 
        filter: blur(0);
    }
    100% { 
        opacity: 1; 
        transform: scale(1) rotate(0deg); 
    }
}

/* Cosmic Glow Effect */
.cosmic-glow {
    animation: cosmicPulse 2s ease-in-out infinite;
}

@keyframes cosmicPulse {
    0%, 100% { 
        box-shadow: 0 4px 20px rgba(155, 89, 182, 0.5);
    }
    50% { 
        box-shadow: 0 4px 40px rgba(155, 89, 182, 0.8), 0 0 60px rgba(52, 152, 219, 0.4);
    }
}

/* Numerology Explanation */
.numerology-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.numerology-card h5 {
    color: #9b59b6;
    margin-bottom: 1rem;
}

.numerology-card p {
    color: #a0a0c0;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.numerology-card .life-path-number {
    font-size: 2rem;
    font-weight: bold;
    color: #3498db;
}

/* Action Buttons */
.astrology-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.astrology-actions .btn {
    min-width: 140px;
    border-radius: 25px;
}

/* Responsive */
@media (max-width: 576px) {
    .astrology-header h1 {
        font-size: 1.8rem;
    }
    
    .zodiac-symbol {
        font-size: 4rem;
    }
    
    .lucky-number {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .generate-btn {
        padding: 0.875rem 2rem;
        font-size: 1.1rem;
    }
}
