/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    min-height: 100vh;
    padding: 20px;
}

/* 红色印章样式 */
.seal-title {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.seal-text {
    width: 80px;
    height: 80px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    border: 3px solid #dc3545;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
    position: relative;
}

.seal-text::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    border: 2px solid #dc3545;
    border-radius: 50%;
    top: -8px;
    left: -8px;
}

/* 主要内容区域 */
.main-content {
    text-align: center;
    margin-bottom: 30px;
}

.activity-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.activity-description {
    text-align: left;
    margin-bottom: 25px;
}

.activity-description p {
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
}

.benefits-list {
    margin: 20px 0;
}

.benefit-item {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
    padding-left: 5px;
}

.deadline-info {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    font-size: 14px;
    text-align: center;
}

.call-to-action-text {
    font-weight: 600;
    color: #dc3545;
    font-size: 15px;
    text-align: center;
    margin-top: 20px;
}

/* LINE按钮样式 */
.line-button-container {
    display: flex;
    justify-content: center;
    margin: 25px 0;
}

.line-button {
    background: linear-gradient(45deg, #00B900, #00D300);
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 185, 0, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.line-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 185, 0, 0.4);
    background: linear-gradient(45deg, #00D300, #00F500);
}

.line-button:active {
    transform: translateY(0);
}

.line-icon {
    width: 24px;
    height: 24px;
}

/* 书籍展示区域 */
.books-showcase {
    margin: 40px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 15px;
}

.books-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.book-item {
    text-align: center;
}

.book-cover {
    width: 150px;
    height: 210px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.book-cover:hover {
    transform: scale(1.05);
}

/* 详细信息区域 */
.detailed-info {
    text-align: center;
    margin: 30px 0;
}

.detailed-info p {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.highlight-text {
    color: #dc3545;
    font-weight: 600;
    font-size: 15px;
}

.features-list {
    margin: 20px 0;
    text-align: left;
}

.feature-item {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #28a745;
    font-weight: 500;
}

.urgency-text {
    background: linear-gradient(45deg, #fff3cd, #ffeaa7);
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    font-weight: 600;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.final-cta {
    font-weight: 700;
    color: #dc3545;
    font-size: 16px;
    margin: 25px 0;
}

/* 页脚 */
.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 12px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .activity-title {
        font-size: 17px;
    }
    
    .books-container {
        gap: 15px;
    }
    
    .book-cover {
        width: 130px;
        height: 182px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 12px;
    }
    
    .seal-text {
        width: 70px;
        height: 70px;
        font-size: 14px;
    }
    
    .seal-text::before {
        width: 80px;
        height: 80px;
        top: -7px;
        left: -7px;
    }
    
    .activity-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .line-button {
        padding: 12px 30px;
        font-size: 16px;
        width: 90%;
        justify-content: center;
    }
    
    .books-container {
        gap: 15px;
    }
    
    .book-cover {
        width: 120px;
        height: 168px;
    }
    
    .benefit-item,
    .feature-item {
        font-size: 13px;
    }
    
    .deadline-info {
        padding: 12px;
        font-size: 13px;
    }
    
    .urgency-text {
        padding: 12px;
        font-size: 13px;
    }
    
    .detailed-info p {
        font-size: 13px;
    }
    
    .final-cta {
        font-size: 15px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 10px;
    }
    
    .books-container {
        flex-direction: column;
        align-items: center;
    }
    
    .line-button {
        padding: 10px 25px;
        font-size: 15px;
        width: 95%;
    }
    
    .activity-title {
        font-size: 15px;
    }
    
    .book-cover {
        width: 110px;
        height: 154px;
    }
    
    .seal-text {
        width: 65px;
        height: 65px;
        font-size: 13px;
    }
    
    .seal-text::before {
        width: 75px;
        height: 75px;
        top: -6px;
        left: -6px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 320px) {
    .activity-title {
        font-size: 14px;
    }
    
    .line-button {
        font-size: 14px;
        padding: 8px 20px;
    }
    
    .benefit-item,
    .feature-item {
        font-size: 12px;
    }
}

/* 动画效果 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.line-button {
    animation: pulse 2s infinite;
}

.line-button:hover {
    animation: none;
}

/* 特殊效果 */
.benefit-item:hover,
.feature-item:hover {
    color: #dc3545;
    transition: color 0.3s ease;
}

.deadline-info {
    animation: pulse 3s infinite;
}

.urgency-text {
    position: relative;
    overflow: hidden;
}

.urgency-text::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
    100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
}
