/* ============================================
   WorldCup Bet — VueXy theme adaptation
   Football-specific components on top of Vuexy
   ============================================ */

:root {
  --wc-gold: #ff9f43;
  --wc-green: #28c76f;
  --wc-red: #ea5455;
}

/* Brand logo color in menu */
.app-brand-text { color: var(--wc-gold) !important; }

/* Section title */
.section-title {
  font-weight: 700;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 42px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--wc-gold), transparent);
}

/* ===== MATCH CARD ===== */
.match-card {
  border-radius: 0.5rem;
  transition: transform .2s, box-shadow .2s;
  height: 100%;
}
.match-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1.25rem rgba(0,0,0,.4);
}
.team-name { font-weight: 600; font-size: .9rem; }
.team-flag-placeholder {
  width: 48px; height: 36px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  color: var(--wc-gold);
  background: rgba(255,159,67,.12);
  border: 1px solid rgba(255,159,67,.3);
  margin: 0 auto;
}
.team-flag {
  width: 48px; height: 36px;
  object-fit: cover; border-radius: 6px;
}
.vs-badge {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-weight: 800; font-size: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--wc-gold), #ff7b00);
}
.match-stage {
  font-size: .72rem; font-weight: 600;
}
.score-box {
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 4px 12px;
  min-width: 70px; text-align: center;
}
.score-box .score-num { font-size: 1.25rem; font-weight: 800; }

/* ===== ODDS BUTTONS ===== */
.odd-btn {
  display: block;
  text-align: center;
  padding: 8px 6px;
  border-radius: 8px;
  background: rgba(255,159,67,.08);
  border: 1px solid rgba(255,159,67,.25);
  color: #fff;
  transition: all .15s;
}
.odd-btn:hover {
  background: rgba(255,159,67,.2);
  border-color: var(--wc-gold);
  transform: translateY(-2px);
  color: #fff;
}
.odd-btn .odd-label { display: block; font-size: .68rem; opacity: .7; }
.odd-btn .odd-value { font-weight: 800; color: var(--wc-gold); font-size: 1.05rem; }

/* ===== TEAM CARD (Teams page) ===== */
.team-card {
  border-radius: .5rem;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
  height: 100%;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 0.5rem 1.25rem rgba(0,0,0,.4); }
.team-flag-lg {
  width: 84px; height: 60px;
  object-fit: cover; border-radius: 8px;
  margin: 0 auto 12px; display: block;
}

/* ===== STATS WIDGET (home) ===== */
.wc-stat-icon {
  width: 42px; height: 42px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

/* ===== AUTH PAGES (centered) ===== */
.wc-auth-wrapper {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.wc-auth-card { width: 100%; max-width: 420px; }

/* status pills (bets) */
.status-pill { padding: .25rem .6rem; border-radius: 50rem; font-size: .75rem; font-weight: 600; }
.status-won { background: rgba(40,199,111,.16); color: var(--wc-green); }
.status-lost { background: rgba(234,84,85,.16); color: var(--wc-red); }
.status-pending { background: rgba(255,159,67,.16); color: var(--wc-gold); }
.status-refunded { background: rgba(0,207,232,.16); color: #00cfe8; }

/* odds value generic */
.text-gold { color: var(--wc-gold) !important; }

/* ============================================
   COMPATIBILITY — map legacy site.css classes
   onto Vuexy look so existing views keep working
   ============================================ */
.glass-card {
  background: var(--bs-card-bg, #2f3349);
  border: 1px solid var(--bs-border-color, #434968);
  border-radius: .5rem;
  box-shadow: 0 0.25rem 1.125rem rgba(0,0,0,.3);
}
.match-card,
.team-card { background: var(--bs-card-bg, #2f3349); border: 1px solid var(--bs-border-color, #434968); }

/* Gold buttons -> warning-like gradient */
.btn-gold {
  background: linear-gradient(135deg, var(--wc-gold), #ff7b00);
  border: none; color: #fff; font-weight: 600;
}
.btn-gold:hover { color: #fff; box-shadow: 0 0.25rem 0.75rem rgba(255,159,67,.4); }
.btn-outline-gold {
  border: 1px solid var(--wc-gold); color: var(--wc-gold);
  background: transparent; font-weight: 600;
}
.btn-outline-gold:hover { background: var(--wc-gold); color: #fff; }

/* Hero (home) */
.hero-section {
  background: linear-gradient(135deg, #2f3349 0%, #25293c 60%, #1c1f2e 100%);
  border: 1px solid var(--bs-border-color, #434968);
  border-radius: .75rem;
  padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
}
.fw-black { font-weight: 900; }
.text-gradient {
  background: linear-gradient(135deg, var(--wc-gold), var(--wc-green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Stats bar (home) */
.stats-bar {
  background: var(--bs-card-bg, #2f3349);
  border: 1px solid var(--bs-border-color, #434968);
  border-radius: .75rem;
  margin-top: 1rem;
}
.stats-bar-item { padding: 1rem .75rem; }
.stats-bar-item--border { border-left: 1px solid var(--bs-border-color, #434968); }
.stats-bar-icon { color: var(--wc-gold); margin-bottom: 4px; }
.stats-bar-value { font-size: 1.6rem; font-weight: 800; color: var(--wc-gold); line-height: 1.1; }
.stats-bar-label { font-size: .72rem; opacity: .8; text-transform: uppercase; letter-spacing: .5px; margin-top: 4px; }

/* Match badges */
.badge-live { background: var(--wc-green); color: #fff; }
.badge-upcoming { background: rgba(0,207,232,.18); color: #00cfe8; }
.badge-finished { background: rgba(168,170,174,.2); color: #a8aaae; }
.bet-live { background: rgba(40,199,111,.18); color: var(--wc-green); border: 1px solid var(--wc-green); }
.match-time { font-size: .82rem; opacity: .85; }

/* Bank info card (deposit legacy) */
.bank-info-card { background: rgba(255,159,67,.08); border: 1px solid rgba(255,159,67,.3); }

/* Filter chips (matches) */
.stage-chip {
  display: inline-block; padding: 5px 14px; border-radius: 50rem;
  font-size: .8rem; font-weight: 600; text-decoration: none;
  border: 1px solid var(--bs-border-color, #434968); color: var(--bs-body-color);
  transition: all .15s;
}
.stage-chip:hover, .stage-chip.active {
  background: rgba(255,159,67,.15); border-color: var(--wc-gold); color: var(--wc-gold);
}

/* Notifications */
.notif-unread { background: rgba(255,159,67,.10) !important; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; padding: 0; }
.notif-row.unread { border-left: 3px solid var(--wc-gold); }

/* Admin card legacy */
.admin-card {
  background: var(--bs-card-bg, #2f3349);
  border: 1px solid var(--bs-border-color, #434968);
  border-radius: .5rem;
  padding: 1.5rem;
  box-shadow: 0 0.25rem 1.125rem rgba(0,0,0,.3);
}

/* ===== WINNERS TICKER ===== */
.wc-ticker {
  display: flex; align-items: center;
  background: linear-gradient(90deg, rgba(40,199,111,.14), rgba(255,159,67,.10));
  border: 1px solid var(--bs-border-color, #434968);
  border-radius: .5rem;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.wc-ticker-label {
  flex-shrink: 0;
  display: flex; align-items: center;
  background: var(--wc-green);
  color: #fff; font-weight: 700; font-size: .8rem;
  padding: .55rem .85rem;
  letter-spacing: .5px;
}
.wc-ticker-viewport { overflow: hidden; flex: 1; }
.wc-ticker-track {
  display: inline-flex; white-space: nowrap;
  will-change: transform;
  animation: wc-ticker-scroll 40s linear infinite;
}
.wc-ticker:hover .wc-ticker-track { animation-play-state: paused; }
.wc-ticker-item { padding: .55rem 2rem .55rem .5rem; font-size: .88rem; }
.wc-ticker-amount { color: var(--wc-gold); font-weight: 800; }
@keyframes wc-ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== DISCLAIMER BANNER ===== */
.wc-disclaimer {
  background: rgba(0,207,232,.10);
  border: 1px solid rgba(0,207,232,.35);
  color: #a9eef7;
  border-radius: .5rem;
  padding: .65rem 1rem;
  font-size: .85rem;
  display: flex; align-items: flex-start; gap: .6rem;
  margin-bottom: 1.25rem;
}
.wc-disclaimer .ti { flex-shrink: 0; font-size: 1.1rem; margin-top: 1px; }
.wc-disclaimer .btn-close { margin-left: auto; }

/* Auth pages still using site.css are self-contained; no mapping needed */
