/* ================================================================
   LIVESCORE — Neon Dark Theme
   Fonts: Orbitron (headings) + Rajdhani (body)
   ================================================================ */
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css");

:root {
  --bg: #0f0f1a;
  --bg-card: #1a1a2e;
  --bg-card2: #16213e;
  --bg-input: #0d0d1a;
  --neon-blue: #00f7ff;
  --neon-purple: #7c3aed;
  --neon-pink: #ff2bd6;
  --neon-green: #00ff88;
  --neon-red: #ff3b5c;
  --neon-yellow: #ffd700;
  --text: #ffffff;
  --text-dim: #8892b0;
  --text-muted: #4a5568;
  --border: #2d2d4e;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
  --glow-blue: 0 0 20px #00f7ff40, 0 0 60px #00f7ff15;
  --glow-purple: 0 0 20px #7c3aed40, 0 0 60px #7c3aed15;
  --glow-green: 0 0 20px #00ff8840, 0 0 60px #00ff8815;
  --glow-red: 0 0 20px #ff3b5c40, 0 0 60px #ff3b5c15;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Rajdhani", sans-serif;
  background: var(--bg);
  background-image: url("../img/wallpaper.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 26, 0.8);
  z-index: 0;
  pointer-events: none;
}

body > * {
  position: relative;
  z-index: 1;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--neon-purple);
  border-radius: 3px;
}

/* ================================================================ NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  height: 62px;
  background: rgba(15, 15, 26, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
}

.nav-logo {
  font-family: "Orbitron", sans-serif;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.nav-logo .l1 {
  color: var(--neon-blue);
  text-shadow: 0 0 15px var(--neon-blue);
}

.nav-logo .l2 {
  color: var(--text);
}

.live-badge {
  background: var(--neon-red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  letter-spacing: 0.1em;
  animation: pulseBadge 1.5s infinite;
}

@keyframes pulseBadge {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 #ff3b5c60;
  }

  50% {
    opacity: 0.85;
    box-shadow: 0 0 0 5px transparent;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--neon-blue);
  background: #00f7ff0d;
}

.nav-link .ico {
  font-size: 14px;
}

.nav-link-locked {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  position: relative;
}

.nav-link-locked::after {
  content: "🔒";
  font-size: 9px;
  position: absolute;
  top: 4px;
  right: 4px;
}

.nav-spacer {
  flex: 1;
}

.nav-search {
  position: relative;
}

.nav-search input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 8px 16px 8px 36px;
  font-family: "Rajdhani", sans-serif;
  font-size: 13px;
  color: var(--text);
  width: 200px;
  outline: none;
  transition: all var(--transition);
}

.nav-search input:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 3px #00f7ff12;
  width: 240px;
}

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

.nav-search .s-ico {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 13px;
  pointer-events: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-user-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Orbitron", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid transparent;
  transition: all var(--transition);
  user-select: none;
}

.nav-avatar:hover {
  border-color: var(--neon-blue);
  box-shadow: 0 0 12px #00f7ff40;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  min-width: 180px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 300;
  animation: slideUp 0.2s ease both;
}

.nav-dropdown.open {
  display: flex;
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  transition: all var(--transition);
}

.nav-dropdown a:hover {
  background: #ffffff08;
  color: var(--text);
}

.nav-dropdown .divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

/* ================================================================ TRIAL BANNER */
#trial-banner {
  position: sticky;
  top: 62px;
  z-index: 190;
  background: linear-gradient(
    90deg,
    rgba(0, 247, 255, 0.07) 0%,
    rgba(124, 58, 237, 0.1) 50%,
    rgba(0, 247, 255, 0.07) 100%
  );
  border-bottom: 1px solid rgba(0, 247, 255, 0.18);
  padding: 9px 20px;
}

.trial-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
}

.trial-ico {
  font-size: 17px;
  flex-shrink: 0;
  animation: pulseBadge 2s infinite;
}

.trial-text {
  color: var(--text-dim);
  font-size: 14px;
}

#trial-countdown {
  font-family: "Orbitron", sans-serif;
  color: var(--neon-blue);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: 0 0 10px #00f7ff50;
}

.trial-cta {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
  color: #fff !important;
  padding: 5px 16px;
  border-radius: 99px;
  font-family: "Orbitron", sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: all var(--transition);
  white-space: nowrap;
  box-shadow: 0 0 12px #7c3aed30;
}

.trial-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: var(--glow-purple);
}

.trial-expired {
  color: var(--neon-pink);
  font-weight: 600;
  gap: 8px;
}

.trial-expired a {
  color: var(--neon-blue);
  text-decoration: underline;
}

.trial-notice {
  background: rgba(0, 247, 255, 0.05);
  border: 1px solid rgba(0, 247, 255, 0.16);
  border-radius: var(--radius);
  padding: 13px 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  text-align: left;
}

.trial-notice strong,
#trial-card-countdown {
  font-family: "Orbitron", sans-serif;
  color: var(--neon-blue);
  font-size: 14px;
  font-weight: 700;
  text-shadow: 0 0 8px #00f7ff40;
}

.card-stream-badge {
  font-size: 13px;
  color: var(--neon-red);
  filter: drop-shadow(0 0 4px #ff3b5c80);
  animation: pulseBadge 2s infinite;
  flex-shrink: 0;
  cursor: default;
}

/* ================================================================ SEARCH DROPDOWN */
#search-results-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  z-index: 500;
  overflow: hidden;
  animation: slideUp 0.18s ease both;
  min-width: 280px;
}

#search-results-dropdown.open {
  display: block;
}

.search-group-label {
  font-family: "Orbitron", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 14px 6px;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  cursor: pointer;
  transition: background var(--transition);
}

.search-item:hover {
  background: #ffffff08;
}

.search-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}

.search-item-ico {
  font-size: 20px;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.search-item-info {
  flex: 1;
  min-width: 0;
}

.search-item-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

.search-loading,
.search-empty {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.search-empty strong {
  color: var(--text-dim);
}

/* ================================================================ BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 22px;
  border: none;
  border-radius: var(--radius);
  font-family: "Orbitron", sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  color: #0f0f1a;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-blue);
}

.btn-purple {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
  color: #fff;
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-purple);
}

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

.btn-outline:hover {
  background: #00f7ff0d;
  box-shadow: var(--glow-blue);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-family: "Rajdhani", sans-serif;
  font-size: 14px;
}

.btn-ghost:hover {
  border-color: var(--text-dim);
  color: var(--text);
}

.btn-red {
  background: var(--neon-red);
  color: #fff;
}

.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-red);
}

.btn-full {
  width: 100%;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 14px;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 10px;
}

/* ================================================================ FORMS */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 7px;
}

.form-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 15px;
  font-family: "Rajdhani", sans-serif;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: all var(--transition);
}

.form-input:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 3px #00f7ff12;
}

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

.form-error {
  color: var(--neon-red);
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

.form-error.show {
  display: block;
}

/* ================================================================ ALERTS */
.alert {
  padding: 13px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  display: none;
  align-items: center;
  gap: 9px;
  animation: fadeIn 0.2s ease;
}

.alert.show {
  display: flex;
}

.alert-error {
  background: #ff3b5c12;
  border: 1px solid #ff3b5c35;
  color: #ff7a8a;
}

.alert-success {
  background: #00ff8812;
  border: 1px solid #00ff8835;
  color: var(--neon-green);
}

.alert-info {
  background: #00f7ff12;
  border: 1px solid #00f7ff35;
  color: var(--neon-blue);
}

/* ================================================================ MATCH CARD */
.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.3s ease both;
}

.match-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #00f7ff08, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.match-card:hover {
  border-color: #00f7ff40;
  transform: translateY(-3px);
  box-shadow: var(--glow-blue);
}

.match-card:hover::before {
  opacity: 1;
}

.card-league {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.league-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.league-name {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex: 1;
}

.status-badge {
  font-family: "Orbitron", sans-serif;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  letter-spacing: 0.04em;
}

.s-live {
  background: #ff3b5c18;
  color: var(--neon-red);
  border: 1px solid #ff3b5c30;
  animation: pulseBadge 1.5s infinite;
}

.s-ht {
  background: #ffd70018;
  color: var(--neon-yellow);
  border: 1px solid #ffd70030;
  animation: pulseBadge 2s infinite;
}

.s-ft {
  background: #ffffff0a;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.s-ns {
  background: #00f7ff0a;
  color: var(--neon-blue);
  border: 1px solid #00f7ff20;
}

.card-teams {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.team {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.team-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.team-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  max-width: 100px;
}

.team.winner .team-name {
  color: var(--neon-green);
}

.score-block {
  text-align: center;
  flex-shrink: 0;
}

.score {
  font-family: "Orbitron", sans-serif;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
}

.score-sep {
  color: var(--text-muted);
  margin: 0 3px;
  font-weight: 300;
}

.match-time {
  font-family: "Orbitron", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--neon-red);
  margin-top: 4px;
}

.card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.card-venue {
  font-size: 11px;
  color: var(--text-muted);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-fav {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-fav:hover {
  border-color: var(--neon-yellow);
  color: var(--neon-yellow);
}

.btn-fav.active {
  background: #ffd70018;
  border-color: var(--neon-yellow);
  color: var(--neon-yellow);
}

.card-lock {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 26, 0.88);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-lg);
}

.card-lock .lock-ico {
  font-size: 28px;
}

.card-lock p {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  padding: 0 20px;
  line-height: 1.4;
}

.card-lock .btn-sm {
  font-size: 9px;
}

/* ================================================================ STATS BAR */
.stat-row {
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.stat-val {
  font-family: "Orbitron", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.stat-val.home {
  text-align: right;
  color: var(--neon-blue);
}

.stat-val.away {
  text-align: left;
  color: var(--neon-pink);
}

.stat-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.stat-bar-wrap {
  width: 100%;
  height: 6px;
  background: var(--bg-input);
  border-radius: 99px;
  display: flex;
  overflow: hidden;
}

.stat-bar.home {
  background: var(--neon-blue);
  border-radius: 99px 0 0 99px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-bar.away {
  background: var(--neon-pink);
  border-radius: 0 99px 99px 0;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================================================================ GOAL TOAST — discreto no canto */
.goal-toast {
  border-color: var(--neon-green) !important;
  box-shadow: 0 0 18px #00ff8825 !important;
}

.goal-toast .notif-title {
  font-family: "Orbitron", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--neon-green);
}

.goal-toast .notif-sub strong {
  font-family: "Orbitron", sans-serif;
  font-size: 13px;
  color: var(--text);
}

/* ================================================================ NOTIFICATIONS */
#notif-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.notif {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  min-width: 280px;
  max-width: 340px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  animation: slideInRight 0.3s ease both;
  pointer-events: all;
}

.notif.goal {
  border-color: var(--neon-green);
  box-shadow: 0 0 20px #00ff8830;
}

.notif.card {
  border-color: var(--neon-yellow);
}

.notif.corner {
  border-color: var(--neon-blue);
}

.notif-ico {
  font-size: 22px;
  flex-shrink: 0;
}

.notif-body {
  flex: 1;
}

.notif-title {
  font-weight: 700;
  font-size: 14px;
}

.notif-sub {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

.notif-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  flex-shrink: 0;
}

/* ================================================================ MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(10, 10, 20, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 88vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
  position: relative;
}

.modal-box.modal-sm {
  max-width: 420px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 10;
}

.modal-close:hover {
  border-color: var(--neon-red);
  color: var(--neon-red);
}

.modal-header {
  padding: 28px 24px 20px;
  background: var(--bg-card2);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.modal-body {
  overflow-y: auto;
  padding: 24px;
  flex: 1;
}

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

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-title {
  font-family: "Orbitron", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-red);
  border-radius: 50%;
  animation: pulseBadge 1.5s infinite;
  flex-shrink: 0;
}

.section-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
}

/* ================================================================ GRID */
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.comps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

/* ================================================================ SKELETON */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-card) 25%,
    var(--bg-card2) 50%,
    var(--bg-card) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

.skeleton-card {
  height: 180px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

/* ================================================================ SUBSCRIPTION LOCK PAGE */
.sub-wall {
  text-align: center;
  padding: 60px 24px;
  max-width: 480px;
  margin: 0 auto;
}

.sub-wall .wall-ico {
  font-size: 56px;
  margin-bottom: 16px;
}

.sub-wall h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.sub-wall p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.price-tag {
  font-family: "Orbitron", sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: var(--neon-blue);
  text-shadow: var(--glow-blue);
  margin-bottom: 6px;
}

.price-sub {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 28px;
}

/* ================================================================ AUTH PAGES */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, #7c3aed10, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, #00f7ff08, transparent 60%),
    var(--bg);
}

.auth-box {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.auth-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.auth-logo-text {
  font-family: "Orbitron", sans-serif;
  font-size: 18px;
  font-weight: 900;
}

.auth-title {
  font-family: "Orbitron", sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.auth-sub {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 28px;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-dim);
}

.auth-footer a {
  color: var(--neon-blue);
  text-decoration: none;
}

/* ================================================================ TABS */
.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: var(--bg-input);
  border-radius: var(--radius);
  padding: 4px;
}

.tab {
  flex: 1;
  text-align: center;
  padding: 9px 12px;
  border-radius: 9px;
  font-family: "Orbitron", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-dim);
  border: none;
  background: transparent;
}

.tab.active {
  background: var(--bg-card);
  color: var(--neon-blue);
  box-shadow: 0 0 0 1px #00f7ff30;
}

/* ================================================================ TABLE */
.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.standings-table th {
  text-align: left;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.standings-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.standings-table tr:hover td {
  background: #ffffff04;
}

.pos-badge {
  font-family: "Orbitron", sans-serif;
  font-size: 12px;
  font-weight: 700;
  width: 24px;
  text-align: center;
}

/* ================================================================ TEAM CARD */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}

.team-card:hover {
  border-color: #00f7ff40;
  transform: translateY(-2px);
  box-shadow: var(--glow-blue);
}

.team-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 12px;
}

.team-card-name {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.team-card-league {
  font-size: 12px;
  color: var(--text-muted);
}

/* ================================================================ COMPETITION CARD */
.comp-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all var(--transition);
}

.comp-card:hover {
  border-color: #7c3aed40;
  transform: translateY(-2px);
  box-shadow: var(--glow-purple);
}

.comp-card img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.comp-info {
  flex: 1;
}

.comp-name {
  font-weight: 700;
  font-size: 14px;
}

.comp-country {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ================================================================ PROFILE */
.profile-header {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Orbitron", sans-serif;
  font-size: 28px;
  font-weight: 900;
  flex-shrink: 0;
}

.profile-name {
  font-family: "Orbitron", sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.profile-email {
  color: var(--text-dim);
  font-size: 14px;
  margin-top: 4px;
}

.sub-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 10px;
}

.sub-active {
  background: #00ff8815;
  border: 1px solid #00ff8835;
  color: var(--neon-green);
}

.sub-inactive {
  background: #ff3b5c15;
  border: 1px solid #ff3b5c35;
  color: var(--neon-red);
}

/* ================================================================ DASHBOARD — Agrupamento por País/Campeonato */
.country-group {
  margin-bottom: 36px;
}

.country-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.country-flag {
  font-size: 20px;
  line-height: 1;
}

.country-name {
  font-family: "Orbitron", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.country-match-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 2px 10px;
}

.league-group {
  margin-bottom: 28px;
}

.league-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: var(--bg-card2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.league-header img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.league-header-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.league-header-country {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 4px;
}

/* ================================================================ UTILITIES */
.container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
}

.page-content {
  padding: 32px 0;
}

.empty-state {
  text-align: center;
  padding: 56px 24px;
  color: var(--text-muted);
}

.empty-state .e-ico {
  font-size: 44px;
  margin-bottom: 12px;
  opacity: 0.4;
}

.empty-state p {
  font-size: 14px;
}

.text-muted {
  color: var(--text-muted);
}

.text-green {
  color: var(--neon-green);
}

.text-blue {
  color: var(--neon-blue);
}

.text-red {
  color: var(--neon-red);
}

.hidden {
  display: none !important;
}

.flex {
  display: flex;
}

.gap-2 {
  gap: 8px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-6 {
  margin-bottom: 24px;
}

.update-ticker {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 50;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.tick-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-green);
  animation: pulseBadge 2s infinite;
}

/* ================================================================ ANIMATIONS */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  from {
    background-position: 200% 0;
  }

  to {
    background-position: -200% 0;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ================================================================ RESPONSIVE */
@media (max-width: 1024px) {
  .matches-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 16px;
  }

  .nav-links,
  .nav-search {
    display: none;
  }

  .container {
    padding: 0 16px;
  }

  .page-content {
    padding: 20px 0;
  }

  .matches-grid {
    grid-template-columns: 1fr;
  }

  .auth-box {
    padding: 32px 22px;
  }

  .profile-header {
    flex-direction: column;
    text-align: center;
  }

  #trial-banner {
    top: 62px;
    padding: 8px 14px;
  }

  .trial-banner-inner {
    gap: 8px;
    font-size: 12px;
  }

  #trial-countdown {
    font-size: 13px;
  }

  .trial-cta {
    font-size: 9px;
    padding: 4px 12px;
  }

  #notif-container {
    bottom: 16px;
    right: 16px;
  }

  .notif {
    min-width: 240px;
  }
}

/* ================================================================
   LIVESCORE — Patches adicionais
   Adicione ao FINAL do main.css
   ================================================================ */

/* ── Avatar de foto no navbar ── */
.nav-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid transparent;
  transition: all var(--transition);
  display: block;
}
.nav-avatar-img:hover {
  border-color: var(--neon-blue);
  box-shadow: 0 0 12px #00f7ff40;
}

/* ── Ícones FontAwesome no navbar ── */
.nav-link .ico {
  display: flex;
  align-items: center;
}
.nav-link .ico i {
  font-size: 13px;
}
.nav-dropdown a i {
  width: 16px;
  text-align: center;
}

/* ── Fix alinhamento hero-badges no profile ── */
.hero-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-badges > div {
  display: flex;
  align-items: center;
}

/* ── sub-status alinhamento ── */
.sub-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

/* ── fav-team-badge alinhamento ── */
.fav-team-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ff2bd615;
  border: 1px solid #ff2bd640;
  border-radius: 99px;
  padding: 4px 12px 4px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--neon-pink);
  line-height: 1;
}

/* ── nav-link-locked sem emoji de cadeado ── */
.nav-link-locked::after {
  content: none;
}

/* ── Notif icon size ── */
.notif-ico i {
  font-size: 18px;
}
.notif-close i {
  font-size: 14px;
}

/* ── btn-fav com FontAwesome ── */
.btn-fav i {
  font-size: 13px;
  pointer-events: none;
}

/* ── card-stream-badge com FA ── */
.card-stream-badge i {
  font-size: 12px;
}

/* ── trial-ico com FA ── */
.trial-ico i {
  font-size: 15px;
}
/* ================================================================
   MOBILE NOTIFICATIONS FIX
   Adicione ao FINAL do main.css
   ================================================================ */

@media (max-width: 768px) {
  #notif-container {
    bottom: 12px;
    right: 8px;
    left: 8px;
    align-items: flex-end;
  }

  .notif {
    min-width: unset;
    max-width: 100%;
    width: 100%;
    padding: 10px 12px;
    gap: 8px;
    font-size: 13px;
  }

  .notif-ico {
    font-size: 16px;
  }

  .notif-ico i {
    font-size: 15px;
  }

  .notif-title {
    font-size: 12px;
  }

  .notif-sub {
    font-size: 11px;
  }

  .notif-close {
    font-size: 13px;
  }

  .goal-toast .notif-title {
    font-size: 11px;
  }

  .goal-toast .notif-sub strong {
    font-size: 12px;
  }
}
