* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #333;
}

.container {
    max-width: 800px;
    width: 100%;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #3498db, #2c3e50);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.notice-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 15px 20px;
    margin: 20px auto 30px;
    max-width: 600px;
    text-align: center;
    color: #856404;
}

.notice-box i {
    margin-right: 8px;
    color: #f39c12;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.qr-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #2c3e50;
}

.card-title i {
    margin-right: 12px;
    color: #3498db;
}

.card-description {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.qr-section {
    margin: 25px 0;
}

.qr-code-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin: 0 auto 20px;
    display: inline-block;
    border: 1px solid #eaeaea;
}

.qr-code {
    width: 220px;
    height: 220px;
    background: #2c3e50;
    border-radius: 8px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

/* 模拟二维码图案 */
.qr-code::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 30% 30%, white 6px, transparent 7px),
        radial-gradient(circle at 70% 30%, white 6px, transparent 7px),
        radial-gradient(circle at 30% 70%, white 6px, transparent 7px),
        linear-gradient(90deg, transparent 49%, white 49%, white 51%, transparent 51%),
        linear-gradient(0deg, transparent 49%, white 49%, white 51%, transparent 51%),
        linear-gradient(90deg, transparent 29%, white 29%, white 71%, transparent 71%),
        linear-gradient(0deg, transparent 29%, white 29%, white 71%, transparent 71%);
    background-size: 100% 100%;
}

.qr-instruction {
    background: #e8f4fc;
    border-radius: 10px;
    padding: 15px;
    font-size: 0.95rem;
    color: #2980b9;
    margin-top: 20px;
    border-left: 4px solid #3498db;
}

.device-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    color: #7f8c8d;
    font-size: 1rem;
}

.device-hint i {
    margin: 0 8px;
    color: #3498db;
}

.action-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.action-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-title i {
    margin-right: 10px;
    color: #e74c3c;
}

.buy-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 20px 40px;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 20px;
    width: 100%;
    max-width: 350px;
    text-decoration: none;
}

.buy-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #c0392b, #a93226);
}

.buy-btn:active {
    transform: translateY(-2px);
}

.btn-description {
    margin-top: 15px;
    text-align: center;
    color: #7f8c8d;
    line-height: 1.6;
    max-width: 350px;
    margin: 0 auto;
}

.guide-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 800px;
    margin-top: 20px;
}

.guide-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-title i {
    margin-right: 12px;
    color: #3498db;
}

.guide-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.step-card {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    border-radius: 12px;
    background: #f8f9fa;
}

.step-card.mobile {
    border-top: 4px solid #3498db;
}

.step-card.pc {
    border-top: 4px solid #e74c3c;
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.step-header i {
    font-size: 1.8rem;
    margin-right: 12px;
}

.step-header.mobile i {
    color: #3498db;
}

.step-header.pc i {
    color: #e74c3c;
}

.step-header h3 {
    font-size: 1.3rem;
    color: #2c3e50;
}

.step-list {
    padding-left: 20px;
    line-height: 1.8;
    color: #555;
}

.step-list li {
    margin-bottom: 8px;
}

.divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: #95a5a6;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ddd;
}

.divider-text {
    padding: 0 20px;
    font-size: 1.1rem;
}

footer {
    text-align: center;
    margin-top: 50px;
    color: #7f8c8d;
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
    width: 100%;
    max-width: 800px;
}

/* 加载动画 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* 响应式设计 */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .container {
        padding: 10px;
    }

    .qr-card,
    .action-section,
    .guide-section {
        padding: 25px 20px;
    }

    .buy-btn {
        padding: 18px 30px;
        font-size: 1.2rem;
    }

    .guide-steps {
        flex-direction: column;
    }
}

/* 成功提示 */
.success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #2ecc71;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
}