:root{ --gold:#d4af37; }

body{
  margin:0;
  padding:0;
  background:#000;
  font-family:'Bebas Neue',sans-serif;
  color:#fff;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  background:linear-gradient(
    180deg,
    #000,
    #1b1b1b,
    #202020
  );
}

/* ================= MARCO TELÉFONO ================= */
.phone-frame{
  max-width:420px;
  min-height:100vh;
  height:100dvh;
  margin:auto;
  padding:20px;
  box-sizing:border-box;

  background:transparent;

  display:flex;
  flex-direction:column;
}


/* ================= CONTENIDO CENTRADO ================= */
.phone-content{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:22px;
}

/* ================= LINKS SUPERIORES ================= */
.top-links{
  width:100%;
}
.top-links a{
  display:block;
  margin:10px auto;
  padding:14px;
  text-align:center;
  border:2px solid var(--gold);
  border-radius:14px;
  background:#000;
  color:var(--gold);
  font-size:1.2rem;
  text-decoration:none;
  transition:.25s ease;
}
.top-links a:hover{
  background:var(--gold);
  color:#000;
  font-weight:700;
}

/* ================= LOGO ================= */
.logo{
  width:250px;
  display:block;
  margin:0 auto;
  filter:drop-shadow(0 0 10px rgba(212,175,55,.8));
}

/* ================= BOTÓN EN VIVO ================= */
.main-btn{
  display:flex;
  align-items:center;
  justify-content:center;

  padding:18px 36px;
  border:3px solid var(--gold);
  border-radius:50px;

  background:#000;
  color:var(--gold);

  font-family:'Bebas Neue', sans-serif;
  font-size:1.8rem;
  letter-spacing:2px;
  line-height:1;

  text-decoration:none;
  transition:.25s ease;
}
.main-btn:hover{
  background:var(--gold);
  color:#000;
  font-weight:700;
}

/* ================= WALLETS ================= */
.wallets{
  width:100%;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:15px;
  justify-items:center;
}
.wallets img{
  width:70px;
  height:70px;
  border-radius:50%;
  border:3px solid var(--gold);
  background:#fff;
}

/* ================= FOOTER ================= */
.footer-legal{
  margin-top:auto;
  padding:10px 0 0;
  text-align:center;
  font-size:11px;
  line-height:1.35;
  color:rgba(255,255,255,0.65);
}
.footer-legal p{ margin:0; }

/* ================= MODALES ================= */
.modal-bg{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:9999;
  padding:18px;
  box-sizing:border-box;
}
.modal-bg.is-open{ display:flex; }

.modal-box{
  width:100%;
  max-width:650px;
  max-height:80vh;
  background:#111;
  border:3px solid var(--gold);
  border-radius:16px;
  padding:20px;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
}

.modal-box h2{
  margin:0 0 12px 0;
  color:var(--gold);
  text-align:left;
}

.modal-content{
  flex:1;
  overflow:auto;
  padding-right:6px;
  font-family:system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size:13.5px;
  line-height:1.55;
  color:#f1f1f1;
  white-space:pre-wrap;
  word-break:break-word;
}

.close-btn{
  margin-top:14px;
  padding:12px;
  border:none;
  border-radius:12px;
  background:var(--gold);
  color:#000;
  font-weight:800;
  cursor:pointer;
}

/* ===============================
   TRANSICIÓN GLOBAL DE VENTANA
================================ */
body.loading{
  opacity:0;
  pointer-events:none;
}

body.ready{
  opacity:1;
  pointer-events:auto;
  transition:opacity .8s ease;
}