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

:root {
    --primary-color: #00d4aa;
    --primary-dark: #00a88a;
    --primary-light: rgba(0, 212, 170, 0.1);
    --secondary-color: #ff7b39;
    --background-color: #0a0a0f;
    --background-gradient: linear-gradient(180deg, #0a0a0f 0%, #111118 100%);
    --text-color: #e8e8ed;
    --text-light: #888899;
    --text-muted: #555566;
    --card-background: #14141d;
    --card-hover: #1a1a25;
    --card-border: #1f1f2a;
    --border-color: #1f1f2a;
    --border-light: #2a2a35;
    --success-color: #4ade80;
    --success-bg: rgba(74, 222, 128, 0.15);
    --error-color: #f87171;
    --error-bg: rgba(248, 113, 113, 0.15);
    --warning-color: #fb923c;
    --warning-bg: rgba(251, 146, 60, 0.15);
    --purple-color: #a78bfa;
    --purple-bg: rgba(167, 139, 250, 0.15);
    --header-bg: rgba(10, 10, 15, 0.95);
    --footer-bg: #0f0f16;
    --mobile-menu-bg: rgba(10, 10, 15, 0.98);
}

html {
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    background: var(--background-gradient);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

.header {
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    color: var(--text-color);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.mobile-quick-actions {
    display: none;
}

.mobile-balance {
    background: var(--success-bg);
    color: var(--success-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.mobile-bottom-nav {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(10, 10, 15, 0.98);
	backdrop-filter: blur(20px);
	border-top: 1px solid var(--border-color);
	padding: 8px 0;
	padding-bottom: calc(8px + env(safe-area-inset-bottom));
	z-index: 9999;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.mobile-bottom-nav .mobile-nav-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--text-light);
	text-decoration: none;
	font-size: 11px;
	gap: 3px;
	padding: 6px 0;
	transition: all 0.3s ease;
	position: relative;
}

.mobile-bottom-nav .mobile-nav-item:active {
	transform: scale(0.95);
}

.mobile-bottom-nav .mobile-nav-item .nav-icon {
	font-size: 22px;
	transition: all 0.3s ease;
}

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

.mobile-bottom-nav .mobile-nav-item.active .nav-icon {
	transform: scale(1.15);
	text-shadow: 0 0 15px rgba(0, 212, 170, 0.6);
}

.mobile-bottom-nav .mobile-nav-item.active::after {
	content: '';
	position: absolute;
	bottom: 0;
	width: 4px;
	height: 4px;
	background: var(--primary-color);
	border-radius: 50%;
	box-shadow: 0 0 10px rgba(0, 212, 170, 0.8);
}

.logo a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    font-size: 1.2em;
}

.nav {
    display: none;
    align-items: center;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 15px;
}

.nav ul li a:hover {
    color: var(--primary-color);
}

.user-menu {
    display: none;
    align-items: center;
    gap: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.balance {
    background: var(--success-bg);
    color: var(--success-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.profile-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.logout-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
}

.login-btn, .register-btn {
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
}

.login-btn {
    background: rgba(255,255,255,0.1);
    color: var(--text-color);
}

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

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    backdrop-filter: blur(4px);
}

.mobile-overlay.active {
    display: block;
}

.mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    max-height: 100vh;
    background: rgba(10, 14, 20, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1001;
    padding: 20px;
    padding-top: 80px;
    padding-bottom: 80px;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border-color);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    box-sizing: border-box;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    padding-top: calc(15px + env(safe-area-inset-top));
    border-bottom: 1px solid var(--border-color);
    background: rgba(10, 14, 20, 0.95);
}

.mobile-logo a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-close-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

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

.mobile-nav-section {
    margin-bottom: 24px;
}

.mobile-section-title {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding-left: 10px;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    margin-bottom: 4px;
}

.mobile-menu ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    padding: 12px 15px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu ul li a:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.mobile-user-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.mobile-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
}

.mobile-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    flex-shrink: 0;
}

.mobile-user-info {
    flex: 1;
    min-width: 0;
}

.mobile-username {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}

.mobile-balance {
    display: block;
    font-size: 13px;
    color: var(--success-color);
    font-weight: 500;
}

.mobile-user-menu {
    padding-left: 5px;
}

.mobile-user-menu li a {
    font-size: 15px;
    color: var(--text-light);
    padding: 10px 15px;
}

.mobile-user-menu li a:hover {
    color: var(--text-color);
}

.mobile-login-prompt {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-login-btn, .mobile-register-btn {
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.mobile-login-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.mobile-login-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

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

.mobile-register-btn:hover {
    background: var(--primary-dark);
}

.main-content {
    padding: 24px 0;
    padding-top: 50px;
    padding-bottom: 80px;
}

.hero-section {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding: 24px 20px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(17, 24, 39, 0.9) 100%);
    border: 1px solid rgba(0, 212, 170, 0.1);
}

.hero-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 212, 170, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    animation: bgRotate 20s linear infinite;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes bgRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-cta {
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.hero-icon {
    font-size: 32px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 15px rgba(0, 212, 170, 0.4));
}

.hero-section h1 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(0, 212, 170, 0.4);
    letter-spacing: 1px;
}

.hero-section p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 16px;
    opacity: 0.8;
}

.hero-header {
    text-align: center;
    margin-bottom: 20px;
}

.hero-membership {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.membership-header {
    display: none;
}

.membership-badge {
    display: inline-block;
    padding: 3px 10px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 1px;
}

.membership-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.membership-benefits {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}

.benefit-icon {
    font-size: 20px;
}

.benefit-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.membership-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #00b48c 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 212, 170, 0.3);
}

.membership-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 212, 170, 0.4);
    filter: brightness(1.1);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.membership-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.matches-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.matches-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.pc-matches-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pc-matches-table .matches-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(145deg, rgba(20, 25, 40, 0.9) 0%, rgba(15, 20, 35, 0.95) 100%);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 170, 0.15);
}

.pc-matches-table .matches-table th {
    background: rgba(0, 0, 0, 0.4);
    color: var(--text-light);
    font-weight: 600;
    padding: 14px 8px;
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(0, 212, 170, 0.15);
}

.pc-matches-table .matches-table th:nth-child(3),
.pc-matches-table .matches-table th:nth-child(5) {
    width: 120px;
}

.pc-matches-table .matches-table th:nth-child(6) {
    width: 150px;
}

.pc-matches-table .matches-table td {
    padding: 14px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-color);
    font-size: 14px;
    text-align: center;
}

.pc-matches-table .matches-table tbody tr:hover {
    background: rgba(0, 212, 170, 0.08);
}

.pc-matches-table .matches-table tbody tr:last-child td {
    border-bottom: none;
}

.pc-matches-table .matches-table .status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}

.pc-matches-table .matches-table .status.free {
    background: var(--success-bg);
    color: var(--success-color);
}

.pc-matches-table .matches-table .status.paid {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
}

.pc-matches-table .matches-table .status.package {
    background: var(--purple-bg);
    color: var(--purple-color);
}

.pc-matches-table .matches-table .status.win {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    position: relative;
    animation: statusPulseFast 0.8s ease-in-out infinite;
}

.pc-matches-table .matches-table .status.lose {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
    position: relative;
    animation: statusPulseFast 0.8s ease-in-out infinite;
}

.pc-matches-table .matches-table .status.draw {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    color: white;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    animation: statusPulseFast 1s ease-in-out infinite;
}

.top-badge {
    font-size: 14px;
    color: var(--warning-color);
}

.pc-matches-table .matches-table .btn-sm {
    padding: 6px 14px;
    font-size: 12px;
    border-radius: 6px;
}

.pc-matches-table .matches-table .team-home {
    color: var(--text-color);
    font-weight: 600;
    text-align: center;
    width: 120px;
}

.pc-matches-table .matches-table .team-away {
    color: var(--text-color);
    font-weight: 600;
    text-align: center;
    width: 120px;
}

.mobile-matches-grid {
    display: none;
}

.match-card-item {
    background: linear-gradient(145deg, rgba(20, 25, 40, 0.9) 0%, rgba(15, 20, 35, 0.95) 100%);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(0, 212, 170, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
    position: relative;
}

.match-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--purple-color), var(--warning-color));
    opacity: 0.7;
}

.match-card-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 170, 0.3);
}

.match-card-item.free-card {
    border-left: 3px solid var(--success-color);
}

.match-card-item.premium-card {
    border-left: 3px solid var(--warning-color);
}

.match-card-item.package-card {
    border-left: 3px solid var(--purple-color);
    text-align: left;
}

.match-card-item.package-card .mci-title {
    margin-bottom: 0;
}

.mci-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.mci-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 16px;
    letter-spacing: 0.5px;
}

.mci-badge.free {
    background: var(--success-bg);
    color: var(--success-color);
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.mci-badge.premium {
    background: var(--warning-bg);
    color: var(--warning-color);
    border: 1px solid rgba(251, 146, 60, 0.3);
}

.mci-badge.package {
    background: var(--purple-bg);
    color: var(--purple-color);
    border: 1px solid rgba(167, 139, 250, 0.3);
}

.mci-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.mci-views {
    font-size: 12px;
    color: #ff9500;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    flex-shrink: 0;
}

.mci-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: var(--text-color);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    text-align: left;
}

.mci-teams {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 12px 8px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.mci-team {
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.mci-team-label {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mci-team:first-child {
    align-items: center;
}

.mci-team:last-child {
    align-items: center;
}

.mci-team-home .mci-team-name {
    color: #22d3ee;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(34, 211, 238, 0.5);
}

.mci-team-away .mci-team-name {
    color: #f59e0b;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.mci-team-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    padding: 0 4px;
}

.mci-handicap {
    text-align: center;
    padding: 6px 10px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(99, 102, 241, 0.15) 100%);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    flex: 0 0 auto;
    min-width: 70px;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.25);
}

.mci-no-handicap {
    text-align: center;
    padding: 6px 10px;
    background: rgba(75, 85, 99, 0.2);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
    flex: 0 0 auto;
    min-width: 70px;
}

.mci-handicap-locked {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 6px 10px;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    text-decoration: none;
    display: block;
    flex: 0 0 auto;
    min-width: 70px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.mci-handicap-locked:hover {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5);
}

.handicap-locked {
    color: white;
    font-weight: 700;
    padding: 6px 14px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
    transition: all 0.2s;
}

.handicap-locked:hover {
    opacity: 0.9;
}

.handicap-value {
    color: #c4b5fd;
    font-weight: 600;
    padding: 4px 10px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 6px;
    font-size: 13px;
    display: inline-block;
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.2);
}

.mci-result {
    text-align: center;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    margin-top: 4px;
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.2) 0%, rgba(100, 116, 139, 0.1) 100%);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.mci-result.result-win {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-weight: 700;
    border: none;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.mci-result.result-lose {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    font-weight: 700;
    border: none;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
}

.mci-result.result-draw {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    color: white;
    font-weight: 700;
    border: none;
}



.mci-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mci-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mci-time {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
}

.mci-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--warning-color);
}

.mci-btn {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

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

.mci-btn-primary:hover {
    background: var(--primary-dark);
}

.mci-btn-secondary {
    background: var(--border-light);
    color: var(--text-color);
}

.mci-btn-secondary:hover {
    background: #3a3a45;
}

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

.section-header h2 {
    font-size: 20px;
    margin: 0;
    font-weight: 700;
}

.section-count {
    background: rgba(255, 255, 255, 0.08);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-light);
    border: 1px solid var(--border-light);
}

.matches-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.matches-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-background);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.matches-table th,
.matches-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.matches-table th {
    background: rgba(0, 0, 0, 0.3);
    font-weight: bold;
    color: var(--text-light);
    white-space: nowrap;
}

.matches-table tbody tr {
    transition: background 0.3s;
}

.matches-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.matches-table tbody tr:last-child td {
    border-bottom: none;
}

.free-badge {
    background: var(--success-bg);
    color: var(--success-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.matches-table.premium-table {
    border-color: rgba(251, 146, 60, 0.5);
}

.matches-table.premium-table th {
    background: var(--warning-bg);
    color: var(--warning-color);
}

.mobile-matches-list {
    display: none;
}

.mobile-match-card {
    background: var(--card-background);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--card-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.mobile-match-card:active {
    transform: scale(0.98);
    background: var(--card-hover);
}

.mobile-match-card.free-card {
    border-left: 3px solid var(--success-color);
}

.mobile-match-card.premium-card {
    border-left: 3px solid var(--warning-color);
}

.mobile-match-card.package-card {
    border-left: 3px solid var(--purple-color);
}

.mmc-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.mmc-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 16px;
    letter-spacing: 0.5px;
}

.mmc-badge.free {
    background: var(--success-bg);
    color: var(--success-color);
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.mmc-badge.premium {
    background: var(--warning-bg);
    color: var(--warning-color);
    border: 1px solid rgba(251, 146, 60, 0.3);
}

.mmc-badge.package {
    background: var(--purple-bg);
    color: var(--purple-color);
    border: 1px solid rgba(167, 139, 250, 0.3);
}

.mmc-views {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 3px;
}

.mmc-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--text-color);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mmc-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.mmc-team {
    flex: 1;
    text-align: center;
    overflow: hidden;
}

.mmc-team-left {
    text-align: right;
}

.mmc-team-right {
    text-align: left;
}

.mmc-team-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    padding: 0 4px;
}

.mmc-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mmc-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mmc-time {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 500;
}

.mmc-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--warning-color);
}

.mmc-btn {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

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

.mmc-btn-primary:hover {
    background: var(--primary-dark);
}

.mmc-btn-secondary {
    background: var(--border-light);
    color: var(--text-color);
}

.mmc-btn-secondary:hover {
    background: #3a3a45;
}

.match-card {
    background: var(--card-background);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--card-border);
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

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

.match-status {
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: bold;
}

.match-status.public {
    background: var(--success-bg);
    color: var(--success-color);
}

.match-status.private {
    background: var(--warning-bg);
    color: var(--warning-color);
}

.match-time {
    font-size: 13px;
    color: var(--text-light);
}

.match-title {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 12px;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.team {
    text-align: center;
    flex: 1;
}

.team-name {
    font-size: 14px;
    font-weight: bold;
}

.vs {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0 8px;
}

.match-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: var(--secondary-color);
}

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s;
    flex-shrink: 0;
    min-width: 100px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--border-light);
    color: var(--text-color);
}

.btn-secondary:hover {
    background: #3a3a45;
}

.btn-block {
    width: 100%;
}

.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-light);
}

.login-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #0a0a0f 0%, #12121a 50%, #1a1a25 100%);
}

.login-box {
    background: var(--card-background);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 400px;
    padding: 32px;
}

.login-header {
    text-align: center;
    margin-bottom: 24px;
}

.login-header h1 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

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

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
}

.form-group input {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-color);
}

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

.error-message {
    color: var(--error-color);
    font-size: 13px;
    text-align: center;
    padding: 10px;
    background: rgba(248, 81, 73, 0.2);
    border: 1px solid rgba(248, 81, 73, 0.3);
    border-radius: 8px;
}

.success-message {
    color: var(--success-color);
    font-size: 13px;
    text-align: center;
    padding: 10px;
    background: rgba(63, 185, 80, 0.2);
    border: 1px solid rgba(63, 185, 80, 0.3);
    border-radius: 8px;
}

.login-footer {
    text-align: center;
    margin-top: 16px;
}

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.match-detail {
    max-width: 800px;
    margin: 0 auto;
}

.match-header-card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.match-header-card .match-status {
    margin-bottom: 12px;
    display: inline-block;
}

.match-header-card h1 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

.match-teams-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card-background);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.team-card {
    text-align: center;
    flex: 1;
}

.team-card h2 {
    font-size: 22px;
}

.team-card.winner {
    background: rgba(34, 197, 94, 0.1);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.winner-badge {
    display: inline-block;
    background: #22c55e;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 8px;
}

.match-result-banner {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.match-result-banner .result-label {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

.match-result-banner .result-value {
    font-size: 20px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 8px;
}

.match-result-banner .result-value.win {
    color: white;
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.match-result-banner .result-value.lose {
    color: white;
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.match-result-banner .result-value.draw {
    color: white;
    background: linear-gradient(135deg, #94a3b8, #64748b);
}

.vs-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
    color: var(--text-secondary);
    margin: 0 20px;
    padding: 8px 16px;
    background: var(--background);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.vs-large span:first-child {
    font-size: 24px;
}

.vs-large .vs-score {
    font-size: 18px;
    color: var(--primary-color);
    margin-top: 4px;
    font-weight: 600;
}

.locked-content {
    text-align: center;
    padding: 48px 20px;
    background: var(--card-background);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.lock-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.locked-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.locked-content p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.match-content {
    background: var(--card-background);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.match-content h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.content-body {
    line-height: 1.8;
    color: var(--text-color);
    font-size: 15px;
}

.packages-page {
    max-width: 1000px;
    margin: 0 auto;
}

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

.page-header h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-light);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.package-card {
    background: var(--card-background);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    border: 2px solid var(--border-color);
}

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

.package-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.package-count {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.package-price {
    font-size: 32px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.package-save {
    font-size: 13px;
    color: var(--success-color);
    margin-bottom: 16px;
}

.package-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.badge-count {
    background: var(--purple-bg);
    color: var(--purple-color);
}

.badge-time {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.2) 0%, rgba(249, 115, 22, 0.1) 100%);
    color: var(--warning-color);
    border: 1px solid rgba(251, 146, 60, 0.3);
}

.package-card.time-package {
    border-color: var(--warning-color);
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.05) 0%, var(--card-background) 100%);
}

.package-card.time-package:hover {
    border-color: var(--warning-color);
    box-shadow: 0 4px 20px rgba(251, 146, 60, 0.2);
}

.package-benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: var(--success-color);
    background: var(--success-bg);
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.benefit-icon {
    font-weight: 700;
    font-size: 14px;
}

.my-packages {
    background: var(--card-background);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--border-color);
}

.my-packages h2 {
    font-size: 18px;
    margin-bottom: 16px;
}

.user-packages-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-package-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 16px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color);
}

.package-name {
    font-weight: bold;
}

.remaining-count {
    color: var(--primary-color);
    font-weight: bold;
}

.purchase-time {
    font-size: 13px;
    color: var(--text-light);
}

.package-type {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
    margin-left: 8px;
}

.package-type.type-count {
    background: var(--purple-bg);
    color: var(--purple-color);
}

.package-type.type-time {
    background: rgba(251, 146, 60, 0.15);
    color: var(--warning-color);
}

.expire-info {
    color: var(--warning-color);
    font-weight: 600;
}

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

.recharge-info {
    background: var(--card-background);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.recharge-info h2 {
    font-size: 18px;
    margin-bottom: 16px;
}

.wallet-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.wallet-qr {
    margin-bottom: 16px;
}

.wallet-qr img {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: white;
    padding: 4px;
}

.wallet-qr .qr-label {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 8px;
}

.wallet-label {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.wallet-address {
    font-family: monospace;
    font-size: 14px;
    word-break: break-all;
    margin-bottom: 12px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.copy-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.recharge-tips {
    background: rgba(240, 138, 15, 0.2);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(240, 138, 15, 0.3);
}

.recharge-tips p {
    font-weight: bold;
    color: var(--warning-color);
    margin-bottom: 8px;
    font-size: 14px;
}

.recharge-tips ul {
    list-style: none;
    padding-left: 0;
}

.recharge-tips li {
    font-size: 13px;
    color: var(--warning-color);
    margin-bottom: 4px;
}

.recharge-form {
    background: var(--card-background);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.recharge-form h2 {
    font-size: 18px;
    margin-bottom: 16px;
}

.recharge-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.orders-section {
    background: var(--card-background);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.orders-section h2 {
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 600;
}

.orders-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 100%;
}

.orders-table th,
.orders-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
    white-space: nowrap;
}

.orders-table th {
    background: rgba(0, 0, 0, 0.4);
    font-weight: 600;
    color: var(--text-light);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.orders-table tbody tr:hover {
    background: rgba(0, 212, 170, 0.05);
}

.tx-hash {
    font-family: monospace;
    font-size: 12px;
    color: var(--primary-color);
    cursor: pointer;
}

.orders-table .status {
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.status {
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
}

.status.public {
    background: var(--success-bg);
    color: var(--success-color);
}

.status.private {
    background: var(--warning-bg);
    color: var(--warning-color);
}

.status.paid {
    background: var(--error-bg);
    color: var(--error-color);
}

.status.package {
    background: var(--purple-bg);
    color: var(--purple-color);
}

.status.pending {
    background: var(--warning-bg);
    color: var(--warning-color);
}

.status.confirmed {
    background: var(--success-bg);
    color: var(--success-color);
}

.status.cancelled {
    background: var(--error-bg);
    color: var(--error-color);
}

.mobile-table {
    display: none;
}

.mobile-table-item {
    background: var(--card-background);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
}

.mobile-table-item .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.mobile-table-item .row:last-child {
    margin-bottom: 0;
}

.mobile-table-item .label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.mobile-table-item .value {
    font-size: 13px;
    font-weight: 600;
}

.profile-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.user-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--card-background);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
    border: 1px solid var(--card-border);
}

.user-avatar-wrap {
    flex-shrink: 0;
}

.user-avatar {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid rgba(0, 212, 170, 0.3);
}

.user-avatar span {
    font-size: 36px;
    font-weight: 700;
    color: white;
}

.user-content {
    flex: 1;
}

.user-top {
    margin-bottom: 12px;
}

.user-top h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4px;
}

.user-mail {
    font-size: 14px;
    color: var(--text-light);
}

.user-bottom {
    display: flex;
    align-items: center;
    gap: 24px;
}

.balance-info {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

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

.balance-val {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.recharge-btn {
    background: var(--primary-color);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.recharge-btn:hover {
    background: var(--primary-dark);
}

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

.stat-card {
    background: var(--card-background);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--card-border);
}

.stat-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--icon-color);
}

.stat-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    display: block;
    margin-bottom: 4px;
}

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

.section-card {
    background: var(--card-background);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid var(--card-border);
}

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

.section-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.section-link {
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
}

.section-link:hover {
    text-decoration: underline;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.package-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 18px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pkg-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.2) 0%, rgba(167, 139, 250, 0.05) 100%);
    border-radius: 8px;
    flex-shrink: 0;
}

.pkg-info {
    flex: 1;
    min-width: 0;
}

.pkg-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pkg-meta {
    font-size: 13px;
    color: var(--text-light);
}

.record-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.record-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color);
}

.record-left {
    flex: 1;
    min-width: 0;
}

.record-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.record-sub {
    font-size: 13px;
    color: var(--text-light);
}

.record-time {
    font-size: 13px;
    color: var(--text-light);
    flex-shrink: 0;
    margin-left: 16px;
}

.order-row {
    align-items: flex-start;
}

.order-tag {
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 6px;
}

.order-tag.pending {
    background: rgba(251, 146, 60, 0.15);
    color: var(--warning-color);
}

.order-tag.confirmed {
    background: var(--success-bg);
    color: var(--success-color);
}

.order-tag.cancelled {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
}

.record-right {
    text-align: right;
    flex-shrink: 0;
    margin-left: 16px;
}

.record-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 4px;
}

.empty-box {
    text-align: center;
    padding: 40px 20px;
}

.empty-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    opacity: 0.5;
}

.empty-box p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
}

.chat-float-btn {
    position: fixed;
    right: 20px;
    bottom: 100px;
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.4);
    z-index: 999;
    transition: all 0.3s;
}

.chat-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 212, 170, 0.5);
}

.chat-float-btn-hidden {
    display: none !important;
}

.chat-icon {
    font-size: 24px;
}

.chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.chat-window {
    position: fixed;
    right: -400px;
    bottom: 20px;
    width: 360px;
    max-width: calc(100% - 40px);
    background: var(--card-background);
    border-radius: 16px;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: right 0.3s;
    display: flex;
    flex-direction: column;
    max-height: 600px;
    overflow: visible;
}

.chat-window-open {
    right: 20px;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, transparent 100%);
}

.chat-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
}

.chat-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.chat-welcome {
    text-align: center;
}

.welcome-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.welcome-text {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.visitor-name-input {
    margin-bottom: 16px;
}

.visitor-name-input input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 14px;
    box-sizing: border-box;
}

.chat-start-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.chat-start-btn:hover {
    background: var(--primary-dark);
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    display: flex;
    gap: 12px;
}

.chat-message-self {
    flex-direction: row-reverse;
}

.chat-message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    flex-shrink: 0;
}

.chat-message-self .chat-message-avatar {
    background: var(--primary-color);
}

.chat-message-content {
    max-width: 70%;
}

.chat-message-self .chat-message-content {
    text-align: right;
}

.chat-message-name {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.chat-message-text {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.5;
}

.chat-message-self .chat-message-text {
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
}

.chat-footer {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
    gap: 8px;
    position: relative;
}

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

.chat-tool-btn {
    background: #00d4aa;
    border: 2px solid #00d4aa;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-weight: bold;
    flex-shrink: 0;
}

.chat-tool-btn:hover {
    background: #00b894;
    border-color: #00b894;
    transform: scale(1.05);
}

.chat-input-row {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
}

.chat-footer input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 14px;
    box-sizing: border-box;
    height: 44px;
}

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

.chat-send {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-send:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.chat-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}

.chat-emoji-panel {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 12px 12px 0 0;
    padding: 0;
    max-height: 250px;
    overflow-y: auto;
    z-index: 10;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    display: none;
}

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

.chat-emoji-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.chat-emoji-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.chat-emoji-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.admin-emoji-panel {
    position: fixed;
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    min-width: 320px;
}

.chat-emoji-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
}

.chat-emoji-item {
    font-size: 24px;
    cursor: pointer;
    text-align: center;
    padding: 5px;
    border-radius: 6px;
    transition: background 0.2s;
}

.chat-emoji-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.chat-message-image {
    max-width: 200px;
    border-radius: 8px;
    overflow: hidden;
}

.chat-message-image img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.2s;
}

.chat-message-image img:hover {
    transform: scale(1.05);
}

.chat-image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-image-preview {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    cursor: pointer;
}

.chat-overlay-show {
    display: block;
}

.order-status {
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 10px;
    display: inline-block;
}

.order-status.pending {
    background: rgba(251, 146, 60, 0.15);
    color: var(--warning-color);
}

.order-status.confirmed {
    background: var(--success-bg);
    color: var(--success-color);
}

.order-status.cancelled {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-icon {
    font-size: 40px;
    opacity: 0.4;
    display: block;
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
}

.footer {
    background: var(--footer-bg);
    color: var(--text-light);
    text-align: center;
    padding: 16px;
    margin-top: 48px;
    font-size: 14px;
    border-top: 1px solid var(--border-color);
}

.friend-links-section {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.friend-links-section h4 {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 600;
}

.friend-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.friend-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.friend-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

.friend-link-logo {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
}

@media (max-width: 768px) {
    html, body {
        font-size: 15px;
        overflow-x: hidden !important;
        width: 100% !important;
        background: var(--background-gradient);
        -webkit-overflow-scrolling: touch;
    }
    
    .header {
        padding: 10px 0;
        background: var(--header-bg);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border-color);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 0 16px;
    }
    
    .logo {
        flex: 1;
        overflow: hidden;
    }
    
    .logo a {
        font-size: 17px;
        font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 160px;
    }
    
    .nav {
        display: none;
    }
    
    .user-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .mobile-overlay {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .mobile-bottom-nav {
        display: flex;
    }
    
    .chat-window {
        bottom: 80px;
        max-height: calc(100vh - 140px);
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
        right: -100%;
    }
    
    .chat-window-open {
        right: 10px;
    }
    
    .chat-float-btn {
        bottom: 140px;
        right: 10px;
    }
    
    .chat-footer {
        padding: 10px 12px;
    }
    
    .chat-tool-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .chat-footer input {
        height: 40px;
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .chat-send {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }
    
    .chat-emoji-panel {
        max-height: 200px;
    }
    
    .hero-section {
        padding: 18px 12px;
        margin-bottom: 16px;
    }
    
    .hero-icon {
        font-size: 24px;
        margin-bottom: 6px;
    }
    
    .hero-section h1 {
        font-size: 20px;
        letter-spacing: 0;
        margin-bottom: 4px;
    }
    
    .hero-section p {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .hero-header {
        margin-bottom: 16px;
    }
    
    .hero-membership {
        padding: 0;
    }
    
    .membership-header {
        display: none;
    }
    
    .membership-benefits {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 16px;
    }
    
    .benefit-item {
        padding: 4px 0;
        justify-content: center;
    }
    
    .benefit-icon {
        font-size: 18px;
    }
    
    .benefit-text {
        font-size: 13px;
    }
    
    .membership-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .matches-grid {
        grid-template-columns: 1fr;
    }
    
    .matches-grid-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .match-card-item {
        padding: 14px;
        margin-bottom: 0;
    }
    
    .mci-title {
        font-size: 15px;
    }
    
    .mci-team-name {
        font-size: 13px;
    }
    
    .mci-vs {
        font-size: 12px;
        flex: 0 0 28px;
    }
    
    .mci-btn {
        padding: 10px;
        font-size: 13px;
    }
    
    .matches-table-wrapper {
        display: none !important;
        overflow-x: visible !important;
    }
    
    .mobile-matches-list {
        display: none !important;
    }
    
    .pc-matches-table {
        display: none !important;
    }
    
    .mobile-matches-grid {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .matches-table {
        display: none !important;
    }
    
    .match-card {
        padding: 14px;
    }
    
    .main-content {
        padding-left: 12px;
        padding-right: 12px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .mobile-match-card {
        padding: 14px;
        margin-bottom: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .mmc-title {
        font-size: 15px;
    }
    
    .mmc-team-name {
        font-size: 13px;
    }
    
    .match-title {
        font-size: 16px;
    }
    
    .match-teams-detail {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
    
    .vs-large {
        margin: 0;
        font-size: 28px;
    }
    
    .team-card h2 {
        font-size: 18px;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .package-card {
        padding: 20px;
    }
    
    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 24px;
        gap: 16px;
    }
    
    .user-avatar {
        width: 70px;
        height: 70px;
    }
    
    .user-info h1 {
        font-size: 20px;
    }
    
    .user-balance {
        justify-content: center;
    }
    
    .orders-table-wrapper {
        display: none;
    }
    
    .mobile-table {
        display: block;
    }
    
    .match-footer {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .price {
        font-size: 16px;
        text-align: center;
    }
    
    .btn {
        width: 100% !important;
        padding: 14px 24px;
        font-size: 15px;
        border-radius: 14px;
        font-weight: 700;
        display: block !important;
    }
    
    .login-box {
        padding: 24px;
    }
    
    .login-header h1 {
        font-size: 22px;
    }
    
    .locked-content {
        padding: 32px 16px;
    }
    
    .lock-icon {
        font-size: 36px;
    }
    
    .locked-content h3 {
        font-size: 18px;
    }
    
    .profile-page {
        max-width: 100%;
        padding: 0 16px;
    }
    
    .user-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 16px;
        gap: 16px;
    }
    
    .user-content {
        width: 100%;
    }
    
    .user-bottom {
        flex-direction: column;
        gap: 12px;
    }
    
    .balance-info {
        width: 100%;
        justify-content: center;
    }
    
    .recharge-btn {
        width: 100%;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .stat-card {
        padding: 16px 10px;
    }
    
    .stat-num {
        font-size: 24px;
    }
    
    .section-card {
        padding: 20px 16px;
    }
    
    .section-header h2 {
        font-size: 16px;
    }
    
    .package-grid {
        grid-template-columns: 1fr;
    }
    
    .record-item {
        padding: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .record-right {
        width: 100%;
        text-align: left;
        margin-left: 0;
        margin-top: 4px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .hero-section h1 {
        font-size: 24px;
    }
    
    .header {
        padding: 8px 0;
    }
    
    .logo a {
        font-size: 16px;
    }
    
    .match-card {
        padding: 12px;
    }
    
    .match-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .match-teams {
        flex-direction: column;
        gap: 10px;
    }
    
    .vs {
        font-size: 16px;
    }
    
    .stats-grid {
        gap: 8px;
    }
    
    .stat-card {
        padding: 14px 8px;
    }
    
    .stat-num {
        font-size: 22px;
    }
    
    .user-card {
        padding: 20px 12px;
    }
    
    .user-avatar {
        width: 60px;
        height: 60px;
    }
    
    .user-avatar span {
        font-size: 24px;
    }
    
    .match-header-card {
        padding: 18px;
    }
    
    .match-header-card h1 {
        font-size: 20px;
    }
    
    .match-teams-detail {
        padding: 16px;
    }
    
    .team-card h2 {
        font-size: 16px;
    }
    
    .vs-large {
        font-size: 24px;
    }
    
    .login-box {
        padding: 20px 16px;
    }
    
    .form-group input {
        padding: 10px 12px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .matches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tx-hash-link {
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: underline;
    font-family: monospace;
    font-size: 12px;
}

.tx-hash-link:hover {
    color: var(--primary-hover);
}

.hash-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.hash-modal-content {
    background: var(--card-background);
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

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

.hash-modal-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.hash-modal-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

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

.hash-modal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hash-modal-body textarea {
    width: 100%;
    height: 100px;
    padding: 12px;
    font-family: monospace;
    font-size: 13px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    resize: none;
    box-sizing: border-box;
}

.hash-modal-body .btn {
    align-self: flex-end;
}

/* ===== 标语样式优化 ===== */
.hero-slogan {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    text-shadow: 0 0 15px rgba(0, 212, 170, 0.6), 0 0 30px rgba(0, 212, 170, 0.3) !important;
    letter-spacing: 1px !important;
    padding: 8px 16px !important;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%) !important;
    border: 1px solid rgba(0, 212, 170, 0.3) !important;
    border-radius: 20px !important;
    display: inline-block !important;
    margin: 10px auto 0 !important;
    animation: sloganGlow 2s ease-in-out infinite !important;
}

@keyframes sloganGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 212, 170, 0.6), 0 0 50px rgba(0, 212, 170, 0.3);
    }
}

/* ===== PC端表格新样式 ===== */
.handicap-value {
    color: var(--text-color);
    font-weight: 500;
    padding: 0;
    background: none;
    border-radius: 0;
    font-size: 13px;
    display: inline;
    border: none;
    box-shadow: none;
}

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

.recommendation-text {
    color: white;
    font-weight: 700;
    padding: 6px 14px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 6px;
    font-size: 13px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.price-tag {
    color: white;
    font-weight: 700;
    padding: 6px 14px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 6px;
    font-size: 13px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    text-decoration: none;
}

.price-tag:hover {
    opacity: 0.9;
}

.match-score {
    color: white;
    font-weight: 700;
    padding: 6px 14px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 6px;
    font-size: 13px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

/* ===== 手机端新卡片样式 ===== */
.mci-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mci-info-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.mci-info-value {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 600;
}

.mci-team-home-name {
    color: #22d3ee;
    text-shadow: 0 0 8px rgba(34, 211, 238, 0.5);
}

.mci-team-away-name {
    color: #f59e0b;
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.mci-rec-row {
    margin-top: 8px;
    margin-bottom: 8px;
}

.mci-rec-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.12) 0%, rgba(245, 158, 11, 0.08) 100%);
    border-radius: 8px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    position: relative;
    overflow: hidden;
}

.mci-rec-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.mci-rec-label {
    font-size: 13px;
    font-weight: 700;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 4px;
}

.mci-rec-text {
    font-size: 13px;
    font-weight: 500;
    color: #fef3c7;
    line-height: 1.5;
}

.mci-price-box {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(220, 38, 38, 0.08) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.mci-price-box::before {
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.mci-price-box .mci-rec-label {
    color: #f87171;
}

.mci-price-text {
    font-size: 18px;
    font-weight: 700;
    color: #fca5a5;
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.mci-join-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(124, 58, 237, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 8px;
    color: #c4b5fd;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.mci-join-btn:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(124, 58, 237, 0.2) 100%);
}

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

.mci-league {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
}

.mci-views {
    font-size: 12px;
    color: #ff9500;
    font-weight: 600;
}

.mci-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.mci-team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.mci-team-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.home-logo {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.away-logo {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.mci-team-name {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mci-vs {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.mci-time-block {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #22d3ee;
    padding: 8px 12px;
    background: rgba(34, 211, 238, 0.1);
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid rgba(34, 211, 238, 0.2);
}

.mci-rec-line {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: white;
    padding: 10px 12px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    text-decoration: none;
    display: block;
}

.mci-rec-line.price-line {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.mci-rec-line.join-line {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

.mci-stats {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.mci-stat-box {
    flex: 1;
    padding: 10px 8px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.mci-stat-box .stat-label {
    font-size: 10px;
    color: #64748b;
    font-weight: 500;
}

.mci-stat-box .stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #e2e8f0;
}

.mci-stat-box.score-box {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.mci-stat-box.score-box .stat-value {
    color: white;
}

.mci-stat-box.score-box .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

.mci-stat-box.result-box {
    border-width: 1px solid transparent;
}

.mci-stat-box.result-box.result-win {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    animation: statusPulseFast 0.8s ease-in-out infinite;
}

.mci-stat-box.result-box.result-win .stat-value {
    color: white;
    font-size: 20px;
}

.mci-stat-box.result-box.result-lose {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
    animation: statusPulseFast 0.8s ease-in-out infinite;
}

.mci-stat-box.result-box.result-lose .stat-value {
    color: white;
    font-size: 20px;
}

.mci-stat-box.result-box.result-draw {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    border-color: transparent;
    animation: statusPulseFast 1s ease-in-out infinite;
}

.mci-stat-box.result-box.result-draw .stat-value {
    color: white;
    font-size: 20px;
}

.mci-status-box.result-win {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.4);
    animation: statusPulseFast 0.7s ease-in-out infinite;
}

.mci-status-box.result-lose {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.4);
    animation: statusPulseFast 0.7s ease-in-out infinite;
}

.mci-status-box.result-draw {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    color: white;
    animation: statusPulseFast 1s ease-in-out infinite;
}

@keyframes statusPulseFast {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }
    30% {
        transform: scale(1.08);
        filter: brightness(1.3);
    }
    60% {
        transform: scale(1.04);
        filter: brightness(1.15);
    }
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

/* ===== 响应式优化 ===== */
@media (max-width: 768px) {
    .hero-slogan {
        font-size: 14px !important;
        padding: 6px 12px !important;
    }
    
    .match-card-item {
        padding: 14px;
        border-radius: 12px;
    }
    
    .mci-team-logo {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    .mci-team-name {
        font-size: 13px;
    }
    
    .mci-time-block {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .mci-stat-box .stat-value {
        font-size: 18px;
    }
    
    .mci-rec-line {
        font-size: 13px;
        padding: 8px 10px;
    }
}

/* ===== 购买弹窗样式 ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--card-background);
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.modal-header h3 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 28px 24px;
}

.purchase-info {
    text-align: center;
}

.purchase-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.purchase-desc {
    color: var(--text-color);
    font-size: 16px;
    margin: 0 0 20px;
}

.purchase-price,
.purchase-balance {
    color: var(--text-light);
    font-size: 14px;
    margin: 10px 0;
}

.purchase-price span,
.purchase-balance span {
    color: #ef4444;
    font-weight: 700;
    font-size: 18px;
}

.purchase-balance span {
    color: #22d3ee;
}

.purchase-warning {
    margin-top: 20px;
    padding: 12px 16px;
    background: var(--warning-bg);
    border: 1px solid var(--warning-color);
    border-radius: 8px;
    color: var(--warning-color);
    font-size: 14px;
    text-align: center;
}

.purchase-warning.insufficient {
    background: var(--error-bg);
    border-color: var(--error-color);
    color: var(--error-color);
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
}

.modal-footer button {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cancel {
    background: var(--border-color);
    color: var(--text-color);
}

.btn-cancel:hover {
    background: var(--border-light);
}

.btn-confirm {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.btn-confirm:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}

.btn-confirm.disabled {
    background: var(--border-color);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

/* 价格标签可点击样式 */
.price-tag.clickable,
.mci-rec-line.price-line.clickable {
    cursor: pointer;
    transition: all 0.2s;
}

.price-tag.clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5);
}

.mci-rec-line.price-line.clickable:hover {
    opacity: 0.9;
    transform: scale(1.02);
}