* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; 
  background: #0a0e17; 
  color: #e8eaed; 
  line-height: 1.6; 
  min-height: 100vh;
}
a { 
  color: #00d4ff; 
  text-decoration: none; 
  transition: color 0.3s;
}
a:hover { 
  color: #66e5ff; 
}
.container { 
  max-width: 1400px; 
  margin: 0 auto; 
  padding: 0 24px; 
}

/* ===== 专业导航栏 ===== */
.navbar { 
  background: linear-gradient(90deg, #0d1b2a 0%, #1b2838 50%, #0d1b2a 100%); 
  padding: 0; 
  border-bottom: 2px solid #00d4ff; 
  position: sticky; 
  top: 0; 
  z-index: 1000; 
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.15);
}
.navbar .container { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  height: 70px;
}
.logo { 
  font-size: 1.8rem; 
  font-weight: 800; 
  color: #00d4ff; 
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}
.nav-links { 
  display: flex; 
  gap: 8px; 
}
.nav-links a { 
  color: #8b9dc3; 
  padding: 10px 20px; 
  transition: all 0.3s; 
  font-weight: 500;
  border-radius: 8px;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { 
  color: #00d4ff; 
  background: rgba(0, 212, 255, 0.1);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}
.nav-user { 
  display: flex; 
  gap: 12px; 
  align-items: center; 
}
.balance-display { 
  background: linear-gradient(135deg, #00c853, #00a344); 
  padding: 8px 16px; 
  border-radius: 20px; 
  color: #fff; 
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
}

/* ===== 专业按钮样式 ===== */
.btn { 
  padding: 12px 24px; 
  border: none; 
  border-radius: 8px; 
  cursor: pointer; 
  font-size: 0.95rem; 
  font-weight: 600;
  transition: all 0.3s; 
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-primary { 
  background: linear-gradient(135deg, #00d4ff, #0099cc); 
  color: #0a0e17; 
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}
.btn-primary:hover { 
  background: linear-gradient(135deg, #66e5ff, #00d4ff); 
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}
.btn-success { 
  background: linear-gradient(135deg, #00c853, #00a344); 
  color: white; 
  box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
}
.btn-success:hover { 
  background: linear-gradient(135deg, #5ee78f, #00c853); 
  transform: translateY(-2px);
}
.btn-danger { 
  background: linear-gradient(135deg, #ff3d71, #d9004c); 
  color: white; 
  box-shadow: 0 4px 15px rgba(255, 61, 113, 0.3);
}
.btn-danger:hover { 
  background: linear-gradient(135deg, #ff6b9d, #ff3d71); 
  transform: translateY(-2px);
}
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-full { width: 100%; padding: 14px; font-size: 1rem; }

/* ===== 世界杯专题横幅 ===== */
.world-cup-banner { 
  background: linear-gradient(135deg, #1a237e 0%, #0d47a1 50%, #1a237e 100%); 
  border-radius: 16px; 
  padding: 40px; 
  margin: 30px 0; 
  text-align: center;
  border: 2px solid #ffd700;
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.world-cup-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.world-cup-content { position: relative; z-index: 1; }
.world-cup-content h2 { 
  font-size: 2.5rem; 
  color: #ffd700; 
  margin-bottom: 15px;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  font-weight: 800;
}
.world-cup-content p { 
  color: #b0c4de; 
  margin-bottom: 20px;
  font-size: 1.2rem;
  letter-spacing: 1px;
}
.world-cup-odds { 
  display: flex; 
  justify-content: center; 
  gap: 15px; 
  flex-wrap: wrap;
  align-items: center;
}
.world-cup-odds span:first-child { 
  color: #fff; 
  font-weight: 700;
  font-size: 1.1rem;
}
.odds-tag { 
  background: linear-gradient(135deg, rgba(255,215,0,0.2), rgba(255,215,0,0.1)); 
  padding: 10px 20px; 
  border-radius: 25px; 
  font-size: 1rem;
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.4);
  font-weight: 600;
  transition: all 0.3s;
}
.odds-tag:hover {
  background: linear-gradient(135deg, rgba(255,215,0,0.3), rgba(255,215,0,0.2));
  transform: scale(1.05);
}

/* ===== Hero 区域 ===== */
.hero { 
  text-align: center; 
  padding: 60px 30px; 
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 50%, #0d1b2a 100%); 
  margin-bottom: 40px; 
  border-radius: 16px; 
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.hero h1 { 
  font-size: 3rem; 
  color: #00d4ff; 
  margin-bottom: 15px;
  font-weight: 800;
  text-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
}
.hero p { 
  color: #8b9dc3; 
  font-size: 1.2rem; 
  margin-bottom: 30px; 
  letter-spacing: 1px;
}
.hero-stats { 
  display: flex; 
  justify-content: center; 
  gap: 60px; 
  flex-wrap: wrap; 
}
.stat-item { 
  text-align: center; 
  padding: 20px 40px;
  background: rgba(0, 212, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(0, 212, 255, 0.1);
}
.stat-value { 
  font-size: 2.5rem; 
  font-weight: 800; 
  color: #ffd700; 
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}
.stat-label { 
  color: #8b9dc3; 
  font-size: 0.95rem;
  margin-top: 8px;
}

/* ===== 专业卡片样式 ===== */
.section { margin-bottom: 50px; }
.section-title { 
  font-size: 1.6rem; 
  color: #e8eaed; 
  margin-bottom: 25px; 
  padding-left: 20px; 
  border-left: 4px solid #00d4ff;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title .icon { font-size: 1.4rem; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  gap: 16px;
}
.section-header .section-title { margin-bottom: 0; }
.section-link {
  color: #00d4ff;
  font-size: 0.95rem;
  white-space: nowrap;
}
.section-link:hover { color: #66e5ff; }

/* 赛事卡片网格 */
.match-grid { 
  display: grid; 
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
}
.match-card { 
  background: linear-gradient(145deg, #111827 0%, #0d1421 100%); 
  border-radius: 16px; 
  padding: 24px; 
  border: 1px solid rgba(0, 212, 255, 0.1);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.match-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00d4ff, #0099cc, #00d4ff);
  opacity: 0;
  transition: opacity 0.3s;
}
.match-card:hover { 
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.15);
}
.match-card:hover::before {
  opacity: 1;
}
.match-card.featured { 
  border-color: rgba(255, 215, 0, 0.4); 
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.1);
}
.match-card.featured::before {
  background: linear-gradient(90deg, #ffd700, #ffaa00, #ffd700);
  opacity: 1;
}
.match-league { 
  color: #ffd700; 
  font-size: 0.85rem; 
  margin-bottom: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.match-teams { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  margin-bottom: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.match-team { 
  font-size: 1.2rem; 
  font-weight: 700;
  color: #e8eaed;
}
.match-vs { 
  color: #8b9dc3; 
  font-size: 0.9rem;
  padding: 8px 16px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 20px;
}
.match-time { 
  color: #8b9dc3; 
  font-size: 0.85rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.odds-row { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 12px; 
}
.odds-btn { 
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.1), rgba(0, 212, 255, 0.05)); 
  border: 1px solid rgba(0, 212, 255, 0.2); 
  border-radius: 12px; 
  padding: 15px; 
  text-align: center; 
  cursor: pointer; 
  transition: all 0.3s; 
  color: #e8eaed; 
}
.odds-btn:hover { 
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.1)); 
  border-color: #00d4ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}
.odds-label { 
  font-size: 0.8rem; 
  color: #8b9dc3; 
  margin-bottom: 8px;
}
.odds-value { 
  font-size: 1.3rem; 
  font-weight: 700; 
  color: #00d4ff;
}
.live-badge { 
  background: linear-gradient(135deg, #ff3d71, #d9004c); 
  color: white; 
  padding: 4px 12px; 
  border-radius: 20px; 
  font-size: 0.75rem; 
  font-weight: 600;
  animation: pulse 2s infinite;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
}
@keyframes pulse { 
  0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(255, 61, 113, 0.5); } 
  50% { opacity: 0.8; box-shadow: 0 0 20px rgba(255, 61, 113, 0.8); } 
}

/* Cards */
.card { background: #1a2332; border-radius: 8px; padding: 20px; margin-bottom: 15px; border: 1px solid #2a3a4a; }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.card-title { font-size: 1.1rem; color: #e0e0e0; }

/* Match cards */
.match-grid { display: grid; gap: 15px; }
.match-card { background: #1a2332; border-radius: 8px; padding: 20px; border: 1px solid #2a3a4a; }
.match-league { color: #ffd54f; font-size: 0.85rem; margin-bottom: 8px; }
.match-teams { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.match-team { font-size: 1.1rem; font-weight: bold; }
.match-vs { color: #78909c; font-size: 0.9rem; }
.match-time { color: #78909c; font-size: 0.85rem; }
.odds-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 15px; }
.odds-btn { background: #263238; border: 1px solid #37474f; border-radius: 4px; padding: 10px; text-align: center; cursor: pointer; transition: all 0.2s; color: #e0e0e0; }
.odds-btn:hover { background: #37474f; border-color: #4fc3f7; }
.odds-label { font-size: 0.75rem; color: #78909c; }
.odds-value { font-size: 1.1rem; font-weight: bold; color: #ffd54f; }
.live-badge { background: #f44336; color: white; padding: 2px 8px; border-radius: 3px; font-size: 0.75rem; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* Lottery */
.lottery-grid { display: grid; gap: 15px; }
.lottery-card { background: #1a2332; border-radius: 8px; padding: 20px; border: 1px solid #2a3a4a; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.lottery-name { font-size: 1.1rem; font-weight: bold; color: #4fc3f7; }
.lottery-period { color: #ffd54f; }
.lottery-numbers { font-size: 1.3rem; letter-spacing: 5px; color: #e0e0e0; }
.lottery-time { color: #78909c; font-size: 0.85rem; }

/* Modal */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 200; justify-content: center; align-items: center; }
.modal.show { display: flex; }
.modal-content { background: #1a2332; border-radius: 8px; padding: 30px; width: 90%; max-width: 450px; position: relative; border: 1px solid #2a3a4a; }
.close { position: absolute; right: 15px; top: 10px; font-size: 1.5rem; cursor: pointer; color: #78909c; }
.close:hover { color: #e0e0e0; }

/* Forms */
input, select { width: 100%; padding: 10px 12px; margin-bottom: 12px; border: 1px solid #37474f; border-radius: 4px; background: #263238; color: #e0e0e0; font-size: 0.95rem; }
input:focus, select:focus { outline: none; border-color: #4fc3f7; }
.auth-form { margin-top: 20px; }
.auth-tabs { display: flex; gap: 0; margin-bottom: 20px; }
.auth-tabs button { flex: 1; padding: 10px; background: #263238; border: none; color: #78909c; cursor: pointer; font-size: 0.95rem; }
.auth-tabs button.active { background: #37474f; color: #4fc3f7; }

/* Tabs */
.tabs { display: flex; gap: 0; margin-bottom: 20px; border-bottom: 1px solid #2a3a4a; }
.tabs button { padding: 10px 20px; background: none; border: none; color: #78909c; cursor: pointer; font-size: 0.95rem; border-bottom: 2px solid transparent; }
.tabs button.active { color: #4fc3f7; border-bottom-color: #4fc3f7; }

/* Profile */
.profile-section { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 30px; }
.profile-card { background: #1a2332; border-radius: 8px; padding: 25px; border: 1px solid #2a3a4a; }
.profile-card h2 { color: #4fc3f7; margin-bottom: 10px; }
.balance { font-size: 1.5rem; color: #a5d6a7; margin-bottom: 10px; }
.deposit-box { background: #1a2332; border-radius: 8px; padding: 25px; border: 1px solid #2a3a4a; }
.deposit-box h3 { margin-bottom: 15px; color: #e0e0e0; }

/* Tables */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #2a3a4a; }
.table th { background: #263238; color: #4fc3f7; font-size: 0.85rem; }
.table td { font-size: 0.9rem; }
.table tr:hover { background: #1e2d3d; }

/* Status badges */
.badge { padding: 3px 8px; border-radius: 3px; font-size: 0.75rem; }
.badge-pending { background: #ff9800; color: #fff; }
.badge-won { background: #4caf50; color: #fff; }
.badge-lost { background: #f44336; color: #fff; }
.badge-open { background: #2196f3; color: #fff; }
.badge-drawn { background: #9c27b0; color: #fff; }
.badge-active { background: #4caf50; color: #fff; }
.badge-disabled { background: #f44336; color: #fff; }

/* Filter */
.filter-bar { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-bar select { width: auto; margin-bottom: 0; min-width: 150px; }

/* Dashboard */
.dashboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-bottom: 30px; }
.dash-card { background: #1a2332; border-radius: 8px; padding: 20px; border: 1px solid #2a3a4a; text-align: center; }
.dash-card .value { font-size: 2rem; font-weight: bold; color: #ffd54f; }
.dash-card .label { color: #78909c; font-size: 0.85rem; margin-top: 5px; }

/* Admin login */
.login-box { max-width: 400px; margin: 80px auto; background: #1a2332; padding: 40px; border-radius: 8px; border: 1px solid #2a3a4a; text-align: center; }
.login-box h2 { margin-bottom: 25px; color: #4fc3f7; }

/* Footer */
.footer { text-align: center; padding: 20px; color: #546e7a; margin-top: 40px; border-top: 1px solid #2a3a4a; }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-stats { gap: 20px; }
  .profile-section { grid-template-columns: 1fr; }
  .odds-row { grid-template-columns: repeat(3, 1fr); }
  .nav-links { gap: 10px; }
  .nav-links a { font-size: 0.85rem; }
}
