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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 第一个页面样式 */
.container {
    width: 100%;
    min-height: 100vh;
    background: url('../img/sc6.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.payment-section {
    background: rgba(255, 255, 255, 0.5);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
}

.payment-section h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.qr-code {
    margin: 20px 0;
}

.qr-code img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 10px;
}

.order-info {
    margin: 20px 0;
    text-align: left;
    padding: 15px;
    border-radius: 10px;
}

.order-info p {
    margin: 8px 0;
    font-size: 16px;
}

.payment-method {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.payment-method label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 16px;
}

.payment-info {
    margin: 20px 0;
    font-size: 16px;
    color: #666;
}

.status-info {
    margin: 15px 0;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-info.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-info.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-info.waiting {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.payment-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
    margin: 5px 0;
}

.payment-btn.secondary {
    background: #6c757d;
}

.payment-btn.secondary:hover {
    background: #5a6268;
}

.payment-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* 第二个页面样式 */
.video-container {
    width: 100%;
    min-height: 100vh;
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.video-wrapper {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
}

.video-wrapper h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.video-player {
    width: 100%;
    height: auto;
    border-radius: 10px;
    max-width: 100%;
}

/* 图片展示区域样式 */
.images-section {
    margin-top: 40px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.images-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

/* 图片网格布局 */
.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* 图片项样式 */
.image-item {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.image-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-item:hover img {
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .payment-section {
        padding: 20px;
    }
    
    .payment-section h1 {
        font-size: 20px;
    }
    
    .qr-code img {
        max-width: 200px;
    }
    
    .payment-btn {
        font-size: 16px;
        padding: 10px 20px;
    }
    
    .video-wrapper {
        padding: 15px;
    }
    
    .video-wrapper h1 {
        font-size: 20px;
    }
    
    /* 图片展示区域响应式样式 */
    .images-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .image-item img {
        height: 120px;
    }
    
    .images-section {
        padding: 15px;
        margin-top: 20px;
    }
    
    .images-section h2 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .container,
    .video-container {
        padding: 0;
    }
    
    .video-wrapper,
    .images-section {
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
        padding: 10px;
    }
    
    .payment-section {
        padding: 15px;
    }
    
    .qr-code img {
        max-width: 180px;
    }
    
    /* 图片展示区域小屏幕响应式样式 */
    .images-grid {
        grid-template-columns: 1fr; /* 移动端一排一个图片 */
        gap: 15px;
    }
    
    .image-item img {
        height: auto; /* 自适应高度，保持图片比例 */
        height: 200px;
    }
    
    .images-section h2 {
        font-size: 16px;
    }
}