.astro-quiz {
    max-width: 400px;
    margin: 20px auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.astro-header {
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.astro-header h2 {
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 700;
}

.astro-header p {
    font-size: 14px;
    opacity: 0.95;
}

.astro-form {
    padding: 25px 20px;
}

.astro-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.astro-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.astro-form input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.astro-form button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.astro-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.astro-form button:active {
    transform: translateY(0);
}

.astro-result-box {
    padding: 30px 20px;
    text-align: center;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.astro-emoji {
    font-size: 60px;
    margin-bottom: 15px;
    display: block;
}

.astro-result-box h3 {
    color: #6366f1;
    font-size: 24px;
    margin-bottom: 12px;
}

.astro-result-box p {
    color: #666;
    font-size: 14px;
    margin: 8px 0;
    line-height: 1.6;
}

.astro-btn-reset {
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    background: white;
    color: #6366f1;
    border: 2px solid #6366f1;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.astro-btn-reset:hover {
    background: #f0f4ff;
}

@media (max-width: 600px) {
    .astro-quiz {
        margin: 10px;
    }
    
    .astro-header h2 {
        font-size: 18px;
    }
}