@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&family=Montserrat:wght@600;700;800;900&display=swap');

:root {
  --bg: #f7fbf1;
  --surface: #ffffff;
  --surface-soft: #f2f5ec;
  --surface-mid: #e6e9e0;

  --text: #191d17;
  --muted: #6d7569;

  --zeta-green: #00450d;
  --zeta-green-2: #1b5e20;
  --zeta-green-3: #2e7d32;

  --zeta-yellow: #ffd400;
  --zeta-yellow-2: #e9c400;
  --zeta-yellow-soft: #fff1a8;

  --danger: #ba1a1a;
  --danger-soft: #ffdad6;
  --ok: #15803d;
  --ok-soft: #d9f7dc;

  --border: rgba(113, 122, 109, 0.24);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.055);
  --shadow-green: 0 12px 28px rgba(0, 69, 13, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  padding-bottom: 96px;
  background:
    radial-gradient(circle at top left, rgba(255, 212, 0, 0.15), transparent 24rem),
    linear-gradient(180deg, #f7fbf1 0%, #f1f7ea 100%);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* TOP BAR */

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 12px 20px;
  background: rgba(247, 251, 241, 0.94);
  border-bottom: 1px solid rgba(113, 122, 109, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 69, 13, 0.10);
}

.brand-logo.small {
  width: 38px;
  height: 38px;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.brand-logo-fallback {
  display: none;
  place-items: center;
  width: 100%;
  height: 100%;
  background: var(--zeta-green);
  color: var(--zeta-yellow);
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-copy strong {
  color: var(--zeta-green);
  font-family: "Montserrat", sans-serif;
  font-size: 1.16rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.profile-bubble {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--zeta-yellow);
  color: #221b00;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(233, 196, 0, 0.24);
}

/* MAIN */

.app-screen,
.login-screen,
.prode-screen {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px 104px;
}

.login-screen {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding-top: 24px;
}

/* GROUP CHIPS */

.group-filter {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 28px 0 18px;
  scroll-snap-type: x proximity;
}

.group-filter a {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: max-content;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--surface-mid);
  color: #3f483b;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.group-filter a.active {
  background: var(--zeta-green);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 69, 13, 0.22);
}

.group-filter a:active {
  transform: scale(0.97);
}

/* HEADING */

.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin: 26px 0 20px;
}

.page-heading h1 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.95rem, 8vw, 3rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.page-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.35;
}

.heading-action {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--zeta-yellow);
  color: #221b00;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(233, 196, 0, 0.18);
}

/* FLASH */

.flash {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: .93rem;
  font-weight: 850;
}

.flash-ok {
  background: rgba(21, 128, 61, .12);
  color: var(--ok);
}

.flash-error {
  background: rgba(186, 26, 26, .12);
  color: var(--danger);
}

/* FIXTURE CARDS */

.fixture-list {
  display: grid;
  gap: 14px;
}

.reveal-ready .fixture-card {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.985);
}

.reveal-ready .fixture-card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.fixture-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 18px;
  transition:
    opacity .42s ease,
    transform .42s cubic-bezier(.2,.8,.2,1),
    border-color .18s ease,
    box-shadow .18s ease;
  transition-delay: var(--delay, 0ms);
}

.fixture-card.is-editing {
  border-color: rgba(233, 196, 0, 0.85);
  box-shadow:
    0 0 0 3px rgba(255, 212, 0, 0.18),
    var(--shadow-card);
}

.fixture-card.is-locked {
  background: rgba(255, 255, 255, 0.78);
}

.fixture-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.fixture-meta > span {
  color: #7b8278;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.25;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  max-width: 190px;
  padding: 8px 14px;
  border-radius: 999px;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.15;
}

.status-pill.open {
  background: var(--zeta-yellow);
  color: #6e5c00;
}

.status-pill.locked {
  background: var(--danger-soft);
  color: var(--danger);
}

.status-pill.result {
  background: rgba(0, 69, 13, 0.12);
  color: var(--zeta-green);
}

.final-score {
  display: grid;
  justify-items: center;
  gap: 3px;
  margin: -4px 0 16px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(0, 69, 13, 0.08);
}

.final-score span,
.final-score small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.final-score strong {
  color: var(--zeta-green);
  font-family: "Montserrat", sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

.fixture-form {
  display: grid;
  gap: 18px;
}

.fixture-match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.team-side {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 0;
  text-align: center;
}

.team-flag {
  display: grid;
  place-items: center;
  width: 78px;
  height: 54px;
  border-radius: 9px;
  background:
    linear-gradient(135deg, #ffffff, #e8eee4);
  border: 1px solid rgba(113, 122, 109, 0.25);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.55),
    0 8px 18px rgba(0, 69, 13, 0.08);
  color: var(--zeta-green);
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.team-side strong {
  width: 100%;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
}

.score-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.score-box span {
  color: #687064;
  font-size: 1.05rem;
  font-weight: 500;
}

.score-input {
  width: 58px;
  height: 70px;
  border: 2px solid rgba(113, 122, 109, 0.20);
  border-radius: 10px;
  background: #fff;
  color: var(--zeta-green);
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 900;
  text-align: center;
  outline: none;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.score-input:focus {
  border-color: var(--zeta-yellow);
  box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.22);
  transform: translateY(-1px);
}

.score-input:disabled {
  cursor: not-allowed;
  background: var(--surface-mid);
  color: #535c50;
}

.fixture-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.my-result {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.my-result.empty {
  opacity: .7;
}

.submit-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  min-width: 170px;
  border: 0;
  border-radius: 999px;
  background: var(--zeta-green);
  color: #fff;
  padding: 0 22px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 18px rgba(0, 69, 13, 0.22);
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}

.submit-pill:active {
  transform: scale(0.97);
}

.submit-pill:disabled {
  background: var(--surface-mid);
  color: #5b6458;
  box-shadow: none;
  cursor: not-allowed;
}

/* CHAMPION CARD */

.champion-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 40px 0 18px;
  padding: 44px 28px;
  border-radius: 24px;
  background:
    radial-gradient(circle at center, #2e7d32 0%, #1b5e20 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 38px rgba(0, 69, 13, 0.20);
}

.champion-icon {
  font-size: 3rem;
}

.champion-card h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.champion-card p {
  max-width: 390px;
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 1rem;
  line-height: 1.45;
}

.champion-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 240px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--zeta-yellow);
  color: #6e5c00;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
}

/* MOBILE NAV */

.mobile-nav,
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 720px;
  min-height: 82px;
  padding: 9px 16px 12px;
  background: rgba(255,255,255,.90);
  border-top: 1px solid rgba(113, 122, 109, 0.20);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -4px 22px rgba(0,0,0,.055);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.mobile-nav a,
.bottom-nav a {
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 7px 6px;
  border-radius: 999px;
  color: #7c8578;
  text-align: center;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 900;
}

.mobile-nav a span,
.bottom-nav a span {
  font-size: 1.25rem;
  line-height: 1;
}

.mobile-nav a.active,
.bottom-nav a.active {
  background: var(--zeta-yellow);
  color: #6e5c00;
  box-shadow: 0 8px 18px rgba(233, 196, 0, 0.22);
}

/* BOTONES BASE / TUTORIAL / LOGIN / OTRAS PÁGINAS */

.btn-primary,
.btn-secondary,
.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
}

.btn-primary {
  background: var(--zeta-green);
  color: #fff;
  box-shadow: 0 12px 26px rgba(0, 69, 13, 0.22);
}

.btn-secondary {
  background: var(--surface-mid);
  color: var(--text);
}

.btn-danger {
  background: rgba(186, 26, 26, .12);
  color: var(--danger);
}

.wide {
  margin-top: 10px;
}

.empty-card,
.login-card,
.profile-card,
.admin-form-card {
  width: 100%;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
}

.login-card {
  max-width: 520px;
}

.prode-header {
  padding: 22px 4px 12px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--zeta-green);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.prode-header h1,
.login-card h1 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.sub {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 20px 0;
  padding: 6px;
  border-radius: 20px;
  background: var(--surface-soft);
}

.tab-btn {
  min-height: 46px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
}

.tab-btn.active {
  background: #fff;
  color: var(--zeta-green);
  box-shadow: 0 8px 18px rgba(15,23,42,.08);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: grid;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-weight: 900;
  font-size: .9rem;
}

.login-form input,
.score-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(113, 122, 109, 0.24);
  border-radius: 17px;
  background: #fff;
  color: var(--text);
  padding: 0 14px;
  outline: none;
}

.login-form input:focus,
.score-form input:focus {
  border-color: var(--zeta-yellow);
  box-shadow: 0 0 0 4px rgba(255, 212, 0, 0.18);
}

/* Tutorial */

.tutorial-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: end center;
  padding: 16px;
  background: rgba(15, 23, 42, .58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tutorial-card {
  width: 100%;
  max-width: 520px;
  min-height: 390px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255,212,0,.20), transparent 12rem),
    #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  padding: 22px;
}

.tutorial-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.tutorial-brand strong {
  display: block;
  color: var(--zeta-green);
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
}

.tutorial-brand small {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}

.tutorial-slide {
  display: none;
}

.tutorial-slide.active {
  display: block;
}

.tutorial-slide h2 {
  margin: 4px 0 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -.06em;
  font-weight: 900;
}

.tutorial-slide p {
  color: var(--muted);
  line-height: 1.45;
}

.tutorial-dots {
  display: flex;
  gap: 7px;
  margin: 22px 0;
}

.tutorial-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #cbd5e1;
}

.tutorial-dots span.active {
  width: 28px;
  background: var(--zeta-green);
}

.tutorial-actions {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 10px;
}

/* Ranking / Perfil / Admin */

.filter-pills {
  display: flex;
  gap: 8px;
  margin: 12px 0 18px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.filter-pills a {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface-mid);
  color: var(--muted);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 900;
}

.filter-pills a.active {
  background: var(--zeta-green);
  color: #fff;
}

.ranking-list,
.admin-list,
.admin-grid {
  display: grid;
  gap: 12px;
}

.ranking-card,
.admin-match-card,
.admin-card {
  display: grid;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(113, 122, 109, 0.22);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-card);
  padding: 15px;
}

.ranking-card {
  grid-template-columns: 52px 1fr auto;
}

.ranking-card.me {
  border-color: rgba(255, 212, 0, .8);
  box-shadow: 0 0 0 3px rgba(255, 212, 0, .18), var(--shadow-card);
}

.rank-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: var(--zeta-green);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
}

.rank-info {
  min-width: 0;
}

.rank-info strong,
.rank-info span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info strong {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
}

.rank-info span {
  margin-top: 4px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 750;
}

.rank-points {
  text-align: right;
  font-family: "Montserrat", sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--zeta-green);
}

.rank-points small {
  display: block;
  color: var(--muted);
  font-size: .72rem;
}

.profile-card {
  display: grid;
  gap: 12px;
}

.profile-card div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 18px;
  background: var(--surface-soft);
}

.profile-card span {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 850;
}

.profile-card strong {
  font-size: 1.05rem;
}

.admin-card {
  color: inherit;
  text-decoration: none;
}

.admin-card strong {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
}

.admin-card span,
.admin-match-card span {
  color: var(--muted);
  font-size: .85rem;
}

.admin-form-card {
  margin-bottom: 18px;
}

.admin-form-card h2 {
  margin: 0 0 14px;
  font-family: "Montserrat", sans-serif;
}

.admin-match-card {
  grid-template-columns: 1fr;
}

.score-form {
  display: grid;
  grid-template-columns: 58px 12px 58px auto;
  align-items: center;
  gap: 8px;
}

.score-form input {
  min-height: 44px;
  text-align: center;
  padding: 0 6px;
  font-weight: 900;
}

.btn-mini {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--zeta-green);
  color: #fff;
  font-size: .76rem;
  font-weight: 900;
  padding: 0 12px;
}

/* Responsive */

@media (max-width: 430px) {
  .app-screen,
  .login-screen,
  .prode-screen {
    padding-inline: 20px;
  }

  .fixture-card {
    padding: 18px;
  }

  .fixture-match {
    gap: 10px;
  }

  .team-flag {
    width: 76px;
    height: 52px;
  }

  .score-input {
    width: 58px;
    height: 68px;
  }

  .submit-pill {
    min-width: 170px;
  }
}

@media (max-width: 380px) {
  .app-screen,
  .login-screen,
  .prode-screen {
    padding-inline: 14px;
  }

  .fixture-card {
    padding: 15px;
  }

  .fixture-match {
    gap: 7px;
  }

  .team-flag {
    width: 62px;
    height: 46px;
    font-size: .82rem;
  }

  .team-side strong {
    font-size: .84rem;
  }

  .score-box {
    gap: 5px;
  }

  .score-input {
    width: 46px;
    height: 58px;
    font-size: 1.45rem;
  }

  .submit-pill {
    min-width: 138px;
    padding-inline: 14px;
  }

  .fixture-actions {
    grid-template-columns: 1fr;
  }

  .my-result {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fixture-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* FIX BANDERAS - tamaño compacto */
.fixture-card .team-flag {
  width: 72px !important;
  height: 48px !important;
  max-width: 72px !important;
  max-height: 48px !important;
  overflow: hidden !important;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(113, 122, 109, 0.25);
  box-shadow: 0 6px 14px rgba(0, 69, 13, 0.08);
}

.fixture-card .team-flag img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.fixture-card .team-flag span {
  color: var(--zeta-green);
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 900;
}

.fixture-card .team-side {
  max-width: 92px;
}

.fixture-card .team-side strong {
  display: block;
  width: 100%;
  max-width: 92px;
  font-size: 0.88rem;
  line-height: 1.15;
  text-align: center;
  word-break: normal;
}

@media (max-width: 430px) {
  .fixture-card .team-flag {
    width: 64px !important;
    height: 44px !important;
    max-width: 64px !important;
    max-height: 44px !important;
  }

  .fixture-card .team-side {
    max-width: 82px;
  }

  .fixture-card .team-side strong {
    max-width: 82px;
    font-size: 0.82rem;
  }
}

@media (max-width: 360px) {
  .fixture-card .team-flag {
    width: 56px !important;
    height: 38px !important;
    max-width: 56px !important;
    max-height: 38px !important;
  }

  .fixture-card .team-side {
    max-width: 72px;
  }

  .fixture-card .team-side strong {
    max-width: 72px;
    font-size: 0.76rem;
  }
}

/* =========================
   RANKING ESTILO PODIO
========================= */

.ranking-screen {
  padding-bottom: 190px;
}

.ranking-title {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 28px 0 10px;
}

.ranking-title h1 {
  margin: 0;
  color: var(--zeta-green);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.7rem, 7vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  font-weight: 900;
}

.ranking-title p {
  margin: 8px 0 0;
  color: #2d322c;
  font-size: .96rem;
  font-weight: 750;
}

.ranking-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0 22px;
}

.ranking-tabs a {
  flex: 0 0 auto;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface-mid);
  color: #4c5548;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 900;
}

.ranking-tabs a.active {
  background: var(--zeta-green);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 69, 13, .22);
}

.podium-wrap {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  align-items: end;
  gap: 10px;
  min-height: 320px;
  padding: 30px 0 28px;
}

.podium-card {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: end;
  min-height: 170px;
  padding: 54px 10px 18px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, #1b7a28 0%, #00450d 100%);
  color: #fff;
  box-shadow: 0 18px 34px rgba(0, 69, 13, .20);
  text-align: center;
}

.podium-first {
  min-height: 230px;
  background: linear-gradient(180deg, #258b31 0%, #00450d 100%);
  transform: translateY(-12px);
}

.podium-second {
  min-height: 150px;
}

.podium-third {
  min-height: 135px;
  background: linear-gradient(180deg, #1c7427 0%, #00450d 100%);
}

.podium-empty {
  visibility: hidden;
}

.podium-avatar {
  position: absolute;
  top: -42px;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.32), transparent 45%),
    #12351a;
  border: 6px solid #dbe5d7;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
}

.podium-avatar.main {
  top: -58px;
  width: 102px;
  height: 102px;
  border-color: var(--zeta-yellow);
  font-size: 1.8rem;
}

.podium-crown {
  position: absolute;
  top: -91px;
  z-index: 3;
  font-size: 2.1rem;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.14));
}

.podium-rank {
  position: absolute;
  top: -10px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--zeta-yellow);
  color: #6e5c00;
  border: 3px solid #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
}

.podium-first .podium-rank {
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
}

.podium-card strong {
  width: 100%;
  max-width: 150px;
  overflow: hidden;
  color: rgba(255,255,255,.90);
  font-size: .9rem;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.podium-card b {
  margin-top: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
}

.podium-first b {
  color: #acf4a4;
  font-size: 2.7rem;
}

.podium-card small {
  margin-top: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 212, 0, .16);
  color: var(--zeta-yellow);
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.ranking-search {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  margin: 0 0 16px;
  padding: 0 18px;
  border-radius: 18px;
  background: rgba(230, 233, 224, .82);
}

.ranking-search span {
  font-size: 1.4rem;
  opacity: .7;
}

.ranking-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.ranking-search input::placeholder {
  color: #7a8375;
}

.ranking-list-v2 {
  display: grid;
  gap: 14px;
}

.ranking-row-v2 {
  display: grid;
  grid-template-columns: 34px 56px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 88px;
  padding: 14px 16px;
  border: 1px solid rgba(113, 122, 109, 0.22);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-card);
}

.row-position {
  color: #737b6f;
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  text-align: center;
}

.row-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.32), transparent 42%),
    #12351a;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.08);
}

.row-avatar.me {
  width: 48px;
  height: 48px;
  background: var(--zeta-yellow);
  color: #6e5c00;
}

.row-info {
  min-width: 0;
}

.row-info strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 1rem;
  font-weight: 900;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.row-info span {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: #5f695b;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.row-points {
  text-align: right;
}

.row-points strong {
  display: block;
  color: var(--zeta-green);
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 900;
}

.row-points span {
  display: block;
  margin-top: 4px;
  color: #5f695b;
  font-size: .62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.my-ranking-card {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 90;
  display: grid;
  grid-template-columns: auto 48px 1fr auto;
  align-items: center;
  gap: 12px;
  width: calc(100% - 32px);
  max-width: 680px;
  min-height: 82px;
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1b7a28, #00450d);
  color: #fff;
  box-shadow: 0 18px 38px rgba(0, 69, 13, .28);
  transform: translateX(-50%);
}

.my-position {
  min-width: 50px;
  color: rgba(255,255,255,.55);
  font-family: "Montserrat", sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
}

.my-info {
  min-width: 0;
}

.my-info strong,
.my-info span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.my-info strong {
  font-size: .9rem;
  font-weight: 900;
}

.my-info span {
  margin-top: 3px;
  color: rgba(255,255,255,.78);
  font-size: .76rem;
  font-weight: 700;
}

.my-points {
  text-align: right;
}

.my-points strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 900;
}

.my-points span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.78);
  font-size: .62rem;
  text-transform: uppercase;
  font-weight: 900;
}

@media (max-width: 430px) {
  .podium-wrap {
    gap: 7px;
    min-height: 300px;
  }

  .podium-card {
    padding-inline: 6px;
  }

  .podium-avatar {
    width: 64px;
    height: 64px;
  }

  .podium-avatar.main {
    width: 92px;
    height: 92px;
  }

  .podium-card strong {
    font-size: .78rem;
  }

  .podium-card b {
    font-size: 1.65rem;
  }

  .podium-first b {
    font-size: 2.25rem;
  }

  .ranking-row-v2 {
    grid-template-columns: 28px 50px 1fr auto;
    gap: 10px;
    padding-inline: 12px;
  }

  .row-avatar {
    width: 50px;
    height: 50px;
  }

  .my-ranking-card {
    width: calc(100% - 24px);
    grid-template-columns: auto 44px 1fr auto;
    padding-inline: 14px;
  }

  .my-position {
    min-width: 42px;
    font-size: 1.15rem;
  }
}
/* =========================
   PERFIL ESTILO APP
========================= */

.profile-screen {
  padding-bottom: 120px;
}

.profile-hero-card {
  position: relative;
  display: grid;
  justify-items: center;
  margin: 20px 0 16px;
  padding: 32px 20px 24px;
  overflow: hidden;
  border: 1px solid rgba(113, 122, 109, 0.22);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.profile-watermark {
  position: absolute;
  right: 34px;
  top: 34px;
  color: rgba(113, 122, 109, .16);
  font-size: 5.8rem;
  line-height: 1;
}

.profile-avatar-big {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.35), transparent 42%),
    linear-gradient(135deg, #1b7a28, #00450d);
  border: 7px solid var(--zeta-yellow);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(0, 69, 13, .22);
}

.profile-hero-card h1 {
  position: relative;
  z-index: 2;
  margin: 18px 0 0;
  color: var(--zeta-green);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.45rem, 7vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.profile-meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 8px 0 0;
  color: #4f594b;
  font-size: .92rem;
  font-weight: 700;
}

.profile-badges {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
}

.profile-badges span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--zeta-green);
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.profile-badges span:nth-child(2) {
  background: var(--zeta-yellow);
  color: #6e5c00;
}

.profile-points-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 26px 20px 22px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top, rgba(255,255,255,.08), transparent 40%),
    linear-gradient(135deg, #1b7a28, #00450d);
  color: #fff;
  box-shadow: 0 18px 34px rgba(0,69,13,.22);
}

.profile-points-card > span {
  color: rgba(255,255,255,.72);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.profile-points-card strong {
  color: var(--zeta-yellow);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3rem, 14vw, 4.6rem);
  line-height: .9;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.profile-points-card p {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: .94rem;
  font-weight: 700;
}

.level-bar {
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
}

.level-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--zeta-yellow);
}

.level-bar.slim {
  grid-column: 1 / -1;
  height: 6px;
  background: rgba(0,69,13,.12);
}

.level-bar.slim i {
  background: var(--zeta-green);
}

.profile-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 20px;
}

.profile-stat-grid article {
  display: grid;
  grid-template-columns: 54px 1fr;
  grid-template-rows: auto auto;
  gap: 3px 12px;
  align-items: center;
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(113,122,109,.20);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-card);
}

.stat-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(0,69,13,.10);
  color: var(--zeta-green);
  font-size: 1.5rem;
  font-weight: 900;
}

.stat-icon.yellow {
  background: rgba(255,212,0,.18);
  color: #6e5c00;
}

.stat-icon.blue {
  background: rgba(92,137,255,.18);
  color: #2857b8;
}

.stat-icon.soft {
  background: rgba(113,122,109,.14);
  color: #4f594b;
}

.profile-stat-grid strong {
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 900;
}

.profile-stat-grid span {
  color: var(--text);
  font-size: .86rem;
  line-height: 1.25;
  font-weight: 800;
}

.profile-progress-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid rgba(113,122,109,.20);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-card);
}

.profile-progress-card strong,
.profile-progress-card span {
  display: block;
}

.profile-progress-card strong {
  color: var(--text);
  font-size: 1rem;
  font-weight: 900;
}

.profile-progress-card span {
  margin-top: 4px;
  color: #5f695b;
  font-size: .82rem;
  font-weight: 700;
}

.profile-progress-card b {
  color: var(--zeta-green);
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
}

.profile-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 12px;
}

.profile-section-title span {
  font-size: 1.4rem;
}

.profile-section-title h2 {
  margin: 0;
  color: var(--zeta-green);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.35rem, 6vw, 1.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.score-rules-card {
  overflow: hidden;
  border: 1px solid rgba(113,122,109,.20);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-card);
}

.score-rules-card article {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(113,122,109,.14);
}

.score-rules-card article:last-child {
  border-bottom: 0;
}

.score-rules-card b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--zeta-yellow);
  color: #6e5c00;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
}

.score-rules-card b.green {
  background: #91d78a;
  color: #00450d;
}

.score-rules-card b.blue {
  background: #adc6ff;
  color: #00387c;
}

.score-rules-card span {
  color: var(--text);
  font-size: 1rem;
  font-weight: 750;
}

.profile-actions-card {
  overflow: hidden;
  border: 1px solid rgba(113,122,109,.20);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-card);
}

.profile-actions-card a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(113,122,109,.14);
  color: inherit;
  text-decoration: none;
}

.profile-actions-card a:last-child {
  border-bottom: 0;
}

.profile-actions-card strong,
.profile-actions-card span {
  display: block;
}

.profile-actions-card strong {
  color: var(--text);
  font-size: .98rem;
  font-weight: 900;
}

.profile-actions-card span {
  margin-top: 4px;
  color: #5f695b;
  font-size: .82rem;
  line-height: 1.35;
  font-weight: 700;
}

.profile-actions-card b {
  color: var(--zeta-green);
  font-size: 1.8rem;
  line-height: 1;
}

.profile-signout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 70px;
  margin: 22px 0 8px;
  border: 2px solid rgba(186,26,26,.22);
  border-radius: 18px;
  background: rgba(255,255,255,.68);
  color: #ba1a1a;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 900;
}

.profile-signout span {
  font-size: 1.5rem;
}

@media (max-width: 430px) {
  .profile-stat-grid {
    gap: 12px;
  }

  .profile-stat-grid article {
    grid-template-columns: 46px 1fr;
    min-height: 108px;
    padding: 14px;
  }

  .stat-icon {
    width: 46px;
    height: 46px;
  }

  .profile-stat-grid strong {
    font-size: 1.5rem;
  }

  .profile-stat-grid span {
    font-size: .78rem;
  }
}

@media (max-width: 360px) {
  .profile-stat-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   PREMIOS
========================= */

.premios-screen {
  padding-bottom: 120px;
}

.premios-hero {
  position: relative;
  margin: 22px 0 18px;
  padding: 28px 24px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 212, 0, .75), transparent 7rem),
    radial-gradient(circle at center, #2e7d32 0%, #1b5e20 55%, #00450d 100%);
  color: #fff;
  box-shadow: 0 18px 34px rgba(0,69,13,.22);
}

.premios-hero h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.4rem, 12vw, 4rem);
  line-height: .9;
  letter-spacing: -.07em;
  font-weight: 900;
}

.premios-hero p {
  position: relative;
  z-index: 2;
  max-width: 310px;
  margin: 12px 0 0;
  color: rgba(255,255,255,.88);
  font-size: .95rem;
  line-height: 1.45;
  font-weight: 700;
}

.premios-hero .eyebrow {
  color: var(--zeta-yellow);
}

.premios-hero-icon {
  position: absolute;
  right: 18px;
  bottom: -8px;
  font-size: 6rem;
  opacity: .26;
  transform: rotate(-10deg);
}

.premios-list {
  display: grid;
  gap: 14px;
}

.premio-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(113,122,109,.22);
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-card);
}

.premio-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--zeta-yellow);
  font-size: 1.8rem;
  box-shadow: 0 8px 18px rgba(233,196,0,.22);
}

.premio-info {
  min-width: 0;
}

.premio-info > span {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--zeta-green);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.premio-info h2 {
  margin: 0;
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  line-height: 1.05;
  font-weight: 900;
}

.premio-info p {
  margin: 8px 0 0;
  color: #5f695b;
  font-size: .9rem;
  line-height: 1.35;
  font-weight: 700;
}

.premio-info small {
  display: block;
  margin-top: 10px;
  color: #6e5c00;
  font-size: .78rem;
  line-height: 1.35;
  font-weight: 850;
}

.premios-rules {
  margin-top: 28px;
}

.premios-rules article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid rgba(113,122,109,.16);
  border-bottom: 0;
  background: rgba(255,255,255,.94);
}

.premios-rules article:first-of-type {
  border-radius: 18px 18px 0 0;
}

.premios-rules article:last-of-type {
  border-bottom: 1px solid rgba(113,122,109,.16);
  border-radius: 0 0 18px 18px;
}

.premios-rules b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--zeta-yellow);
  color: #6e5c00;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
}

.premios-rules span {
  color: var(--text);
  font-size: .9rem;
  line-height: 1.35;
  font-weight: 750;
}

/* Admin premios */

.admin-premio-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(113,122,109,.22);
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-card);
}

.admin-premio-card.inactive {
  opacity: .55;
}

.admin-premio-card strong,
.admin-premio-card span,
.admin-premio-card small {
  display: block;
}

.admin-premio-card strong {
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 900;
}

.admin-premio-card span {
  margin-top: 4px;
  color: #5f695b;
  font-size: .8rem;
  font-weight: 750;
}

.admin-premio-card small {
  margin-top: 8px;
  color: #6e5c00;
  font-size: .78rem;
  font-weight: 800;
}

.admin-premio-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-premio-actions form {
  margin: 0;
}

.login-form select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(113, 122, 109, 0.24);
  border-radius: 17px;
  background: #fff;
  color: var(--text);
  padding: 0 14px;
  outline: none;
  font-weight: 800;
}

@media (max-width: 430px) {
  .admin-premio-card {
    grid-template-columns: 1fr;
  }

  .admin-premio-actions {
    justify-content: stretch;
  }

  .admin-premio-actions .btn-mini,
  .admin-premio-actions form,
  .admin-premio-actions button {
    width: 100%;
  }
}
/* =========================
   HEADER LOGO ZETA BLANCO
========================= */

.zeta-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  padding: 12px 18px;
  background:
    radial-gradient(circle at top left, rgba(255, 212, 0, .22), transparent 180px),
    linear-gradient(135deg, #005c16 0%, #00450d 62%, #00320a 100%);
  border-bottom: 0;
  box-shadow: 0 10px 26px rgba(0, 69, 13, .24);
}

.zeta-brand-wide {
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: calc(100% - 58px);
  height: 100%;
  text-decoration: none;
}

.zeta-logo-wide {
  display: block;
  width: auto;
  height: 46px;
  max-width: 310px;
  object-fit: contain;
  object-position: left center;
}

.zeta-profile-bubble {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--zeta-yellow);
  color: #00450d;
  border: 2px solid rgba(255,255,255,.78);
  box-shadow: 0 8px 18px rgba(0,0,0,.20);
  font-family: "Montserrat", sans-serif;
  font-size: .9rem;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 430px) {
  .zeta-topbar {
    height: 72px;
    padding: 10px 14px;
  }

  .zeta-logo-wide {
    height: 40px;
    max-width: 260px;
  }

  .zeta-profile-bubble {
    width: 40px;
    height: 40px;
    font-size: .82rem;
  }
}

@media (max-width: 380px) {
  .zeta-logo-wide {
    height: 36px;
    max-width: 230px;
  }
}

@media (max-width: 340px) {
  .zeta-logo-wide {
    height: 34px;
    max-width: 205px;
  }
}
/* =========================
   MOBILE NAV UNIFICADO
========================= */

.zeta-mobile-nav {
  position: fixed;
  left: 50%;
  bottom: 12px;
  z-index: 100;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: calc(100% - 32px);
  max-width: 680px;
  min-height: 74px;
  padding: 8px;
  border: 1px solid rgba(113, 122, 109, 0.16);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(0, 69, 13, 0.16);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.zeta-mobile-nav a {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 58px;
  border-radius: 22px;
  color: #778072;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.zeta-mobile-nav a small {
  display: block;
  font-size: 0.70rem;
  line-height: 1;
  font-weight: 900;
}

.zeta-mobile-nav .nav-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
}

.zeta-mobile-nav svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zeta-mobile-nav a.active {
  background: var(--zeta-yellow);
  color: #00450d;
  box-shadow: 0 10px 22px rgba(255, 212, 0, .32);
}

.zeta-mobile-nav a:active {
  transform: scale(.96);
}

@media (max-width: 430px) {
  .zeta-mobile-nav {
    bottom: 10px;
    width: calc(100% - 24px);
    min-height: 72px;
    border-radius: 24px;
  }

  .zeta-mobile-nav a {
    min-height: 56px;
    border-radius: 20px;
  }

  .zeta-mobile-nav .nav-icon {
    width: 23px;
    height: 23px;
  }

  .zeta-mobile-nav svg {
    width: 22px;
    height: 22px;
  }

  .zeta-mobile-nav a small {
    font-size: .66rem;
  }
}
/* =========================
   LOGIN PRODE ZETA
========================= */

.login-page {
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 18px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 22px 18px 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 212, 0, .18), transparent 220px),
    linear-gradient(180deg, #f7fbf2 0%, #eef7ea 100%);
}

.login-brand-panel {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 28px 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 212, 0, .55), transparent 86px),
    radial-gradient(circle at 15% 90%, rgba(255, 255, 255, .12), transparent 120px),
    linear-gradient(135deg, #006018 0%, #00450d 60%, #002d08 100%);
  color: #fff;
  box-shadow: 0 22px 46px rgba(0, 69, 13, .28);
}

.login-brand-panel::after {
  content: "⚽";
  position: absolute;
  right: -8px;
  bottom: -22px;
  font-size: 8.5rem;
  line-height: 1;
  opacity: .10;
  transform: rotate(-12deg);
}

.login-logo-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 58px;
}

.login-logo {
  display: block;
  width: auto;
  height: 54px;
  max-width: 330px;
  object-fit: contain;
  object-position: left center;
}

.login-logo-fallback {
  display: none;
  place-items: center;
  width: 130px;
  height: 54px;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.login-worldcup {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 212, 0, .16);
  color: var(--zeta-yellow);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.login-brand-panel h1 {
  position: relative;
  z-index: 2;
  margin: 18px 0 0;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.2rem, 11vw, 4rem);
  line-height: .9;
  letter-spacing: -.07em;
  font-weight: 900;
}

.login-brand-panel p {
  position: relative;
  z-index: 2;
  max-width: 330px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.84);
  font-size: .98rem;
  line-height: 1.45;
  font-weight: 700;
}

.prode-login-card {
  padding: 24px 20px 20px;
  border: 1px solid rgba(113, 122, 109, .22);
  border-radius: 26px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 42px rgba(0, 69, 13, .14);
}

.prode-login-card h2 {
  margin: 4px 0 0;
  color: var(--zeta-green);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 900;
}

.prode-login-card .sub {
  margin: 10px 0 18px;
  color: #5f695b;
  font-size: .94rem;
  line-height: 1.4;
  font-weight: 700;
}

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  border-radius: 20px;
  background: rgba(230, 233, 224, .72);
}

.login-tabs .tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: #6d7668;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-size: .82rem;
  font-weight: 900;
}

.login-tabs .tab-btn.active {
  background: var(--zeta-yellow);
  color: #00450d;
  box-shadow: 0 8px 18px rgba(255, 212, 0, .30);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: grid;
}

.prode-login-card .login-form {
  gap: 14px;
}

.prode-login-card .login-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: .82rem;
  font-weight: 900;
}

.prode-login-card .login-form input {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(113, 122, 109, .24);
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  padding: 0 16px;
  outline: none;
  font-size: 1rem;
  font-weight: 800;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.prode-login-card .login-form input:focus {
  border-color: rgba(0, 69, 13, .55);
  box-shadow: 0 0 0 4px rgba(0, 69, 13, .10);
}

.prode-login-card .login-form input::placeholder {
  color: #9aa294;
  font-weight: 700;
}

.login-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  margin-top: 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #006018, #00450d);
  color: #fff;
  border: 0;
  box-shadow: 0 12px 24px rgba(0, 69, 13, .24);
  font-family: "Montserrat", sans-serif;
  font-size: .92rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.login-submit span {
  color: var(--zeta-yellow);
  font-size: 1.1rem;
}

.login-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(0, 69, 13, .07);
  color: #4f594b;
  font-size: .82rem;
  line-height: 1.35;
  font-weight: 700;
}

.login-note strong {
  color: var(--zeta-green);
}

@media (max-width: 430px) {
  .login-page {
    padding: 16px 14px 22px;
  }

  .login-brand-panel {
    min-height: 230px;
    padding: 24px 20px;
    border-radius: 24px;
  }

  .login-logo {
    height: 46px;
    max-width: 285px;
  }

  .prode-login-card {
    border-radius: 24px;
  }
}

@media (max-width: 360px) {
  .login-logo {
    height: 40px;
    max-width: 245px;
  }

  .login-brand-panel h1 {
    font-size: 2.1rem;
  }

  .login-tabs .tab-btn {
    font-size: .76rem;
  }
}
/* =========================
   ADMIN HOME PRODE ZETA
========================= */

.admin-home-screen {
  min-height: 100svh;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 16px 32px;
  background:
    radial-gradient(circle at top left, rgba(255, 212, 0, .15), transparent 240px),
    linear-gradient(180deg, #f7fbf2 0%, #eef7ea 100%);
}

.admin-home-hero {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 212, 0, .62), transparent 95px),
    radial-gradient(circle at 18% 95%, rgba(255,255,255,.13), transparent 140px),
    linear-gradient(135deg, #006018 0%, #00450d 60%, #002d08 100%);
  color: #fff;
  box-shadow: 0 22px 46px rgba(0, 69, 13, .28);
}

.admin-home-hero::after {
  content: "⚽";
  position: absolute;
  right: -18px;
  bottom: -34px;
  font-size: 10rem;
  line-height: 1;
  opacity: .09;
  transform: rotate(-12deg);
}

.admin-home-logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 58px;
}

.admin-home-logo img {
  display: block;
  width: auto;
  height: 52px;
  max-width: 340px;
  object-fit: contain;
  object-position: left center;
}

.admin-home-logo span {
  display: none;
  place-items: center;
  width: 130px;
  height: 54px;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.admin-home-copy {
  position: relative;
  z-index: 2;
  margin-top: 26px;
}

.admin-home-copy .eyebrow {
  color: var(--zeta-yellow);
}

.admin-home-copy h1 {
  margin: 4px 0 0;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.3rem, 10vw, 4.2rem);
  line-height: .9;
  letter-spacing: -.07em;
  font-weight: 900;
}

.admin-home-copy p {
  max-width: 430px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.86);
  font-size: .96rem;
  line-height: 1.45;
  font-weight: 700;
}

.admin-home-user {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 16px 0 24px;
}

.admin-stat-grid article {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-height: 104px;
  padding: 14px 8px;
  border: 1px solid rgba(113, 122, 109, .20);
  border-radius: 20px;
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.admin-stat-grid span {
  font-size: 1.45rem;
}

.admin-stat-grid strong {
  color: var(--zeta-green);
  font-family: "Montserrat", sans-serif;
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 900;
}

.admin-stat-grid small {
  color: #5f695b;
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-section-heading {
  margin: 4px 0 14px;
}

.admin-section-heading h2 {
  margin: 0;
  color: var(--zeta-green);
  font-family: "Montserrat", sans-serif;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 900;
}

.admin-section-heading p {
  margin: 6px 0 0;
  color: #5f695b;
  font-size: .9rem;
  font-weight: 700;
}

.admin-home-grid {
  display: grid;
  gap: 14px;
}

.admin-home-card {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 94px;
  padding: 18px;
  border: 1px solid rgba(113,122,109,.22);
  border-radius: 22px;
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow-card);
  color: inherit;
  text-decoration: none;
}

.admin-home-card.primary {
  border-color: rgba(0,69,13,.25);
}

.admin-home-card.prize {
  background:
    radial-gradient(circle at top right, rgba(255,212,0,.16), transparent 120px),
    rgba(255,255,255,.96);
  border-color: rgba(255,212,0,.50);
}

.admin-home-card.warning {
  background:
    radial-gradient(circle at top right, rgba(255,212,0,.12), transparent 120px),
    rgba(255,255,255,.96);
}

.admin-card-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(0,69,13,.10);
  color: var(--zeta-green);
  font-size: 1.7rem;
}

.admin-home-card.prize .admin-card-icon {
  background: var(--zeta-yellow);
  color: #6e5c00;
  box-shadow: 0 8px 18px rgba(255,212,0,.24);
}

.admin-home-card strong,
.admin-home-card span {
  display: block;
}

.admin-home-card strong {
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
}

.admin-home-card span {
  margin-top: 5px;
  color: #5f695b;
  font-size: .84rem;
  line-height: 1.35;
  font-weight: 700;
}

.admin-home-card b {
  color: var(--zeta-green);
  font-size: 2rem;
  line-height: 1;
}

.admin-danger-zone {
  margin-top: 22px;
}

.admin-danger-zone a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 64px;
  border: 2px solid rgba(186,26,26,.22);
  border-radius: 20px;
  background: rgba(255,255,255,.72);
  color: #ba1a1a;
  text-decoration: none;
  font-size: .96rem;
  font-weight: 900;
}

.admin-danger-zone span {
  font-size: 1.4rem;
}

@media (max-width: 520px) {
  .admin-home-screen {
    padding: 14px 12px 28px;
  }

  .admin-home-hero {
    min-height: 240px;
    padding: 22px 20px;
    border-radius: 26px;
  }

  .admin-home-logo img {
    height: 44px;
    max-width: 285px;
  }

  .admin-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-home-card {
    grid-template-columns: 52px 1fr auto;
    min-height: 88px;
    padding: 16px;
  }

  .admin-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 1.5rem;
  }
}

@media (max-width: 360px) {
  .admin-home-logo img {
    height: 38px;
    max-width: 238px;
  }

  .admin-home-card {
    grid-template-columns: 48px 1fr auto;
    gap: 11px;
  }

  .admin-card-icon {
    width: 48px;
    height: 48px;
  }
}