@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5;
}

.header-bg {
    background-color: #e66f35; /* Deep orange color from image */
    border: 2px solid white;
}

.module-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 1rem; /* 16px */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 1.5rem; /* 24px */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Add smooth transition effects */
    display: block; /* Ensure anchor tag fills the entire card */
    color: #1f2937; /* Default text color */
    text-decoration: none; /* Remove anchor tag underline */
}

.module-card:hover {
    transform: translateY(-5px); /* Float up on hover */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* Deepen shadow */
}

.module-title {
    color: #e66f35; /* Match header banner color */
    font-size: 1.5rem; /* 24px */
    font-weight: 700;
    margin-bottom: 1rem; /* 16px */
}

/* Module 1 special styles - Entire background in teal color, white text */
#fundraising-status-module {
    background-color: rgb(21, 96, 130); /* Teal background */
    color: white;
    padding: 1.5rem; /* Maintain same padding */
}

#fundraising-status-module:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

#fundraising-status-content {
    min-height: 120px; /* 确保模块有一定高度 */
    padding: 0.5rem;
}

/* 表格样式 */
        .fundraising-table {
            width: 100%;
            border-collapse: collapse;
            color: white;
            font-size: 1rem; /* 增大字体 */
            table-layout: auto; /* 自动调整列宽 */
        }

        /* 列宽度控制 */
        .fundraising-table th:nth-child(1),
        .fundraising-table td:nth-child(1) {
            width: calc((100% - 120px) / 3); /* Channel列占剩余宽度的1/3 */
        }

        .fundraising-table th:nth-child(2),
        .fundraising-table td:nth-child(2) {
            width: calc((100% - 120px) / 3); /* Target列占剩余宽度的1/3 */
        }

        .fundraising-table th:nth-child(3),
        .fundraising-table td:nth-child(3) {
            width: calc((100% - 120px) / 3); /* Current列占剩余宽度的1/3 */
        }

        .fundraising-table th:nth-child(4),
        .fundraising-table td:nth-child(4) {
            width: 120px; /* Progress列固定宽度 */
            min-width: 120px;
        }

        /* 为表格容器添加足够的padding，避免悬停放大时被裁剪 */
        .module {
            padding: 20px;
            overflow: visible;
        }.fundraising-table th {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1rem 0.75rem; /* 增大内边距 */
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.95rem; /* 增大表头字体 */
}

.fundraising-table td {
    padding: 1rem 0.75rem; /* 增大内边距 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
    font-size: 0.9rem; /* 增大单元格字体 */
}

        .fundraising-table tr:last-child td {
            border-bottom: none;
        }

        /* GoFundMe行特殊悬停效果 */
        .gofundme-clickable-row {
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
        }

        .gofundme-clickable-row:hover {
            transform: scale(1.05);
            background: rgba(255, 255, 255, 0.15) !important;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: 
                0 10px 25px rgba(0, 0, 0, 0.2),
                0 0 30px rgba(16, 185, 129, 0.3);
            border-radius: 12px !important;
            z-index: 10;
            position: relative;
            overflow: hidden;
        }

        .gofundme-clickable-row:hover td {
            border-bottom: none !important;
            background: transparent !important;
        }

        .gofundme-clickable-row:hover td:first-child {
            border-top-left-radius: 12px;
            border-bottom-left-radius: 12px;
        }

        .gofundme-clickable-row:hover td:last-child {
            border-top-right-radius: 12px;
            border-bottom-right-radius: 12px;
        }

        /* 其他渠道行的悬停效果 */
        .channel-clickable-row {
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
        }

        .channel-clickable-row:hover {
            transform: scale(1.05);
            background: rgba(255, 255, 255, 0.15) !important;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: 
                0 10px 25px rgba(0, 0, 0, 0.2),
                0 0 30px rgba(34, 197, 94, 0.3);
            border-radius: 12px !important;
            z-index: 10;
            position: relative;
            overflow: hidden;
        }

        .channel-clickable-row:hover td {
            border-bottom: none !important;
            background: transparent !important;
        }

        .channel-clickable-row:hover td:first-child {
            border-top-left-radius: 12px;
            border-bottom-left-radius: 12px;
        }

        .channel-clickable-row:hover td:last-child {
            border-top-right-radius: 12px;
            border-bottom-right-radius: 12px;
        }/* 进度条样式 */
.progress-bar {
    position: relative;
    width: 100%;
    height: 1.8rem; /* 增大进度条高度 */
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0.9rem;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.progress-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.progress-container:hover .progress-bar {
    opacity: 0;
}

        .progress-container:hover .donate-btn-overlay {
            opacity: 1;
            pointer-events: auto;
        }

        .progress-container:hover .channel-btn-overlay {
            opacity: 1;
            pointer-events: auto;
        }

        .progress-container:hover .advocacy-btn-overlay {
            opacity: 1;
            pointer-events: auto;
        }.donate-btn-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1.8rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

        .donate-btn-overlay:hover {
            background: linear-gradient(135deg, #059669, #047857);
            transform: scale(1.02);
        }

        .channel-btn-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 1.8rem;
            background: linear-gradient(135deg, #10b981, #059669);
            color: white;
            border: none;
            border-radius: 0.9rem;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .channel-btn-overlay:hover {
            background: linear-gradient(135deg, #059669, #047857);
            transform: scale(1.02);
        }

        .advocacy-btn-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 1.8rem;
            background: linear-gradient(135deg, #10b981, #059669);
            color: white;
            border: none;
            border-radius: 0.9rem;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .advocacy-btn-overlay:hover {
            background: linear-gradient(135deg, #059669, #047857);
            transform: scale(1.02);
        }.progress-fill {
    height: 100%;
    background-color: #4ade80;
    border-radius: 0.9rem;
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem; /* 增大进度文字 */
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.fundraising-status-text {
    font-size: 1.125rem; /* 字体大小 */
    font-weight: 600;
    color: white;
    line-height: 1.5;
    padding: 1rem; /* 内边距 */
}

/* 模块2特殊样式 - 整个背景为蓝绿色，黄色标题，标题左对齐 */
#fundraising-details-module {
    background-color: rgb(21, 96, 130); /* 蓝绿色背景 */
    color: white;
    padding: 1.5rem; /* 保持相同的内边距 */
}

#fundraising-details-module:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

#fundraising-details-module .module-title {
    background-color: rgb(21, 96, 130); /* 保持蓝绿色背景 */
    color: rgb(255, 255, 0); /* 标题字体颜色是亮黄色 */
    text-align: left; /* 标题左对齐 */
    margin-left: -1.5rem; /* 负边距以扩展至卡片边缘 */
    margin-right: -1.5rem; /* 负边距以扩展至卡片边缘 */
    margin-top: -1.5rem; /* 负边距以扩展至卡片边缘 */
    padding: 0.75rem 1.5rem; /* 调整内边距 */
    display: flex; /* 使用 flexbox */
    align-items: flex-end; /* 垂直居下 */
    justify-content: flex-start; /* 水平居左 */
    border-radius: 1rem 1rem 0 0; /* 标题顶部圆角，底部直角 */
    font-size: 1.125rem; /* 保持字体大小 */
    font-weight: 700;
    height: 4rem; /* 固定标题区域高度 */
}

#fundraising-details-content {
    margin-top: 1.5rem; /* 标题与内容之间的间距 */
    min-height: 120px; /* 确保模块有一定高度 */
}

/* 甘特图样式 */
.chart-container {
    padding: 0.5rem;
}

.gantt-chart {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-size: 0.75rem;
}

.chart-header {
    display: flex;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: rgb(255, 255, 0);
}

.stage-header {
    width: 40%;
    padding: 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.timeline-header {
    width: 60%;
    padding: 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.chart-row {
    display: flex;
    margin-bottom: 0.375rem;
    align-items: center;
    min-height: 1.5rem;
}

.stage-name {
    width: 40%;
    padding: 0.25rem;
    color: white;
    font-size: 0.7rem;
    font-weight: 500;
}

.timeline-bar {
    width: 60%;
    height: 1.2rem;
    position: relative;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
}

.bar {
    position: absolute;
    height: 100%;
    border-radius: 0.25rem;
    top: 0;
}

.bar-1 { background-color: #ff6b35; }
.bar-2 { background-color: #f7931e; }
.bar-3 { background-color: #ffcc02; }
.bar-4 { background-color: #37b24d; }
.bar-5 { background-color: #1c7ed6; }

/* 右侧文字内容样式 */
.text-content {
    padding: 0.5rem;
}

.text-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: white;
}

.bullet-point {
    font-weight: 700;
    color: white;
    margin-right: 0.5rem;
    font-size: 0.875rem;
    min-width: 1.5rem;
}

.text-desc {
    font-size: 0.8rem;
    line-height: 1.4;
    font-weight: 400;
}

/* 针对模块3、模块4、模块5、模块6、模块7、模块8、模块9、模块10的特定样式，参考图片进行调整 */
#foundation-module, #bionews-module, #facebook-module, #shop-module, #gofundme-module, #linkedin-module, #linkedin-video-module, #instagram-module {
    background-color: white; /* 标题以外的背景色是白色 */
    color: #1f2937; /* 默认文字颜色 */
}

#foundation-module:hover, #bionews-module:hover, #facebook-module:hover, #shop-module:hover, #gofundme-module:hover, #linkedin-module:hover, #linkedin-video-module:hover, #instagram-module:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

#foundation-module .module-title, #bionews-module .module-title, #facebook-module .module-title, #shop-module .module-title, #gofundme-module .module-title, #linkedin-module .module-title, #linkedin-video-module .module-title, #instagram-module .module-title {
    background-color: rgb(21, 96, 130); /* 标题背景色是蓝绿色 */
    color: rgb(255, 191, 0); /* 标题字体颜色是黄色 */
    text-align: center; /* 标题居中 */
    margin-left: -1.5rem; /* 负边距以扩展至卡片边缘 */
    margin-right: -1.5rem; /* 负边距以扩展至卡片边缘 */
    margin-top: -1.5rem; /* 负边距以扩展至卡片边缘 */
    padding: 0.75rem 1.5rem; /* 调整内边距 */
    display: flex; /* 使用 flexbox */
    align-items: flex-end; /* 垂直居下 */
    justify-content: center; /* 水平居中 */
    border-radius: 1rem 1rem 0 0; /* 标题顶部圆角，底部直角 */
    font-size: 1.125rem; /* 保持字体大小 */
    font-weight: 700;
    height: 4rem; /* 固定标题区域高度 */
}

#foundation-content {
    margin-top: 1.5rem; /* 标题与内容之间的间距 */
}

/* 新增模块内容样式 */
#facebook-content, #linkedin-video-content, #instagram-content {
    margin-top: 1.5rem; /* 标题与内容之间的间距 */
    min-height: 120px; /* 确保模块有一定高度 */
    font-size: 1.125rem; /* 字体大小 */
    font-weight: 500;
}

/* 新增模块内容样式 */
#linkedin-content {
    margin-top: 1.5rem;
}

#foundation-content .foundation-image {
    width: 100%;
    height: 100%;
    min-height: 140px;
    border-radius: 0.5rem; /* 8px */
    object-fit: cover; /* 保持宽高比，裁剪适应容器 */
}

#foundation-content .foundation-details {
    display: flex;
    flex-direction: column;
    text-align: left; /* 文本左对齐 */
    flex: 1;
}

.foundation-text {
    font-size: 1rem;
    color: #1f2937;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.foundation-link {
    color: #e66f35; /* 红色/橙色链接 */
    text-decoration: underline;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}

.foundation-link:hover {
    color: #d55e2b; /* 悬停时稍暗的颜色 */
}

#bionews-content {
    margin-top: 1.5rem; /* 标题与内容之间的间距 */
}

#bionews-content .article-image {
    width: 100%;
    height: auto;
    border-radius: 0.5rem; /* 8px */
    object-fit: contain; /* 显示完整图片 */
}

#bionews-content .article-details {
    display: flex;
    flex-direction: column;
    text-align: left; /* 文本左对齐 */
}

/* GoFundMe模块样式 */
#gofundme-content {
    margin-top: 1.5rem;
}

/* 分享弹窗样式 */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.share-modal.show {
    display: flex;
}

.share-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.share-modal-header {
    padding: 20px 20px 0 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.share-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.share-modal-close:hover {
    background-color: #f5f5f5;
}

.copy-link-section {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.copy-link-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.copy-link-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f8f8f8;
    font-size: 14px;
    color: #666;
}

.copy-link-btn {
    padding: 12px 16px;
    background-color: #02a95c;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.copy-link-btn:hover {
    background-color: #028a4c;
}

.share-options {
    padding: 20px;
}

.share-options-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.share-options-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.share-buttons-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.share-button-item {
    margin-bottom: 8px;
}

.share-button {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
}

.share-button:hover {
    background-color: #f5f5f5;
}

.share-button-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.share-button-text {
    font-size: 14px;
    font-weight: 500;
}

.gofundme-container {
    display: flex;
    gap: 1rem;
    min-height: 200px;
}

.linkedin-container {
    display: flex;
    min-height: 200px;
}

.gofundme-left {
    flex: 2;
    padding-right: 1rem;
}

.gofundme-right {
    flex: 1;
    background-color: #f9f9f9;
    border-radius: 0.5rem;
    padding: 0.75rem; /* 减少内边距 */
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 让内容分布更均匀 */
}

.gofundme-title {
    font-size: 0.875rem; /* 缩小到与其他模块一致 */
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem; /* 减少间距 */
    line-height: 1.3;
}

.gofundme-subtitle {
    font-size: 0.75rem; /* 缩小副标题 */
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 0.75rem; /* 减少间距 */
}

.gofundme-text {
    font-size: 0.75rem; /* 缩小正文 */
    color: #6b7280;
    line-height: 1.4; /* 调整行高 */
    margin-bottom: 0.75rem; /* 减少间距 */
}

.progress-section {
    text-align: center;
    margin-bottom: 1rem; /* 减少间距 */
}

.amount-raised {
    font-size: 1rem; /* 缩小字体 */
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem; /* 减少间距 */
}

.goal-info {
    font-size: 0.75rem; /* 缩小字体 */
    color: #6b7280;
    margin-bottom: 0.75rem; /* 减少间距 */
}

.progress-circle {
    width: 60px; /* 缩小圆环 */
    height: 60px;
    margin: 0 auto 0.75rem; /* 减少间距 */
    position: relative;
}

.donate-buttons {
    margin-bottom: 1rem; /* 减少间距 */
}

.donate-btn {
    width: 100%;
    padding: 0.5rem; /* 减少内边距 */
    margin-bottom: 0.375rem; /* 减少间距 */
    border-radius: 50px; /* 椭圆形圆角 */
    font-weight: 600;
    font-size: 0.75rem; /* 缩小字体 */
    text-decoration: none;
    text-align: center;
    display: block;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.donate-btn-primary {
    background-color: #3c6e38; /* 深绿色，匹配原网站 */
    color: white;
    border: none;
}

.donate-btn-primary:hover {
    background-color: #2d5329;
}

.donate-btn-secondary {
    background-color: #a3d977; /* 浅绿色，匹配原网站 */
    color: #1f2937;
    border: none;
}

.donate-btn-secondary:hover {
    background-color: #8bc653;
}

.donate-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.donor-list {
    font-size: 0.75rem; /* 缩小字体 */
}

.donor-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem; /* 减少间距 */
    padding-bottom: 0.5rem; /* 减少间距 */
    border-bottom: 1px solid #e5e7eb;
}

.donor-avatar {
    width: 24px; /* 缩小头像 */
    height: 24px;
    border-radius: 50%;
    background-color: #d1d5db;
    margin-right: 0.5rem; /* 减少间距 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem; /* 缩小字体 */
    color: #6b7280;
}

.donor-info {
    flex: 1;
}

.donor-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.75rem; /* 缩小字体 */
    margin-bottom: 0.125rem; /* 减少间距 */
}

.donor-amount {
    font-weight: 700;
    color: #1f2937;
    font-size: 0.75rem; /* 缩小字体 */
}

.donor-time {
    color: #6b7280;
    font-size: 0.625rem; /* 缩小字体 */
}

.first-donor-badge {
    background-color: #02a95c;
    color: white;
    font-size: 0.5rem; /* 缩小字体 */
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    margin-left: 0.25rem;
}

.read-more-link {
    color: #e66f35;
    text-decoration: underline;
    font-size: 0.75rem; /* 缩小字体 */
    margin-top: 0.5rem; /* 添加上边距 */
    display: inline-block;
}

/* 商店产品样式 */
.product-item {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-item:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: jelly 0.6s ease-in-out;
}

@keyframes jelly {
    0% { transform: translateY(-4px) scale(1.05); }
    25% { transform: translateY(-4px) scale(1.08) rotate(1deg); }
    50% { transform: translateY(-4px) scale(1.06) rotate(-0.5deg); }
    75% { transform: translateY(-4px) scale(1.07) rotate(0.5deg); }
    100% { transform: translateY(-4px) scale(1.05) rotate(0deg); }
}

.product-image {
    width: 100%;
    height: 140px;
    object-fit: contain;
    object-position: center;
    border-radius: 0.5rem 0.5rem 0 0;
    background-color: #f8f9fa;
    padding: 0.5rem;
}

.product-title {
    font-size: 0.6rem;
    font-weight: 600;
    color: #374151;
    margin: 0.5rem 0.25rem 0.25rem 0.25rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    flex-grow: 1;
}

.product-price {
    font-size: 0.875rem;
    font-weight: 700;
    color: #e66f35;
    margin-bottom: 0.5rem;
    margin-top: auto;
}

/* Shop container styles */
.shop-container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

/* Scroll container styles */
.products-scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f7fafc;
    height: auto;
    position: relative;
    isolation: isolate;
}

.products-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.products-scroll-container::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 3px;
}

.products-scroll-container::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.products-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

.products-wrapper {
    display: flex;
    gap: 1rem;
    min-width: fit-content;
    padding-bottom: 0.5rem;
    height: auto;
    align-items: stretch;
}

.products-wrapper .product-item {
    flex: 0 0 auto;
    width: 150px;
    min-width: 150px;
    height: auto;
    display: flex;
    flex-direction: column;
}

/* Store navigation link styles */
.store-navigation {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    width: 150px;
    height: auto;
    min-height: 200px;
    text-decoration: none;
    color: #374151;
    transition: color 0.3s ease;
}

.store-navigation:hover {
    color: #10b981;
}

.store-navigation:hover .store-nav-line1 {
    color: #10b981;
    transform: translateY(-1px);
}

.store-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    height: 100%;
    width: 100%;
}

.store-nav-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.store-nav-line1 {
    margin-bottom: 0.1rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.store-nav-line2 {
    font-weight: 700;
    font-size: 1rem;
    background: linear-gradient(135deg, #e66f35, #d35400, #c44c00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(230, 111, 53, 0.3);
    letter-spacing: 0.3px;
    position: relative;
}

.store-nav-line2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e66f35, transparent);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.store-navigation:hover .store-nav-line2::after {
    opacity: 1;
}

.store-navigation:hover .store-nav-line2 {
    transform: scale(1.05);
    text-shadow: 0 3px 6px rgba(230, 111, 53, 0.4);
}

/* 移动端样式 */
@media (max-width: 768px) {
    /* 第一个模块表格居中优化 */
    #fundraising-status-content {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1rem;
    }
    
    .fundraising-table {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }
    
    /* 移动端表格列宽调整 */
    .fundraising-table th:nth-child(1),
    .fundraising-table td:nth-child(1) {
        width: calc((100% - 100px) / 3);
    }
    
    .fundraising-table th:nth-child(2),
    .fundraising-table td:nth-child(2) {
        width: calc((100% - 100px) / 3);
    }
    
    .fundraising-table th:nth-child(3),
    .fundraising-table td:nth-child(3) {
        width: calc((100% - 100px) / 3);
    }
    
    .fundraising-table th:nth-child(4),
    .fundraising-table td:nth-child(4) {
        width: 100px;
        min-width: 100px;
    }
    
    /* 移动端字体大小调整 */
    .fundraising-table {
        font-size: 0.875rem;
    }
    
    .fundraising-table th {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .fundraising-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
    }
    
    /* 第二个模块标题移动端居中 */
    #fundraising-details-module .module-title {
        text-align: center !important;
        justify-content: center !important;
    }
    
    /* 第二个模块移动端布局：上方甘特图，下方内容文本 */
    #fundraising-details-content {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    #fundraising-details-content .chart-container {
        width: 100% !important;
    }
    
    #fundraising-details-content .text-content {
        width: 100% !important;
    }
}
