@keyframes z-ticker-scroll {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}/* Custom styles goes here */

/* ===== Zapafta – Sidebar ===== */

#layout-menu {
  background: linear-gradient(180deg, #ffffff 0%, #fff5ec 100%) !important;
  padding-top: 22px;
  border-right: 1px solid #e5e5e5;
}

/* Header do menu (logo + nome) */
.app-brand {
  padding: 0 18px 16px 18px;
  margin-bottom: 12px;
  border-bottom: 1px solid #ffe4cc;
}

  .app-brand .app-brand-logo {
    display: flex;
    align-items: center;
  }

  .app-brand .app-brand-text {
    font-size: 20px;
    letter-spacing: .5px;
    color: #333 !important;
  }

.app-brand-tagline {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #9b9b9b;
}

/* Scroll / sombra interior default do template */
.menu-inner-shadow {
  display: none; /* se quiseres podes esconder */
}

/* Lista de items */
.menu-inner {
  padding: 8px 10px 16px 10px !important;
}

  /* Cada item */
  .menu-inner .menu-item {
    margin: 4px 0;
  }

/* Link base */
.menu-link {
  border-radius: 10px !important;
  padding: 9px 12px !important;
  transition: 0.15s ease;
  font-weight: 600;
  color: #404040 !important;
}

/* Ícones */
.menu-icon {
  color: #ff8a1f !important;
  font-size: 1.15rem;
}

/* Hover */
.menu-link:hover {
  background: #fff1e0 !important;
  color: #ff8a1f !important;
}

  .menu-link:hover .menu-icon {
    color: #e5740c !important;
  }

/* Item ativo */
.menu-item.active > .menu-link {
  background: #ff8a1f !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(255, 138, 31, 0.3);
}

.menu-item.active .menu-icon {
  color: #ffffff !important;
}

/* Secção título (se quiseres agrupar coisas) */
.menu-header {
  padding: 12px 14px 4px 14px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #a0a0a0;
}

/* Link de login mais “botão” quando não autenticado */
.menu-item-cta .menu-link {
  border-radius: 999px !important;
  justify-content: center;
  text-align: center;
}


#DivDestaqueDashboardLast {
  background: linear-gradient(135deg, #ffb067 0%, #ff892e 100%);
  color: #fff;
}

/* === CARD CONTAINER === */
.zapafta-card {
  width: 420px;
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

/* === TOP HEADER (faixa com nome) === */
.zc-header {
  width: 100%;
  background: linear-gradient(90deg, #ff7a29, #ff9e4a);
  padding: 10px 15px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.zc-name {
  font-size: 22px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
}

/* === CENTER AREA (camisola) === */
.zc-body {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Mantemos o teu CSS da camisola */
.jersey {
  width: 380px;
  height: 280px;
  background: url('/img/elements/camisola.png');
  background-size: cover;
  position: relative;
  text-align: center;
  padding-top: 40px;
}

/* Nome */
.player-name {
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  position: absolute;
  width: 100%;
  top: 45px;
  color:snow
}

/* Número */
.player-number {
  font-size: 100px;
  font-weight: 900;
  -webkit-text-stroke: 6px #c00000;
  color: white;
  margin-top: 55px;
}

/* === FOOTER EM ESTILO CROMO === */
.zc-footer {
  margin-top: 5px;
  height: 40px;
  position: relative;
}

/* Linhas diagonais da esquerda */
.zc-lines-left,
.zc-lines-right {
  position: absolute;
  top: 12px;
  width: 45px;
  height: 12px;
  background: #ff7a29;
  border-radius: 6px;
  transform: rotate(-18deg);
  opacity: .7;
}

.zc-lines-left {
  left: 5px;
}

.zc-lines-right {
  right: 5px;
  transform: rotate(18deg);
}

/* Logo Zapafta */
.zc-logo {
  position: absolute;
  right: 10px;
  bottom: -2px;
  width: 28px;
  opacity: 0.85;
}

.zc-header {
  width: 100%;
  background: linear-gradient(90deg, #ff7a29, #ff9e4a);
  padding: 10px 15px;
  border-radius: 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.zc-name {
  font-size: 18px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
}

/* PÍLULA DA POSIÇÃO (MO, DC, GR...) */
.zc-pos-pill {
  min-width: 40px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
}

/* GLOW COLORIDO ATRÁS DA CAMISOLA (COR POR POSIÇÃO) */
.zc-body {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.zc-pos-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pos-color) 0%, transparent 70%);
  opacity: 0.18;
  filter: blur(2px);
}

/* FOOTER: LINHAS + POSIÇÃO DETALHE */
.zc-footer {
  margin-top: 5px;
  height: 40px;
  position: relative;
}

.zc-lines-left,
.zc-lines-right {
  position: absolute;
  top: 12px;
  width: 45px;
  height: 12px;
  background: #ff7a29;
  border-radius: 6px;
  transform: rotate(-18deg);
  opacity: .7;
}

.zc-lines-right {
  right: 5px;
  transform: rotate(18deg);
}

.zc-lines-left {
  left: 5px;
}

/* Detalhe da posição (texto) */
.zc-pos-detail {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #555;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Bolinha colorida ao lado do texto (cor da posição) */
.zc-pos-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* Logo Z */
.zc-logo {
  position: absolute;
  right: 10px;
  bottom: -2px;
  width: 88px;
  opacity: 0.85;
}





.request-wrapper {
  margin-top: 10px;
}

/* BOTÃO TIKTOK SUPER APELATIVO */



/* animação de “pulso” suave para chamar atenção */
@keyframes pulse-request {
  0% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-1px) scale(1.02);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

.btn-request-tiktok {
  animation: pulse-request 2.2s infinite;
}

  .btn-request-tiktok:hover {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
    filter: brightness(1.05);
  }



/* subtítulo pequeno */
.btn-request-sub {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 2px;
}

/* BOX DA EQUIPA LÍDER */
.leading-team-box {
  font-size: 13px;
  background: #f8fafc;
  border-radius: 8px;
  padding: 8px 12px;
  display: inline-block;
  margin-top: 8px;
}

.leading-label {
  font-weight: 600;
  color: #555;
  margin-bottom: 2px;
}

.leading-team-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-weight: 500;
}

  .leading-team-line .medal {
    font-size: 16px;
  }

  .leading-team-line .team-name {
    color: #222;
  }

  .leading-team-line .votes {
    color: #888;
  }

/* responsivo */
@media (max-width: 576px) {
  .btn-request-tiktok {
    max-width: 100%;
    padding: 10px 12px;
  }
}


/* Dialog geral */
.z-request-dialog .e-dlg-content {
  padding: 24px 32px 20px 32px;
  background: #f8f7ff;
}

/* Header */
.z-request-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.z-request-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.z-request-logo {
  width: 42px;
  height: 42px;
}

.z-request-title {
  font-weight: 700;
  font-size: 1.2rem;
  color: #1f2933;
}

.z-request-subtitle {
  font-size: 0.85rem;
  color: #6b7280;
}

.z-request-tag {
  background: #ff7a1a;
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Conteúdo */
.z-request-body {
  margin-top: 8px;
}

.z-request-row {
  margin-bottom: 18px;
}

.z-request-step-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 10px 0 6px 0;
  color: #374151;
}

/* Disclaimer */
.z-request-disclaimer {
  margin-top: 16px;
  font-size: 0.78rem;
  color: #6b7280;
  background: #fff;
  border-left: 4px solid #ff7a1a;
  padding: 8px 10px;
  border-radius: 6px;
}

/* Botão grande e chamativo */
.z-request-btn {
  width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(90deg, #ff7a1a, #ffb347);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(255, 122, 26, 0.35);
}

  .z-request-btn:hover {
    box-shadow: 0 10px 24px rgba(255, 122, 26, 0.5);
    transform: translateY(-1px);
  }

/* Ajustes responsivos */
@media (max-width: 768px) {
  .z-request-dialog .e-dlg-content {
    padding: 16px;
  }

  .z-request-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .z-request-btn {
    font-size: 0.9rem;
  }
}

/* Área extra: imagem + ranking lado a lado */
.z-request-extra {
  margin-top: 18px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.z-request-extra-left {
  flex: 1;
}

.z-request-extra-right {
  flex: 1.2;
  display: flex;
  align-items: stretch;
}

.z-extra-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #374151;
}

/* Imagem dos vídeos */
.z-extra-image {
  max-width: 430px;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
  display: block;
}

/* Card de ranking */
.z-ranking-card {
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  border: 1px solid #f3f4f6;
}

.z-ranking-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

/* Lista Top 3 */
.z-ranking-list {
  list-style: none;
  padding: 0;
  margin: 0 0 6px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.z-ranking-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 10px;
  background: #f9fafb;
}

.z-ranking-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Medalhas 1,2,3 */
.z-ranking-medal {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
}

  .z-ranking-medal.gold {
    background: #f59e0b;
  }

  .z-ranking-medal.silver {
    background: #9ca3af;
  }

  .z-ranking-medal.bronze {
    background: #b45309;
  }

/* Texto equipa + escalão */
.z-ranking-team {
  font-size: 0.8rem;
  font-weight: 600;
  color: #111827;
}

.z-ranking-age {
  font-size: 0.75rem;
  color: #6b7280;
}

/* Votos à direita */
.z-ranking-votes {
  font-size: 0.75rem;
  font-weight: 600;
  background: #fff7ed;
  color: #c2410c;
  padding: 3px 8px;
  border-radius: 999px;
}

/* Nota final */
.z-ranking-note {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 4px;
}

/* Responsivo */
@media (max-width: 900px) {
  .z-request-extra {
    flex-direction: column;
  }

  .z-extra-image {
    max-width: 180px;
  }
}


.e-dialog,
.e-dialog.e-popup {
  z-index: 99999 !important;
}

/* O fundo (overlay) também precisa estar acima */
.e-popup-overlay {
  z-index: 99998 !important;
}
.e-toast-container,
.e-toast {
  z-index: 99998 !important;
}
/* ------------- MOBILE FULLSCREEN MODE ------------- */
@media (max-width: 768px) {

  /* O diálogo ocupa o ecrã inteiro */
  .z-request-dialog.e-dialog,
  .z-request-dialog.e-popup {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    border-radius: 0 !important;
  }

  /* Conteúdo com scroll interno */
  .z-request-dialog .e-dlg-content {
    height: calc(100% - 60px) !important;
    overflow-y: auto !important;
    padding: 16px !important;
  }

  /* Header compacto */
  .z-request-header {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 14px !important;
  }

  .z-request-logo {
    width: 40px !important;
    height: 40px !important;
  }

  .z-request-title {
    font-size: 1rem !important;
  }

  .z-request-subtitle {
    font-size: 0.75rem !important;
  }

  /* Top 3 passa para baixo da imagem */
  .z-request-extra {
    flex-direction: column !important;
    gap: 16px !important;
  }

  /* A imagem fica centrada e maior */
  .z-extra-image {
    max-width: 80%;
    margin: 0 auto;
    display: block;
  }

  /* Ranking ocupa 100% */
  .z-request-extra-right {
    width: 100% !important;
  }

  .z-ranking-card {
    width: 100%;
  }

  /* Inputs maiores */
  .e-input,
  input,
  select {
    font-size: 1rem !important;
  }

  /* Botão final fixo no fundo do ecrã */
  .z-request-btn {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
    padding: 16px !important;
    font-size: 1.1rem !important;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1) !important;
    z-index: 200000 !important;
  }
}




  /* Borda branca -> muda para borda preta cartoon */
  .btn-request-tiktok::before {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: inherit;
    border: 3px solid rgba(0,0,0,0.65);
    pointer-events: none;
  }

  /* Hover */
  .btn-request-tiktok:hover {
    transform: translateY(2px);
    box-shadow: 0 8px 0 #5c0000, 0 14px 22px rgba(0,0,0,.35);
  }

/* Countdown pill */
#countdown {
  font-size: .8rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  text-transform: uppercase;
  letter-spacing: .04em;
}



/* ===== TikTok request area ===== */

/* Layout lado a lado (poster + ranking) */
.request-layout {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  height: 100%;
}

.request-left,
.request-right {
  flex: 1;
}

/* Poster */
.request-image-container {
  position: relative;
  max-width: 360px;
}

.request-left .z-extra-image {
  width: 100%;
  display: block;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

/* Botão pop-art simples, flat */
.btn-request-tiktok {
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: #000;
  color: #fff;
  font-weight: 700;
  border-radius: 14px;
  border: 3px solid #ff7a18;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  text-align: center;
}

  .btn-request-tiktok::before {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.85);
    pointer-events: none;
  }

  .btn-request-tiktok.over-image {
    position: absolute;
    bottom: -15px; /* ligeiramente fora do poster */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
  }

/* Countdown */
#countdown {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #ffb866;
}

/* Texto principal e subtexto */
.btn-request-main {
  font-size: 0.95rem;
  font-weight: 700;
}

.btn-request-sub {
  font-size: 0.75rem;
  color: #d0d0d0;
}

/* Card do ranking das equipas */
.team-request-card {
  border-radius: 18px;
}

.team-request-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.team-request-item .tri-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.tri-name {
  font-weight: 600;
}

.tri-count {
  color: #666;
  font-size: 0.8rem;
}

/* Barra de pedidos */
.tri-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #eee;
  overflow: hidden;
  margin-top: 4px;
}

.tri-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff7a18, #ffb400);
}

/* Texto do footer do ranking */
.team-request-footer {
  font-size: 0.78rem;
}

/* Responsivo */
@media (max-width: 991.98px) {
  .request-layout {
    flex-direction: column;
    align-items: center;
  }

  .request-image-container {
    margin-bottom: 2.5rem;
  }
}
@media (max-width: 768px) {

  /* layout em coluna, tudo centrado */
  .request-layout {
    flex-direction: column;
    align-items: center;
  }

  .request-left {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* poster ocupa a largura do ecrã (com margens) */
  .request-image-container {
    max-width: 100%;
    width: 100%;
    padding: 0 16px;
  }

  .request-left .z-extra-image {
    width: 100%;
    border-radius: 18px;
  }

  /* 👉 botão exatamente em cima da imagem, dentro dos limites */
  .btn-request-tiktok.over-image {
    position: absolute;
    bottom: 12px; /* um bocadinho acima da borda da imagem */
    left: 50%;
    transform: translateX(-50%);
    width: 88%; /* ligeira margem dos lados */
  }
}

/* ===== MOBILE FIX – poster + botão colado à imagem ===== */
@media (max-width: 768px) {

  /* Poster + ranking em coluna */
  .request-layout {
    flex-direction: column !important;
    align-items: center !important;
  }

  .request-left {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  /* Container da imagem ocupa a largura e é a âncora do botão */
  .request-image-container {
    position: relative !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 16px !important;
    margin: 0 auto !important;
  }

  .request-left .z-extra-image {
    width: 100% !important;
    border-radius: 18px !important;
    display: block !important;
  }

  /* 👉 Botão dentro da imagem, centrado */
  .btn-request-tiktok.over-image {
    position: absolute !important;
    bottom: 12px !important; /* um pouco acima da borda inferior */
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 88% !important; /* margens nos lados */
    margin: 0 !important;
  }
}
@media (max-width: 768px) {

  /* Fullscreen overlay só para os popups destes dropdowns */
  #AutoCountries_popup.e-popup,
  #AutoCities_popup.e-popup,
  #DropdownAssociation_popup.e-popup,
  #DropdownClub_popup.e-popup,
  #PositionFavorite_popup.e-popup {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    z-index: 999999 !important;
  }


  #AutoCountries_popup .e-dropdownbase,
  #AutoCities_popup .e-dropdownbase,
  #DropdownAssociation_popup .e-dropdownbase,
  #DropdownClub_popup .e-dropdownbase,
  #PositionFavorite_popup .e-dropdownbase {
    height: calc(100vh - 64px) !important; /* 64px ~ search input */
    max-height: calc(100vh - 64px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }


  #AutoCountries_popup .e-filter-parent,
  #AutoCities_popup .e-filter-parent,
  #DropdownAssociation_popup .e-filter-parent,
  #DropdownClub_popup .e-filter-parent,
  #PositionFavorite_popup .e-filter-parent {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
    padding-top: 8px;
  }
}


/* Só afeta dropdowns com esta classe */
.z-mobile-dropdown .e-input-group {
  min-height: 52px;
  font-size: 16px;
}

/* Melhor toque em mobile */
.z-mobile-dropdown .e-dropdownbase {
  font-size: 16px;
}
@media (max-width: 768px) {
  .z-mobile-dropdown .e-input-group {
    min-height: 52px;
    font-size: 16px;
  }

  .z-mobile-dropdown .e-dropdownbase {
    font-size: 16px;
  }
}
.z-scoreboard {
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  padding: 12px;
  background: #0b0f19;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.z-sb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.z-team {
  flex: 1;
  min-width: 0;
}

.z-team-name {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: .95;
}

.z-left .z-team-name {
  text-align: left;
}

.z-right .z-team-name {
  text-align: right;
}

.z-center {
  flex: 0 0 auto;
  text-align: center;
}

.z-score {
  font-weight: 900;
  font-size: 32px;
  letter-spacing: 1px;
}

.z-meta {
  font-size: 12px;
  opacity: .85;
  margin-top: 2px;
}

.z-dot {
  margin: 0 6px;
  opacity: .6;
}

.z-sep {
  margin: 0 10px;
  opacity: .7;
}

.z-sb-stats {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
  opacity: .95;
}

  .z-sb-stats > div {
    flex: 1;
    text-align: center;
    white-space: nowrap;
  }

.z-lbl {
  opacity: .7;
  margin-right: 6px;
}

.z-commentary {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 12px;
  min-height: 220px;
  max-height: 300px;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: #fff;
  color: #111;
}

/* Mobile */
@media (max-width: 768px) {
  .z-score {
    font-size: 28px;
  }

  .z-sb-stats {
    gap: 6px;
  }

  .z-team-name {
    font-size: 13px;
  }
}
.z-cta-wrap {
  max-width: 1100px;
  margin: 20px auto 0;
  padding: 6px 10px 18px;
}

.z-cta-header h2 {
  margin: 0 0 6px;
  font-weight: 800;
  letter-spacing: .2px;
}

.z-cta-header p {
  margin: 0 0 16px;
  color: #6b7280;
  font-weight: 500;
}

.z-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .z-cta-grid {
    grid-template-columns: 1fr;
  }
}

.z-cta-card {
  position: relative;
  border-radius: 18px;
  padding: 18px 18px 16px;
  text-decoration: none;
  color: #0f172a;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15,23,42,.06);
  overflow: hidden;
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

  .z-cta-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.14);
    filter: saturate(1.05);
  }

.z-cta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.z-cta-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: rgba(255,138,31,.12);
  border: 1px solid rgba(255,138,31,.28);
}

.z-cta-title {
  font-size: 20px;
  font-weight: 900;
  margin: 4px 0 6px;
}

.z-cta-sub {
  color: #6b7280;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 14px;
}

.z-cta-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 900;
  letter-spacing: .2px;
  padding-top: 10px;
  border-top: 1px dashed rgba(15,23,42,.14);
}

.z-cta-arrow {
  font-size: 18px;
  opacity: .9;
}

/* Badges */
.z-cta-badge {
  font-weight: 900;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.7);
}

.z-badge-hot {
  color: #b45309;
  border-color: rgba(255,138,31,.35);
  background: rgba(255,138,31,.12);
}

.z-badge-live {
  color: #047857;
  border-color: rgba(16,185,129,.25);
  background: rgba(16,185,129,.10);
}

.z-badge-lock {
  color: #6b7280;
  border-color: rgba(107,114,128,.22);
  background: rgba(107,114,128,.10);
}

/* Gradientes “Zapafta” */
.z-cta-profile::before,
.z-cta-dash::before {
  content: "";
  position: absolute;
  inset: -2px;
  opacity: .18;
  pointer-events: none;
}

.z-cta-profile::before {
  background: radial-gradient(800px 200px at 20% 0%, rgba(255,138,31,.85), transparent 55%), radial-gradient(700px 260px at 100% 10%, rgba(124,58,237,.70), transparent 60%);
}

.z-cta-dash::before {
  background: radial-gradient(800px 240px at 0% 0%, rgba(99,102,241,.80), transparent 55%), radial-gradient(700px 260px at 90% 10%, rgba(255,138,31,.70), transparent 60%);
}

/* Locked state (sem ficar feio) */
.z-cta-locked {
  cursor: not-allowed;
  user-select: none;
  filter: grayscale(.15);
}

  .z-cta-locked:hover {
    transform: translateY(0);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  }

.z-cta-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 14px;
  background: linear-gradient(to top, rgba(15,23,42,.22), transparent 65%);
  opacity: 0;
  transition: opacity .18s ease;
}

.z-cta-locked:hover .z-cta-lock-overlay {
  opacity: 1;
}

.z-cta-lock-overlay span {
  width: 100%;
  text-align: center;
  font-weight: 900;
  color: #0f172a;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(15,23,42,.08);
  padding: 10px 12px;
  border-radius: 14px;
}
/* Banner GOLO */
.z-goal-banner {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 9999;
}

  .z-goal-banner .z-goal-card {
    padding: 18px 28px;
    border-radius: 18px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(0,0,0,0.85);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    transform: translateY(30px) scale(0.9);
    opacity: 0;
    animation: zGoalIn 220ms ease-out forwards, zGoalOut 260ms ease-in forwards;
    animation-delay: 0ms, 1100ms;
  }

@keyframes zGoalIn {
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes zGoalOut {
  to {
    transform: translateY(-20px) scale(0.98);
    opacity: 0;
  }
}

/* Flash no scoreboard */
.z-goal-flash {
  animation: zFlash 650ms ease-out;
}

@keyframes zFlash {
  0% {
    box-shadow: 0 0 0 rgba(0,0,0,0);
    transform: scale(1);
  }

  20% {
    box-shadow: 0 0 0 6px rgba(255,255,255,0.18), 0 0 0 9999px rgba(0,0,0,0.25);
    transform: scale(1.02);
  }

  55% {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.10), 0 0 0 9999px rgba(0,0,0,0.10);
    transform: scale(1.01);
  }

  100% {
    box-shadow: 0 0 0 rgba(0,0,0,0);
    transform: scale(1);
  }
}

/* Shake do placar */
.z-shake {
  animation: zShake 450ms ease-in-out;
}

@keyframes zShake {
  0%, 100% {
    transform: translateX(0);
  }

  15% {
    transform: translateX(-6px);
  }

  30% {
    transform: translateX(6px);
  }

  45% {
    transform: translateX(-5px);
  }

  60% {
    transform: translateX(5px);
  }

  75% {
    transform: translateX(-3px);
  }
}

/* Pop no número do golo */
.z-pop {
  animation: zPop 420ms cubic-bezier(.2,.8,.2,1);
  display: inline-block;
}

@keyframes zPop {
  0% {
    transform: scale(1);
  }

  30% {
    transform: scale(1.45);
  }

  60% {
    transform: scale(0.95);
  }

  100% {
    transform: scale(1);
  }
}

/* Confetti */
.z-confetti {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
  overflow: hidden;
}

  .z-confetti i {
    position: absolute;
    top: -10px;
    width: 10px;
    height: 16px;
    opacity: 0.95;
    border-radius: 2px;
    transform: translateY(0) rotate(0deg);
    animation: zFall 1200ms linear forwards;
  }

@keyframes zFall {
  to {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0.9;
  }
}
