:root {
  --navy: #031f51;
  --navy-dark: #011336;
  --navy-light: #07377d;
  --gold: #820ad1;
  --gold-dark: #5d0797;
  --white: #ffffff;
  --soft-white: #eef4ff;
  --text-dark: #0b2456;
}

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #f2f2f4;
  font-family: 'Poppins', sans-serif;
  
}

.phone-screen {
  position: relative;
  width: 100%;
  max-width: 430px;
  height: 100svh;
  padding-top: 72px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--text-dark);
  background: #ffffff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
}

/* ---------------- Header ---------------- */

.topbar {
  position: fixed;
  top: 0;
  left: 50%;
  width: 100%;
  max-width: 430px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #fff;
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.top-logo {
  width: 54px;
  height: auto;
  display: block;
  object-fit: contain;
}

.menu-principal {
  position: relative;
}

.hamburger-button {
  position: relative;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.hamburger-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(205, 101, 255, 0.5), transparent 68%);
  opacity: 0;
  transform: scale(0.45);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hamburger-button:active::before,
.menu-principal.activo .hamburger-button::before {
  opacity: 1;
  transform: scale(1);
}

.hamburger-button span {
  position: absolute;
  z-index: 1;
  left: 9px;
  width: 22px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: #6300a3;
  transition: background-color 0.22s ease, transform 0.25s ease, top 0.25s ease;
}

.hamburger-button span:first-child {
  top: 15px;
}

.hamburger-button span:last-child {
  top: 23px;
}

.menu-principal.activo .hamburger-button span:first-child {
  top: 19px;
  transform: rotate(45deg);
}

.menu-principal.activo .hamburger-button span:last-child {
  top: 19px;
  transform: rotate(-45deg);
}

.menu-opciones {
  position: absolute;
  z-index: 2;
  top: -20px;
  right: -20px;
  width: min(100vw, 430px);
  min-height: 100svh;
  padding: 96px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ffffff;
  box-shadow: -18px 0 36px rgba(0, 0, 0, 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translateX(110%);
  transition: opacity 0.28s ease, transform 0.32s ease;
}

.menu-logo {
  position: absolute;
  top: 18px;
  left: 22px;
  width: 54px;
  height: auto;
  display: block;
  object-fit: contain;
}

.menu-principal.activo .menu-opciones {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.menu-opciones a {
  padding: 13px 4px;
  border-bottom: 1px solid rgba(15, 20, 35, 0.12);
  color: #151827;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
}

.menu-opciones a:hover {
  color: #7d24d6;
}

/* ---------------- Contenido principal ---------------- */

.hero {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: 7px 20px 0;
  text-align: center;
}

.anniversary-title {
  position: relative;
  z-index: 3;
  margin-top: 9px;
}

.celebramos {
  margin-bottom: -4px;
  font-size: clamp(27px, 7.8vw, 35px);
  font-weight: 700;
  line-height: 1;
}

.years-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  line-height: 1;
}

.number {
  font-size: clamp(88px, 24.5vw, 118px);
  font-weight: 900;
  letter-spacing: -7px;
  color: #820ad1;
  text-shadow:
    0 2px 0 #c88df0,
    0 5px 13px rgba(130, 10, 209, 0.18);
}

.years {
  margin-top: 19px;
  font-size: clamp(47px, 13.5vw, 65px);
  font-weight: 800;
  color: #2b1642;
}

.contigo {
  margin-top: -10px;
  margin-left: 82px;
  color: #820ad1;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  transform: rotate(-10deg);
}

.heart {
  display: inline-block;
  margin-left: 4px;
  font-family: Arial, sans-serif;
  font-size: 40px;
  transform: rotate(-14deg);
}

.subtitle {
  position: relative;
  z-index: 3;
  margin-top: 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #2b1642;
}

/* ---------------- Tarjeta de promoción ---------------- */

.promotion-card {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(318px, 91%);
  margin: 7px auto 0;
  padding: 15px 16px;
  border-radius: 13px;
  color: var(--text-dark);
  text-align: left;
  background: linear-gradient(150deg, #ffffff 0%, #dfe8f6 100%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.coin {
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 3px solid #820ad1;
  border-radius: 50%;
  color: #ffffff;
  background: #6300a3;
  box-shadow: inset 0 0 0 3px #a84ee0;
}

.coin span {
  font-size: 18px;
  font-weight: 800;
}

.promotion-text p {
  font-size: 12px;
  line-height: 1.15;
}

.promotion-text strong {
  display: block;
  margin: 1px 0;
  font-size: 26px;
  line-height: 1;
}

.promotion-text b {
  font-size: 13px;
  font-weight: 800;
}

.unlimited-badge {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: min(258px, 76%);
  margin: -4px auto 0;
  padding: 8px 20px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.15;
  background: linear-gradient(90deg, #820ad1, #5d0797);
  box-shadow: 0 4px 9px rgba(0, 0, 0, 0.2);
}

.unlimited-badge span {
  font-size: 21px;
  font-weight: 700;
  line-height: 0.7;
}

/* ---------------- Jersey ---------------- */

.jersey-area {
  position: relative;
  z-index: 2;
  height: clamp(236px, 33vh, 286px);
  margin-top: 4px;
}

.light-ring {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 50%;
  width: min(220px, 57vw);
  height: min(220px, 57vw);
  border: 2px solid rgba(130, 10, 209, 0.28);
  border-radius: 50%;
  box-shadow:
    0 0 18px rgba(130, 10, 209, 0.12),
    inset 0 0 16px rgba(130, 10, 209, 0.08);
  transform: translateX(-50%);
}

.ring-two {
  top: 28px;
  width: min(202px, 52vw);
  height: min(202px, 52vw);
  border-color: rgba(130, 10, 209, 0.13);
}

.jersey {
  position: absolute;
  z-index: 4;
  bottom: 28px;
  left: 50%;
  width: auto;
  max-width: min(282px, 74vw);
  height: clamp(224px, 31.5vh, 268px);
  object-fit: contain;
  filter:
    drop-shadow(0 14px 14px rgba(31, 24, 42, 0.25))
    drop-shadow(0 0 10px rgba(130, 10, 209, 0.12));
  transform: translateX(-50%);
}

.platform {
  position: absolute;
  z-index: 3;
  bottom: 34px;
  left: 50%;
  width: min(214px, 58vw);
  height: 28px;
  border-radius: 50%;
  background:
    linear-gradient(180deg, #ffffff 0%, #ece8f3 52%, #d6cde4 100%);
  box-shadow:
    0 -6px 11px rgba(255, 255, 255, 0.5),
    0 13px 15px rgba(31, 24, 42, 0.18);
  transform: translateX(-50%);
}

.jersey-actions {
  position: absolute;
  z-index: 6;
  bottom: 0;
  left: 50%;
  width: min(86%, 340px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateX(-50%);
}

.jersey-button {
  height: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid #820ad1;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 7px 16px rgba(31, 24, 42, 0.16);
}

.jersey-button-primary {
  color: #ffffff;
  background: #820ad1;
}

.jersey-button-secondary {
  color: #820ad1;
  background: #ffffff;
}

/* ---------------- Confeti ---------------- */

.confetti {
  position: absolute;
  z-index: 1;
  width: 7px;
  height: 13px;
  border-radius: 1px;
  background: var(--gold);
  box-shadow: 0 0 7px rgba(130, 10, 209, 0.35);
  transform: rotate(25deg);
}

.c1 { top: 46px; left: 44px; transform: rotate(-31deg); }
.c2 { top: 74px; right: 35px; transform: rotate(24deg); }
.c3 { top: 145px; left: 18px; transform: rotate(32deg); }
.c4 { top: 185px; right: 30px; transform: rotate(-42deg); }
.c5 { top: 260px; left: 37px; transform: rotate(57deg); }
.c6 { top: 307px; right: 16px; transform: rotate(15deg); }
.c7 { top: 374px; left: 12px; transform: rotate(-31deg); }
.c8 { top: 409px; right: 28px; transform: rotate(36deg); }
.c9 { top: 460px; left: 44px; transform: rotate(32deg); }
.c10 { top: 520px; right: 48px; transform: rotate(-25deg); }
.c11 { top: 106px; left: 76px; width: 5px; height: 8px; }
.c12 { top: 232px; right: 73px; width: 5px; height: 9px; }

/* ---------------- Beneficios ---------------- */

.benefits {
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 9px 15px 8px;
  background: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.benefit {
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  text-align: center;
}

.benefit:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-icon {
  width: 23px;
  height: 23px;
  margin-bottom: 5px;
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #767475;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit:last-child svg {
  fill: #767475;
  stroke: none;
}

.benefit p {
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

/* ---------------- Footer ---------------- */

.security-footer {
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 14px 10px;
  background: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.security-footer svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: #767475;
}

.security-footer p {
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.25;
}

/* ---------------- Pantallas más grandes ---------------- */

@media (min-width: 431px) {
  body {
    padding: 20px 0;
  }

  .phone-screen {
    height: calc(100vh - 40px);
    border-radius: 35px;
  }

  .topbar {
    top: 20px;
    border-radius: 35px 35px 0 0;
  }
}

@media (max-height: 720px) {
  .celebramos {
    font-size: 26px;
  }

  .number {
    font-size: 88px;
  }

  .years {
    font-size: 47px;
    margin-top: 12px;
  }

  .contigo {
    margin-top: -8px;
    font-size: 37px;
  }

  .subtitle {
    margin-top: 9px;
    font-size: 13px;
  }

  .promotion-card {
    margin-top: 5px;
    padding: 12px 14px;
  }

  .unlimited-badge {
    width: min(238px, 72%);
    padding: 7px 18px;
    font-size: 11px;
  }

  .jersey-area {
    height: 210px;
    margin-top: 3px;
  }

  .light-ring {
    top: 10px;
    width: 178px;
    height: 178px;
  }

  .ring-two {
    top: 19px;
    width: 162px;
    height: 162px;
  }

  .jersey {
    bottom: 28px;
    height: 194px;
    max-width: 214px;
  }

  .platform {
    bottom: 32px;
    width: 196px;
    height: 24px;
  }

  .jersey-actions {
    bottom: 0;
    width: 88%;
    gap: 5px;
  }

  .jersey-button {
    height: 38px;
    min-height: 38px;
    font-size: 12.5px;
  }
}

/* ---------------- Home responsive fit ---------------- */

.home-page .phone-screen {
  height: 100svh;
}

.home-page .benefits {
  display: none;
}

.home-page .hero {
  display: flex;
  flex-direction: column;
}

.home-page .jersey-area {
  flex: 1 1 auto;
  min-height: 0;
}

@media (min-width: 431px) {
  .home-page .phone-screen {
    height: min(844px, calc(100vh - 40px));
  }
}

@media (min-width: 390px) {
  .home-page .benefits {
    display: grid;
  }
}

@media (max-height: 760px) {
  .home-page .hero {
    padding-top: 4px;
  }

  .home-page .anniversary-title {
    margin-top: 4px;
  }

  .home-page .promotion-card {
    margin-top: 5px;
    width: min(300px, 90%);
  }

  .home-page .jersey-area {
    height: clamp(188px, 30vh, 226px);
  }

  .home-page .jersey {
    height: clamp(198px, 31vh, 238px);
  }
}

@media (max-height: 680px) {
  .home-page .hero {
    padding-top: 2px;
  }

  .home-page .celebramos {
    font-size: 23px;
  }

  .home-page .number {
    font-size: 78px;
  }

  .home-page .years {
    margin-top: 10px;
    font-size: 41px;
  }

  .home-page .contigo {
    margin-top: -7px;
    font-size: 33px;
  }

  .home-page .subtitle {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.25;
  }

  .home-page .promotion-card {
    margin-top: 3px;
    padding: 9px 12px;
  }

  .home-page .coin {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .home-page .promotion-text strong {
    font-size: 22px;
  }

  .home-page .unlimited-badge {
    width: min(220px, 72%);
    padding: 5px 14px;
    font-size: 10px;
  }

  .home-page .jersey-area {
    height: clamp(162px, 28vh, 190px);
    margin-top: 2px;
  }

  .home-page .light-ring {
    top: 6px;
    width: 158px;
    height: 158px;
  }

  .home-page .ring-two {
    top: 14px;
    width: 144px;
    height: 144px;
  }

  .home-page .jersey {
    bottom: 26px;
    height: clamp(170px, 28vh, 196px);
    max-width: 206px;
  }

  .home-page .platform {
    bottom: 30px;
    height: 22px;
  }

  .home-page .jersey-actions {
    gap: 4px;
  }

  .home-page .jersey-button {
    height: 36px;
    min-height: 36px;
    font-size: 12px;
  }

  .home-page .security-footer {
    padding-top: 5px;
    padding-bottom: 6px;
  }
}

@media (max-width: 430px) {
  .home-page .jersey-actions {
    gap: 7px;
  }

  .home-page .jersey-button {
    height: clamp(44px, 6.6svh, 50px);
    min-height: clamp(44px, 6.6svh, 50px);
    font-size: 13.5px;
  }
}

.footer {
  width: 100%;
  background-color: #101010;
  color: #ffffff;
  padding: 35px 0 45px;
}

.footer-contenedor {
  width: min(100% - 40px, 600px);
  margin: 0 auto;
}

/* -------------------------
   MENÚ DESPLEGABLE
-------------------------- */

.footer-acordeon {
  margin-top: 45px;
}

.acordeon-item {
  border-bottom: 1px solid #666666;
  padding: 0 0 10px;
  margin-bottom: 25px;
}

.acordeon-titulo {
  width: 100%;
  border: none;
  background: transparent;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  padding-bottom: 12px;
}

.acordeon-icono {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.acordeon-contenido {
  display: none;
  flex-direction: column;
  gap: 13px;
  padding-top: 5px;
}

.acordeon-item.activo .acordeon-contenido {
  display: flex;
}

.acordeon-contenido a {
  color: #f0f0f0;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  transition: opacity 0.2s ease;
}

.acordeon-contenido a:hover {
  opacity: 0.65;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.acordeon-contenido i {
  font-size: 0.75rem;
  margin-left: 4px;
}

/* -------------------------
   INFORMACIÓN INFERIOR
-------------------------- */

.footer-informacion {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  width: 60px;
  height: auto;
  display: block;
  margin-bottom: 22px;
  object-fit: contain;
}

.copyright {
  color: #e8e8e8;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.texto-legal {
  color: #e8e8e8;
  max-width: 420px;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 45px;
}

/* -------------------------
   REDES SOCIALES
-------------------------- */

.redes-sociales {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 65px;
}

.redes-sociales a {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  color: #101010;
  background-color: #ffffff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.redes-sociales a:hover {
  background-color: #cfcfcf;
  color: #202020;
  text-decoration: none;
}

.direccion {
  color: #e8e8e8;
  font-size: 0.94rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
}

.finally {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.finally a {
  color: #f0f0f0;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  transition: opacity 0.2s ease;
}

.finally a:hover {
  opacity: 0.65;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* -------------------------
   PANTALLAS GRANDES
-------------------------- */

@media (min-width: 768px) {
  .footer {
    padding: 60px 0;
  }

  .footer-contenedor {
    width: min(100% - 80px, 1050px);
  }

  .footer-acordeon {
    margin-top: 55px;
  }

  .redes-sociales {
    max-width: 320px;
  }
}


/*works.html*/
:root {
  --purple-primary: #820ad1;
  --purple-dark: #5d0797;
  --purple-text: #5d0797;
  --purple-light: #f4e9ff;
  --purple-border: #ead6fb;
  --text-dark: #0b2456;
  --text-soft: #555064;
  --white: #ffffff;
}

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

body.works-page {
  min-height: 100svh;
  padding: 0;
  background: #f4f4f4;
  font-family: "Poppins", sans-serif;
  display: flex;
  justify-content: center;
}

.works-page .topbar {
  top: 0;
  border-radius: 0;
}

.app {
  width: 100%;
  max-width: 430px;
  height: 100svh;
  padding-top: 72px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  overflow: hidden;
}

.top-header {
  height: 112px;
  background: linear-gradient(
    135deg,
    var(--purple-dark) 0%,
    var(--purple-primary) 100%
  );
}

.content {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-rows: 1fr 1fr auto;
  gap: 9px;
  padding: 10px 16px 12px;
}

.steps-card > h1,
.benefits-section > h2 {
  color: var(--purple-text);
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
}

.title-line {
  width: 38px;
  height: 3px;
  display: block;
  margin: 6px auto 9px;
  background: var(--purple-primary);
  border-radius: 20px;
}

/* ---------------- PASOS ---------------- */

.steps-card {
  background: var(--white);
  border: 1px solid var(--purple-border);
  border-radius: 16px;
  padding: 10px 12px;
  box-shadow: 0 4px 12px rgba(93, 7, 151, 0.05);
  overflow: hidden;
}

.step {
  display: grid;
  grid-template-columns: 28px 42px 1fr 16px;
  align-items: center;
  column-gap: 8px;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    var(--purple-dark),
    var(--purple-primary)
  );
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}

.step-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--purple-light);
}

.step-icon svg {
  width: 23px;
  height: 23px;
  stroke: var(--purple-dark);
  stroke-width: 2.2;
}

.step-info h2 {
  color: var(--purple-text);
  font-size: 12px;
  line-height: 1.18;
  font-weight: 700;
  margin-bottom: 2px;
}

.step-info p {
  color: var(--text-soft);
  font-size: 10px;
  line-height: 1.22;
  font-weight: 400;
}

.arrow {
  width: 17px;
  height: 17px;
  color: var(--purple-primary);
  stroke-width: 3;
}

.divider {
  width: calc(100% - 22px);
  height: 1px;
  margin: 7px auto;
  background: var(--purple-border);
}

/* ---------------- JERSEY ---------------- */

.jersey-circle {
  overflow: hidden;
}

.work-jersey {
  width: 25px;
  height: 28px;
  position: relative;
  border-radius: 5px 5px 4px 4px;
  background: linear-gradient(
    135deg,
    var(--purple-dark),
    var(--purple-primary)
  );
  border: 2px solid #6f0ba7;
}

.work-jersey::before,
.work-jersey::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 10px;
  height: 14px;
  background: var(--purple-primary);
  border: 1px solid #6f0ba7;
  z-index: -1;
}

.work-jersey::before {
  left: -8px;
  transform: rotate(22deg);
  border-radius: 4px 0 4px 4px;
}

.work-jersey::after {
  right: -8px;
  transform: rotate(-22deg);
  border-radius: 0 4px 4px 4px;
}

.jersey-star {
  position: absolute;
  top: 7px;
  right: 4px;
  color: #ffffff;
  font-size: 8px;
}

/* ---------------- BENEFICIOS ---------------- */

.benefits-section {
  min-height: 0;
  border: 1px solid var(--purple-border);
  border-radius: 16px;
  padding: 10px 12px;
  overflow: hidden;
}

.benefits-section > h2 {
  font-size: 19px;
}

.benefits-section .title-line {
  margin-bottom: 9px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.benefit-card {
  min-height: 0;
  border: 1px solid var(--purple-border);
  border-radius: 12px;
  padding: 9px 7px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
}

.benefit-card svg {
  width: 25px;
  height: 25px;
  stroke: var(--purple-dark);
  stroke-width: 2.2;
  margin-bottom: 5px;
}

.benefit-card h3 {
  color: var(--purple-text);
  font-size: 11px;
  line-height: 1.16;
  font-weight: 700;
  margin-bottom: 4px;
}

.benefit-card p {
  color: var(--text-soft);
  font-size: 9.5px;
  line-height: 1.2;
}

/* ---------------- BOTÓN ---------------- */

.terms-button {
  min-height: 44px;
  width: 100%;
  padding: 0 15px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--white);
  background: linear-gradient(
    135deg,
    var(--purple-dark),
    var(--purple-primary)
  );
  box-shadow: 0 6px 14px rgba(93, 7, 151, 0.2);
}

.terms-left {
  display: flex;
  align-items: center;
  gap: 13px;
}

.terms-button svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.1;
}

.terms-button span {
  font-size: 12px;
  font-weight: 600;
}

/* ---------------- TYC simple ---------------- */

.tyc-simple {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  padding-top: 72px;
  background: #ffffff;
}

.tyc-simple-content {
  padding: 26px 22px 42px;
  color: #1d1d1f;
}

.tyc-simple-content h1 {
  margin-bottom: 8px;
  color: #000;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.05;
}

.tyc-simple-content h2 {
  margin-bottom: 22px;
  color: #000;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
}

.tyc-simple-content section {
  margin-top: 24px;
}

.tyc-simple-content h3 {
  margin-bottom: 8px;
  color: #111111;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.tyc-simple-content p {
  margin-bottom: 12px;
  color: #333333;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.tyc-simple-content strong {
  color: #111111;
  font-weight: 800;
}


/*pay*/
body.pay-page {
  --purple-main: #820ad1;
  --purple-dark: #5d0797;
  --purple-soft: #f7efff;
  --purple-border: #ead8f9;

  --text-dark: #211a38;
  --text-muted: #6f6a7d;
  --input-border: #dedee6;

  --green-dark: #13703d;
  --green-soft: #f2fcf5;
  --green-border: #aee2c1;

  --gold: #f4b834;
  --white: #ffffff;
}

/* =========================
   RESETEO GENERAL
========================= */

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

.pay-page,
.pay-page .app-screen {
  width: 100%;
}

body.pay-page {
  min-height: 100svh;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background: #eeeeee;
  display: flex;
  justify-content: center;
  color: var(--text-dark);
}

.pay-page button,
.pay-page input {
  font: inherit;
}

.pay-page button {
  cursor: pointer;
}

/* =========================
   CONTENEDOR PRINCIPAL
========================= */

.app-screen {
  width: 100%;
  max-width: 430px;
  height: 100dvh;
  padding-top: 64px;
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.pay-page .topbar {
  top: 0;
  border-radius: 0;
  padding-top: 8px;
  padding-bottom: 8px;
}

.pay-page .top-logo {
  width: 48px;
}

/* =========================
   ENCABEZADO MORADO
========================= */

.top-header {
  flex: 0 0 clamp(76px, 10vh, 104px);
  background: linear-gradient(
    130deg,
    var(--purple-dark) 0%,
    var(--purple-main) 100%
  );
}

/* =========================
   CONTENIDO DE PAGO
========================= */

.payment-content {
  flex: 1;
  min-height: 0;
  padding: clamp(9px, 1.4vh, 14px) clamp(16px, 4.5vw, 22px)
    clamp(8px, 1.2vh, 12px);
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.95vh, 10px);
  overflow: hidden;
}

/* =========================
   ENCABEZADO / TÍTULO
========================= */

.page-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.page-heading h1 {
  min-width: 0;
  width: 100%;
  color: #151515;
  font-size: clamp(17px, 4.85vw, 21px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
}

/* =========================
   TARJETA DE PARTICIPACIÓN
========================= */

.participation-card {
  flex: 0 0 auto;
  min-height: clamp(104px, 14.2vh, 132px);
  border: 1px solid #e7e3ec;
  border-radius: 17px;
  padding: clamp(9px, 1.35vh, 13px) clamp(11px, 2.8vw, 15px);

  display: grid;
  grid-template-columns: clamp(74px, 21vw, 92px) minmax(0, 1fr) clamp(68px, 18vw, 76px);
  align-items: center;
  gap: 10px;

  background: var(--white);
  box-shadow: 0 3px 12px rgba(73, 27, 113, 0.045);
}

.jersey-preview {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.jersey-preview img {
  width: 100%;
  max-width: 98px;
  height: clamp(82px, 11.8vh, 110px);
  object-fit: contain;
  display: block;
}

.participation-text {
  min-width: 0;
}

.participation-text h2 {
  color: var(--purple-dark);
  font-size: clamp(12px, 3.55vw, 15px);
  line-height: 1.18;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: normal;
}

.participation-text p {
  color: var(--text-dark);
  font-size: clamp(10px, 1.3vh, 12.5px);
  line-height: 1.32;
  font-weight: 400;
}

.amount-box {
  min-height: 78%;
  padding: 0 2px 0 10px;
  border-left: 1px solid #e3dfe9;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.amount-box span {
  color: var(--purple-dark);
  font-size: clamp(12px, 1.65vh, 15px);
  font-weight: 600;
  margin-bottom: 4px;
}

.amount-box strong {
  color: var(--purple-dark);
  font-size: clamp(23px, 3.35vh, 30px);
  line-height: 1;
  font-weight: 800;
}

.amount-box small {
  color: var(--purple-dark);
  margin-top: 4px;
  font-size: clamp(15px, 2.15vh, 20px);
  line-height: 1;
  font-weight: 700;
  text-align: center;
}

/* =========================
   BLOQUE DE SEGURIDAD
========================= */

.security-card {
  flex: 0 0 auto;
  min-height: clamp(58px, 7.8vh, 72px);
  border-radius: 15px;
  padding: 8px 12px;
  background: linear-gradient(90deg, #fbf2ff 0%, #f7f0ff 100%);

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.security-item > div:last-child {
  min-width: 0;
}

.security-item h3 {
  color: var(--purple-dark);
  font-size: clamp(12px, 1.55vh, 14px);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 3px;
}

.security-item p {
  color: var(--text-dark);
  max-width: 168px;
  font-size: clamp(9px, 1.12vh, 10.5px);
  line-height: 1.28;
}

.lock-icon {
  color: var(--purple-dark);
  width: clamp(31px, 4.25vh, 37px);
  height: clamp(31px, 4.25vh, 37px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(93, 7, 151, 0.09);
}

.lock-icon .material-symbols-outlined {
  font-size: clamp(20px, 2.85vh, 25px);
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  line-height: 1;
}

.ssl-area {
  gap: 7px;
  flex: 0 0 auto;
}

.ssl-icon {
  width: clamp(30px, 4vh, 35px);
  height: clamp(30px, 4vh, 35px);

  display: grid;
  place-items: center;

  clip-path: polygon(
    50% 0%,
    93% 18%,
    93% 65%,
    50% 100%,
    7% 65%,
    7% 18%
  );

  color: var(--white);
  background: var(--purple-dark);
  font-family: Arial, sans-serif;
  font-size: clamp(9px, 1.2vh, 12px);
  font-weight: 800;
}

.ssl-area h3 {
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(12px, 1.55vh, 14px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

/* =========================
   BARRA DE CONFIANZA
========================= */

.trust-section {
  flex: 0 0 auto;
}

.card-data-section h2 {
  color: var(--purple-dark);
  font-size: clamp(15px, 2vh, 18px);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: clamp(6px, 0.95vh, 9px);
}

.trust-bar {
  width: 100%;
  min-height: clamp(48px, 6.35vh, 58px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--purple-border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 3px 12px rgba(73, 27, 113, 0.045);
  overflow: hidden;
}

.trust-item {
  min-width: 0;
  padding: 7px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--purple-dark);
  text-align: center;
}

.trust-item:not(:last-child) {
  border-right: 1px solid #eee5f7;
}

.trust-item .material-symbols-outlined {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: var(--purple-dark);
  font-size: 19px;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  line-height: 1;
}

.trust-item strong {
  color: #2c2340;
  font-size: clamp(8px, 1vh, 9.5px);
  font-weight: 700;
  line-height: 1.15;
}

/* =========================
   DATOS DE TARJETA
========================= */

.card-data-section {
  flex: 0 0 auto;
}

.card-data-section h2 {
  margin-bottom: 7px;
}

.card-form {
  border: 1px solid #e2e0e7;
  border-radius: 14px;
  padding: clamp(9px, 1.3vh, 12px);
  background: var(--white);
}

.card-form label {
  display: block;
  color: var(--text-dark);
  font-size: clamp(10px, 1.22vh, 12px);
  font-weight: 500;
  margin-bottom: 3px;
}

.card-form input {
  width: 100%;
  height: clamp(38px, 4.75vh, 44px);
  padding: 0 12px;

  border: 1.5px solid var(--input-border);
  border-radius: 10px;
  outline: none;

  color: var(--text-dark);
  background: var(--white);
  font-size: max(16px, clamp(14px, 1.85vh, 17px));

  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card-form input::placeholder {
  color: #9c9aaa;
}

.card-form input:focus {
  border-color: var(--purple-main);
}

.card-form input.input-error {
  border-color: #c62828;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.09);
}

.card-form input.input-error:focus {
  border-color: #c62828;
}

.input-with-icon {
  position: relative;
  margin-bottom: 7px;
}

.input-with-icon input {
  padding-right: 54px;
}

.mastercard-logo {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 34px;
  height: 22px;
  display: none;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  pointer-events: none;
}

.mastercard-logo.is-visible {
  display: flex;
}

.mastercard-logo span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: block;
}

.mastercard-logo span:first-child {
  background: #eb001b;
  margin-right: -7px;
}

.mastercard-logo span:last-child {
  background: #f79e1b;
  mix-blend-mode: multiply;
}

.card-form > input {
  margin-bottom: 7px;
}

.small-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.small-field .input-with-icon {
  margin-bottom: 0;
}

.cvv-info {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);

  color: var(--purple-main);
  font-size: clamp(18px, 2.45vh, 23px);
  line-height: 1;
}

/* =========================
   BOTÓN DE PAGO
========================= */

.pay-button {
  flex: 0 0 auto;
  width: 100%;
  height: clamp(48px, 6.8vh, 58px);

  border: none;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--white);
  background: linear-gradient(
    125deg,
    var(--purple-dark),
    var(--purple-main)
  );

  font-size: clamp(17px, 2.2vh, 20px);
  font-weight: 800;

  box-shadow: 0 7px 15px rgba(93, 7, 151, 0.16);
}

/* =========================
   MENSAJE DE SEGURIDAD
========================= */

.encryption-message {
  flex: 0 0 auto;
  color: var(--text-dark);

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;

  font-size: clamp(9.5px, 1.25vh, 12px);
  line-height: 1.2;
  text-align: center;
}

.encryption-message span {
  color: var(--purple-dark);
  font-size: clamp(17px, 2.2vh, 20px);
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  line-height: 1;
}

/* =========================
   AJUSTES PARA PANTALLAS BAJAS
========================= */

@media (max-height: 760px) {
  .payment-content {
    gap: 6px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .top-header {
    flex-basis: 68px;
  }

  .participation-card {
    min-height: 94px;
  }

  .security-card {
    min-height: 54px;
  }

  .trust-bar {
    min-height: 46px;
  }

  .card-form {
    padding: 8px 12px;
  }

  .input-with-icon,
  .card-form > input {
    margin-bottom: 6px;
  }

  .card-form input {
    height: 38px;
  }

  .pay-button {
    height: 48px;
  }

  .jersey-preview img {
    height: 76px;
  }
}

@media (max-height: 640px) {
  .app-screen {
    padding-top: 58px;
  }

  .pay-page .topbar {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .pay-page .top-logo {
    width: 44px;
  }

  .payment-content {
    gap: 4px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .page-heading h1 {
    font-size: 17px;
  }

  .participation-card {
    min-height: 84px;
    border-radius: 14px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .jersey-preview img {
    height: 68px;
  }

  .participation-text p {
    line-height: 1.22;
  }

  .amount-box strong {
    font-size: 21px;
  }

  .amount-box small {
    font-size: 14px;
  }

  .security-card {
    min-height: 48px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .lock-icon,
  .ssl-icon {
    width: 28px;
    height: 28px;
  }

  .lock-icon .material-symbols-outlined {
    font-size: 19px;
  }

  .trust-bar {
    min-height: 42px;
  }

  .trust-item {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .trust-item .material-symbols-outlined {
    width: 18px;
    height: 18px;
    font-size: 17px;
  }

  .card-data-section h2 {
    font-size: 15px;
    margin-bottom: 5px;
  }

  .card-form {
    padding: 7px 10px;
  }

  .card-form label {
    font-size: 10px;
    margin-bottom: 2px;
  }

  .card-form input {
    height: 36px;
  }

  .input-with-icon,
  .card-form > input {
    margin-bottom: 5px;
  }

  .pay-button {
    height: 44px;
    font-size: 17px;
  }

  .encryption-message {
    font-size: 9px;
  }
}

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

body {
  min-height: 100vh;
  background: #f4f4f4;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-screen {
  width: 390px;
  /*min-height: 844px;*/
  background: #fff;
  overflow: hidden;
  position: relative;
}

.success-section {
  padding: 32px 28px 24px;
  position: relative;
}

.check-circle {
  width: 78px;
  height: 78px;
  background: linear-gradient(135deg, #0b7d2b, #1fb049);
  color: white;
  border-radius: 50%;
  font-size: 46px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: -5px auto 20px;
  box-shadow: 0 8px 18px rgba(0, 128, 0, 0.25);
}

h1 {
  color: #4b008f;
  text-align: center;
  font-size: 29px;
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 14px;
}

.subtitle {
  text-align: center;
  color: #232238;
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 16px;
}

.divider {
  width: 100%;
  height: 1px;
  background: #e5e1e9;
  margin-bottom: 13px;
}

h2 {
  color: #5e009c;
  font-size: 16px;
  margin-bottom: 12px;
}

.receipt-card {
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.13);
  margin-bottom: 18px;
}

.receipt-row {
  height: 49px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ece8f1;
  font-size: 13px;
  color: #1f1d33;
}

.receipt-row:last-child {
  border-bottom: none;
}

.row-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon {
  width: 24px;
  height: 24px;
  background: #6b00aa;
  color: #fff;
  border-radius: 7px;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.status {
  color: #9a4a00;
  background: #fff0d9;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
}

.date {
  text-align: right;
  font-size: 12px;
}

.date small {
  font-size: 11px;
}

.secure-box {
  background: #e8f6e8;
  border-radius: 10px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 15px;
}

.secure-icon {
  width: 34px;
  height: 34px;
  background: #0d8a36;
  color: #fff;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.secure-box p {
  font-size: 13px;
  line-height: 1.35;
  color: #202033;
}

.next-box {
  background: linear-gradient(135deg, #f4e8ff, #ead8ff);
  border-radius: 12px;
  padding: 18px 18px;
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}

.mail-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #ead1ff;
  color: #6b00aa;
  font-size: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.next-box h3 {
  color: #5e009c;
  font-size: 16px;
  margin-bottom: 6px;
}

.next-box p {
  color: #1f1d33;
  font-size: 13px;
  line-height: 1.35;
}

.primary-btn,
.secondary-btn {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.primary-btn {
  border: none;
  color: white;
  background: linear-gradient(135deg, #4b008f, #8000c9);
  margin-bottom: 13px;
}

.secondary-btn {
  background: white;
  color: #5e009c;
  border: 2px solid #5e009c;
}

.confetti span {
  position: absolute;
  width: 5px;
  height: 12px;
  border-radius: 2px;
}

.confetti span:nth-child(1) {
  top: 35px;
  left: 38px;
  background: #6b00aa;
  transform: rotate(-25deg);
}

.confetti span:nth-child(2) {
  top: 60px;
  right: 45px;
  background: #d9a21b;
  transform: rotate(35deg);
}

.confetti span:nth-child(3) {
  top: 100px;
  left: 20px;
  background: #cfa1d8;
  transform: rotate(20deg);
}

.confetti span:nth-child(4) {
  top: 150px;
  right: 28px;
  background: #6b00aa;
  transform: rotate(40deg);
}

.confetti span:nth-child(5) {
  top: 42px;
  right: 95px;
  background: #b675d6;
  transform: rotate(-15deg);
}

.confetti span:nth-child(6) {
  top: 75px;
  left: 90px;
  background: #b675d6;
  transform: rotate(-35deg);
}

.confetti span:nth-child(7) {
  top: 165px;
  left: 45px;
  background: #d3a093;
  transform: rotate(35deg);
}

.confetti span:nth-child(8) {
  top: 125px;
  right: 76px;
  background: #b675d6;
  transform: rotate(-25deg);
}

.confetti span:nth-child(9) {
  top: 27px;
  left: 135px;
  background: #d3a093;
  transform: rotate(15deg);
}

.confetti span:nth-child(10) {
  top: 92px;
  right: 15px;
  background: #b675d6;
  transform: rotate(-40deg);
}

html.end-html {
  min-height: 100%;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: auto;
}

body.end-page {
  display: block;
  min-height: 100%;
  height: auto;
  align-items: flex-start;
  justify-content: flex-start;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
}

.end-page .phone-screen {
  display: block;
  width: 100%;
  max-width: 390px;
  min-height: 0;
  height: auto;
  margin: 0 auto;
  overflow: visible;
  padding-top: 64px;
  padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px));
}

.end-page .topbar {
  top: 0;
  max-width: 390px;
  padding-top: 8px;
  padding-bottom: 8px;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.end-page .top-logo {
  width: 48px;
}

.end-page .success-section {
  display: block;
  min-height: 0;
  height: auto;
  padding: clamp(12px, 1.8vh, 18px) 22px 12px;
  overflow: visible;
}

.end-page .check-circle {
  width: clamp(62px, 9.5vh, 76px);
  height: clamp(62px, 9.5vh, 76px);
  margin: 0 auto clamp(10px, 1.4vh, 14px);
  background: linear-gradient(135deg, #0b7d2b, #1fb049);
  box-shadow: 0 8px 18px rgba(0, 128, 0, 0.22);
}

.end-page h1 {
  font-size: clamp(22px, 6vw, 27px);
  margin-bottom: clamp(6px, 0.9vh, 10px);
}

.end-page .subtitle {
  font-size: clamp(12px, 1.8vh, 14px);
  line-height: 1.25;
  margin-bottom: clamp(8px, 1vh, 11px);
}

.end-page .divider {
  margin-bottom: 8px;
}

.end-page h2 {
  font-size: 14px;
  margin-bottom: 8px;
}

.end-page .receipt-card {
  padding: 6px 12px;
  margin-bottom: 10px;
}

.end-page .receipt-row {
  height: clamp(36px, 5.6vh, 43px);
  font-size: 12px;
}

.end-page .icon {
  width: 22px;
  height: 22px;
  font-size: 15px;
}

.end-page .status {
  padding: 5px 8px;
  font-size: 11px;
}

.end-page .date {
  font-size: 11px;
}

.end-page .date small {
  font-size: 10px;
}

.end-page .secure-box {
  padding: 9px 12px;
  gap: 10px;
  margin-bottom: 9px;
}

.end-page .secure-icon {
  width: 30px;
  height: 30px;
}

.end-page .secure-box p {
  font-size: 11px;
  line-height: 1.25;
}

.end-page .next-box {
  padding: 11px 13px;
  gap: 11px;
  margin-bottom: 10px;
}

.end-page .mail-icon {
  width: 40px;
  height: 40px;
  font-size: 0;
}

.end-page .next-box h3 {
  font-size: 13px;
  margin-bottom: 4px;
}

.end-page .next-box p {
  font-size: 11px;
  line-height: 1.25;
}

.end-page .primary-btn,
.end-page .secondary-btn {
  height: clamp(38px, 5.6vh, 44px);
  border-radius: 10px;
  font-size: 14px;
}

.end-page .primary-btn {
  margin-bottom: 8px;
}

.end-page .material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  line-height: 1;
}

.end-page .check-circle {
  font-size: 0;
}

.end-page .check-mark {
  color: #ffffff;
  font-size: clamp(34px, 5.8vh, 43px);
  font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 0, "opsz" 24;
  line-height: 1;
}

.end-page .icon {
  font-size: 15px;
}

.end-page .secure-icon .material-symbols-outlined {
  font-size: 21px;
}

.end-page .mail-icon .material-symbols-outlined {
  font-size: 30px;
}

@media (max-height: 700px) {
  .end-page .phone-screen {
    max-height: none;
    min-height: 0;
    height: auto;
    overflow: visible;
    padding-top: 58px;
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  .end-page .topbar {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .end-page .top-logo {
    width: 44px;
  }

  .end-page .success-section {
    min-height: auto;
    padding: 8px 18px 10px;
  }

  .end-page .check-circle {
    width: 56px;
    height: 56px;
    margin-bottom: 7px;
  }

  .end-page h1 {
    font-size: 22px;
    margin-bottom: 5px;
  }

  .end-page .subtitle {
    font-size: 11px;
    margin-bottom: 7px;
  }

  .end-page .divider {
    margin-bottom: 6px;
  }

  .end-page h2 {
    margin-bottom: 6px;
  }

  .end-page .receipt-card {
    padding: 5px 10px;
    margin-bottom: 8px;
  }

  .end-page .receipt-row {
    height: 34px;
  }

  .end-page .secure-box {
    padding: 7px 10px;
    margin-bottom: 7px;
  }

  .end-page .next-box {
    padding: 9px 11px;
    margin-bottom: 8px;
  }

  .end-page .mail-icon {
    width: 34px;
    height: 34px;
  }

  .end-page .primary-btn,
  .end-page .secondary-btn {
    height: 36px;
    font-size: 13px;
  }

  .end-page .primary-btn {
    margin-bottom: 7px;
  }
}

/* ---------------- Responsive real para tablets y escritorio ---------------- */

@media (min-width: 768px) {
  :root {
    --page-width: min(100vw - 64px, 860px);
    --page-padding-x: clamp(36px, 6vw, 64px);
  }

  body,
  body.home-page,
  body.works-page,
  body.pay-page,
  body.end-page {
    min-height: 100svh;
    align-items: center;
    justify-content: flex-start;
    background: #eeeeee;
  }

  body.end-page {
    display: flex;
  }

  .phone-screen,
  .app,
  .app-screen,
  .tyc-simple {
    width: var(--page-width);
    max-width: var(--page-width);
    height: auto;
    min-height: calc(100svh - 40px);
    margin: 20px auto;
    border-radius: 28px;
    overflow: visible;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(18, 18, 24, 0.16);
  }

  .topbar {
    top: 20px;
    max-width: var(--page-width);
    padding: 14px 28px;
    border-radius: 28px 28px 0 0;
  }

  .top-logo {
    width: 58px;
  }

  .home-page .phone-screen {
    padding-top: 86px;
  }

  .home-page .hero {
    min-height: 0;
    padding: 30px var(--page-padding-x) 26px;
    overflow: visible;
  }

  .home-page .anniversary-title {
    margin-top: 0;
  }

  .home-page .celebramos {
    font-size: clamp(34px, 4.5vw, 48px);
  }

  .home-page .number {
    font-size: clamp(118px, 15vw, 172px);
    letter-spacing: -8px;
  }

  .home-page .years {
    margin-top: 22px;
    font-size: clamp(58px, 7vw, 82px);
  }

  .home-page .contigo {
    margin-top: -18px;
    font-size: clamp(50px, 6.4vw, 76px);
  }

  .home-page .subtitle {
    margin-top: 12px;
    font-size: clamp(17px, 2vw, 22px);
  }

  .home-page .promotion-card {
    width: min(460px, 68%);
    margin-top: 10px;
    padding: 18px 22px;
    gap: 16px;
  }

  .home-page .coin {
    flex-basis: 66px;
    width: 66px;
    height: 66px;
  }

  .home-page .coin span {
    font-size: 23px;
  }

  .home-page .promotion-text p {
    font-size: 15px;
  }

  .home-page .promotion-text strong {
    font-size: 34px;
  }

  .home-page .promotion-text b {
    font-size: 17px;
  }

  .home-page .unlimited-badge {
    width: min(340px, 50%);
    margin-top: -5px;
    padding: 10px 22px;
    font-size: 13px;
  }

  .home-page .jersey-area {
    height: clamp(430px, 43vw, 520px);
    margin-top: 0;
  }

  .home-page .light-ring {
    top: 50%;
    width: clamp(330px, 36vw, 430px);
    height: clamp(330px, 36vw, 430px);
    transform: translate(-50%, -50%);
  }

  .home-page .ring-two {
    top: 50%;
    width: clamp(292px, 32vw, 384px);
    height: clamp(292px, 32vw, 384px);
  }

  .home-page .jersey {
    top: 50%;
    bottom: auto;
    height: clamp(350px, 38vw, 460px);
    max-width: min(460px, 54vw);
    transform: translate(-50%, -50%);
  }

  .home-page .platform {
    bottom: 92px;
    width: min(360px, 44vw);
    height: 38px;
  }

  .home-page .jersey-actions {
    width: min(430px, 56%);
    gap: 12px;
  }

  .home-page .jersey-button {
    height: 58px;
    min-height: 58px;
    font-size: 17px;
  }

  .home-page .benefits {
    width: min(620px, 76%);
    margin: 4px auto 0;
  }

  .home-page .security-footer {
    padding: 14px 24px 18px;
    font-size: 15px;
  }

  .app {
    padding-top: 86px;
  }

  .works-page .content {
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: auto auto;
    gap: 18px;
    padding: 28px var(--page-padding-x) 34px;
  }

  .works-page .steps-card {
    padding: 24px;
  }

  .works-page .benefits-section {
    padding: 24px;
  }

  .works-page .steps-card > h1,
  .works-page .benefits-section > h2 {
    font-size: 28px;
  }

  .works-page .step {
    grid-template-columns: 38px 58px 1fr 22px;
    column-gap: 14px;
  }

  .works-page .step-number {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  .works-page .step-icon {
    width: 58px;
    height: 58px;
  }

  .works-page .step-info h2 {
    font-size: 18px;
  }

  .works-page .step-info p {
    font-size: 14px;
  }

  .works-page .benefits-grid {
    gap: 14px;
  }

  .works-page .benefit-card {
    padding: 18px 12px;
  }

  .works-page .benefit-card svg {
    width: 34px;
    height: 34px;
  }

  .works-page .benefit-card h3 {
    font-size: 15px;
  }

  .works-page .benefit-card p {
    font-size: 12px;
  }

  .works-page .terms-button {
    grid-column: 1 / -1;
    min-height: 58px;
    padding: 0 24px;
    font-size: 17px;
  }

  .pay-page .app-screen {
    padding-top: 78px;
  }

  .pay-page .payment-content {
    padding: 30px var(--page-padding-x) 36px;
    gap: 18px;
    overflow: visible;
  }

  .pay-page .page-heading h1 {
    font-size: clamp(26px, 3.2vw, 36px);
  }

  .pay-page .participation-card {
    min-height: 170px;
    grid-template-columns: 170px minmax(0, 1fr) 150px;
    padding: 22px 24px;
    gap: 22px;
  }

  .pay-page .jersey-preview img {
    max-width: 150px;
    height: 150px;
  }

  .pay-page .participation-text h2 {
    font-size: 24px;
  }

  .pay-page .participation-text p {
    font-size: 16px;
  }

  .pay-page .amount-box span {
    font-size: 17px;
  }

  .pay-page .amount-box strong {
    font-size: 40px;
  }

  .pay-page .amount-box small {
    font-size: 20px;
  }

  .pay-page .security-card {
    min-height: 92px;
    padding: 18px 22px;
  }

  .pay-page .security-item h3,
  .pay-page .ssl-area h3 {
    font-size: 18px;
  }

  .pay-page .security-item p {
    max-width: none;
    font-size: 14px;
  }

  .pay-page .lock-icon,
  .pay-page .ssl-icon {
    width: 48px;
    height: 48px;
  }

  .pay-page .trust-bar {
    min-height: 76px;
  }

  .pay-page .trust-item {
    gap: 7px;
  }

  .pay-page .trust-item .material-symbols-outlined {
    width: 28px;
    height: 28px;
    font-size: 27px;
  }

  .pay-page .trust-item strong {
    font-size: 13px;
  }

  .pay-page .card-data-section h2 {
    font-size: 24px;
  }

  .pay-page .card-form {
    padding: 24px;
  }

  .pay-page .card-form label {
    font-size: 15px;
    margin-bottom: 7px;
  }

  .pay-page .card-form input {
    height: 58px;
    padding: 0 18px;
    font-size: 18px;
  }

  .pay-page .input-with-icon,
  .pay-page .card-form > input {
    margin-bottom: 16px;
  }

  .pay-page .pay-button {
    height: 64px;
    font-size: 22px;
  }

  .pay-page .encryption-message {
    font-size: 14px;
  }

  .tyc-simple {
    padding-top: 88px;
  }

  .tyc-simple-content {
    padding: 42px var(--page-padding-x) 56px;
  }

  .tyc-simple-content h1 {
    font-size: 48px;
  }

  .tyc-simple-content h2 {
    font-size: 24px;
  }

  .tyc-simple-content h3 {
    font-size: 20px;
  }

  .tyc-simple-content p {
    font-size: 16px;
  }

  .end-page .phone-screen {
    width: min(100vw - 64px, 680px);
    max-width: 680px;
    padding-top: 86px;
    padding-bottom: 48px;
  }

  .end-page .success-section {
    padding: 34px 58px 20px;
  }

  .end-page .check-circle {
    width: 92px;
    height: 92px;
  }

  .end-page .check-mark {
    font-size: 54px;
  }

  .end-page h1 {
    font-size: 38px;
  }

  .end-page .subtitle {
    font-size: 17px;
  }

  .end-page h2 {
    font-size: 20px;
  }

  .end-page .receipt-card,
  .end-page .secure-box,
  .end-page .next-box {
    padding: 20px 24px;
  }

  .end-page .receipt-row {
    height: 56px;
    font-size: 15px;
  }

  .end-page .primary-btn,
  .end-page .secondary-btn {
    height: 56px;
    font-size: 17px;
  }
}

@media (min-width: 1280px) {
  :root {
    --page-width: min(100vw - 112px, 1080px);
    --page-padding-x: clamp(64px, 7vw, 92px);
  }

  .home-page .phone-screen {
    width: min(100vw - 112px, 1120px);
    max-width: 1120px;
  }

  .home-page .hero {
    padding-top: 38px;
  }

  .home-page .promotion-card {
    width: 500px;
  }

  .home-page .unlimited-badge {
    width: 360px;
  }

  .home-page .jersey-area {
    height: 560px;
  }

  .home-page .jersey {
    height: 500px;
    max-width: 520px;
  }

  .home-page .jersey-actions {
    width: 460px;
  }

  .pay-page .app-screen {
    width: min(100vw - 112px, 980px);
    max-width: 980px;
  }
}
