/* ═══════════════════════════════════════════
   SOCCER LEAGUE PRO – style.css
═══════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:  #00ff88;
  --blue:   #00d4ff;
  --purple: #7b2fff;
  --dark:   #050d1a;
  --dark2:  #0a1628;
  --card:   rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.12);
  --text:   #e8f4fd;
  --gold:   #ffd700;
  --red:    #ff4757;
  --orange: #ff9f43;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Rajdhani', sans-serif;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── PARTICLES ─── */
#particles {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(0,212,255,.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(123,47,255,.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(0,255,136,.08) 0%, transparent 60%),
    linear-gradient(135deg, #050d1a 0%, #0a1628 50%, #050d1a 100%);
  pointer-events: none;
}

#particles::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 40%, rgba(255,255,255,.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 10%, rgba(255,255,255,.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 60%, rgba(255,255,255,.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 30%, rgba(255,255,255,.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 80%, rgba(255,255,255,.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 90%, rgba(255,255,255,.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,.4) 0%, transparent 100%);
  animation: twinkle 4s infinite alternate;
}

@keyframes twinkle {
  from { opacity: .6; }
  to   { opacity: 1; }
}

/* ─── FLOATING BALLS ─── */
.floating-balls { position: fixed; inset: 0; pointer-events: none; z-index: 1; }
.ball {
  position: absolute; font-size: 2.5rem;
  animation: floatBall 12s infinite ease-in-out;
  opacity: .15; filter: blur(1px);
}
.b1 { top:10%; left:5%;  animation-duration:14s; animation-delay:0s; }
.b2 { top:50%; right:8%; animation-duration:18s; animation-delay:-6s; }
.b3 { bottom:15%; left:50%; animation-duration:10s; animation-delay:-3s; }

@keyframes floatBall {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  33%      { transform: translate(20px,-30px) rotate(120deg); }
  66%      { transform: translate(-15px,20px) rotate(240deg); }
}

/* ─── PAGES ─── */
.page { display: none; position: relative; z-index: 2; }
.page.active { display: block; }

/* ─── 3D CARD ─── */
.card-3d {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 8px 32px rgba(0,0,0,.4),
    0 0 0 1px rgba(255,255,255,.05),
    inset 0 1px 0 rgba(255,255,255,.1);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card-3d:hover {
  transform: translateY(-4px) rotateX(1deg);
  box-shadow:
    0 20px 60px rgba(0,0,0,.5),
    0 0 40px rgba(0,212,255,.1),
    inset 0 1px 0 rgba(255,255,255,.15);
}

/* ════════════════════
   LOGIN PAGE
════════════════════ */
.login-scene {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}

.login-card {
  width: 100%; max-width: 420px;
  padding: 40px 36px;
  animation: slideUp .6s cubic-bezier(.2,.8,.3,1);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px) scale(.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.login-header { text-align: center; margin-bottom: 28px; }
.trophy-icon { font-size: 3.5rem; margin-bottom: 12px; animation: bounce 2s infinite; }
@keyframes bounce {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-8px) scale(1.05); }
}

.login-header h1 {
  font-family: 'Orbitron', monospace;
  font-size: 1.6rem; font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}
.login-header h1 span { color: var(--green); -webkit-text-fill-color: var(--green); }
.login-header p { color: rgba(255,255,255,.5); font-size: .9rem; margin-top: 4px; }

/* ─── TABS ─── */
.tab-bar {
  display: flex; gap: 4px;
  background: rgba(0,0,0,.3);
  border-radius: 12px; padding: 4px;
  margin-bottom: 24px;
}
.tab-btn {
  flex: 1; padding: 10px;
  background: transparent; border: none; cursor: pointer;
  border-radius: 9px; color: rgba(255,255,255,.5);
  font-family: 'Orbitron', monospace; font-size: .75rem;
  font-weight: 700; letter-spacing: 1px;
  transition: all .3s;
}
.tab-btn.active {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,212,255,.3);
}
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ─── INPUTS ─── */
.input-group {
  display: flex; align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 12px 16px;
  margin-bottom: 14px;
  transition: border-color .3s, box-shadow .3s;
}
.input-group:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,212,255,.15);
}
.input-group i { color: var(--blue); width: 18px; flex-shrink: 0; }
.input-group input, .input-group select {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--text); font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
}
.input-group input::placeholder { color: rgba(255,255,255,.3); }
.input-group input[type="color"] { width: 36px; height: 28px; cursor: pointer; border-radius: 4px; padding: 0; border: none; }
.select-styled { width: 100%; cursor: pointer; }
.select-styled option { background: #0a1628; }

/* ─── BUTTONS ─── */
.btn-primary {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 100%);
  border: none; border-radius: 12px;
  color: #fff; font-family: 'Orbitron', monospace;
  font-size: .85rem; font-weight: 700; letter-spacing: 1px;
  cursor: pointer; margin-top: 8px;
  box-shadow: 0 8px 25px rgba(0,212,255,.3);
  transition: all .3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0,212,255,.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-danger {
  width: 100%; padding: 12px 20px;
  background: linear-gradient(135deg, var(--red), #c0392b);
  border: none; border-radius: 12px; color: #fff;
  font-family: 'Orbitron', monospace; font-size: .8rem; font-weight: 700;
  cursor: pointer; margin-top: 8px;
  transition: all .3s;
}
.btn-danger:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,71,87,.3); }

.login-hint { text-align: center; margin-top: 14px; font-size: .85rem; color: rgba(255,255,255,.4); }
.error-msg { color: var(--red); text-align: center; margin-top: 12px; font-size: .9rem; min-height: 20px; }

/* ════════════════════
   NAVBAR
════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 24px;
  background: rgba(5,13,26,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  flex-wrap: wrap;
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  margin-right: 16px; flex-shrink: 0;
}
.nav-trophy { font-size: 1.8rem; }
.nav-title {
  font-family: 'Orbitron', monospace; font-size: .95rem;
  font-weight: 700; letter-spacing: 2px; white-space: nowrap;
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.nav-links { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.nav-btn {
  padding: 8px 14px;
  background: transparent; border: 1px solid transparent; border-radius: 10px;
  color: rgba(255,255,255,.6); cursor: pointer; font-family: 'Rajdhani', sans-serif;
  font-size: .9rem; font-weight: 600;
  transition: all .3s;
  display: flex; align-items: center; gap: 6px;
}
.nav-btn:hover, .nav-btn.active {
  background: rgba(0,212,255,.12);
  border-color: rgba(0,212,255,.3);
  color: var(--blue);
}

.nav-user { display: flex; align-items: center; gap: 10px; margin-left: auto; }
#nav-username {
  font-family: 'Orbitron', monospace; font-size: .8rem;
  color: var(--green); background: rgba(0,255,136,.1);
  border: 1px solid rgba(0,255,136,.3); padding: 6px 12px; border-radius: 8px;
}

.btn-share {
  padding: 8px 14px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  border: none; border-radius: 10px;
  color: #050d1a; font-weight: 700; font-size: .85rem; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  transition: all .3s;
}
.btn-share:hover { transform: scale(1.05); }

.btn-logout {
  width: 36px; height: 36px;
  background: rgba(255,71,87,.15); border: 1px solid rgba(255,71,87,.3);
  border-radius: 10px; color: var(--red); cursor: pointer; font-size: 1rem;
  transition: all .3s;
}
.btn-logout:hover { background: rgba(255,71,87,.3); }

/* ════════════════════
   SECTIONS
════════════════════ */
.section { display: none; padding: 32px 24px; max-width: 1300px; margin: 0 auto; }
.section.active { display: block; }

.section-header {
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 12px;
}
.section-header h2 {
  font-family: 'Orbitron', monospace; font-size: 1.6rem; font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}

/* ── HERO ── */
.hero-banner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 24px; align-items: center;
  margin-bottom: 36px;
  padding: 40px; border-radius: 24px;
  background: linear-gradient(135deg,
    rgba(0,212,255,.1) 0%,
    rgba(123,47,255,.1) 50%,
    rgba(0,255,136,.05) 100%);
  border: 1px solid rgba(0,212,255,.2);
  position: relative; overflow: hidden;
}
.hero-banner::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,.08), transparent 70%);
}
.hero-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900; line-height: 1.2;
  background: linear-gradient(135deg, #fff 30%, var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-title span {
  background: linear-gradient(135deg, var(--green), var(--blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { color: rgba(255,255,255,.5); font-size: 1.1rem; margin: 8px 0 20px; }
.hero-stats { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-stat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 12px 20px; text-align: center;
}
.hero-stat-num {
  font-family: 'Orbitron', monospace; font-size: 1.8rem; font-weight: 900;
  color: var(--green);
}
.hero-stat-label { font-size: .8rem; color: rgba(255,255,255,.5); letter-spacing: 1px; }

/* ── 3D FIELD ── */
.field-3d {
  width: 180px; height: 120px;
  border: 3px solid rgba(255,255,255,.8);
  border-radius: 8px;
  background: linear-gradient(135deg, #2d8a4e, #3da85e);
  position: relative;
  transform: perspective(500px) rotateX(30deg) rotateY(-15deg);
  box-shadow:
    0 20px 40px rgba(0,0,0,.5),
    inset 0 0 30px rgba(0,0,0,.2);
  flex-shrink: 0;
}
.field-lines {
  position: absolute; inset: 0;
  border-left: 2px solid rgba(255,255,255,.7);
  border-right: 2px solid rgba(255,255,255,.7);
  margin: 0 30%;
}
.field-circle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 50%;
}
.center-dot {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  background: rgba(255,255,255,.9); border-radius: 50%;
}

/* ── SECTION GRID ── */
.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.glass-card { padding: 24px; }
.glass-card h3 {
  font-family: 'Orbitron', monospace; font-size: 1rem; font-weight: 700;
  color: var(--blue); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}

/* ── STANDINGS TABLE ── */
.table-card { padding: 0; overflow: hidden; }
.standings-table {
  width: 100%; border-collapse: collapse; font-size: .95rem;
}
.standings-table thead {
  background: linear-gradient(135deg, rgba(0,212,255,.15), rgba(123,47,255,.15));
}
.standings-table th {
  padding: 14px 12px; text-align: center;
  font-family: 'Orbitron', monospace; font-size: .7rem;
  color: var(--blue); letter-spacing: 1px; white-space: nowrap;
}
.standings-table th:nth-child(2) { text-align: left; }
.standings-table td {
  padding: 12px; text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: background .2s;
}
.standings-table td:nth-child(2) { text-align: left; }
.standings-table tbody tr:hover { background: rgba(0,212,255,.05); }
.standings-table tbody tr:last-child td { border-bottom: none; }

.team-cell { display: flex; align-items: center; gap: 10px; }
.team-logo-sm {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}
.team-color-dot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.2);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.team-name-sm { font-weight: 700; }

.pos-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 8px;
  font-family: 'Orbitron', monospace; font-size: .75rem; font-weight: 700;
}
.pos-1 { background: var(--gold); color: #000; }
.pos-2 { background: #bdc3c7; color: #000; }
.pos-3 { background: #e67e22; color: #fff; }
.pos-other { background: rgba(255,255,255,.1); color: rgba(255,255,255,.6); }

.pts-cell {
  font-family: 'Orbitron', monospace; font-size: 1rem; font-weight: 900;
  color: var(--green);
}

/* ── FORM BADGES ── */
.form-row { display: flex; gap: 3px; justify-content: center; }
.form-badge {
  width: 20px; height: 20px; border-radius: 4px;
  font-size: .6rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.form-W { background: var(--green); color: #000; }
.form-D { background: var(--orange); color: #000; }
.form-L { background: var(--red); color: #fff; }

/* ── SCHEDULE ── */
.matchday-group { margin-bottom: 28px; }
.matchday-title {
  font-family: 'Orbitron', monospace; font-size: .9rem; font-weight: 700;
  color: var(--gold); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.match-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 16px 20px;
  margin-bottom: 10px; cursor: default;
  transition: all .3s;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px; align-items: center;
  position: relative; overflow: hidden;
}
.match-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,.03), transparent);
  opacity: 0; transition: opacity .3s;
}
.match-card:hover::before { opacity: 1; }
.match-card:hover {
  border-color: rgba(0,212,255,.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
}

.match-team {
  display: flex; align-items: center; gap: 10px;
}
.match-team.away { flex-direction: row-reverse; text-align: right; }
.match-team-name { font-weight: 700; font-size: 1rem; }
.match-team-logo {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,255,255,.2);
}
.match-team-dot {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}

.match-center { text-align: center; flex-shrink: 0; }
.match-score {
  font-family: 'Orbitron', monospace; font-size: 1.8rem; font-weight: 900;
  color: #fff; line-height: 1;
}
.match-time-info { font-size: .8rem; color: rgba(255,255,255,.4); margin-top: 4px; }
.match-date-display {
  font-size: .8rem; color: rgba(255,255,255,.5); margin-top: 2px;
}
.status-badge {
  display: inline-block; padding: 3px 8px; border-radius: 6px;
  font-size: .7rem; font-weight: 700; font-family: 'Orbitron', monospace;
  margin-top: 4px; letter-spacing: .5px;
}
.status-FT   { background: rgba(0,255,136,.15); color: var(--green); border: 1px solid rgba(0,255,136,.3); }
.status-LIVE { background: rgba(255,71,87,.15); color: var(--red); border: 1px solid rgba(255,71,87,.4); animation: pulse 1.5s infinite; }
.status-UP   { background: rgba(0,212,255,.12); color: var(--blue); border: 1px solid rgba(0,212,255,.3); }

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

.scorers-row { font-size: .8rem; color: rgba(255,255,255,.4); margin-top: 8px; grid-column: 1/-1; text-align: center; }

/* ── TEAMS GRID ── */
.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.team-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px 20px; text-align: center;
  transition: all .3s;
  position: relative; overflow: hidden;
}
.team-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.team-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 30px rgba(0,212,255,.1);
}
.team-logo-lg {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
  border: 3px solid rgba(255,255,255,.2);
  margin: 0 auto 16px; display: block;
  box-shadow: 0 8px 25px rgba(0,0,0,.4);
}
.team-color-lg {
  width: 80px; height: 80px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.2);
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  box-shadow: 0 8px 25px rgba(0,0,0,.4);
}
.team-card-name {
  font-family: 'Orbitron', monospace; font-size: .95rem; font-weight: 700;
  margin-bottom: 8px;
}
.team-card-stats {
  display: flex; gap: 10px; justify-content: center;
  font-size: .85rem; color: rgba(255,255,255,.5);
}
.team-card-stat { display: flex; flex-direction: column; align-items: center; }
.team-card-stat strong { color: var(--green); font-family: 'Orbitron', monospace; }

/* ── HOME CARDS ── */
.result-row, .top-row, .upcoming-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .9rem;
}
.result-row:last-child, .top-row:last-child, .upcoming-row:last-child { border: none; }
.result-score { font-family: 'Orbitron', monospace; font-weight: 700; color: var(--green); }
.top-pos { font-family: 'Orbitron', monospace; font-weight: 700; color: var(--gold); min-width: 20px; }

/* ── ADMIN ── */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.admin-card { padding: 24px; }
.admin-card h3 {
  font-family: 'Orbitron', monospace; font-size: .95rem; font-weight: 700;
  color: var(--blue); margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}

.logo-upload-area {
  border: 2px dashed rgba(0,212,255,.3);
  border-radius: 14px; padding: 20px; text-align: center;
  cursor: pointer; transition: all .3s; margin-bottom: 14px;
}
.logo-upload-area:hover { border-color: var(--blue); background: rgba(0,212,255,.05); }
.logo-upload-area i { font-size: 2rem; color: var(--blue); }
.logo-upload-area p { font-size: .85rem; color: rgba(255,255,255,.4); margin-top: 6px; }

.team-list-admin { margin-top: 16px; }
.team-admin-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 10px;
  background: rgba(255,255,255,.04);
  margin-bottom: 6px;
  border: 1px solid rgba(255,255,255,.06);
}
.team-admin-row .del-btn {
  margin-left: auto; background: rgba(255,71,87,.15);
  border: none; border-radius: 6px; color: var(--red);
  padding: 4px 8px; cursor: pointer; font-size: .8rem;
  transition: background .2s;
}
.team-admin-row .del-btn:hover { background: rgba(255,71,87,.3); }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff; padding: 14px 28px; border-radius: 50px;
  font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 600;
  z-index: 9999; white-space: nowrap;
  box-shadow: 0 8px 30px rgba(0,212,255,.4);
  transition: transform .4s cubic-bezier(.2,.8,.3,1), opacity .4s;
  opacity: 0;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ── SHARE MODAL ── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.7); backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-box {
  padding: 36px; max-width: 460px; width: 90%;
  animation: slideUp .4s ease;
}
.modal-box h3 {
  font-family: 'Orbitron', monospace; font-size: 1.2rem;
  color: var(--blue); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.modal-box p { color: rgba(255,255,255,.6); margin-bottom: 20px; }
.share-url-box {
  display: flex; gap: 8px; margin-bottom: 16px;
}
.share-url-box input {
  flex: 1; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); border-radius: 10px;
  padding: 10px 14px; color: var(--text); font-size: .9rem; outline: none;
}
.share-url-box button {
  padding: 10px 16px; background: rgba(0,212,255,.2);
  border: 1px solid rgba(0,212,255,.4); border-radius: 10px;
  color: var(--blue); cursor: pointer; font-size: 1rem; transition: all .3s;
}
.share-url-box button:hover { background: rgba(0,212,255,.35); }
.share-buttons { display: flex; gap: 10px; }
.btn-share-wa, .btn-share-tg {
  flex: 1; padding: 12px; border-radius: 12px; text-align: center;
  text-decoration: none; font-weight: 700; font-size: .95rem;
  transition: all .3s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-share-wa { background: #25D366; color: #fff; }
.btn-share-wa:hover { background: #1da851; }
.btn-share-tg { background: #229ED9; color: #fff; }
.btn-share-tg:hover { background: #1a85b5; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero-banner { grid-template-columns: 1fr; }
  .hero-field { display: none; }
  .navbar { gap: 8px; }
  .nav-title { font-size: .75rem; }
  .section { padding: 20px 16px; }
  .standings-table th, .standings-table td { padding: 8px 6px; font-size: .8rem; }
  .match-card { grid-template-columns: 1fr; gap: 8px; }
  .match-team.away { flex-direction: row; text-align: left; }
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,.03); }
::-webkit-scrollbar-thumb { background: rgba(0,212,255,.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,212,255,.5); }

/* ─── EMPTY STATE ─── */
.empty-state {
  text-align: center; padding: 40px 20px;
  color: rgba(255,255,255,.3); font-size: .95rem;
}
.empty-state i { font-size: 2.5rem; margin-bottom: 12px; display: block; color: rgba(0,212,255,.3); }
