/* ==================== 基础样式重置 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6c5ce7;
    --primary-dark: #5b4cdb;
    --secondary-color: #00cec9;
    --accent-color: #fd79a8;
    --bg-dark: #0f0f1a;
    --bg-card: #1a1a2e;
    --bg-hover: #252545;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6c6c80;
    --border-color: #2d2d44;
    --gradient-primary: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    --gradient-secondary: linear-gradient(135deg, #00cec9 0%, #81ecec 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    padding-bottom: 70px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 按钮样式 ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-add-cart {
    background: var(--bg-hover);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    flex: 1;
}

.btn-add-cart:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-view {
    background: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.btn-view:hover {
    background: var(--secondary-color);
    color: var(--bg-dark);
}

.btn-add-cart-lg {
    background: var(--gradient-primary);
    color: white;
    padding: 16px 40px;
    font-size: 16px;
    flex: 1;
}

.btn-buy-now {
    background: var(--gradient-secondary);
    color: var(--bg-dark);
    padding: 16px 40px;
    font-size: 16px;
    flex: 1;
}

.btn-checkout {
    background: var(--gradient-primary);
    color: white;
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

/* ==================== 头部导航 ==================== */
.header {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.search-btn,
.cart-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 18px;
    position: relative;
    transition: all 0.3s;
}

.search-btn:hover,
.cart-btn:hover {
    background: var(--bg-hover);
    border-color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== Banner轮播 ==================== */
.hero-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner-slider {
    height: 100%;
}

.banner-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s;
}

.banner-slide.active {
    opacity: 1;
}

.banner-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.banner-content {
    max-width: 600px;
    padding: 0 20px;
}

.banner-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-content p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

/* ==================== 通用标题 ==================== */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

/* ==================== 商品分类 ==================== */
.categories {
    padding: 80px 0;
    background: var(--bg-card);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.category-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ==================== 商品列表 ==================== */
.products {
    padding: 80px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.product-tags {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
}

.tag {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.tag-hot {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
}

.tag-new {
    background: linear-gradient(135deg, #00cec9, #55efc4);
    color: var(--bg-dark);
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-current {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-color);
}

.price-original {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    gap: 10px;
}

/* ==================== 特色服务 ==================== */
.features {
    padding: 60px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ==================== 关于我们 ==================== */
.about {
    padding: 80px 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ==================== 页脚 ==================== */
.footer {
    background: var(--bg-card);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 2;
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    background: var(--bg-hover);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 5px;
}

/* ==================== 底部导航栏 ==================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 1000;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 30px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    border-radius: var(--radius-md);
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--primary-color);
}

.bottom-nav-item .nav-icon {
    font-size: 24px;
}

.bottom-nav-item .nav-label {
    font-size: 12px;
    font-weight: 500;
}

/* ==================== 购物车弹窗 ==================== */
.cart-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

.cart-modal.active {
    display: block;
}

.cart-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.cart-content {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 400px;
    background: var(--bg-card);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    font-size: 18px;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--text-primary);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--bg-dark);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-qty button {
    width: 24px;
    height: 24px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    border-radius: 4px;
    cursor: pointer;
}

.cart-item-qty span {
    min-width: 30px;
    text-align: center;
}

.remove-item {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    margin-left: auto;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
}

.total-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
}

/* ==================== 商品详情页 ==================== */
.product-detail {
    padding: 40px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .current {
    color: var(--text-primary);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* 商品图片画廊 */
.product-gallery {
    position: sticky;
    top: 90px;
}

.main-image {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

.main-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.thumbnail.active,
.thumbnail:hover {
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 商品信息 */
.product-info-detail {
    padding: 20px 0;
}

.product-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 20px;
}

.product-meta {
    display: flex;
    gap: 30px;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    gap: 8px;
    font-size: 14px;
}

.meta-label {
    color: var(--text-secondary);
}

.meta-value {
    color: var(--text-primary);
}

.product-price-box {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 25px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.price-row:last-child {
    margin-bottom: 0;
}

.price-label {
    width: 50px;
    color: var(--text-secondary);
    font-size: 14px;
}

.price-original-lg {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-current-lg {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-color);
}

.promo-tags {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.promo-tag {
    background: rgba(108, 92, 231, 0.2);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* 规格选择 */
.product-specs {
    margin-bottom: 25px;
}

.spec-group {
    margin-bottom: 20px;
}

.spec-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: block;
}

.spec-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.spec-option {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.spec-option:hover,
.spec-option.active {
    border-color: var(--primary-color);
    background: rgba(108, 92, 231, 0.1);
}

/* 数量选择 */
.product-quantity {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.quantity-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.qty-btn:hover {
    background: var(--bg-hover);
}

.qty-input {
    width: 60px;
    height: 40px;
    background: var(--bg-dark);
    border: none;
    color: var(--text-primary);
    text-align: center;
    font-size: 16px;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.stock-info {
    color: var(--secondary-color);
    font-size: 14px;
}

.product-actions-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.product-services {
    display: flex;
    gap: 25px;
    padding: 15px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
}

.service-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.service-icon {
    color: var(--secondary-color);
}

/* 商品标签页 */
.product-tabs {
    padding: 40px 0;
    background: var(--bg-card);
}

.tabs-header {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 30px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* 详情内容 */
.detail-content {
    line-height: 1.8;
    color: var(--text-secondary);
}

.detail-content img {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin: 20px 0;
}

.detail-content p {
    margin-bottom: 15px;
}

/* 参数表格 */
.params-table {
    width: 100%;
    border-collapse: collapse;
}

.params-table tr {
    border-bottom: 1px solid var(--border-color);
}

.params-table td {
    padding: 15px;
    font-size: 14px;
}

.params-table td:first-child {
    width: 150px;
    color: var(--text-secondary);
    background: var(--bg-dark);
}

/* 评价区域 */
.reviews-summary {
    display: flex;
    gap: 50px;
    padding: 30px;
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
}

.rating-overview {
    text-align: center;
}

.rating-score {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-color);
}

.rating-stars {
    color: #ffd700;
    font-size: 20px;
    margin: 10px 0;
}

.rating-count {
    color: var(--text-secondary);
    font-size: 14px;
}

.rating-bars {
    flex: 1;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.rating-bar span:first-child {
    width: 40px;
    color: var(--text-secondary);
}

.rating-bar span:last-child {
    width: 40px;
    text-align: right;
    color: var(--text-secondary);
}

.bar {
    flex: 1;
    height: 8px;
    background: var(--bg-card);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    padding: 20px;
    background: var(--bg-dark);
    border-radius: var(--radius-md);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.review-name {
    font-weight: 600;
}

.review-rating {
    color: #ffd700;
}

.review-date {
    color: var(--text-muted);
    font-size: 13px;
}

.review-content {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 推荐商品 */
.recommend-products {
    padding: 60px 0;
}

/* ==================== 游戏充值页面 ==================== */
.recharge-page {
    padding: 40px 0 100px;
    min-height: calc(100vh - 70px);
}

.recharge-header {
    text-align: center;
    margin-bottom: 40px;
}

.recharge-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    margin-bottom: 10px;
}

.recharge-header p {
    color: var(--text-secondary);
}

.recharge-container {
    max-width: 800px;
    margin: 0 auto;
}

/* 选择游戏 */
.game-selection {
    margin-bottom: 30px;
}

.selection-title {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.selection-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.game-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.game-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.game-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.game-card.active {
    border-color: var(--primary-color);
    background: rgba(108, 92, 231, 0.1);
}

.game-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.game-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.game-type {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 选择区服 */
.server-selection {
    margin-bottom: 30px;
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.server-option {
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.server-option:hover {
    border-color: var(--primary-color);
}

.server-option.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* 充值档位 */
.amount-selection {
    margin-bottom: 30px;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.amount-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.amount-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

.amount-card.active {
    border-color: var(--secondary-color);
    background: rgba(0, 206, 201, 0.1);
}

.amount-card.hot::after {
    content: 'HOT';
    position: absolute;
    top: 5px;
    right: -25px;
    background: var(--accent-color);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 25px;
    transform: rotate(45deg);
}

.amount-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.amount-bonus {
    font-size: 12px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.amount-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.amount-original {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 5px;
}

/* 角色信息 */
.role-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 25px;
    margin-bottom: 30px;
}

.role-section h3 {
    margin-bottom: 20px;
    font-size: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 充值汇总 */
.recharge-summary {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 25px;
    position: sticky;
    bottom: 80px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 700;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.summary-row .value {
    color: var(--accent-color);
    font-weight: 700;
}

.summary-row.total .value {
    font-size: 24px;
}

.recharge-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-secondary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--bg-dark);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.recharge-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.recharge-btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
}

/* 充值说明 */
.recharge-notice {
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-dark);
    border-radius: var(--radius-sm);
}

.recharge-notice h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.recharge-notice ul {
    list-style: none;
    font-size: 12px;
    color: var(--text-muted);
}

.recharge-notice li {
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.recharge-notice li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .category-grid,
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .product-gallery {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .header .nav {
        display: none;
    }
    
    .hero-banner {
        height: 400px;
    }
    
    .banner-content h1 {
        font-size: 32px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .category-grid,
    .feature-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .cart-content {
        width: 100%;
    }
    
    .game-list,
    .amount-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .server-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-summary {
        flex-direction: column;
        gap: 20px;
    }
    
    .product-actions-detail {
        flex-direction: column;
    }
    
    .product-services {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .game-list,
    .amount-grid,
    .server-grid {
        grid-template-columns: 1fr;
    }
}
