@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
  --primary: #c00000;
  --primary-dark: #9b0000;
  --primary-light: #ff2d2d;
  --bg: #f0f2f5;
  --white: #ffffff;
  --dark: #1a1a2e;
  --text: #333333;
  --text-secondary: #666666;
  --text-muted: #999999;
  --border: #e8e8e8;
  --success: #25a153;
  --warning: #f5a623;
  --info: #2196f3;
  --danger: #e74c3c;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.12);
  --radius: 10px;
  --max-w: 480px;
  --transition: all 0.25s ease;
}

* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family:'Roboto',sans-serif;
  background:#e5e5e5;
  color:var(--text);
  min-height:100vh;
  display:flex;
  justify-content:center;
}
a { text-decoration:none; color:inherit; }
img { max-width:100%; }
button, input, select, textarea { font-family:inherit; }

/* ===== APP CONTAINER ===== */
.app-container {
  width:100%;
  max-width:var(--max-w);
  background:var(--bg);
  min-height:100vh;
  position:relative;
  box-shadow:0 0 30px rgba(0,0,0,0.1);
  overflow-x:hidden;
}

/* ===== HEADER ===== */
header { background:var(--primary); color:#fff; position:sticky; top:0; z-index:100; }
.top-bar {
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 16px; height:52px;
}
.hamburger { font-size:20px; cursor:pointer; width:32px; }
.logo-text {
  font-size:20px; font-weight:900; font-style:italic;
  letter-spacing:1px; color:#fff; text-decoration:none;
}
.header-right { display:flex; gap:16px; align-items:center; }
.header-right a, .header-right span { color:#fff; font-size:18px; cursor:pointer; }
.wallet-pill {
  display:flex; align-items:center; gap:4px;
  background:rgba(255,255,255,0.2); padding:4px 10px;
  border-radius:20px; font-size:13px; font-weight:500;
}

/* ===== SPORTS TABS ===== */
.sports-tabs {
  display:flex; overflow-x:auto; scrollbar-width:none;
  background:var(--primary); padding:0 8px;
}
.sports-tabs::-webkit-scrollbar { display:none; }
.sport-tab {
  padding:10px 14px; color:rgba(255,255,255,0.65); font-size:13px;
  font-weight:500; white-space:nowrap; border-bottom:3px solid transparent;
  cursor:pointer; display:flex; align-items:center; gap:5px;
  transition:var(--transition);
}
.sport-tab.active { color:#fff; border-bottom-color:#fff; }
.sport-tab:hover { color:#fff; }

/* ===== BANNER ===== */
.banner-section { padding:12px 16px 4px; }
.banner-img {
  width:100%; border-radius:var(--radius);
  box-shadow:var(--shadow-md); display:block;
}

/* ===== SECTION TITLE ===== */
.section-title {
  padding:14px 16px 8px; font-size:15px; font-weight:700; color:var(--text);
}

/* ===== MATCH CARD ===== */
.match-card {
  background:var(--white); margin:0 12px 12px; border-radius:var(--radius);
  box-shadow:var(--shadow-sm); display:block; overflow:hidden;
  transition:var(--transition); border:1px solid var(--border);
}
.match-card:active { transform:scale(0.98); }
.match-series {
  padding:8px 12px; font-size:11px; color:var(--text-muted);
  border-bottom:1px solid var(--border);
  display:flex; justify-content:space-between; align-items:center;
}
.match-series strong { color:var(--text-secondary); font-size:12px; }
.live-dot {
  width:8px; height:8px; background:var(--primary); border-radius:50%;
  display:inline-block; animation:pulse 1.5s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; } 50% { opacity:0.3; }
}
.match-body {
  padding:14px 12px; display:flex;
  justify-content:space-between; align-items:center;
}
.team-info {
  display:flex; align-items:center; gap:8px; flex:1;
}
.team-info.right { flex-direction:row-reverse; text-align:right; }
.team-flag {
  width:40px; height:40px; border-radius:50%; object-fit:cover;
  background:linear-gradient(135deg,#eee,#ddd);
  display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:11px; color:#555;
  border:2px solid var(--border); flex-shrink:0;
}
.team-name { font-size:14px; font-weight:700; }
.team-short { font-size:11px; color:var(--text-muted); }
.match-vs {
  text-align:center; flex:0 0 80px;
}
.match-timer {
  color:var(--primary); font-size:12px; font-weight:700;
  background:rgba(192,0,0,0.08); padding:3px 8px;
  border-radius:4px; display:inline-block;
}
.match-timer.live { animation:pulse 1.5s infinite; }
.match-date { font-size:10px; color:var(--text-muted); margin-top:3px; }
.match-footer {
  background:#fafafa; padding:7px 12px; font-size:11px;
  border-top:1px solid var(--border);
  display:flex; gap:12px; align-items:center;
}
.mega-tag {
  background:linear-gradient(90deg,#fff8e1,#fff3cd);
  color:#b8860b; padding:2px 8px; border-radius:4px;
  font-weight:700; font-size:10px; border:1px solid #f0d980;
}
.lineup-tag {
  color:var(--success); font-size:10px; font-weight:500;
}

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  position:fixed; bottom:0; width:100%; max-width:var(--max-w);
  background:var(--white); display:flex; justify-content:space-around;
  padding:6px 0 8px; border-top:1px solid var(--border);
  z-index:100; box-shadow:0 -2px 10px rgba(0,0,0,0.05);
}
.nav-item {
  display:flex; flex-direction:column; align-items:center;
  color:var(--text-muted); font-size:10px; gap:3px;
  padding:4px 8px; transition:var(--transition);
}
.nav-item .nav-icon { font-size:18px; }
.nav-item.active { color:var(--primary); }
.nav-item.active .nav-icon { color:var(--primary); }

/* ===== PAGE CONTAINER ===== */
.page-content { padding-bottom:75px; }

/* ===== DESKTOP BANNER ===== */
.desktop-banner {
  display:none; position:fixed; left:30px; top:50%;
  transform:translateY(-50%); width:280px; padding:30px;
  background:var(--white); border-radius:16px;
  box-shadow:var(--shadow-lg); text-align:center;
}
@media (min-width:768px) { .desktop-banner { display:block; } }
.desktop-banner h2 { color:var(--primary); margin-bottom:8px; font-size:20px; }
.desktop-banner p { color:var(--text-muted); font-size:13px; margin-bottom:16px; }

/* ===== DESKTOP RIGHT BANNER ===== */
.desktop-banner-right {
  display:none; position:fixed; right:30px; top:50%;
  transform:translateY(-50%); width:280px; padding:20px;
  background:var(--white); border-radius:16px;
  box-shadow:var(--shadow-lg); text-align:center;
}
@media (min-width:900px) { .desktop-banner-right { display:block; } }

/* ===== FORMS ===== */
.form-card {
  background:var(--white); margin:16px; border-radius:var(--radius);
  padding:24px 20px; box-shadow:var(--shadow-sm); border:1px solid var(--border);
}
.form-card h2 {
  text-align:center; color:var(--primary); margin-bottom:20px;
  font-size:22px; font-weight:700;
}
.form-group { margin-bottom:14px; }
.form-group label {
  display:block; font-size:13px; font-weight:500;
  color:var(--text-secondary); margin-bottom:5px;
}
.form-control {
  width:100%; padding:12px 14px; background:var(--bg);
  border:1.5px solid var(--border); border-radius:8px;
  color:var(--text); font-size:15px; outline:none;
  transition:var(--transition);
}
.form-control:focus { border-color:var(--primary); background:var(--white); }
.form-error { color:var(--danger); font-size:11px; margin-top:3px; }

/* ===== BUTTONS ===== */
.btn {
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 24px; border-radius:8px; font-weight:600;
  font-size:15px; cursor:pointer; transition:var(--transition);
  border:none; width:100%; text-decoration:none; gap:6px;
}
.btn-primary {
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  color:#fff; box-shadow:0 3px 10px rgba(192,0,0,0.3);
}
.btn-primary:hover { box-shadow:0 5px 15px rgba(192,0,0,0.4); transform:translateY(-1px); }
.btn-success {
  background:linear-gradient(135deg,var(--success),#1e8b47);
  color:#fff; box-shadow:0 3px 10px rgba(37,161,83,0.3);
}
.btn-dark { background:var(--dark); color:#fff; }
.btn-outline {
  background:transparent; border:1.5px solid var(--primary);
  color:var(--primary);
}
.btn-sm { padding:6px 14px; font-size:13px; width:auto; border-radius:6px; }
.btn-xs { padding:4px 10px; font-size:11px; width:auto; border-radius:4px; }

/* ===== CONTEST CARD ===== */
.contest-card {
  background:var(--white); margin:8px 12px; border-radius:var(--radius);
  box-shadow:var(--shadow-sm); overflow:hidden; border:1px solid var(--border);
}
.contest-header {
  padding:12px 14px; display:flex;
  justify-content:space-between; align-items:center;
}
.prize-label { font-size:11px; color:var(--text-muted); margin-bottom:2px; }
.prize-amount { font-size:18px; font-weight:700; }
.entry-btn {
  background:var(--success); color:#fff; border:none;
  padding:7px 18px; border-radius:6px; font-weight:600;
  font-size:14px; cursor:pointer; transition:var(--transition);
}
.entry-btn:hover { background:#1e8b47; }
.contest-progress { padding:8px 14px; }
.progress-bg {
  background:#fde8e8; height:5px; border-radius:5px;
  width:100%; overflow:hidden; margin-bottom:5px;
}
.progress-fill {
  background:linear-gradient(90deg,var(--primary),var(--primary-light));
  height:100%; border-radius:5px; transition:width 0.5s;
}
.spots-row {
  display:flex; justify-content:space-between;
  font-size:11px; font-weight:500;
}
.spots-left { color:var(--primary); }
.spots-total { color:var(--text-muted); }
.contest-footer {
  background:#fafafa; padding:7px 14px;
  display:flex; gap:14px; font-size:11px;
  color:var(--text-muted); align-items:center;
  border-top:1px solid #f0f0f0;
}
.badge-sm {
  border:1px solid #ddd; padding:1px 5px;
  border-radius:3px; font-size:10px; font-weight:500;
}

/* ===== CREATE TEAM ===== */
.team-header {
  background:var(--dark); color:#fff; padding:12px 16px;
}
.team-header-row {
  display:flex; justify-content:space-between; align-items:center;
}
.credit-box {
  text-align:center;
}
.credit-box .label { font-size:10px; color:rgba(255,255,255,0.6); }
.credit-box .value { font-size:20px; font-weight:700; }
.player-dots {
  display:flex; gap:3px; justify-content:center; padding:8px 0;
}
.player-dot {
  width:12px; height:12px; border-radius:50%;
  background:rgba(255,255,255,0.15); transition:var(--transition);
}
.player-dot.filled { background:var(--success); }
.role-tabs {
  display:flex; background:var(--white);
  border-bottom:2px solid var(--border);
}
.role-tab {
  flex:1; text-align:center; padding:10px 0;
  font-size:13px; font-weight:600; color:var(--text-muted);
  border-bottom:3px solid transparent; cursor:pointer;
  transition:var(--transition);
}
.role-tab.active { color:var(--primary); border-bottom-color:var(--primary); }
.player-list-header {
  display:flex; padding:6px 16px; font-size:10px;
  color:var(--text-muted); font-weight:500; background:#f8f8f8;
  text-transform:uppercase; letter-spacing:0.5px;
}
.player-row {
  display:flex; align-items:center; padding:10px 16px;
  background:var(--white); border-bottom:1px solid #f5f5f5;
  transition:var(--transition);
}
.player-row.selected { background:#f0fff5; }
.player-face {
  width:44px; height:44px; border-radius:50%;
  margin-right:10px; position:relative; flex-shrink:0;
}
.player-face img { width:100%; height:100%; border-radius:50%; object-fit:cover; }
.player-team-badge {
  position:absolute; bottom:-3px; left:50%; transform:translateX(-50%);
  background:var(--white); font-size:8px; padding:1px 5px;
  border-radius:4px; font-weight:700; border:1px solid var(--border);
  color:var(--text-secondary);
}
.player-info { flex:1; }
.player-name { font-size:13px; font-weight:600; }
.player-sel { font-size:10px; color:var(--text-muted); }
.player-pts { width:55px; text-align:center; font-size:13px; font-weight:500; }
.player-cred { width:50px; text-align:center; font-size:13px; font-weight:700; }
.player-add {
  width:28px; height:28px; border-radius:50%;
  border:1.5px solid var(--success); background:transparent;
  color:var(--success); display:flex; align-items:center;
  justify-content:center; cursor:pointer; font-size:14px;
  transition:var(--transition); flex-shrink:0;
}
.player-add:hover { background:var(--success); color:#fff; }
.player-add.selected-btn { background:var(--success); color:#fff; }

/* ===== WALLET ===== */
.wallet-header {
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  color:#fff; padding:24px 20px; text-align:center;
}
.wallet-balance { font-size:36px; font-weight:700; margin:8px 0; }
.wallet-label { font-size:13px; opacity:0.8; }
.wallet-actions {
  display:flex; gap:12px; padding:16px;
}
.wallet-card {
  background:var(--white); margin:0 16px 12px; border-radius:var(--radius);
  padding:14px 16px; box-shadow:var(--shadow-sm); border:1px solid var(--border);
}
.wallet-card h4 { font-size:14px; margin-bottom:8px; color:var(--text); }
.wallet-row {
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 0; border-bottom:1px solid #f5f5f5;
}
.wallet-row:last-child { border-bottom:none; }
.txn-type { font-size:13px; font-weight:500; }
.txn-amount { font-size:14px; font-weight:700; }
.txn-amount.credit { color:var(--success); }
.txn-amount.debit { color:var(--danger); }
.txn-date { font-size:10px; color:var(--text-muted); }

/* ===== PROFILE ===== */
.profile-header {
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  color:#fff; padding:24px 20px; text-align:center;
}
.profile-avatar {
  width:70px; height:70px; border-radius:50%;
  background:rgba(255,255,255,0.2); display:inline-flex;
  align-items:center; justify-content:center; font-size:28px;
  font-weight:700; margin-bottom:10px; border:3px solid rgba(255,255,255,0.3);
}
.profile-name { font-size:18px; font-weight:700; }
.profile-mobile { font-size:13px; opacity:0.8; margin-top:3px; }
.profile-menu {
  background:var(--white); margin:12px 16px; border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow-sm); border:1px solid var(--border);
}
.profile-menu-item {
  display:flex; align-items:center; padding:14px 16px;
  border-bottom:1px solid #f5f5f5; transition:var(--transition);
}
.profile-menu-item:last-child { border-bottom:none; }
.profile-menu-item:active { background:var(--bg); }
.profile-menu-item i { width:24px; font-size:16px; color:var(--text-muted); }
.profile-menu-item span { flex:1; font-size:14px; font-weight:500; margin-left:10px; }
.profile-menu-item .arrow { color:var(--text-muted); font-size:12px; }
.kyc-badge {
  font-size:10px; padding:2px 8px; border-radius:10px; font-weight:600;
}
.kyc-pending { background:#fff3cd; color:#856404; }
.kyc-approved { background:#d4edda; color:#155724; }
.kyc-rejected { background:#f8d7da; color:#721c24; }
.kyc-none { background:#e2e3e5; color:#383d41; }

/* ===== ADMIN ===== */
.admin-header {
  background:var(--dark); color:#fff; padding:14px 16px;
  display:flex; justify-content:space-between; align-items:center;
}
.admin-header h3 { font-size:16px; }
.stat-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:10px;
  padding:12px 16px;
}
.stat-card {
  background:var(--white); border-radius:var(--radius);
  padding:16px; box-shadow:var(--shadow-sm); border:1px solid var(--border);
}
.stat-card .stat-icon { font-size:24px; margin-bottom:8px; }
.stat-card .stat-value { font-size:22px; font-weight:700; }
.stat-card .stat-label { font-size:11px; color:var(--text-muted); }
.admin-menu {
  background:var(--white); margin:12px 16px; border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow-sm); border:1px solid var(--border);
}
.admin-menu-item {
  display:flex; align-items:center; padding:14px 16px;
  border-bottom:1px solid #f5f5f5;
  transition:var(--transition);
}
.admin-menu-item:last-child { border-bottom:none; }
.admin-menu-item:active { background:var(--bg); }
.admin-menu-item i { width:28px; font-size:16px; }
.admin-menu-item span { flex:1; font-size:14px; font-weight:500; }
.admin-menu-item .count-badge {
  background:var(--primary); color:#fff; font-size:11px;
  padding:2px 8px; border-radius:10px; font-weight:600;
}
.admin-table {
  width:100%; border-collapse:collapse; font-size:13px;
}
.admin-table th {
  background:var(--bg); padding:8px 10px; text-align:left;
  font-weight:600; font-size:11px; color:var(--text-muted);
  text-transform:uppercase;
}
.admin-table td { padding:10px; border-bottom:1px solid #f5f5f5; }
.admin-table tr:active { background:var(--bg); }
.status-badge {
  font-size:10px; padding:3px 8px; border-radius:4px;
  font-weight:600; text-transform:uppercase;
}
.status-upcoming { background:#e3f2fd; color:#1565c0; }
.status-live { background:#fce4ec; color:var(--primary); }
.status-completed { background:#e8f5e9; color:var(--success); }
.status-pending { background:#fff3cd; color:#856404; }
.status-approved { background:#d4edda; color:#155724; }
.status-rejected { background:#f8d7da; color:#721c24; }

/* ===== MODAL ===== */
.modal-overlay {
  display:none; position:fixed; top:0; left:0; width:100%; height:100%;
  background:rgba(0,0,0,0.5); z-index:200;
  justify-content:center; align-items:flex-end;
}
.modal-overlay.active { display:flex; }
.modal-content {
  background:var(--white); width:100%; max-width:var(--max-w);
  border-radius:16px 16px 0 0; padding:20px;
  animation:slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform:translateY(100%); } to { transform:translateY(0); }
}
.modal-title {
  font-size:16px; font-weight:700; margin-bottom:16px;
  display:flex; justify-content:space-between; align-items:center;
}
.modal-close { font-size:20px; cursor:pointer; color:var(--text-muted); }

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align:center; padding:40px 20px; color:var(--text-muted);
}
.empty-state i { font-size:48px; margin-bottom:12px; display:block; }
.empty-state p { font-size:14px; }

/* ===== TABS ===== */
.tab-bar {
  display:flex; background:var(--white);
  border-bottom:1px solid var(--border); overflow-x:auto;
}
.tab-item {
  flex:1; text-align:center; padding:10px; font-size:13px;
  font-weight:500; color:var(--text-muted);
  border-bottom:2px solid transparent; cursor:pointer;
  white-space:nowrap; transition:var(--transition);
}
.tab-item.active { color:var(--primary); border-bottom-color:var(--primary); }

/* ===== UTILITY ===== */
.text-center { text-align:center; }
.text-right { text-align:right; }
.text-muted { color:var(--text-muted); }
.text-success { color:var(--success); }
.text-danger { color:var(--danger); }
.text-primary { color:var(--primary); }
.fw-bold { font-weight:700; }
.mt-8 { margin-top:8px; }
.mt-16 { margin-top:16px; }
.mb-8 { margin-bottom:8px; }
.mb-16 { margin-bottom:16px; }
.px-16 { padding-left:16px; padding-right:16px; }
.py-12 { padding-top:12px; padding-bottom:12px; }
.flex { display:flex; }
.flex-between { display:flex; justify-content:space-between; align-items:center; }
.gap-8 { gap:8px; }
.gap-12 { gap:12px; }

/* ===== RESPONSIVE ===== */
@media (max-width:480px) {
  .app-container { max-width:100%; }
  .bottom-nav { max-width:100%; }
}

/* ===== DREAM11 ANIMATIONS & EFFECTS ===== */

/* Fade In Up Animation */
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(20px); }
  to { opacity:1; transform:translateY(0); }
}
.match-card, .contest-card, .wallet-card, .form-card, .stat-card {
  animation:fadeInUp 0.4s ease forwards;
}
.match-card:nth-child(1) { animation-delay:0.05s; }
.match-card:nth-child(2) { animation-delay:0.1s; }
.match-card:nth-child(3) { animation-delay:0.15s; }
.match-card:nth-child(4) { animation-delay:0.2s; }

/* Card Hover Lift */
.match-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.contest-card:hover { transform:translateY(-2px); box-shadow:var(--shadow-lg); }
.stat-card:hover { transform:translateY(-4px); box-shadow:0 8px 24px rgba(0,0,0,0.15); }
.profile-menu-item:hover { background:#fafafa; padding-left:20px; }

/* Shimmer Loading Effect */
@keyframes shimmer {
  0% { background-position:-200px 0; }
  100% { background-position:calc(200px + 100%) 0; }
}
.shimmer-loading {
  background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 37%,#f0f0f0 63%);
  background-size:200px 100%;
  animation:shimmer 1.4s infinite;
  border-radius:4px;
}

/* Slide In Left */
@keyframes slideInLeft {
  from { opacity:0; transform:translateX(-30px); }
  to { opacity:1; transform:translateX(0); }
}

/* Slide In Right */
@keyframes slideInRight {
  from { opacity:0; transform:translateX(30px); }
  to { opacity:1; transform:translateX(0); }
}

/* Bounce In */
@keyframes bounceIn {
  0% { transform:scale(0.3); opacity:0; }
  50% { transform:scale(1.05); }
  70% { transform:scale(0.9); }
  100% { transform:scale(1); opacity:1; }
}

/* Scale Pop */
@keyframes scalePop {
  0% { transform:scale(0.8); opacity:0; }
  100% { transform:scale(1); opacity:1; }
}

/* Glow Pulse for Live Matches */
@keyframes glowPulse {
  0%,100% { box-shadow:0 0 5px rgba(192,0,0,0.2); }
  50% { box-shadow:0 0 20px rgba(192,0,0,0.5); }
}
.match-card.live-match { animation:glowPulse 2s infinite; border-color:var(--primary); }

/* Live Dot Animation */
@keyframes liveBreath {
  0%,100% { transform:scale(1); opacity:1; }
  50% { transform:scale(1.6); opacity:0.4; }
}
.live-indicator { display:inline-flex; align-items:center; gap:4px; }
.live-indicator::before {
  content:''; width:8px; height:8px; border-radius:50%;
  background:var(--danger); animation:liveBreath 1.5s infinite;
}

/* Winner Confetti Animation */
@keyframes confettiDrop {
  0% { transform:translateY(-100%) rotate(0deg); opacity:1; }
  100% { transform:translateY(100vh) rotate(720deg); opacity:0; }
}

/* Wallet Glow */
@keyframes walletGlow {
  0%,100% { box-shadow:0 0 5px rgba(37,161,83,0.2); }
  50% { box-shadow:0 0 20px rgba(37,161,83,0.4); }
}
.wallet-header { animation:walletGlow 3s infinite; }

/* Button Ripple Effect */
.btn { position:relative; overflow:hidden; }
.btn::after {
  content:''; position:absolute; width:100%; height:100%;
  top:0; left:0; pointer-events:none;
  background-image:radial-gradient(circle, rgba(255,255,255,0.3) 10%, transparent 10.01%);
  background-repeat:no-repeat; background-position:50%;
  transform:scale(10); opacity:0; transition:transform 0.5s, opacity 1s;
}
.btn:active::after { transform:scale(0); opacity:1; transition:0s; }

/* Entry Button Bounce */
.entry-btn { transition:all 0.2s; }
.entry-btn:hover { transform:scale(1.08); box-shadow:0 4px 12px rgba(37,161,83,0.4); }
.entry-btn:active { transform:scale(0.95); }

/* Tab Underline Slide */
.sport-tab::after {
  content:''; position:absolute; bottom:0; left:50%; width:0;
  height:3px; background:#fff; transition:all 0.3s; transform:translateX(-50%);
}
.sport-tab { position:relative; }
.sport-tab.active::after { width:60%; }

/* Smooth Page Transitions */
.page-content { animation:fadeInUp 0.3s ease; }

/* Bottom Nav Active Dot */
.nav-item.active::after {
  content:''; width:4px; height:4px; border-radius:50%;
  background:var(--primary); display:block; margin-top:2px;
}

/* Profile Avatar Pulse */
.profile-avatar { animation:scalePop 0.5s ease; }

/* Progress Bar Stripe Animation */
@keyframes progressStripe {
  0% { background-position:0 0; }
  100% { background-position:20px 0; }
}
.progress-fill {
  background-image:linear-gradient(
    45deg, rgba(255,255,255,0.15) 25%, transparent 25%,
    transparent 50%, rgba(255,255,255,0.15) 50%,
    rgba(255,255,255,0.15) 75%, transparent 75%, transparent
  );
  background-size:20px 20px;
  animation:progressStripe 1s linear infinite;
}

/* Contest Card Ribbon */
.contest-card .contest-header::before { display:none; }

/* Modal Backdrop Blur */
.modal-overlay { backdrop-filter:blur(4px); }

/* Match Timer Blink for < 1 hour */
@keyframes timerBlink {
  0%,100% { opacity:1; } 50% { opacity:0.5; }
}
.match-timer.urgent { animation:timerBlink 1s infinite; color:var(--danger); }

/* Admin Sidebar Hover */
.admin-menu-item:hover {
  background:linear-gradient(90deg,rgba(192,0,0,0.05),transparent);
  border-left:3px solid var(--primary);
  padding-left:13px;
}

/* Floating Action Effect */
@keyframes float {
  0%,100% { transform:translateY(0); }
  50% { transform:translateY(-6px); }
}

/* Team Flag Hover */
.team-flag:hover { transform:scale(1.15); transition:0.2s; }

/* Status Badge Animations */
.status-live { animation:pulse 1.5s infinite; }
.status-success { background:#d4edda; color:#155724; }

/* Toast Notification */
.toast {
  position:fixed; bottom:80px; left:50%; transform:translateX(-50%);
  background:var(--dark); color:#fff; padding:10px 20px;
  border-radius:8px; font-size:13px; z-index:300;
  animation:slideUp 0.3s ease, fadeOut 0.3s ease 2.7s;
  box-shadow:var(--shadow-lg);
}
@keyframes fadeOut { to { opacity:0; } }

/* Smooth Scroll */
html { scroll-behavior:smooth; }

/* Selection Color */
::selection { background:rgba(192,0,0,0.2); color:var(--primary); }
