/* =============================================
 * 狂斩八荒 - 充值中心样式
 * ============================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: #1a1a2e;
    color: #e0e0e0;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== 导航 ===== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #333;
}

.logo {
    font-size: 24px;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav a {
    color: #aaa;
    text-decoration: none;
    margin-left: 20px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav a:hover, .nav a.active {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

/* ===== 横幅 ===== */
.banner {
    background: linear-gradient(135deg, #2d1b69, #1a1a2e, #4a1942);
    border-radius: 10px;
    padding: 60px 30px;
    margin: 20px 0;
    text-align: center;
    border: 1px solid #333;
}

.banner h2 {
    font-size: 42px;
    color: #ffd700;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.slogan {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 25px;
}

/* ===== 按钮 ===== */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #1a1a2e;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 35px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.btn-download {
    display: inline-block;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 12px 35px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    margin-left: 15px;
    transition: all 0.3s;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
}

.btn-large {
    font-size: 18px;
    padding: 15px 50px;
}

/* ===== 区块 ===== */
.section {
    padding: 30px 0;
}

.section-title {
    font-size: 22px;
    color: #ffd700;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 3px solid #ffd700;
}

/* ===== 介绍网格 ===== */
.intro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.intro-item {
    background: #16213e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.intro-item:hover {
    transform: translateY(-3px);
    border-color: #ffd700;
}

.intro-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.intro-item h4 {
    color: #ffd700;
    margin-bottom: 8px;
}

.intro-item p {
    font-size: 13px;
    color: #aaa;
    line-height: 1.5;
}

/* ===== 信息框 ===== */
.info-box {
    background: #16213e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 20px;
}

.info-box h4 {
    color: #ffd700;
    margin-bottom: 12px;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box li {
    padding: 6px 0;
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
}

.info-box li::before {
    content: "•";
    color: #ffd700;
    margin-right: 8px;
}

/* ===== 表单 ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #ccc;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: #16213e;
    border: 1px solid #444;
    border-radius: 6px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #ffd700;
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #888;
}

/* ===== 充值档位网格 ===== */
.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.amount-item {
    cursor: pointer;
}

.amount-item input[type="radio"] {
    display: none;
}

.amount-card {
    background: #16213e;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 18px 10px;
    text-align: center;
    transition: all 0.3s;
}

.amount-item input:checked + .amount-card {
    border-color: #ffd700;
    background: #1f2d50;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.amount-card:hover {
    border-color: #666;
}

.amount-card .yuanbao {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 3px;
}

.amount-card .bonus {
    display: block;
    font-size: 11px;
    color: #4caf50;
    margin-bottom: 3px;
}

.amount-card .price {
    display: block;
    font-size: 14px;
    color: #ff6b6b;
    font-weight: bold;
}

/* ===== 二维码 ===== */
.qrcode-box {
    padding: 30px;
}

.qrcode-img {
    max-width: 250px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.pay-info {
    font-size: 15px;
    margin: 8px 0;
    color: #ccc;
}

.pay-tip {
    font-size: 13px;
    color: #888;
    margin: 5px 0;
}

/* ===== 成功页 ===== */
.success-box {
    padding: 50px 20px;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.success-box h2 {
    color: #4caf50;
    margin-bottom: 15px;
}

.success-box p {
    font-size: 15px;
    color: #ccc;
    margin-bottom: 8px;
}

/* ===== 底部 ===== */
.footer {
    padding: 30px 0;
    border-top: 1px solid #333;
    text-align: center;
    margin-top: 30px;
}

.footer p {
    font-size: 13px;
    color: #888;
    margin: 4px 0;
}

.copyright {
    margin-top: 10px !important;
    font-size: 12px !important;
    color: #555 !important;
}

/* ===== 通用 ===== */
.center {
    text-align: center;
}

/* ===== 手机适配 ===== */
@media (max-width: 600px) {
    .banner {
        padding: 40px 20px;
    }
    .banner h2 {
        font-size: 28px;
    }
    .intro-grid {
        grid-template-columns: 1fr;
    }
    .amount-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .header {
        flex-direction: column;
        gap: 10px;
    }
    .nav a {
        margin-left: 10px;
    }
}
