* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background: #0b0b0f;
  -webkit-text-size-adjust: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

body.no-scroll { overflow: hidden; }

/* ✅ Full screen background + iOS safe-area fix */
.main-wrapper{
  min-height: 100vh;
  min-height: -webkit-fill-available;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right)
           env(safe-area-inset-bottom) env(safe-area-inset-left);

  background: url("bg-red.jpg") center / cover no-repeat;

}

/* ---------- Hero Card ---------- */
.hero-card{
  width: min(92vw, 520px);
  border-radius: 28px;
  padding: 44px 24px 20px;
  text-align: center;
  color: #f3f3f3;

  background: rgba(10, 10, 16, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  backdrop-filter: blur(14px);
}

.logo-wrap{
  display: grid;
  place-items: center;
}

/* ✅ Bigger logo like your 2nd photo */
.logo{
  width: 190px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 26px rgba(0,0,0,.45));
}

/* Tagline */
.tagline{
  margin: 22px 0 10px;
  letter-spacing: 0.22em;
  font-size: 0.92rem;
  opacity: 0.9;
}

/* ✅ Instagram icon under tagline */
.ig-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.88);
  text-decoration: none;

  width: 40px;
  height: 40px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
}

.ig-under-tagline{
  margin: 6px 0 18px;
}

/* Buttons */
.cta-wrap{
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.btn{
  border: none;
  cursor: pointer;
  padding: 16px 18px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn-primary{
  background: #F1F063;
  color: #111;
}

.btn-outline{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.6);
  color: rgba(255,255,255,0.92);
}

.btn-full{ width: 100%; }

.copyright{
  margin: 18px 0 0;
  font-size: 0.82rem;
  opacity: 0.75;
}

/* ---------- Modal ---------- */
.modal-overlay{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,0.55);
}

.modal-overlay.is-open{ display: flex; }

.modal{
  width: min(92vw, 520px);
  border-radius: 22px;
  padding: 22px 18px 18px;
  color: #f4f4f4;

  background: rgba(10, 12, 18, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 30px 90px rgba(0,0,0,.65);
  backdrop-filter: blur(14px);
  position: relative;
}

.modal-close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* ✅ Consistent spacing for BOTH modals */
.modal-title{
  margin: 4px 0 10px;
  font-size: 2rem;
  line-height: 1.08;
  font-weight: 700;
}

.modal-subtitle{
  margin: 0 0 18px;
  font-size: 1.02rem;
  opacity: 0.86;
  line-height: 1.35;
}

.form{
  display: grid;
  gap: 12px;
}

.input{
  width: 100%;
  padding: 14px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
  outline: none;
  font-size: 1rem;
}

.input::placeholder{
  color: rgba(255,255,255,0.55);
}

@media (max-width: 420px){
  .logo{ width: 175px; }
  .hero-card{ padding: 40px 18px 18px; }
  .modal-title{ font-size: 1.7rem; }
}
