/* iMove — Palpite Premiado 2026 Styles */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&display=swap');

/* ==================== BANNER PROMOCIONAL (HOMEPAGE) ==================== */
.promo-section {
  padding: 80px 0;
  background: var(--imv-paper);
}
.promo-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.promo-banner {
  background: white;
  border-radius: 32px;
  border: 1px solid var(--imv-line);
  box-shadow: var(--imv-shadow-card);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 380px;
  position: relative;
}
.promo-banner::before {
  content: "";
  position: absolute;
  top: 15px; left: 15px; right: 15px; bottom: 15px;
  border: 2px solid var(--imv-orange);
  border-radius: 20px;
  pointer-events: none;
  z-index: 1;
}
.promo-left {
  background: #fdfdfd;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 30px;
}
.promo-left img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
  z-index: 2;
}
/* Dotted accents in corners */
.promo-dots {
  position: absolute;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(#F59E0B 20%, transparent 20%);
  background-size: 10px 10px;
  opacity: 0.3;
}
.promo-dots.top-left { top: 25px; left: 25px; }
.promo-dots.bottom-left { bottom: 25px; left: 25px; }

.promo-right {
  background: linear-gradient(115deg, #F59E0B 0%, #FB923C 100%);
  padding: 50px 60px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
  margin-left: -80px;
  padding-left: 120px;
}
.promo-right::before {
  content: "";
  position: absolute;
  right: -50px; top: -50px;
  width: 250px; height: 250px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  pointer-events: none;
}
.promo-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--imv-ink);
  margin-bottom: 12px;
  display: inline-block;
}
.promo-title-wrap {
  transform: skewX(-8deg) rotate(-1deg);
  display: inline-block;
  width: fit-content;
}
.promo-title {
  background: var(--imv-ink);
  color: white;
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 800;
  padding: 10px 24px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(11,15,44,0.15);
}
.promo-badge-wrap {
  transform: skewX(-8deg);
  margin-top: 10px;
  margin-bottom: 20px;
}
.promo-badge {
  background: #EC4899; /* Hot Pink */
  color: white;
  font-size: 16px;
  font-weight: 800;
  padding: 6px 16px;
  text-transform: uppercase;
  border-radius: 4px;
  display: inline-block;
}
.promo-desc {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 30px;
  max-width: 450px;
}
.promo-cta-btn {
  background: var(--imv-ink);
  color: white;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: none;
  width: fit-content;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  transition: transform .35s var(--imv-ease), background .25s var(--imv-ease);
}
.promo-cta-btn:hover {
  background: var(--imv-blue);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(80,70,229,0.35);
}
.promo-cta-btn .arrow-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: white;
  color: var(--imv-ink);
  border-radius: 50%;
  transition: transform .35s var(--imv-ease);
}
.promo-cta-btn:hover .arrow-ico {
  transform: translateX(3px);
}

@media (max-width: 820px) {
  .promo-banner {
    grid-template-columns: 1fr;
  }
  .promo-left {
    min-height: 240px;
    padding: 20px;
  }
  .promo-left img {
    height: 220px;
  }
  .promo-right {
    clip-path: none;
    margin-left: 0;
    padding: 40px;
    border-radius: 0 0 32px 32px;
  }
}

@keyframes promoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==================== PÁGINA COPA (APP CONTAINER) ==================== */
.copa-section {
  padding: 0 0 50px;
  background: var(--imv-cream);
  min-height: 100vh;
}
.copa-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  padding: 0 16px;
}
.copa-app-card {
  width: 100%;
  max-width: 680px;
  background: transparent;
  position: relative;
  display: flex;
  flex-direction: column;
}
/* Telas de formulário/tabela: largura confortável e centralizada mesmo em telas largas */
#tab-inicio, #tab-ranking, #tab-carteira, #tab-perfil {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
#screen-login, #screen-register, #screen-ativacao { padding-top: 28px; }
/* Jogos empilhados — um embaixo do outro, em coluna única centralizada */
.match-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.match-grid .match-card { margin-bottom: 0; }

/* Screen Headers */
.copa-header {
  background: var(--imv-ink);
  color: white;
  padding: 20px 20px 16px;
  border-radius: 16px 16px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.copa-header-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin: 0;
  color: var(--imv-orange);
}

/* Scrollable Content */
.copa-content-scroll {
  flex: 1;
  padding: 20px;
}

/* Form Styles */
.copa-form-group {
  margin-bottom: 16px;
}
.copa-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--imv-muted);
  margin-bottom: 6px;
  font-family: 'JetBrains Mono', monospace;
}
.copa-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--imv-line-strong);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  background: white;
  transition: border-color 0.2s;
}
.copa-input:focus {
  border-color: #068472;
}

/* App Buttons */
.copa-btn {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.25s, transform 0.15s;
}
.copa-btn-primary {
  background: linear-gradient(135deg, #068472 0%, #586761 100%);
  color: white;
}
.copa-btn-primary:hover {
  opacity: 0.95;
}
.copa-btn-primary:active {
  transform: scale(0.98);
}
.copa-btn-secondary {
  background: white;
  border: 1px solid var(--imv-line-strong);
  color: var(--imv-ink);
}

/* App Navigation Bar (no topo) */
.copa-nav-bar {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px 12px 11px;
  background: var(--imv-cream);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 6px 14px -10px rgba(11,15,44,0.25);
}
.copa-nav-icons { display: flex; justify-content: space-around; align-items: flex-start; gap: clamp(6px, 3vw, 22px); width: 100%; }
.copa-aviso { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 2px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, #FFF7ED, #FEF2F2); border: 1px solid #FCA5A5; box-shadow: 0 6px 16px -10px rgba(220,38,38,0.45); }
.copa-aviso-icon { font-size: 20px; line-height: 1.25; flex-shrink: 0; }
.copa-aviso-text { font-size: 12.5px; line-height: 1.45; color: #7F1D1D; }
.copa-aviso-text strong { color: #B91C1C; font-weight: 800; }
.nav-greeting { width: 100%; text-align: center; font-size: 13px; font-weight: 700; color: var(--imv-blue); line-height: 1.2; padding-top: 9px; border-top: 1px solid rgba(11,15,44,0.08); }
.nav-greeting:empty { display: none; }
.nav-saldo { display: flex; flex-flow: row wrap; align-items: center; justify-content: center; gap: 8px 30px; width: 100%; padding-top: 9px; border-top: 1px solid rgba(11,15,44,0.08); }
/* Quando a saudação aparece logo acima, o saldo não repete a linha divisória */
.nav-greeting:not(:empty) + .nav-saldo { border-top: none; padding-top: 4px; }
.nav-saldo:empty { display: none; }
.ns-line { display: flex; align-items: center; gap: 6px; line-height: 1.1; }
.ns-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.3px; color: var(--imv-muted); }
.ns-val { font-size: 15px; font-weight: 800; color: var(--imv-blue); }
.ns-credits-val { color: var(--imv-orange); }
.nav-saldo .cst-eye { font-size: 13px; padding: 0 2px; }
.copa-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  flex: 1 1 0;
  max-width: 110px;
  min-width: 0;
}
.copa-nav-item-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: #F2F4F7;
  box-shadow: 0 2px 6px rgba(11,15,44,0.06);
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
}
/* Cor distinta por ícone (estilo app) */
.copa-nav-item:nth-child(1) .copa-nav-item-icon { background: #E8F0FE; }
.copa-nav-item:nth-child(2) .copa-nav-item-icon { background: #E7F7F1; }
.copa-nav-item:nth-child(3) .copa-nav-item-icon { background: #FFF1E6; }
.copa-nav-item:nth-child(4) .copa-nav-item-icon { background: #FFF8DD; }
.copa-nav-item:nth-child(5) .copa-nav-item-icon { background: #F1E9FB; }
.copa-nav-item span {
  font-size: 11px;
  font-weight: 600;
  color: var(--imv-ink);
  text-align: center;
  white-space: nowrap;
}
.copa-nav-item.active .copa-nav-item-icon {
  background: linear-gradient(135deg, #068472 0%, #0a9e88 100%);
  box-shadow: 0 6px 16px rgba(6,132,114,0.40);
  transform: translateY(-3px) scale(1.06);
}
.copa-nav-item.active span {
  color: #068472;
  font-weight: 700;
}
.copa-nav-item:active .copa-nav-item-icon {
  transform: scale(0.94);
}

/* Auth Cards */
.auth-box {
  background: white;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--imv-line);
  box-shadow: var(--imv-shadow-card);
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.auth-box h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 20px;
  color: var(--imv-ink);
}

/* Modal OTP styles */
.otp-modal {
  position: absolute;
  inset: 0;
  background: rgba(11,15,44,0.7);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.otp-box {
  background: white;
  border-radius: 24px;
  padding: 28px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  text-align: center;
  position: relative;
}
.otp-box h4 {
  font-family: 'Sora', sans-serif;
  margin: 0 0 10px;
}
.otp-inputs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0;
}
.otp-digit {
  width: 42px;
  height: 48px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  border: 1px solid var(--imv-line-strong);
  border-radius: 8px;
  outline: none;
}
.otp-digit:focus {
  border-color: #068472;
}

/* Cards & Widgets */
.app-card {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--imv-line);
  padding: 16px;
  margin-bottom: 16px;
}
.app-card-title {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--imv-ink);
}

/* Match prediction grid */
.match-card {
  overflow: hidden;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--imv-line);
  margin-bottom: 16px;
  box-shadow: var(--imv-shadow-card);
}
.match-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px 4px;
}
.match-group {
  font-weight: 700;
  font-size: 14px;
  color: var(--imv-ink);
}
.match-status {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.match-status.st-open     { color: var(--imv-muted); background: #f1f3f5; }
.match-status.st-locked   { color: #B45309; background: #FEF3C7; }
.match-status.st-finished { color: #1D4ED8; background: #DBEAFE; }
.match-mid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding: 12px 14px 16px;
}
.team-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 88px;
  flex-shrink: 0;
  padding-top: 4px;
}
.team-flag {
  font-size: 40px;
  line-height: 1;
}
.team-flag img {
  display: block;
}
.team-name {
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
  color: var(--imv-ink);
}
.match-score {
  display: flex;
  align-items: center;
  gap: 12px;
}
.score-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.score-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--imv-ink);
  min-width: 26px;
  text-align: center;
  line-height: 1;
}
.score-num.input {
  background: #0B0F2C;
  color: white;
  border-radius: 12px;
  width: 50px;
  height: 50px;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.score-x {
  font-weight: 600;
  color: var(--imv-muted);
  font-size: 16px;
}
.sc-btn {
  width: 50px;
  height: 22px;
  border-radius: 7px;
  border: none;
  background: #eef1f4;
  color: var(--imv-ink);
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
}
.sc-btn:active { background: #e2e6ea; }
.match-penalty {
  margin: 0 16px 12px;
  font-size: 12px;
  color: var(--imv-muted);
}
.match-confirm {
  display: block;
  width: calc(100% - 28px);
  margin: 0 14px 14px;
  height: 46px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #068472 0%, #0a9e88 100%);
  color: white;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.match-confirm:active { transform: scale(0.99); }
.match-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #f6f7f9;
  border-top: 1px solid var(--imv-line);
  font-size: 13px;
  color: var(--imv-muted);
}
.match-foot .foot-pts { font-weight: 800; color: var(--imv-ink); }
.match-foot .foot-ok { color: #068472; font-weight: 700; }
.match-foot .foot-muted { color: var(--imv-muted); }
.match-top-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.match-count {
  font-size: 11px;
  font-weight: 800;
  color: #068472;
  background: #E8F5F2;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.match-acertos { color: #B45309; background: #FEF3C7; }
.palpite-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 16px 10px;
}
.palpite-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #f6f7f9;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
}
.palpite-row .pl-num { color: var(--imv-muted); font-size: 12px; }
.palpite-row .pl-score { font-weight: 800; color: var(--imv-ink); margin-left: auto; }
.palpite-row .pl-pts { color: #068472; font-weight: 700; font-size: 12px; }
.match-add {
  display: block;
  width: calc(100% - 28px);
  margin: 0 14px 14px;
  height: 42px;
  border: 1px dashed #068472;
  border-radius: 12px;
  background: #f0faf8;
  color: #068472;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.match-add:active { background: #e3f4f0; }

/* Wallet and Stats */
.wallet-box {
  background: linear-gradient(135deg, #04160E 0%, #0D2D1E 100%);
  color: white;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 16px;
}
.wallet-label {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  opacity: 0.7;
}
.wallet-balance {
  font-size: 32px;
  font-weight: 700;
  margin-top: 4px;
  color: var(--imv-orange);
}

/* Admin floating view */
.admin-mode-badge {
  position: fixed;
  top: auto;
  bottom: 14px;
  left: 14px;
  opacity: 0.55;
  background: #EF4444;
  color: white;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}
.admin-panel-overlay {
  position: absolute;
  inset: 0;
  background: white;
  z-index: 90;
  overflow-y: auto;
  padding: 20px;
}

/* Generic alert box */
.custom-alert {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  background: var(--imv-ink);
  color: white;
  border-left: 4px solid var(--imv-orange);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 12px;
  z-index: 200;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: slideInDown 0.35s var(--imv-ease) forwards;
}
.custom-alert button {
  background: none;
  border: none;
  color: white;
  font-weight: 700;
  font-size: 14px;
}

@keyframes slideInDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==================== GLOBAL NAVBAR EXTENSIONS ==================== */
.imv-nav-btn-secondary {
  height: 40px;
  padding: 0 18px;
  border-radius: 9999px;
  background: transparent;
  color: var(--imv-ink);
  border: 1.5px solid var(--imv-line-strong);
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s var(--imv-ease), border-color 0.25s var(--imv-ease), transform 0.25s var(--imv-ease);
  cursor: pointer;
  text-decoration: none;
}
.imv-nav-btn-secondary:hover {
  background: rgba(11, 15, 44, 0.05);
  border-color: var(--imv-ink);
  transform: translateY(-1px);
}
.imv-nav-btn-secondary:active {
  transform: translateY(0);
}

@media (max-width: 580px) {
  .imv-nav-btn-secondary {
    padding: 0 12px;
    font-size: 12px;
    height: 36px;
  }
  .imv-nav-cta {
    padding: 0 12px;
    font-size: 12px;
    height: 36px;
  }
}

/* ==================== GLOBAL LOGIN/REGISTER MODAL ==================== */
.global-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 44, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.global-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.global-modal-card {
  width: 100%;
  max-width: 440px;
  background: #F7FBF9;
  border-radius: 32px;
  border: 1px solid var(--imv-line-strong);
  box-shadow: 0 30px 60px rgba(11,15,44,0.25);
  overflow: hidden;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}
.global-modal-overlay.active .global-modal-card {
  transform: scale(1);
}
.global-modal-header {
  background: var(--imv-ink);
  color: white;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.global-modal-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--imv-orange);
  margin: 0;
}
.global-modal-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.global-modal-close:hover {
  color: white;
}
.global-modal-body {
  padding: 24px;
  overflow-y: auto;
}

/* User dropdown menu in navbar */
.nav-user-dropdown {
  position: absolute;
  top: 50px;
  right: 0;
  background: white;
  border: 1px solid var(--imv-line-strong);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(11,15,44,0.15);
  width: 200px;
  padding: 8px;
  display: none;
  flex-direction: column;
  z-index: 101;
  text-align: left;
}
.nav-user-dropdown.active {
  display: flex;
}
.nav-user-dropdown a {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--imv-ink);
  border-radius: 12px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.nav-user-dropdown a:hover {
  background: rgba(11,15,44,0.05);
}
.nav-user-dropdown .dropdown-divider {
  height: 1px;
  background: var(--imv-line);
  margin: 4px 8px;
}

/* Alert notifications on the site (toasts) */
.global-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--imv-ink);
  color: white;
  border-left: 4px solid var(--imv-orange);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 500;
  z-index: 2000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.global-toast.active {
  transform: translateY(0);
  opacity: 1;
}

/* ===== Banner Copa (aba Palpites) — responsivo via container query (cqw) ===== */
.copa-banner { width: 100%; margin-bottom: 8px; container-type: inline-size; }
.copa-banner-inner {
  position: relative; width: 100%; aspect-ratio: 2 / 1;
  border-radius: 2cqw; overflow: hidden; background: #fff;
  box-shadow: 0 1.2cqw 3cqw rgba(0,0,0,0.18);
  font-family: 'Inter', system-ui, sans-serif;
}
.cb-stadium {
  position: absolute; inset: -5cqw;
  background-image: url('banner/bg.png'); background-size: cover; background-position: center bottom;
  z-index: 1; animation: cbRise 3s cubic-bezier(0.2,0.8,0.2,1) forwards;
}
@keyframes cbRise { 0% { transform: translateY(4cqw) scale(1.1); opacity: 0; } 100% { transform: translateY(0) scale(1); opacity: 1; } }
.copa-banner-inner::before {
  content: ''; position: absolute; right: 0; top: 0; width: 65%; height: 100%;
  background: linear-gradient(135deg, #F39B17 0%, #F5A934 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%); z-index: 2; opacity: 0.95;
  box-shadow: -1cqw 0 2cqw rgba(0,0,0,0.2);
}
.cb-confetti { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.cb-content { position: absolute; inset: 0; z-index: 4; display: flex; }
.cb-left { width: 45%; display: flex; justify-content: center; align-items: center; padding-left: 2cqw; }
.cb-fans {
  width: 90%; height: 80%; object-fit: cover; border-radius: 2cqw;
  box-shadow: 0 1cqw 2cqw rgba(0,0,0,0.2); animation: cbFade 1s ease-out 0.5s both;
}
@keyframes cbFade { 0% { opacity: 0; transform: scale(0.9); } 100% { opacity: 1; transform: scale(1); } }
.cb-right { width: 55%; padding: 3cqw 4cqw 4cqw 6cqw; display: flex; flex-direction: column; justify-content: flex-start; color: #fff; min-width: 0; }
.cb-promo { color: #2D1A00; font-weight: 900; font-size: 1.9cqw; letter-spacing: 0.2cqw; margin-bottom: 2.5cqw; text-transform: uppercase; }
.cb-blue { background: #0E163B; display: inline-block; padding: 1.5cqw 4cqw; transform: skew(-10deg); border-radius: 0.4cqw; box-shadow: 0.5cqw 0.5cqw 1.5cqw rgba(0,0,0,0.2); margin-bottom: 1cqw; }
.cb-blue h1 { transform: skew(10deg); font-size: 5.2cqw; font-weight: 900; font-style: italic; line-height: 1.1; color: #fff; margin: 0; }
.cb-pink { background: #E846A6; display: inline-block; padding: 1cqw 2.5cqw; transform: skew(-10deg); border-radius: 0.4cqw; box-shadow: 0.3cqw 0.3cqw 1cqw rgba(0,0,0,0.15); margin-bottom: 1.2cqw; }
.cb-pink h2 { transform: skew(10deg); font-size: 2cqw; font-weight: 900; font-style: italic; color: #fff; margin: 0; }
.cb-desc { font-size: 2.65cqw; line-height: 1.32; font-weight: 500; max-width: 97%; text-shadow: 0.1cqw 0.1cqw 0.2cqw rgba(0,0,0,0.15); color: #fff; margin: 0; }
.cb-reg-btn {
  position: absolute; bottom: 2.5cqw; right: 2.5cqw; z-index: 5;
  display: inline-flex; align-items: center; gap: 0.6cqw;
  background: rgba(255,255,255,0.95); color: #0E163B; border: none;
  border-radius: 999px; cursor: pointer; font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800; font-size: 1.5cqw; padding: 1cqw 2.2cqw;
  box-shadow: 0 0.5cqw 1.5cqw rgba(0,0,0,0.25); transition: transform 0.15s ease, background 0.2s ease;
}
.cb-reg-btn:hover { background: #fff; transform: translateY(-0.3cqw); }
.cb-slide { opacity: 0; transform: translateX(10cqw); animation: cbSlide 0.8s cubic-bezier(0.2,0.8,0.2,1) forwards; }
.cb-delay1 { animation-delay: 0.2s; }
.cb-delay2 { animation-delay: 0.4s; }
@keyframes cbSlide { 0% { opacity: 0; transform: translateX(10cqw); } 100% { opacity: 1; transform: translateX(0); } }

/* Celular (banner estreito): mais altura + texto compacto pra não cortar */
@container (max-width: 520px) {
  .copa-banner-inner { aspect-ratio: 1.6 / 1; }
  .cb-right { padding: 2.5cqw 3cqw 3cqw 5cqw; }
  .cb-promo { font-size: 2.2cqw; margin-bottom: 2cqw; }
  .cb-blue { padding: 1.2cqw 3.2cqw; }
  .cb-pink { margin-bottom: 1cqw; }
  .cb-desc { font-size: 2.85cqw; line-height: 1.3; margin-top: 0.5cqw; }
  .cb-reg-btn { font-size: 2.1cqw; padding: 1.2cqw 2.6cqw; bottom: 2cqw; right: 2cqw; }
}

/* Saldo compacto, à direita, abaixo do banner */
.copa-saldo-mini { display: flex; justify-content: flex-end; gap: 18px; margin: 6px 4px 14px; }
.copa-saldo-mini > div { text-align: right; }
.csm-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.4px; color: var(--imv-muted); display: block; }
.csm-val { font-size: 15px; font-weight: 800; color: var(--imv-blue); line-height: 1.2; }
.csm-credits { color: var(--imv-orange); }

/* Saldo no topo (abaixo dos ícones), com ocultar valor */
.copa-saldo-top {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 14px; margin-bottom: 10px; background: #fff;
  border: 1px solid #EFE7DA; border-radius: 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.copa-saldo-top .cst-item { display: flex; flex-direction: column; }
.copa-saldo-top .cst-right { text-align: right; align-items: flex-end; }
.cst-row { display: flex; align-items: center; gap: 6px; }
.cst-eye { border: none; background: transparent; cursor: pointer; font-size: 15px; line-height: 1; padding: 2px 4px; border-radius: 6px; }
.cst-eye:hover { background: rgba(0,0,0,0.06); }

/* Prêmio no topo do card (centralizado) */
.match-prize {
  text-align: center; font-size: 13px; font-weight: 800; color: #7A4E00;
  background: linear-gradient(135deg, #FFE8AE, #FFD36E); border-radius: 10px;
  padding: 7px 10px; margin-bottom: 10px; letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(245,169,52,0.28);
}

/* Data/hora do jogo (todos os cards) */
.match-datetime { text-align: center; font-size: 11px; font-weight: 600; color: var(--imv-muted); margin: 2px 0 8px; }

/* Barra minimizável de jogos finalizados */
.finalizados-bar { margin: 16px 0 4px; }
.finalizados-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid #EFE7DA; border-radius: 12px;
  padding: 12px 16px; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--imv-ink);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.finalizados-toggle:hover { background: var(--imv-cream); }
.fin-count { display: inline-block; background: var(--imv-blue); color: #fff; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 1px 8px; margin-left: 4px; }
.fin-arrow { color: var(--imv-muted); font-size: 13px; }
#finalizados-list { margin-top: 10px; }

/* Marcador de ganhadores (jogos finalizados) */
.match-winners { text-align: center; font-size: 12px; font-weight: 700; margin: 8px 0 2px; padding: 6px 10px; border-radius: 10px; }
.match-winners.has-win { color: #166534; background: #DCFCE7; }
.match-winners.no-win { color: var(--imv-muted); background: #F3F4F6; }

/* Banner de premiação do Ranking (tema Palpite Premiado) */
.rank-prizes {
  border-radius: 16px; overflow: hidden; margin-bottom: 14px;
  background: linear-gradient(135deg, #F39B17 0%, #F5A934 100%);
  box-shadow: 0 6px 18px rgba(243,155,23,0.30);
}
.rank-prizes-head {
  text-align: center; font-family: 'Inter', system-ui, sans-serif; font-weight: 900; font-style: italic;
  font-size: 17px; color: #fff; padding: 13px 14px 7px; letter-spacing: 0.3px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.rank-prizes-grid { padding: 4px 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.rp-row { display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.92); border-radius: 10px; padding: 9px 13px; }
.rp-pos { font-size: 13px; font-weight: 700; color: var(--imv-ink); }
.rp-val { font-size: 14px; font-weight: 900; color: #0E163B; }
.rp-1 { background: linear-gradient(90deg, #FFF7DB, #FFE6A0); box-shadow: 0 2px 7px rgba(0,0,0,0.12); }
.rp-2 { background: linear-gradient(90deg, #F4F5F7, #E3E6EA); }
.rp-3 { background: linear-gradient(90deg, #FBE7D6, #F4CBA8); }

/* Ícones SVG na barra de navegação */
.copa-nav-item-icon svg { display: block; }
.copa-nav-item.active .copa-nav-item-icon svg { color: #fff !important; }

/* Ícone de Suporte na barra de navegação (WhatsApp) */
.copa-nav-suporte { text-decoration: none; }
.copa-nav-icons .copa-nav-suporte .copa-nav-item-icon { background: #25D366; color: #fff; }
.copa-nav-suporte span { color: var(--imv-ink); }

/* Modal de Regulamento */
.reg-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11,15,44,0.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  align-items: center; justify-content: center; padding: 16px;
}
.reg-modal-card {
  background: #fff; border-radius: 18px; width: 100%; max-width: 460px;
  max-height: 86vh; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.reg-modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid #EFE7DA; background: var(--imv-cream);
}
.reg-modal-head h3 { margin: 0; font-size: 15px; color: var(--imv-blue); }
.reg-close { border: none; background: #f0f3f2; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 14px; color: var(--imv-ink); flex-shrink: 0; }
.reg-modal-body { padding: 16px; overflow-y: auto; }
.reg-modal-body h4 { margin: 14px 0 6px; font-size: 13px; color: var(--imv-blue); }
.reg-modal-body h4:first-child { margin-top: 0; }
.reg-modal-body p { margin: 0 0 8px; font-size: 12.5px; color: var(--imv-ink); line-height: 1.5; }
.reg-modal-body ul { margin: 0 0 8px; padding-left: 18px; }
.reg-modal-body li { font-size: 12.5px; color: var(--imv-ink); line-height: 1.5; margin-bottom: 3px; }
.reg-foot { margin-top: 12px !important; padding-top: 10px; border-top: 1px solid #EFE7DA; color: var(--imv-muted) !important; }
