/* PetFace Horoscope Styles */

.horoscope-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.pet-type-selector {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.pet-type-btn {
    flex: 1;
    max-width: 200px;
    padding: 10px;
    border: 3px solid #e0e0e0;
    border-radius: 15px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.pet-type-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.pet-type-btn.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.pet-type-btn .icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.pet-type-btn .label {
    font-size: 1.1rem;
    font-weight: bold;
}

.birthday-input {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.birthday-input h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.date-input-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.date-input-group select,
.date-input-group input {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
}

.date-input-group select:focus,
.date-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.calculate-btn {
    margin-top: 20px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.calculate-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.result-section {
    display: none;
}

.result-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.zodiac-result {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.zodiac-result .zodiac-icon {
    font-size: 3.5rem;
}

.zodiac-result .zodiac-name {
    font-size: 1.5rem;
    font-weight: bold;
}

.zodiac-result .zodiac-period {
    font-size: 0.9rem;
    opacity: 0.9;
}

.personality-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.personality-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.personality-traits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.trait-tag {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    text-align: center;
    font-weight: 500;
}

.description-text {
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.care-tips {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.care-tips ul {
    margin: 10px 0;
    padding-left: 20px;
}

.care-tips li {
    margin: 8px 0;
    color: var(--text-secondary);
}

.share-section {
    text-align: center;
    margin-top: 30px;
}

.share-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
}

.share-btn:hover {
    background: var(--primary-color);
    color: white;
}

.restart-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #f0f0f0;
    color: var(--text-primary);
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.restart-btn:hover {
    background: #e0e0e0;
}

@media (max-width: 768px) {
    .horoscope-container {
        padding: 15px;
    }

    header h1 {
        font-size: 1.4rem;
    }

    header p {
        font-size: 0.85rem;
    }

    .pet-type-btn {
        max-width: none;
        font-size: 0.85rem;
    }

    .pet-type-btn .icon {
        font-size: 2.5rem;
    }

    .birthday-input h3 {
        font-size: 1.1rem;
    }

    .date-input-group select {
        font-size: 0.85rem;
        padding: 10px 12px;
    }

    .calculate-btn {
        font-size: 0.85rem;
        padding: 12px 30px;
    }

    .zodiac-result {
        padding: 20px 15px;
        gap: 10px;
    }

    .zodiac-result .zodiac-icon {
        font-size: 2.5rem;
    }

    .zodiac-result .zodiac-name {
        font-size: 1.1rem;
    }

    .zodiac-result .zodiac-period {
        font-size: 0.75rem;
    }

    .personality-section {
        padding: 20px;
    }

    .personality-section h3 {
        font-size: 1.1rem;
    }

    .trait-tag {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .description-text {
        font-size: 0.85rem;
        line-height: 1.7;
    }

    .care-tips {
        font-size: 0.85rem;
        padding: 15px;
    }

    .care-tips li {
        font-size: 0.85rem;
    }

    .share-btn {
        font-size: 0.85rem;
        padding: 10px 20px;
    }

    .restart-btn {
        font-size: 0.85rem;
        padding: 10px 20px;
    }
}
