* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --gold: #d4a853;
  --gold-light: #f0d080;
  --gold-dark: #b8922e;
  --gold-glow: rgba(212, 168, 83, 0.25);
  --bg: #080808;
  --bg-card: #111111;
  --bg-card-alt: #161616;
  --bg-elevated: #1a1a1a;
  --text: #f0ece4;
  --text-dim: #8a8578;
  --text-muted: #5a5550;
  --green: #2ecc71;
  --red: #e74c3c;
  --blue: #3498db;
  --border: #222;
  --border-gold: rgba(212, 168, 83, 0.3);
  --gradient-gold: linear-gradient(135deg, #d4a853 0%, #f0d080 50%, #d4a853 100%);
  --gradient-dark: linear-gradient(180deg, #111 0%, #080808 100%);
  --radius: 14px;
  --radius-sm: 10px;
}

html { font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  max-width: 480px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 0; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: env(safe-area-inset-top) 16px 0;
}

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

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

.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--gold-glow);
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-cn {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-en {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-muted);
  transition: color 0.2s;
  margin-right: 8px;
}
.back-btn:hover {
  color: var(--gold);
}
.back-btn svg {
  width: 20px;
  height: 20px;
}


.nav-icons {
  display: flex;
  gap: 6px;
}

.nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.nav-icon:hover, .nav-icon.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 168, 83, 0.08);
}

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  z-index: 100;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 12px;
  color: var(--text-muted);
  font-size: 10px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: none;
}

.nav-item-icon { font-size: 20px; display: flex; align-items: center; justify-content: center; }
.nav-item-icon svg { width: 22px; height: 22px; }

.nav-item.active { color: var(--gold); }
.nav-item.active .nav-item-icon {
  filter: drop-shadow(0 0 6px var(--gold-glow));
}

/* ===== MAIN ===== */
.main {
  padding: 16px 16px calc(80px + env(safe-area-inset-bottom));
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #1a1508 0%, #0d0d0d 40%, #0a0812 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid var(--border-gold);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #fff 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 20px;
  line-height: 1.5;
}

.stats-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.stat-box {
  flex: 1;
  text-align: center;
  padding: 10px 4px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.stat-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ===== SECTION ===== */
.section {
  margin-bottom: 24px;
}

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

.section-title {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-title-en {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-left: 4px;
}

.section-more {
  font-size: 12px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 2px;
}

/* ===== MATCH CARD ===== */
.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 10px;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.match-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity 0.2s;
}

.match-card:active {
  transform: scale(0.98);
  border-color: var(--border-gold);
}

.match-card:active::after { opacity: 1; }

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

.match-league-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.league-cn {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
}
.league-en {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: rgba(240, 173, 78, 0.55);
  margin-top: 2px;
}

.match-status {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.countdown-text {
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
  font-family: 'Courier New', monospace;
}
.countdown-over {
  color: var(--red);
  font-size: 9px;
  font-weight: 700;
}

.status-upcoming {
  background: rgba(212, 168, 83, 0.12);
  color: var(--gold);
}

.status-live {
  background: rgba(231, 76, 60, 0.15);
  color: var(--red);
  animation: pulse 1.5s infinite;
}

.status-finished {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

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

.team-name {
  font-size: 17px;
  font-weight: 700;
}

.team-name-en {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

.match-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 70px;
}

.score-display {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 4px;
  text-shadow: 0 0 20px var(--gold-glow);
}

.vs-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 3px;
}

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

.match-preds-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.match-preds-card:active {
  border-color: var(--border-gold);
}

/* Prediction rows inside match card */
.pred-section {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 12px 0 4px;
  margin-top: 14px;
}
.pred-prediction-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 0;
}
.pred-prediction-row + .pred-prediction-row {
  border-top: 1px solid rgba(255,255,255,0.04);
}
.pred-prediction-expert {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pred-prediction-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.pred-prediction-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.pred-prediction-title {
  font-size: 11px;
  color: var(--text-muted);
}
.pred-prediction-main {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pred-prediction-pick {
  font-size: 14px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(212, 168, 83, 0.1);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  white-space: nowrap;
}
.pred-prediction-locked {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  font-style: italic;
}
.pred-prediction-conf {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pred-prediction-analysis {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-top: 4px;
}
.unlock-btn-sm {
  margin-top: 4px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  background: var(--gradient-gold);
  color: #1a1a1a;
  cursor: pointer;
  width: auto;
  align-self: flex-start;
}
.fold-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  margin-top: 8px;
  border-radius: var(--radius-sm);
  background: rgba(212, 168, 83, 0.06);
  border: 1px dashed var(--border-gold);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.fold-toggle:active {
  background: rgba(212, 168, 83, 0.12);
}
.fold-arrow {
  font-size: 11px;
  color: var(--gold);
  transition: transform 0.2s;
}
.fold-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
}

/* Existing styles below */
.match-preds {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.pred-chip {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(212, 168, 83, 0.08);
  color: var(--gold);
  border: 1px solid rgba(212, 168, 83, 0.15);
}

/* ===== EXPERT CARD ===== */
.expert-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.expert-scroll::-webkit-scrollbar { display: none; }

.expert-card {
  min-width: 140px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  cursor: pointer;
  scroll-snap-align: start;
  transition: all 0.2s;
  flex-shrink: 0;
}

.expert-card:active {
  transform: scale(0.96);
  border-color: var(--border-gold);
}

.expert-rank {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expert-avatar {
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1508, #222);
  border: 2px solid var(--border-gold);
  box-shadow: 0 0 16px var(--gold-glow);
  overflow: hidden;
}

.expert-avatar svg {
  width: 100%;
  height: 100%;
}

.expert-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.expert-title-text {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.expert-winrate {
  font-size: 24px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.expert-winrate-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

.expert-streak {
  font-size: 11px;
  font-weight: 700;
  margin-top: 6px;
}

.streak-up { color: var(--green); }
.streak-down { color: var(--red); }

/* ===== PREDICTION CARD ===== */
.pred-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 10px;
  transition: all 0.2s;
}

.pred-card:active {
  border-color: var(--border-gold);
}

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

.pred-expert-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pred-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1508, #222);
  border: 1px solid var(--border-gold);
  overflow: hidden;
}

.pred-avatar svg,
.pred-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pred-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.pred-role {
  font-size: 12px;
  color: var(--text-dim);
}

.pred-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.badge-correct {
  background: rgba(46, 204, 113, 0.12);
  color: var(--green);
}

.badge-wrong {
  background: rgba(231, 76, 60, 0.12);
  color: var(--red);
}


.badge-push {
  background: rgba(149, 165, 166, 0.12);
  color: #95a5a6;
}

.badge-pending {
  background: rgba(212, 168, 83, 0.1);
  color: var(--gold);
}

.pred-match-ref {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pred-match-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}


.match-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  margin-left: 12px;
  margin-right: 2px;
}
.match-live-dot {
  width: 6px;
  height: 6px;
  background: #ff4444;
  border-radius: 50%;
  animation: blink 1s ease-in-out infinite;
}
.match-live-text {
  font-size: 13px;
  color: #ff4444;
  font-weight: 600;
  letter-spacing: 2px;
}

.expert-today-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(240,208,128,0.06) 0%, rgba(240,208,128,0.02) 100%);
  border: 1px solid rgba(240,208,128,0.2);
  border-radius: 14px;
  margin: 0 16px 8px;
  box-shadow: 0 0 16px 2px rgba(240,208,128,0.04);
}
.expert-today-dot {
  width: 8px; height: 8px;
  background: #f0d080;
  border-radius: 50%;
  animation: breathe 2s ease-in-out infinite;
  flex-shrink: 0;
  box-shadow: 0 0 8px 2px rgba(240,208,128,0.6);
}
.expert-today-text {
  font-size: 14px;
  color: #f0d080;
  font-weight: 600;
}
.pred-match-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 500;
}

.pred-main {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.pred-pick {
  font-size: 18px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: rgba(212, 168, 83, 0.1);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  white-space: normal;
}

.pred-conf {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.conf-bar-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.conf-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--gradient-gold);
  transition: width 0.6s ease;
}

.conf-text {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

.pred-analysis {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

.pred-locked {
  border-color: rgba(255, 255, 255, 0.04);
}

.pred-pick-locked {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 15px;
  font-weight: 600;
}

.unlock-btn {
  margin-top: 12px;
  width: 100%;
  font-size: 14px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.unlock-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.coin-display {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(212, 168, 83, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-gold);
}

.coin-display .icon-inline svg {
  width: 14px;
  height: 14px;
}

/* ===== PAYMENT MODAL ===== */
.pay-modal {
  max-width: 380px;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

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

.pay-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.pay-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
}

.pay-modal-body {
  padding: 20px;
}

.pay-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(212, 168, 83, 0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  border: 1px solid var(--border-gold);
}

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

.pay-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
}

.pay-section-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.pay-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.pay-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.pay-method:hover {
  border-color: rgba(212, 168, 83, 0.3);
  background: rgba(212, 168, 83, 0.03);
}

.pay-method-disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

.pay-method-disabled .pay-method-desc {
  font-size: 12px;
  font-weight: 600;
  color: #e8952e;
  margin-top: 4px;
}

.pay-method.selected {
  border-color: var(--gold);
  background: rgba(212, 168, 83, 0.06);
}

.pay-method-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.pay-method-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pay-icon-alipay img {
  transform: scale(1.4);
}




.pay-method-info {
  flex: 1;
}

.pay-method-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.pay-method-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.pay-method-radio {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.pay-method.selected .pay-method-radio {
  border-color: var(--gold);
}

.pay-method.selected .pay-method-radio::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.pay-confirm-btn {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
}

.pay-confirm-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== DETAIL PAGE ===== */
.detail-hero {
  background: linear-gradient(135deg, #1a1508 0%, #0d0d0d 40%, #0a0812 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 28px 20px;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.detail-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}



/* Expert Follow Button */
.detail-hero-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  min-height: 72px;
}
.btn-follow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid var(--gold);
  background: #1a1206;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  z-index: 10;
}
.follow-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.follow-text-cn {
  font-size: 12px;
  font-weight: 700;
}
.follow-text-en {
  font-size: 9px;
  font-weight: 400;
  opacity: 0.8;
  letter-spacing: 0.5px;
}
.btn-follow .icon-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.btn-follow .icon-inline svg {
  width: 16px;
  height: 16px;
}
.btn-follow:hover {
  background: var(--gold);
  color: var(--bg);
}
.btn-follow.following {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.btn-follow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.detail-avatar-lg {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1508, #222);
  border: 2px solid var(--gold);
  box-shadow: 0 0 24px var(--gold-glow);
  overflow: hidden;
}
.detail-avatar-lg img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.detail-avatar-lg svg {
  width: 100%;
  height: 100%;
}

.detail-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 2px;
}

.detail-subtitle {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.detail-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.detail-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.detail-stat-box {
  padding: 12px 6px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
}

.detail-stat-num {
  font-size: 20px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.detail-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}


/* Match Prediction Section */
.pred-section {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 10px 0 4px;
  margin-top: 10px;
}
.pred-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}
.pred-row + .pred-row {
  border-top: 1px solid rgba(255,255,255,0.04);
}
.mini-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mini-avatar svg {
  width: 100%;
  height: 100%;
}
.mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pred-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.pred-expert-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
}
.pred-pick {
  font-size: 16px;
  color: var(--gold);
}
.pred-conf {
  color: var(--gold);
  font-weight: 700;
}
.pred-pick-locked {
  font-style: italic;
  color: var(--text-muted);
}
.pred-row .unlock-btn-sm {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  background: var(--gradient-gold);
  color: #1a1a1a;
  cursor: pointer;
}

/* Match Detail */
.match-hero {
  background: linear-gradient(135deg, #1a1508 0%, #0d0d0d 40%, #0a0812 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 28px 16px;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.match-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.match-hero-league {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.match-hero-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

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

.hero-team-name {
  font-size: 20px;
  font-weight: 800;
  margin-top: 8px;
}

.hero-team-en {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-team-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-score {
  font-size: 40px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 6px;
  text-shadow: 0 0 24px var(--gold-glow);
}

.hero-vs {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 4px;
}

.match-hero-time {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== FILTER BAR ===== */
.filter-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.filter-bar::-webkit-scrollbar { display: none; }

.filter-chip {
  padding: 9px 18px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-chip:active { transform: scale(0.95); }

.filter-chip.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  box-shadow: 0 0 16px var(--gold-glow);
}

/* ===== RANKING LIST ===== */
.ranking-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.ranking-item:active {
  border-color: var(--border-gold);
  transform: scale(0.98);
}

.ranking-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rank-1 { background: var(--gradient-gold); color: #000; }
.rank-2 { background: linear-gradient(135deg, #c0c0c0, #e0e0e0); color: #000; }
.rank-3 { background: linear-gradient(135deg, #cd7f32, #daa060); color: #000; }
.rank-other { background: var(--bg-elevated); color: var(--text-muted); }

.ranking-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1508, #222);
  border: 1px solid var(--border-gold);
  flex-shrink: 0;
  overflow: hidden;
}

.ranking-avatar svg {
  width: 100%;
  height: 100%;
}

.ranking-info { flex: 1; }

.ranking-name {
  font-size: 15px;
  font-weight: 700;
}

.ranking-title {
  font-size: 12px;
  color: var(--text-muted);
}

.ranking-winrate {
  font-size: 18px;
  font-weight: 900;
  color: var(--gold);
}

/* ===== ADMIN ===== */
.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 10px;
}

.admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.admin-row:last-child { border-bottom: none; }

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

.admin-value {
  font-size: 13px;
  font-weight: 600;
}

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

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%238a8578'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.form-select option {
  background: var(--bg-card);
  color: var(--text);
}

.btn {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  letter-spacing: 0.5px;
}

.btn:active { transform: scale(0.98); }

.btn-gold {
  background: var(--gradient-gold);
  color: #000;
  box-shadow: 0 4px 16px var(--gold-glow);
}

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

.btn-sm {
  width: auto;
  padding: 6px 14px;
  font-size: 11px;
}

.btn-xs {
  width: auto;
  padding: 4px 10px;
  font-size: 10px;
  border-radius: 6px;
}

.btn-green {
  background: rgba(46, 204, 113, 0.15);
  color: var(--green);
  border: 1px solid rgba(46, 204, 113, 0.2);
}

.btn-red {
  background: rgba(231, 76, 60, 0.15);
  color: var(--red);
  border: 1px solid rgba(231, 76, 60, 0.2);
}

/* ===== TABS ===== */
.tabs {
  display: flex;
  gap: 2px;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 3px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.tab-btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  font-family: inherit;
}

.tab-btn.active {
  background: var(--gold);
  color: #000;
  box-shadow: 0 2px 8px var(--gold-glow);
}

/* ===== MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  align-items: flex-end;
  justify-content: center;
}

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

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  max-width: 480px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.modal-actions .btn { flex: 1; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--bg-elevated);
  color: var(--gold);
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s;
  border: 1px solid var(--border-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  max-width: 90%;
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}

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

.empty-text {
  font-size: 13px;
}

/* ===== TABLE (admin) ===== */
.data-table {
  width: 100%;
  font-size: 12px;
}

.data-table th {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  vertical-align: middle;
}

.data-table tr:active {
  background: rgba(212, 168, 83, 0.05);
}

/* ===== MISC ===== */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
  margin: 20px 0;
}

.icon-inline {
  display: inline-flex;
  width: 20px;
  height: 20px;
  vertical-align: -3px;
  margin-right: 2px;
}

.icon-inline svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold);
}

.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-dim { color: var(--text-muted); }
.fw-800 { font-weight: 800; }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mb-16 { margin-bottom: 16px; }


/* ===== HISTORY CHART ===== */
.history-chart {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.history-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.history-month {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  width: 70px;
  flex-shrink: 0;
}

.history-bar-wrap {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.history-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s ease;
}

.history-rate {
  font-size: 14px;
  font-weight: 800;
  width: 50px;
  text-align: right;
  flex-shrink: 0;
}

.history-count {
  font-size: 11px;
  color: var(--text-muted);
  width: 35px;
  text-align: right;
  flex-shrink: 0;
}

/* ===== HEADER ACTIONS ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.header-icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.header-icon-btn svg {
  width: 18px;
  height: 18px;
}

.header-icon-btn .badge-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--bg);
}

/* ===== SEARCH BAR ===== */
.search-bar-wrap {
  padding: 8px 16px 12px;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 8px 16px;
  transition: border-color 0.2s;
}

.search-bar:focus-within {
  border-color: var(--gold);
}

.search-bar svg {
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  flex-shrink: 0;
}

.search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

.search-results-section {
  padding: 0 16px;
  margin-bottom: 16px;
}

.search-results-title {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* ===== NOTIFICATIONS ===== */
.notification-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.notification-item.unread {
  border-color: var(--border-gold);
  background: rgba(212, 168, 83, 0.04);
}

.notification-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.notification-icon svg {
  width: 18px;
  height: 18px;
}

.notification-body {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.notification-content {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.4;
}

.notification-time {
  font-size: 11px;
  color: var(--text-muted);
}

.notification-badges {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.notification-type-tag {
  font-size: 11px;
  opacity: 0.7;
}

/* ===== CHECK-IN ===== */
.checkin-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  margin-bottom: 12px;
}

.checkin-streak {
  font-size: 36px;
  font-weight: 900;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.checkin-streak-label {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
  margin-bottom: 16px;
}

.checkin-days {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 16px;
}

.checkin-day {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-dim);
  background: var(--bg-card-alt);
}

.checkin-day.done {
  border-color: var(--gold);
  background: rgba(212, 168, 83, 0.15);
  color: var(--gold);
}

.checkin-day.today {
  border-color: var(--gold);
  background: var(--gradient-gold);
  color: var(--bg);
  font-weight: 700;
}

.checkin-reward {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.checkin-reward span {
  color: var(--gold);
  font-weight: 700;
}

/* ===== RECHARGE PACKAGES ===== */
.recharge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.recharge-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.recharge-card:hover, .recharge-card.selected {
  border-color: var(--gold);
  background: rgba(212, 168, 83, 0.06);
}

.recharge-card .recharge-bonus {
  position: absolute;
  top: -1px;
  right: -1px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 0 var(--radius) 0 var(--radius-sm);
}

.recharge-name {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.recharge-coins {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.recharge-coins-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
  margin-bottom: 8px;
}

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

.recharge-price::before {
  content: '¥';
  font-size: 12px;
}

/* ===== VIP PLANS ===== */
.vip-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s;
}

.vip-card:hover, .vip-card.selected {
  border-color: var(--gold);
  background: rgba(212, 168, 83, 0.06);
}

.vip-card-info {
  flex: 1;
}

.vip-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.vip-card-desc {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

.vip-card-price {
  text-align: right;
}

.vip-card-coins {
  font-size: 20px;
  font-weight: 900;
  color: var(--gold);
}

.vip-card-coins-label {
  font-size: 11px;
  color: var(--text-muted);
}

.vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--gradient-gold);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  margin-left: 8px;
}

.vip-hero-banner {
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.15), rgba(240, 208, 128, 0.15));
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 20px;
  margin-bottom: 20px;
  text-align: center;
}

.vip-hero-icon {
  font-size: 48px;
  margin-bottom: 12px;
  color: var(--gold);
  filter: drop-shadow(0 2px 8px rgba(212, 168, 83, 0.3));
}

.vip-hero-text {
  font-size: 20px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.vip-hero-subtext {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 500;
}

/* ===== REFERRAL ===== */
.referral-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  margin-bottom: 12px;
}

.referral-code {
  display: inline-block;
  background: var(--bg-elevated);
  border: 2px dashed var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--gold);
  margin: 12px 0;
}

.referral-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 12px;
}

.referral-reward {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.referral-reward-item {
  background: rgba(212, 168, 83, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  text-align: center;
}

.referral-reward-num {
  font-size: 20px;
  font-weight: 900;
  color: var(--gold);
}

.referral-reward-label {
  font-size: 11px;
  color: var(--text-dim);
}

.referral-input-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.referral-input-row input {
  flex: 1;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text);
  font-size: 14px;
  outline: none;
}

.referral-input-row input:focus {
  border-color: var(--gold);
}

/* ===== PROFILE MENU ITEMS ===== */
.profile-menu-group {
  margin-bottom: 16px;
}

.profile-menu-title {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0 4px;
  margin-bottom: 8px;
}

.profile-menu-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s;
}

.profile-menu-item:hover {
  border-color: var(--border-gold);
}

.profile-menu-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-menu-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(212, 168, 83, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.profile-menu-item-icon svg {
  width: 16px;
  height: 16px;
}

.profile-menu-item-text {
  font-size: 14px;
  font-weight: 500;
}

.profile-menu-item-arrow {
  color: var(--text-muted);
  font-size: 14px;
}

/* ===== MODAL EXTRAS ===== */
.modal-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 16px 0 10px;
}

.modal-info-text {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 12px;
}

.modal-success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.modal-success-icon svg {
  width: 30px;
  height: 30px;
}

/* Collapse/expand for history section */
.collapsible-head {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.collapse-arrow {
  font-size: 11px;
  color: var(--text-dim);
  transition: transform 0.2s;
  margin-left: auto;
}
.collapse-content {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* ===== UNLOCK CARDS ===== */
.unlock-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 10px;
}
.unlock-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.unlock-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--bg-primary);
  flex-shrink: 0;
}
.unlock-info { flex: 1; }
.unlock-expert-name { font-size: 14px; font-weight: 700; }
.unlock-time { font-size: 11px; color: var(--text-dim); }
.unlock-prediction {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--bg-secondary);
  border-radius: 8px;
  font-size: 13px;
}
.unlock-match { font-weight: 600; }
.unlock-tip { color: var(--gold); font-weight: 700; }
.unlock-result { font-weight: 700; }
.unlock-result.win { color: #4caf50; }
.unlock-result.lose { color: #f44336; }

/* ===== NOTIFICATION EXTRAS ===== */
.notification-item {
  position: relative;
  padding-right: 40px;
}
.notification-delete {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  background: transparent;
  color: var(--text-dim);
  font-size: 14px;
  transition: all 0.2s;
  opacity: 0;
}
.notification-item:hover .notification-delete {
  opacity: 0.7;
}
.notification-delete:hover {
  opacity: 1 !important;
  background: rgba(244, 67, 54, 0.15);
  color: #f44336;
}
.notification-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.notification-type-tag {
  font-size: 10px;
  opacity: 0.6;
}
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
}
.badge-coin {
  background: rgba(76, 175, 80, 0.15);
  color: #4caf50;
}
.badge-vip {
  background: var(--gold-alpha);
  color: var(--gold);
}
.badge-amount {
  background: rgba(33, 150, 243, 0.15);
  color: #2196f3;
}
.unread-count {
  font-size: 12px;
  color: var(--text-dim);
  background: var(--bg-card);
  padding: 2px 10px;
  border-radius: 10px;
}
.notif-unread-badge {
  font-size: 12px;
  color: #ff9800;
  font-weight: 600;
}

/* ===== PREDICTION FOLD/EXPAND BANNER ===== */
.pred-expand-banner {
  margin: 12px 16px;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(240,173,78,0.12) 0%, rgba(212,147,43,0.08) 100%);
  border: 1px solid rgba(240,173,78,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.pred-expand-banner:active {
  transform: scale(0.98);
  background: rgba(240,173,78,0.18);
}
.pred-banner-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pred-banner-icon {
  font-size: 18px;
}
.pred-banner-text {
  color: #f0ad4e;
  font-size: 14px;
}
.pred-banner-text b {
  font-weight: 700;
}
.pred-banner-right {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}
.pred-banner-experts {
  color: #888;
  font-size: 11px;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pred-banner-arrow {
  color: #f0ad4e;
  font-size: 14px;
  transition: transform 0.2s;
}

/* Mobile: prediction card vertical layout */
@media (max-width: 768px) {
  .pred-main {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .pred-pick {
    text-align: center;
    width: 100%;
    font-size: 18px;
    padding: 12px 16px;
  }
  .pred-conf {
    width: 100%;
  }
  .conf-bar-bg {
    height: 10px;
    border-radius: 5px;
  }
  .conf-text {
    font-size: 13px;
  }
}

/* ═══════════════ Expert Subscription UI ═══════════════ */

.sub-inactive {
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(240,208,128,0.06) 0%, rgba(240,208,128,0.02) 100%);
  border-radius: 14px;
  margin: 4px 16px 8px;
  border: 1px solid rgba(240,208,128,0.25);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 16px 2px rgba(240,208,128,0.06);
  transition: all 0.3s ease;
  animation: subPulse 3s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
@keyframes breathe {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px 2px rgba(240,208,128,0.6); }
  50% { opacity: 0.4; box-shadow: 0 0 4px 1px rgba(240,208,128,0.2); }
}
@keyframes subPulse {
  0%, 100% { box-shadow: 0 0 12px 2px rgba(240,208,128,0.06); }
  50% { box-shadow: 0 0 20px 4px rgba(240,208,128,0.12); }
}
.sub-inactive:hover {
  background: linear-gradient(135deg, rgba(240,208,128,0.1) 0%, rgba(240,208,128,0.04) 100%);
  border-color: rgba(240,208,128,0.4);
}

.sub-left { display: flex; align-items: center; gap: 10px; }
.sub-dot {
  width: 8px; height: 8px;
  background: #f0d080;
  border-radius: 50%;
  animation: breathe 2s ease-in-out infinite;
  flex-shrink: 0;
  margin-top: 4px;
}
.sub-btn-text { display: flex; flex-direction: column; gap: 2px; }
.sub-btn-label { font-size: 14px; color: #f0d080; font-weight: 600; }
.sub-lock-icon { font-size: 13px; margin-left: 2px; opacity: 0.7; }
.sub-btn-price-line {
  font-size: 12px;
  color: rgba(240, 208, 128, 0.8);
  font-weight: 500;
}
.sub-arrow {
  font-size: 20px;
  color: rgba(240, 208, 128, 0.5);
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 8px;
}
.sub-btn-price {
  font-size: 12px;
  color: #f0d080;
  font-weight: 700;
  background: rgba(240,208,128,0.1);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.sub-active {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(76,175,80,0.08);
  border-radius: 12px;
  margin: 4px 16px 8px;
  border: 1px solid rgba(76,175,80,0.25);
}
.sub-active-badge {
  font-size: 13px;
  color: #4CAF50;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sub-check {
  width: 8px; height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  box-shadow: 0 0 6px 2px rgba(76,175,80,0.4);
}
.sub-countdown {
  font-size: 12px;
  color: #4CAF50;
  font-weight: 500;
}

.sub-login-hint {
  padding: 10px 16px;
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  margin: 4px 16px 8px;
}
.sub-price-text { color: #f0d080; font-weight: 600; }

.sub-card { display:flex; justify-content:space-between; align-items:center; padding:16px; border-radius:12px; border:1px solid var(--border); background:var(--bg-card); cursor:pointer; transition:all 0.2s; margin-bottom:10px; }
.sub-card:hover, .sub-card.selected { border-color:#f0d080; background:rgba(240,208,128,0.05); }
.sub-card-info { flex:1; }
.sub-card-name { font-size:15px; font-weight:600; color:var(--text); }
.sub-card-desc { font-size:12px; color:var(--text-dim); margin-top:4px; }
.sub-card-price { text-align:right; }
.sub-card-coins { font-size:24px; font-weight:700; color:#f0d080; line-height:1; }
.sub-card-coins-label { font-size:11px; color:var(--text-dim); margin-top:2px; }

.score-no-result {
  font-size: 16px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-shadow: none;
}
.refund-badge {
  color: #2ecc71;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* ===== Agent Entry ===== */
.agent-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1a1508 0%, #111 50%, #0a0812 100%);
  border: 1px solid rgba(212, 168, 83, 0.25);
  border-radius: 14px;
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.3s;
}
.agent-entry:hover { border-color: #d4a853; box-shadow: 0 0 20px rgba(212, 168, 83, 0.1); }
.agent-entry-left { display: flex; align-items: center; gap: 16px; }
.agent-icon-wrap { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.agent-icon-svg { width: 44px; height: 44px; }
.agent-entry-title { font-size: 16px; font-weight: 700; color: #f0d080; letter-spacing: 1px; }
.agent-entry-desc { font-size: 12px; color: #8a8578; margin-top: 4px; }
.agent-entry-arrow { display: flex; align-items: center; }

.match-badge-5a {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: linear-gradient(135deg, #d4a853, #b8922e);
  color: #080808;
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 1px;
}
