/* 活动模态窗口样式 */
.activity-modal-content {
    max-width: min(95vw, 800px);
    width: 90vw;
    box-sizing: border-box;
    margin: 0 auto;
}

/* 活动模态窗口可滚动内容区域 */
.activity-scrollable-content {
    max-height: 75vh;
    min-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.activity-intro {
    text-align: center;
    margin-bottom: 30px;
}

.activity-highlight {
    font-size: 18px;
    font-weight: 600;
    color: #10a37f;
    margin: 0;
    padding: 15px;
    background: linear-gradient(135deg, rgba(16, 163, 127, 0.1), rgba(16, 163, 127, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(16, 163, 127, 0.2);
}

.activity-item {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fafafa;
}

.activity-title {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #10a37f;
}

.activity-steps {
    margin-bottom: 20px;
}

.activity-steps ol {
    margin: 0;
    padding-left: 20px;
}

.activity-steps li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #374151;
}

.copy-text {
    color: #6b7280;
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 5px;
    font-size: 14px;
    border-left: 3px solid #10a37f;
}

.qr-code-container {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.qr-code {
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.activity-qr-code {
    width: auto;
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.qr-label {
    margin: 12px 0 0 0;
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.activity-notice {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #fef3c7, #fef3c7);
    border: 1px solid #f59e0b;
    border-radius: 12px;
}

.activity-notice p {
    margin: 0 0 10px 0;
    color: #92400e;
    font-weight: 600;
}

.activity-notice ul {
    margin: 0;
    padding-left: 20px;
}

.activity-notice li {
    color: #92400e;
    margin-bottom: 5px;
    line-height: 1.5;
}

/* 活动入口按钮样式 */
.activity-entry-btn {
    background: linear-gradient(135deg, #10a37f, #059669);
    border: none;
    color: white;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(16, 163, 127, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.activity-entry-btn:hover {
    background: linear-gradient(135deg, #059669, #10a37f);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 163, 127, 0.4);
}

.activity-entry-btn i {
    font-size: 16px;
}


/* 充值模态窗口中的活动卡片样式 */
.amount-card.activity-card {
    background: linear-gradient(135deg, #10a37f 0%, #059669 100%);
    color: white;
    border: 2px solid #10a37f;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.amount-card.activity-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #10a37f, #059669, #10a37f);
    z-index: -1;
    border-radius: inherit;
    animation: borderGlow 2s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
    }
}

.amount-card.activity-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 163, 127, 0.4);
    background: linear-gradient(135deg, #059669 0%, #10a37f 100%);
}

.activity-icon {
    font-size: 24px;
    margin-bottom: 8px;
    color: #fff;
}

.activity-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff;
}

.activity-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* 点数系统模态窗口样式 */
.points-modal-content {
    max-width: 800px;
    width: 90vw;
}

.points-scrollable-content {
    max-height: 80vh;
    min-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}

.points-history-modal-content {
    max-width: 900px;
    width: 90vw;
}

.points-history-scrollable-content {
    max-height: 75vh;
    min-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

/* 响应式设计 - 移除不必要的!important */
@media (max-width: 768px) {
    .modal-overlay .activity-modal-content {
        width: 90vw;
        max-width: 90vw;
        max-height: 90vh;
        margin: 5vw auto;
        left: 0;
        right: 0;
        transform: none;
        position: relative;
    }
    
    .activity-scrollable-content {
        max-height: 70vh;
        min-height: 400px;
    }
    
    .modal-overlay .points-modal-content {
        width: 90vw;
        max-width: 90vw;
        margin: 5vw auto;
        left: 0;
        right: 0;
        transform: none;
        position: relative;
    }
    
    .points-scrollable-content {
        max-height: 75vh;
        min-height: 400px;
    }
    
    .modal-overlay .points-history-modal-content {
        width: 90vw;
        max-width: 90vw;
        margin: 5vw auto;
        left: 0;
        right: 0;
        transform: none;
        position: relative;
    }
    
    .points-history-scrollable-content {
        max-height: 70vh;
        min-height: 400px;
    }
    
    .activity-content {
        padding: 15px 20px;
    }
    
    .activity-item {
        padding: 15px;
    }
    
    .qr-code {
        max-width: 350px;
    }
    
    .activity-qr-code {
        max-width: 90%;
    }
    
    .copy-text {
        font-size: 14px;
        padding: 6px 10px;
    }
    
    .nav-activity-btn {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .activity-entry-btn {
        padding: 8px 14px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .activity-steps ol {
        padding-left: 15px;
    }
    
    .activity-notice {
        padding: 15px;
    }
    
    .qr-code {
        max-width: 300px;
    }
    
    .activity-qr-code {
        max-width: 85%;
    }
    
    .activity-scrollable-content {
        max-height: 65vh;
        min-height: 300px;
    }
    
    .points-scrollable-content {
        max-height: 70vh;
        min-height: 300px;
    }
    
    .points-history-scrollable-content {
        max-height: 65vh;
        min-height: 300px;
    }
}