* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
}

.container {
    width: 90%;
    max-width: 600px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 2rem auto;
}

.screen {
    display: none;
    text-align: center;
}

.screen.active {
    display: block;
}

h1 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.intro {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #eee;
    border-radius: 5px;
    margin-bottom: 2rem;
}

.progress {
    height: 100%;
    background: #3498db;
    border-radius: 5px;
    transition: width 0.3s ease;
}

.question-container {
    margin: 2rem 0;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.option-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-btn:hover {
    background: #e9ecef;
    border-color: #3498db;
}

.result-container {
    margin: 2rem 0;
}

.animal-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
}

.animal-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.traits {
    text-align: left;
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.traits ul {
    list-style: none;
    margin-top: 1rem;
}

.traits li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.traits li::before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
}

.type-intro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.type-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.type-card:hover {
    transform: translateY(-5px);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.type-icon {
    width: 100%;
    height: 100%;
    color: #2c3e50;
}

.type-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.type-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.donate-container {
    margin-top: 2rem;
    text-align: center;
}

.donate-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #ff6b6b;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(255, 107, 107, 0.3);
}

.donate-btn:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.4);
}

.donate-text {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.footer {
    margin-top: 3rem;
    padding: 1rem;
    text-align: center;
    color: #666;
    font-size: 0.8rem;
    border-top: 1px solid #eee;
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
        margin: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .options {
        gap: 0.5rem;
    }

    .option-btn {
        padding: 0.8rem;
    }

    .type-intro {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .donate-container {
        margin-top: 1.5rem;
    }
    
    .donate-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
} 