:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a8a4e6;
    --background-color: #f8f9fa;
    --text-color: #2d3436;
    --card-background: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #6c5ce7 0%, #a8a4e6 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.logo {
    margin-bottom: 20px;
    color: var(--primary-color);
}

h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 500;
}

.screen {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screen.active {
    display: block;
    opacity: 1;
}

.welcome-card, .result-card {
    background: var(--card-background);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
    margin: 20px auto;
    transition: transform 0.3s ease;
}

.welcome-card:hover, .result-card:hover {
    transform: translateY(-5px);
}

.welcome-icon {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.test-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.info-icon {
    font-size: 24px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.progress-container {
    margin: 20px 0;
}

.progress-text {
    text-align: center;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-weight: 500;
}

.progress-bar {
    background-color: #e0e0e0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    background: var(--gradient);
    height: 100%;
    width: 0;
    transition: width 0.3s ease;
}

.question-container {
    background: var(--card-background);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    margin-top: 20px;
}

.question-container h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.6;
    padding: 0 20px;
    position: relative;
}

.question-container h2:before {
    content: "Q";
    position: absolute;
    left: -20px;
    top: -10px;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-btn {
    background: none;
    border: 2px solid var(--secondary-color);
    padding: 15px 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.option-btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 0;
}

.option-btn:hover:before {
    opacity: 0.1;
}

.option-btn span {
    position: relative;
    z-index: 1;
}

.option-btn.selected {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    transform: scale(1.02);
}

.option-btn.selected .option-icon {
    transform: scale(1.2);
}

.option-icon {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.result-header {
    margin-bottom: 30px;
    text-align: center;
}

.result-score {
    font-size: 4rem;
    font-weight: 700;
    margin: 20px 0;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.result-analysis, .suggestions {
    text-align: left;
    margin: 30px 0;
    padding: 20px;
    background: rgba(108, 92, 231, 0.05);
    border-radius: 15px;
}

.category-analysis {
    margin-top: 20px;
}

.category-item {
    margin: 20px 0;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-item h5 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.warning {
    color: #e74c3c;
    font-weight: 500;
    margin-top: 10px;
}

.suggestions ul {
    list-style: none;
    padding: 0;
}

.suggestions li {
    margin: 10px 0;
    padding-left: 25px;
    position: relative;
}

.suggestions li:before {
    content: "💡";
    position: absolute;
    left: 0;
}

footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(108, 92, 231, 0.1);
}

.donate-section {
    margin-bottom: 20px;
}

.donate-section p {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.donate-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.donate-icon {
    font-size: 1.2rem;
}

.footer-links {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.separator {
    margin: 0 10px;
    opacity: 0.5;
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: 2rem;
    }

    .welcome-card, .result-card, .question-container {
        padding: 20px;
    }

    .test-info {
        flex-direction: column;
        gap: 15px;
    }

    .options-container {
        gap: 10px;
    }

    .option-btn {
        padding: 12px;
    }

    .result-score {
        font-size: 3rem;
    }

    footer {
        padding: 15px;
    }

    .donate-section p {
        font-size: 1rem;
    }

    .donate-btn {
        padding: 10px 20px;
    }
} 