/* 基础样式设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #d32f2f;
    --primary-dark: #b71c1c;
    --primary-light: #ef5350;
    --text-color: #333;
    --white: #fff;
    --gray-light: #f5f5f5;
    --gray: #999;
    --gray-dark: #666;
}

/* 修改前 */
.review-card:hover {
    animation-play-state: paused;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* 修改后 */
.review-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    animation-play-state: paused;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* 移动设备优先 */

/* 小屏手机 (≤360px) */
@media (max-width: 360px) {
    .download-section h1 {
        font-size: 1.8rem;
    }
    .pdf-container {
        height: 300px;
    }
}

/* 平板设备 (≥768px) */
@media (min-width: 768px) {
    .screenshot-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 桌面设备 (≥1024px) */
@media (min-width: 1024px) {
    .screenshot-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 修改前 */
.logo img {
    height: 65px;
}

/* 修改后 */
.logo img {
    height: 5vw;
    max-height: 65px;
    min-height: 40px;
}


/* 水印效果样式 */
.watermark-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* 确保水印不影响页面交互 */
    z-index: 9999; /* 确保水印在最顶层 */
    overflow: hidden;
}

.watermark {
    position: absolute;
    color: rgba(0, 0, 0, 0.05); /* 淡灰色，透明度低 */
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
    user-select: none; /* 禁止选中 */
    transform-origin: center;
}


/* 热门活动板块样式 */
.promotion-section {
    background-color: var(--white);
    padding: 40px 0;
    margin-bottom: 60px;
}

.promotion-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2rem;
}

.promotion-card {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promotion-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #ff9800;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(15deg);
}

.promotion-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.promotion-card p {
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.promotion-details {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 25px;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.detail-item {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
}

.detail-label {
    font-weight: bold;
}

.detail-value {
    color: #fff3e0;
    font-weight: bold;
}

.promotion-btn {
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 12px 40px;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.promotion-btn:hover {
    background-color: var(--gray-light);
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* 响应式设计调整 */
@media (max-width: 768px) {
    .promotion-card h3 {
        font-size: 1.5rem;
    }
    .promotion-details {
        padding: 15px;
    }
    .promotion-btn {
        padding: 10px 30px;
    }
}

