/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 导航栏 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 1.8rem;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
}

.nav-links a:hover {
    color: #3498db;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: #3498db;
}

.nav-links a.active::after {
    width: 100%;
}

/* 品牌展示区域 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjZmZmZmZmMTAiPjwvcmVjdD4KPHBhdGggZD0iTTAgNUw1IDBaTTYgNEw0IDZaTS0xIDFMMSAtMVoiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxIj48L3BhdGg+Cjwvc3ZnPg==');
    opacity: 0.1;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* 功能模块 */
.features {
    padding: 80px 0;
    background-color: #fff;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-item {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.feature-item h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-item p {
    color: #666;
    line-height: 1.7;
}

/* 产品展示区域 */
.products {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
}

.products h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #3498db;
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.product-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* 产品页面 */
.products-page {
    padding: 60px 0;
    background-color: #fff;
}

.products-page h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.products-page p {
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.category-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.category-btn:hover {
    border-color: #3498db;
    color: #3498db;
}

.category-btn.active {
    background-color: #3498db;
    color: #fff;
    border-color: #3498db;
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-item {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.product-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.product-item h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-item p {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 15px;
}

/* 产品卡片横向列表布局 */
.product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 20px 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.product-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.product-item h3 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 600;
}

.product-meta-inline {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #666;
}

.product-meta-inline .meta-line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-meta-inline .meta-line b {
    font-weight: 600;
}

.product-meta-inline .price {
    color: #f39c12;
    font-size: 1rem;
}

.product-meta-inline .premium {
    color: #27ae60;
    font-size: 1rem;
}

.product-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-btn {
    padding: 10px 20px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    flex: 1;
    min-width: 120px;
}

.product-btn:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}

.buy-btn {
    padding: 10px 20px;
    background-color: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    flex: 1;
    min-width: 120px;
}

.buy-btn:hover {
    background-color: #c0392b;
    transform: translateY(-1px);
}

/* 邀请页面 */
.invitation-page {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.invitation-page h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.invitation-page p {
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.invitation-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    border: 1px solid #f0f0f0;
}

.invitation-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.invite-code {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

#inviteCode {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    font-family: 'Courier New', monospace;
}

#copyBtn {
    padding: 8px 16px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#copyBtn:hover {
    background-color: #2980b9;
}

.share-options h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-btn:hover {
    border-color: #3498db;
    color: #3498db;
}

.rewards-section {
    margin-bottom: 40px;
}

.rewards-section h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.rewards-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.reward-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid #f0f0f0;
}

.reward-item h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.reward-item p {
    color: #666;
    margin-bottom: 0;
}

.referral-history h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
}

.history-table th,
.history-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.history-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.history-table tr:hover {
    background-color: #f8f9fa;
}

/* 个人中心页面 */
.mine-page {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.mine-page h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 700;
}

.user-profile {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    border: 1px solid #f0f0f0;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #3498db;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 600;
}

.user-info p {
    color: #666;
    margin-bottom: 5px;
}

.edit-profile-btn {
    padding: 10px 20px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.edit-profile-btn:hover {
    background-color: #2980b9;
}

.account-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

.tab-btn {
    padding: 10px 20px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: #3498db;
}

.tab-btn.active {
    color: #3498db;
    border-bottom-color: #3498db;
}

.tab-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.policies-tab h3,
.claims-tab h3,
.payments-tab h3,
.settings-tab h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 600;
}

.policy-list,
.claims-list,
.payment-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.policy-item,
.claim-item,
.payment-item {
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.policy-item:hover,
.claim-item:hover,
.payment-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.policy-header,
.claim-header,
.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.policy-header h4,
.claim-header h4,
.payment-header h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 600;
}

.policy-status,
.claim-status,
.payment-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.policy-status.active {
    background-color: #d4edda;
    color: #155724;
}

.claim-status.processed {
    background-color: #d4edda;
    color: #155724;
}

.claim-status.pending {
    background-color: #fff3cd;
    color: #856404;
}

.payment-status.completed {
    background-color: #d4edda;
    color: #155724;
}

.policy-details,
.claim-details,
.payment-details {
    margin-bottom: 20px;
}

.policy-details p,
.claim-details p,
.payment-details p {
    color: #666;
    margin-bottom: 8px;
}

.policy-btn,
.claim-btn {
    padding: 8px 16px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.policy-btn:hover,
.claim-btn:hover {
    background-color: #2980b9;
}

.settings-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.setting-item {
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    background-color: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.setting-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.setting-item h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 5px;
}

.setting-item p {
    color: #666;
    margin-bottom: 0;
}

.setting-btn {
    padding: 8px 16px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.setting-btn:hover {
    background-color: #2980b9;
}

/* 登录页面 */
.login-page {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.login-page h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 700;
    text-align: center;
}

.login-form {
    background-color: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid #f0f0f0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.login-btn:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}

.login-info {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.login-info p {
    margin-bottom: 8px;
    color: #666;
    font-size: 0.9rem;
}

/* 购买页面 */
.buy-page {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.buy-page h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 700;
}

.buy-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    border: 1px solid #f0f0f0;
}

.buy-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.product-info h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-info p {
    color: #666;
    margin-bottom: 10px;
}

.product-info .price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e74c3c;
    margin-bottom: 0;
}

.payment-methods h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.method-option {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 15px;
    border: 1px solid #f0f0f0;
}

.method-option input[type="radio"] {
    margin-right: 10px;
}

.method-option label {
    font-weight: 500;
    color: #2c3e50;
    margin-right: 10px;
}

.balance-info {
    color: #666;
    font-size: 0.9rem;
    margin-top: 10px;
    margin-left: 23px;
}

.usdt-payment,
.online-payment {
    margin-top: 15px;
    margin-left: 23px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    display: none;
}

.usdt-amount {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 15px;
}

.usdt-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
}

.online-payment select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.buy-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: flex-end;
}

.cancel-btn {
    padding: 12px 24px;
    background-color: #95a5a6;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.cancel-btn:hover {
    background-color: #7f8c8d;
    transform: translateY(-1px);
}

.confirm-btn {
    padding: 12px 24px;
    background-color: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.confirm-btn:hover {
    background-color: #c0392b;
    transform: translateY(-1px);
}

/* 充值页面 */
.recharge-page {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.recharge-page h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 700;
}

.balance-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    border: 1px solid #f0f0f0;
}

.balance-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.balance-amount {
    font-size: 2rem;
    color: #3498db;
    font-weight: 700;
    margin-bottom: 10px;
}

.balance-usdt {
    font-size: 1.1rem;
    color: #666;
}

.recharge-methods h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.method-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
}

.method-card h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.method-card p {
    color: #666;
    margin-bottom: 20px;
}

.usdt-address {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.address-label {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 0;
}

.address-value {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0;
    flex: 1;
    word-break: break-all;
}

.copy-btn {
    padding: 8px 16px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.copy-btn:hover {
    background-color: #2980b9;
}

.usdt-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.usdt-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #666;
}

.recharge-btn {
    padding: 12px 24px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 10px;
}

.recharge-btn:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}

.recharge-history h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
    margin-top: 40px;
}

/* 404页面 */
.error-page {
    padding: 100px 0;
    text-align: center;
    background-color: #f8f9fa;
}

.error-page h1 {
    font-size: 6rem;
    color: #3498db;
    margin-bottom: 20px;
    font-weight: 700;
}

.error-page h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.error-page p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.error-btn {
    padding: 12px 24px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.error-btn:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}

/* =====================================================
   响应式设计 - 全端适配
   ===================================================== */

/* ---- 导航栏汉堡菜单 ---- */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}
.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.nav-hamburger.is-active span:nth-child(1) { transform: translateY(8.75px) rotate(45deg); }
.nav-hamburger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-active span:nth-child(3) { transform: translateY(-8.75px) rotate(-45deg); }

/* 消息红点 */
.nav-badge {
    position: absolute;
    top: -6px;
    right: -12px;
    background: #e74c3c;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 8px;
    min-width: 16px;
    text-align: center;
    line-height: 16px;
}
.nav-logout { color: #e74c3c !important; }

/* ---- 平板（768px ~ 1024px） ---- */
@media (max-width: 1024px) {
    .about-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

/* ---- 手机端通用（768px 以下） ---- */
@media (max-width: 768px) {

    /* 导航栏 */
    .navbar .container {
        flex-wrap: wrap;
        padding: 14px 16px;
        position: relative;
    }
    .logo h1 { font-size: 1.35rem; }
    .nav-hamburger { display: flex; }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 8px 0;
        border-top: 1px solid #eee;
        margin-top: 8px;
    }
    .nav-links.nav-open { display: flex; }
    .nav-links a {
        padding: 12px 4px;
        font-size: 1rem;
        border-bottom: 1px solid #f4f4f4;
        position: relative;
    }
    .nav-links a:last-child { border-bottom: none; }
    .nav-links a::after { display: none; }

    /* 容器内边距 */
    .container { width: 100%; padding: 0 16px; }

    /* Hero */
    .hero { padding: 56px 0 48px; }
    .hero h1 { font-size: 1.9rem; letter-spacing: 1px; }
    .hero p { font-size: 1rem; margin-bottom: 28px; }
    .hero-btn { padding: 10px 22px; margin: 0 4px 8px; font-size: .9rem; }

    /* 功能/特色区 */
    .features { padding: 50px 0; }
    .features .container { grid-template-columns: 1fr; gap: 20px; }
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-item { padding: 28px 20px; }

    /* 产品区 */
    .products { padding: 50px 0; }
    .products h2 { font-size: 1.7rem; margin-bottom: 36px; }
    .product-grid { grid-template-columns: 1fr; gap: 20px; }
    .product-card { padding: 24px 20px; }

    /* 产品列表页（横向卡片变竖向） */
    .product-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 18px 16px;
    }
    .product-meta-inline { flex-wrap: wrap; gap: 10px; }
    .product-actions { width: 100%; }
    .product-btn, .buy-btn { min-width: unset; flex: 1; padding: 11px 12px; font-size: .9rem; }

    /* about 区 */
    .about-section { padding: 50px 0; }
    .about-intro { gap: 30px; }
    .about-text h2 { font-size: 1.7rem; }
    .about-stats { grid-template-columns: 1fr 1fr; gap: 14px; }
    .stat-item { padding: 20px 12px; }
    .stat-num { font-size: 1.6rem; }

    /* 表格响应式 */
    .history-table { font-size: .82rem; }
    .history-table th, .history-table td { padding: 8px 8px; }

    /* 登录/注册 */
    .login-page { padding: 40px 0; }
    .login-page h2 { font-size: 1.7rem; margin-bottom: 24px; }
    .login-form { padding: 28px 20px; margin: 0; }

    /* 充值/提现/兑换/购买 页面通用 */
    .recharge-page, .buy-page { padding: 30px 0 50px; }
    .recharge-page h2, .buy-page h2 { font-size: 1.5rem; margin-bottom: 24px; }
    .buy-actions { flex-direction: column; gap: 12px; }
    .cancel-btn, .confirm-btn { width: 100%; text-align: center; }

    /* profile */
    .profile-header { flex-direction: column; text-align: center; gap: 16px; }
    .account-tabs { flex-wrap: wrap; }
    .tab-btn { padding: 8px 14px; font-size: .88rem; }
    .tab-content { padding: 24px 16px; }

    /* 邀请码 */
    .invite-code { flex-direction: column; align-items: flex-start; gap: 10px; }
    .invite-link-wrap { flex-direction: column; gap: 8px; }

    /* 404 */
    .error-page { padding: 70px 0; }
    .error-page h1 { font-size: 4rem; }
    .error-page h2 { font-size: 1.5rem; }

    /* usdt地址复制区 */
    .usdt-address { flex-direction: column; align-items: flex-start; gap: 10px; }

    /* section-title */
    .section-title { font-size: 1.6rem; }
}

/* ---- 小手机（480px 以下） ---- */
@media (max-width: 480px) {
    .logo h1 { font-size: 1.2rem; }
    .hero { padding: 44px 0 36px; }
    .hero h1 { font-size: 1.6rem; }
    .hero p { font-size: .95rem; }

    .features, .products { padding: 40px 0; }
    .features-grid { gap: 12px; }
    .section-title { font-size: 1.45rem; }
    .products h2 { font-size: 1.5rem; }
    .about-stats { grid-template-columns: 1fr 1fr; }

    .login-form { padding: 20px 16px; }

    .history-table { font-size: .78rem; }
    .history-table th, .history-table td { padding: 6px 6px; }

    .error-page h1 { font-size: 3rem; }

    .invite-code { gap: 8px; }
    #inviteCode { font-size: .95rem; }
    .social-buttons { justify-content: center; }
}

/* === 新增补充样式 === */
.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 15px; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.login-extra { text-align: center; margin-top: 15px; color: #666; }
.login-extra a { color: #3498db; text-decoration: none; }

/* 状态标签 */
.status { display: inline-block; padding: 3px 10px; border-radius: 10px; font-size: .8rem; font-weight: 600; }
.status-pending   { background: #fff3cd; color: #856404; }
.status-completed { background: #d4edda; color: #155724; }
.status-cancelled, .status-failed { background: #f8d7da; color: #721c24; }

/* Hero 按钮 */
.hero-btn { display: inline-block; padding: 12px 28px; background: #fff; color: #667eea; border-radius: 25px; font-weight: 700; text-decoration: none; margin: 0 8px; transition: all .3s; }
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,.2); }
.hero-btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.hero-btn-outline:hover { background: rgba(255,255,255,.15); }

/* 首页产品卡片按钮 */
.product-card-btn { display: inline-block; margin-top: 10px; padding: 9px 20px; background: #3498db; color: #fff; border-radius: 4px; text-decoration: none; font-size: .9rem; transition: background .2s; }
.product-card-btn:hover { background: #2980b9; }

/* 个人中心新样式 */
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.avatar-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg,#667eea,#764ba2); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2.5rem; font-weight: 700; }
.balance-display { margin-left: auto; text-align: center; }
.balance-label { color: #666; font-size: .9rem; }
.balance-value { font-size: 1.8rem; font-weight: 700; color: #3498db; }
.recharge-link-btn { display: inline-block; padding: 6px 16px; background: #27ae60; color: #fff; border-radius: 4px; text-decoration: none; font-size: .85rem; }
.invite-info { margin-top: 15px; padding-top: 15px; border-top: 1px solid #eee; display: flex; align-items: center; gap: 10px; }
.copy-small-btn { padding: 4px 12px; background: #3498db; color: #fff; border: none; border-radius: 4px; cursor: pointer; font-size: .8rem; }

/* 邀请链接 */
.invite-link-wrap { margin-top: 15px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* buy-btn 在产品页为 <a> 标签 */
a.buy-btn { display: inline-block; text-align: center; text-decoration: none; }

/* ===== 首页新增区块样式 ===== */

/* Hero 徽标 */
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* 品牌介绍区域 */
.about-section {
    padding: 80px 0;
    background: #fff;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, #667eea22, #764ba222);
    color: #667eea;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid #667eea33;
}

.about-text h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-lead {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-lead strong {
    color: #667eea;
}

.about-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-cta-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
}

.about-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.45);
}

/* 统计数字区域 */
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.stat-item {
    background: linear-gradient(135deg, #f8f9ff, #f0f2ff);
    border: 1px solid #e0e5ff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(102,126,234,0.15);
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

/* Section 通用标题 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.2rem;
    color: #2c3e50;
    font-weight: 700;
    margin-top: 10px;
}

/* 特色模块 6 列网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 功能图标 */
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

/* 响应式：中等屏幕 */
@media (max-width: 1024px) {
    .about-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .features,
    .products {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .products h2 {
        font-size: 2rem;
    }

    .invite-code {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    #inviteCode {
        font-size: 1rem;
    }

    .social-buttons {
        justify-content: center;
    }

    .history-table {
        font-size: 0.9rem;
    }

    .history-table th,
    .history-table td {
        padding: 10px;
    }

    .login-form {
        padding: 20px;
    }

    .error-page h1 {
        font-size: 3rem;
    }
}