/* 全局样式 */
:root {
    --primary-color: #e63946;
    --primary-dark: #c1121f;
    --primary-light: #ff8fa3;
    --secondary-color: #457b9d;
    --light-color: #f1faee;
    --dark-color: #1d3557;
    --gray-color: #a8a8a8;
    --gray-light: #e5e5e5;
    --success-color: #2a9d8f;
    --warning-color: #e9c46a;
    --danger-color: #e76f51;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --card-border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    font-family: inherit;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

section {
    padding: 5rem 0;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

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

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #3a6985;
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* 头部样式 */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eee;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 15px;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--dark-color);
}

.logo-img {
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 1.2rem 0.5rem;
    position: relative;
    font-size: 1rem;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.nav-profile {
    display: flex;
    align-items: center;
}

.nav-profile i {
    margin-right: 0.3rem;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    z-index: 10;
    top: 100%;
    left: 0;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-content a {
    color: var(--dark-color);
    padding: 0.6rem 1rem;
    text-decoration: none;
    display: block;
    font-weight: 400;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropbtn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropbtn i {
    transform: rotate(180deg);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--dark-color);
    transition: var(--transition);
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
}

/* 英雄区域样式 */
.hero {
    padding: 6rem 0;
    background: linear-gradient(to right, #fff, #f8f9fa);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 90%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* 功能区样式 */
.features {
    background-color: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: #fff;
    border-radius: var(--card-border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    background-color: var(--light-color);
    color: var(--primary-color);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.feature-link {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-link i {
    transition: var(--transition);
}

.feature-link:hover i {
    transform: translateX(5px);
}

/* 快速工具区样式 */
.quick-tools {
    background-color: #f8f9fa;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tool-card {
    background-color: white;
    border-radius: var(--card-border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tool-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.tool-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* 用户故事区样式 */
.testimonials {
    background-color: white;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background-color: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--card-border-radius);
    box-shadow: var(--box-shadow);
    margin: 0 auto;
    max-width: 800px;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.testimonial-author p {
    font-size: 0.9rem;
    margin: 0;
    color: #666;
    font-style: normal;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--gray-light);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* 行动区样式 */
.cta {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.cta .btn-primary:hover {
    background-color: var(--light-color);
}

/* 卡牌模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    position: relative;
    margin: 50px auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 20px;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

/* 卡牌抽取区域 */
.card-draw-area {
    padding: 20px 0;
}

.card-deck {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.card-instruction {
    text-align: center;
    margin: 20px 0;
    font-style: italic;
    color: #666;
}

.card-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.card-result {
    display: none;
}

.card-result.active {
    display: grid;
}

.card-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    width: 140px;
    margin: 0 auto;
    position: relative;
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 内联SVG样式 */
.card-image svg {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.card-image.large-original {
    height: auto;
    width: 100%;
    max-width: 140px;
}

#result-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: relative;
    padding-bottom: 10px;
}

#result-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 1.5px;
}

#result-title.active {
    opacity: 1;
    transform: translateY(0);
}

#result-description {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: center;
    margin-top: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    padding: 0 10px;
}

#result-description.active {
    opacity: 1;
    transform: translateY(0);
}

/* 卡片样式 */
.card {
    width: 120px;
    height: 180px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.6s, opacity 0.3s;
    perspective: 1000px;
    transform-style: preserve-3d;
    position: relative;
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card.selected {
    animation: flip 0.8s forwards;
    pointer-events: none;
}

@keyframes flip {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(180deg);
    }
}

.card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff5f6d, #ffc371);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.card-back::before {
    content: "?";
    font-size: 80px;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card-back::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border: 3px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

/* 五步规划表格样式 */
.five-steps-table-container {
    position: relative;
    background-color: white;
    border-radius: var(--card-border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin: 2rem 0 3rem;
}

.save-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.9rem;
    color: var(--success-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.save-status.visible {
    opacity: 1;
    animation: fade-in-out 2s ease;
}

.five-steps-table {
    display: grid;
    grid-template-rows: auto 1fr;
    grid-gap: 1rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.five-steps-header {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
}

.five-steps-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.five-steps-cell {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    position: relative;
}

.five-steps-row .five-steps-cell {
    background-color: white;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.five-steps-row .five-steps-cell:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.five-steps-row .five-steps-cell textarea {
    width: 100%;
    min-height: 120px;
    border: none;
    resize: vertical;
    padding: 0.5rem;
    font-family: inherit;
    color: var(--dark-color);
    background-color: transparent;
    transition: border 0.3s ease;
}

.five-steps-row .five-steps-cell textarea:focus {
    outline: none;
    box-shadow: none;
}

.five-steps-row .five-steps-cell.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.textarea-hint {
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    right: 0;
    font-size: 0.8rem;
    color: var(--gray-color);
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.five-steps-cell:hover .textarea-hint {
    opacity: 1;
}

.five-steps-footer {
    display: flex;
    margin-bottom: 1.5rem;
}

.five-steps-tag {
    background-color: var(--light-color);
    padding: 0.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.progress-indicator {
    margin: 1.5rem 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background-color: var(--success-color);
    width: 0;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--gray-color);
    text-align: right;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.action-buttons .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@keyframes fade-in-out {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 页脚样式 */
.site-footer {
    background-color: #1d3557;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-about h3::after,
.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-about p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    opacity: 0.8;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    color: white;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-email {
    display: inline-block;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* 响应式样式 */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .feature-grid,
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content p {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        grid-row: 1;
        margin-bottom: 2rem;
    }
    
    .feature-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* 专家诊断系统移动端优化 */
    .category-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .path-card {
        width: 100%;
        min-height: auto;
        padding: 1.2rem;
    }
    
    .question-card {
        padding: 1.2rem;
        margin: 0.5rem 0;
    }
    
    .question-card h3 {
        font-size: 1.2rem;
    }
    
    .question-description {
        font-size: 0.9rem;
    }
    
    .navigation-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }
    
    .nav-button {
        width: 100%;
        padding: 0.8rem;
    }
    
    .progress-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
    }
    
    .main-nav.show {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav li {
        width: 100%;
    }
    
    .main-nav a {
        display: block;
        padding: 1rem 2rem;
    }
    
    .card-result {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .card-deck {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .card-result {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .card-image {
        margin: 0 auto 1.5rem;
    }
    
    .card-meaning {
        padding-top: 0;
    }
}

/* 卡牌结果区域 */
#card-result {
    display: none;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    margin-top: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    border: 1px solid rgba(230, 57, 70, 0.1);
}

#card-result.active {
    opacity: 1;
    transform: translateY(0);
    display: grid;
}

.card-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    width: 140px;
    margin: 0 auto;
    position: relative;
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 内联SVG样式 */
.card-image svg {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.card-image.large-original {
    height: auto;
    width: 100%;
    max-width: 140px;
}

.card-meaning {
    padding-top: 0.5rem;
}

.card-meaning h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.card-meaning h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 1px;
}

.card-meaning h4.active {
    opacity: 1;
    transform: translateY(0);
}

.card-meaning p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s;
    font-size: 1.05rem;
}

.card-meaning p.active {
    opacity: 1;
    transform: translateY(0);
}

.card-actions {
    display: flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease 0.6s, transform 0.5s ease 0.6s;
    margin-top: 1.5rem;
}

.card-actions .btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card-actions .btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.card-actions .btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.card-actions .btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.card-actions .btn-secondary:hover {
    background-color: #3a6985;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.card-actions .btn-outline {
    background-color: transparent;
    border: 2px solid var(--gray-light);
    color: var(--dark-color);
}

.card-actions .btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.card-result.active .card-actions {
    opacity: 1;
    transform: translateY(0);
}

#result-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    position: relative;
    padding-bottom: 10px;
}

#result-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 1.5px;
}

#result-title.active {
    opacity: 1;
    transform: translateY(0);
}

#result-description {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: center;
    margin-top: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    padding: 0 10px;
}

#result-description.active {
    opacity: 1;
    transform: translateY(0);
}
