:root {
    --primary: #4a5568;
    --primary-dark: #2d3748;
    --primary-light: #718096;
    --secondary: #a0aec0;
    --secondary-dark: #718096;
    --accent-red: #e53e3e;
    --accent-green: #38a169;
    --accent-blue: #4299e1;
    --bg-body: #f7f9fc;
    --bg-card: rgba(255, 255, 255, 0.88);
    --bg-card-solid: #ffffff;
    --bg-input: #f1f5f9;
    --border: #e2e8f0;
    --border-light: #cbd5e0;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #a0aec0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --font-main: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    background-image: url('../../背景图.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

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

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

img {
    max-width: 100%;
    height: auto;
}

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

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-header .accent-line {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 16px auto 0;
    border-radius: 2px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
    line-height: 1.5;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 85, 104, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    border-color: var(--secondary);
}

.btn-accent {
    background: var(--secondary);
    color: #ffffff;
}

.btn-accent:hover {
    background: var(--secondary-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--accent-red);
    color: #fff;
}

.btn-danger:hover {
    background: #c53030;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 6px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 16px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.95);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.nav-logo img {
    height: 40px;
    width: auto;
    display: block;
    border-radius: var(--radius);
}

.nav-logo i {
    font-size: 24px;
}

.nav-logo span {
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1001;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
}

.nav-user:hover {
    color: var(--primary);
}

.nav-user .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--primary);
    border: 1px solid var(--border);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
    z-index: 10;
    position: relative;
}

.hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: 64px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: var(--text-secondary);
    padding: 6px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.hero h1 .highlight {
    color: var(--primary);
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.hero-stat .label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.card:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-lg);
    background: var(--bg-card-solid);
}

.player-card {
    position: relative;
    overflow: hidden;
}

.player-card .online-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(56, 161, 105, 0.15);
    color: var(--accent-green);
    padding: 4px 10px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
}

.player-card .online-badge.offline {
    background: rgba(160, 174, 192, 0.15);
    color: var(--text-muted);
}

.player-card .online-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
}

.player-card .online-badge.offline .dot {
    background: var(--text-muted);
}

.player-card .player-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-input);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    margin: 0 auto 16px;
    border: 2px solid var(--border);
    overflow: hidden;
}

.player-card .player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-card .player-name {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4px;
}

.player-card .player-rank {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 12px;
}

.player-card .player-games {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 12px;
}

.player-card .game-tag {
    background: rgba(74, 85, 104, 0.08);
    color: var(--text-secondary);
    padding: 2px 10px;
    border-radius: var(--radius);
    font-size: 12px;
}

.player-card .player-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 16px;
}

.player-card .skill-tag {
    background: rgba(74, 85, 104, 0.06);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: var(--radius);
    font-size: 11px;
}

.player-card .player-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.player-card .rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: var(--primary);
}

.player-card .rating i {
    font-size: 12px;
}

.player-card .price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.player-card .price span {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
}

.player-card .order-count {
    font-size: 12px;
    color: var(--text-muted);
}

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

.feature-card {
    text-align: center;
    padding: 32px 24px;
}

.feature-card .feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: rgba(74, 85, 104, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin: 0 auto 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.pricing-card {
    padding: 32px;
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--border-light);
    box-shadow: 0 0 20px rgba(74, 85, 104, 0.06);
}

.pricing-card .badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 0 0 var(--radius) var(--radius);
    font-size: 12px;
    font-weight: 700;
}

.pricing-card .game-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-card .game-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pricing-card .price-block {
    margin-bottom: 24px;
}

.pricing-card .price-amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
}

.pricing-card .price-unit {
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-card .duration-list {
    list-style: none;
    margin-bottom: 24px;
    text-align: left;
}

.pricing-card .duration-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.pricing-card .duration-list li:last-child {
    border-bottom: none;
}

.pricing-card .duration-list .dur {
    color: var(--text-secondary);
}

.pricing-card .duration-list .prc {
    color: var(--primary);
    font-weight: 600;
}

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

.step-card {
    text-align: center;
    padding: 32px 24px;
    position: relative;
}

.step-card .step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: var(--transition);
    color: var(--text-muted);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 24px 18px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

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

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

.form-group label .required {
    color: var(--accent-red);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--border-light);
    box-shadow: 0 0 0 3px rgba(74, 85, 104, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a0aec0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.filter-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.filter-bar .filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-bar .filter-item label {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.filter-bar select,
.filter-bar input {
    padding: 6px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 13px;
    font-family: var(--font-main);
}

.filter-bar select:focus,
.filter-bar input:focus {
    outline: none;
    border-color: var(--border-light);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination .page-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.pagination .page-btn:hover,
.pagination .page-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-card-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}

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

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.toast {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 3000;
    background: var(--bg-card-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    box-shadow: var(--shadow-lg);
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 3px solid var(--accent-green);
}

.toast.error {
    border-left: 3px solid var(--accent-red);
}

.toast.info {
    border-left: 3px solid var(--primary);
}

.toast i {
    font-size: 18px;
}

.toast.success i {
    color: var(--accent-green);
}

.toast.error i {
    color: var(--accent-red);
}

.toast.info i {
    color: var(--primary);
}

footer {
    background: rgba(255, 255, 255, 0.85);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background: var(--bg-input);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    font-size: 14px;
    color: var(--text-secondary);
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 14px;
    color: var(--text-muted);
}

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

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

.breadcrumb .separator {
    color: var(--text-muted);
}

.page-banner {
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
}

.page-banner h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.page-banner p {
    font-size: 16px;
    color: var(--text-secondary);
    position: relative;
}

.tab-nav {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.tab-nav .tab-btn {
    padding: 12px 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    font-family: var(--font-main);
    transition: var(--transition);
}

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

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

.tab-nav .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.tab-content {
    display: none;
}

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

.order-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.order-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-solid);
}

.order-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.order-info .player-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-input);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid var(--border);
}

.order-detail h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.order-detail p {
    font-size: 13px;
    color: var(--text-secondary);
}

.order-status {
    text-align: right;
}

.order-status .status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.order-status .status-badge.pending {
    background: rgba(160, 174, 192, 0.15);
    color: var(--text-secondary);
}

.order-status .status-badge.paid {
    background: rgba(56, 161, 105, 0.15);
    color: var(--accent-green);
}

.order-status .status-badge.playing {
    background: rgba(66, 153, 225, 0.15);
    color: var(--accent-blue);
}

.order-status .status-badge.completed {
    background: rgba(56, 161, 105, 0.15);
    color: var(--accent-green);
}

.order-status .status-badge.cancelled {
    background: rgba(160, 174, 192, 0.15);
    color: var(--text-muted);
}

.order-status .status-badge.refunded {
    background: rgba(229, 62, 62, 0.15);
    color: var(--accent-red);
}

.order-status .price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.loading-spinner .spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Auth pages - Login/Register */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header .icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 24px;
    color: var(--text-primary);
}

.auth-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

.password-wrap {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
}

.toggle-password:hover {
    color: var(--text-secondary);
}

.reg-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    background: var(--bg-input);
    border-radius: var(--radius);
    padding: 4px;
}

.reg-tab {
    flex: 1;
    padding: 8px 0;
    background: none;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-main);
}

.reg-tab:hover {
    color: var(--text-secondary);
}

.reg-tab.active {
    background: var(--bg-card-solid);
    color: var(--primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--text-primary);
    font-weight: 600;
}

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

/* User Center */
.user-center-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
}

.user-sidebar .user-info {
    padding: 24px;
    text-align: center;
}

.user-sidebar .user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-input);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    margin: 0 auto 12px;
    border: 2px solid var(--border);
}

.user-sidebar .user-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.user-sidebar .user-role {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.user-sidebar .user-stats {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.user-sidebar .stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.user-sidebar .stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.user-nav {
    padding: 0;
    margin-top: 12px;
}

.user-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.user-nav a:hover,
.user-nav a.active {
    color: var(--primary);
    background: rgba(74, 85, 104, 0.04);
}

.user-nav a i {
    width: 20px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .players-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .user-center-layout {
        grid-template-columns: 200px 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        z-index: 998;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border);
    }

    .nav-menu a {
        display: block;
        padding: 16px 0;
        font-size: 16px;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-stat .number {
        font-size: 22px;
    }

    .players-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .filter-bar {
        flex-direction: column;
    }

    .filter-bar .filter-item {
        width: 100%;
    }

    .filter-bar select,
    .filter-bar input {
        flex: 1;
        width: 100%;
    }

    .order-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .order-status {
        text-align: left;
        width: 100%;
    }

    #playerDetail {
        grid-template-columns: 1fr !important;
    }

    .user-center-layout {
        grid-template-columns: 1fr;
    }

    .user-sidebar {
        margin-bottom: 24px;
    }

    .user-nav {
        display: flex;
        overflow-x: auto;
        gap: 0;
    }

    .user-nav a {
        border-bottom: none;
        border-right: 1px solid var(--border);
        white-space: nowrap;
    }

    .page-banner {
        padding: 100px 0 40px;
    }

    .page-banner h1 {
        font-size: 28px;
    }

    .auth-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .players-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }

    .container {
        padding: 0 16px;
    }

    .section {
        padding: 40px 0;
    }

    .card {
        padding: 20px;
    }

    .player-card .player-avatar {
        width: 64px;
        height: 64px;
        font-size: 24px;
    }

    .player-card .player-name {
        font-size: 16px;
    }

    .pricing-card .price-amount {
        font-size: 28px;
    }

    .step-card .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .faq-question {
        padding: 14px 16px;
        font-size: 14px;
    }

    .faq-answer-inner {
        padding: 0 16px 14px;
    }

    .modal {
        margin: 10px;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .order-card {
        padding: 16px;
    }

    .order-info .player-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .tab-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .tab-nav .tab-btn {
        white-space: nowrap;
        padding: 10px 16px;
    }

    .filter-bar {
        padding: 16px;
    }

    .pagination .page-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}
