
:root {
    --primary-color: #34568B;         /* 深蓝色 */
    --secondary-color: #88A9DD;       /* 淡蓝色 */
    --background-color: #F5F8FC;      /* 浅蓝背景 */
    --card-color: #FFFFFF;            /* 纯白色 */
    --accent-color: #C5A5CF;          /* 淡紫色点缀 */
    --border-color: #E8EEF7;          /* 浅蓝边框 */
    --text-primary: #2D4059;          /* 深色文本 */
    --text-secondary: #7C8DA5;        /* 次要文本 */
    --gradient-bg: linear-gradient(135deg, #F5F8FC, #E8EEF7, #F0F4F9);
    --button-gradient: linear-gradient(45deg, #88A9DD, #C5A5CF);
    --hover-gradient: linear-gradient(45deg, #C5A5CF, #88A9DD);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: var(--gradient-bg);
    color: var(--text-primary);
}
.navbar {
    font-weight: bold;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    padding: 40px;
    margin-bottom: 40px;
    background: linear-gradient(45deg, rgba(136, 169, 221, 0.1), rgba(197, 165, 207, 0.1));
    border-radius: 15px;
}

.section {
    background: var(--card-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.test-tips {
    background: linear-gradient(45deg, rgba(136, 169, 221, 0.1), rgba(197, 165, 207, 0.1));
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.question {
    margin-bottom: 30px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option:hover {
    border-color: var(--accent-color);
    background: linear-gradient(45deg, rgba(136, 169, 221, 0.05), rgba(197, 165, 207, 0.05));
    transform: translateX(5px);
}

.option input[type="radio"] {
    margin-right: 15px;
}

.cta-button {
    background: var(--button-gradient);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(136, 169, 221, 0.2);
}

.cta-button:hover {
    background: var(--hover-gradient);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(136, 169, 221, 0.3);
}

.color-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.color-type {
    padding: 30px;
    border-radius: 15px;
    background: var(--card-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(136, 169, 221, 0.1);
}

.color-palette {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.color-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
}

.highlight-result {
    font-size: 1.3em;
    color: var(--accent-color);
    font-weight: bold;
    margin: 20px 0;
}

.color-recommendations {
    margin-top: 30px;
}

.recommendation-section {
    margin-bottom: 30px;
}

.recommendation-section h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.color-item {
    text-align: center;
}

.color-sample {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 auto 10px;
    border: 2px solid var(--border-color);
    transition: transform 0.3s ease;
    box-shadow: 0 3px 10px rgba(136, 169, 221, 0.1);
}

.color-sample:hover {
    transform: scale(1.1);
}

.color-item span {
    font-size: 14px;
    color: var(--text-secondary);
}

.recommendation-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.recommendation-item {
    background: linear-gradient(45deg, rgba(136, 169, 221, 0.05), rgba(197, 165, 207, 0.05));
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.recommendation-item h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 16px;
}

.recommendation-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recommendation-item li {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.recommendation-item li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .color-types {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 10px;
    }

    .section {
        padding: 20px;
    }

    .color-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .recommendation-list {
        grid-template-columns: 1fr;
    }

    .header {
        padding: 20px;
    }

    .recommendation-item {
        padding: 15px;
    }
}

.button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.prev-button {
    background: linear-gradient(45deg, #7C8DA5, #88A9DD);
}

.prev-button:hover {
    background: linear-gradient(45deg, #88A9DD, #7C8DA5);
}

.season-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

.id-photo-container {
    width: 295px;
    height: 413px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.id-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.id-photo:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .id-photo-container {
        width: 236px;  /* 80% of original size */
        height: 330px;
    }
}

.color-info-section {
    margin: 60px auto;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 0 20px;
}

.info-card {
    background: var(--card-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(136, 169, 221, 0.1);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
}

.info-header i {
    font-size: 24px;
    color: var(--accent-color);
    margin-right: 15px;
}

.info-header h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin: 0;
}

.info-content {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
    margin: 0;
}

@media (max-width: 768px) {
    .color-info-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-card {
        padding: 20px;
    }

    .info-header h3 {
        font-size: 18px;
    }

    .info-content {
        font-size: 15px;
    }
}
