*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html,
body{
  width:100%;
  height:100%;
  overflow:hidden;
}

body{
  font-family:'Poppins', sans-serif;
  background:#000;
  color:white;
  position:relative;
}

/* FUNDO */

.background{
  position:absolute;
  inset:0;
  z-index:1;
}

.background img{
  width:100%;
  height:100%;
  object-fit:cover;

  /* AJUSTE DA FOTO */
  object-position:center top;

  transform:scale(1.03);

  filter:
  brightness(.88)
  contrast(1.05)
  saturate(1.05);
}

/* OVERLAY CINEMATOGRÁFICO */

.overlay{
  position:absolute;
  inset:0;

  background:
  linear-gradient(
    to top,
    rgba(0,0,0,.95) 10%,
    rgba(0,0,0,.55) 45%,
    rgba(212,175,55,.10) 100%
  );

  z-index:2;
}

/* CONTAINER */

.invite{
  position:relative;
  z-index:3;

  width:100%;
  height:100dvh;

  display:flex;
  align-items:flex-end;
  justify-content:center;

  padding:
  20px
  20px
  28px;
}

/* CONTEÚDO */

.content{
  width:100%;
  max-width:410px;

  position:relative;
}

/* TAG */

.tag{
  position:fixed;

  top:18px;
  left:50%;

  transform:translateX(-50%);

  z-index:999;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  background:
  rgba(0, 0, 0, 0.1);

  border:
  1px solid rgba(0, 0, 0, 0.2);

  color:#f4d58d;

  padding:
  8px
  18px;

  border-radius:999px;

  font-size:20px;
  font-weight:500;

  letter-spacing:2px;

  backdrop-filter:blur(12px);

  box-shadow:
  0 4px 18px rgba(0, 0, 0, 0.08);

  text-align:center;

  white-space:nowrap;
}

/* TITULOS */

.name{
  font-family:'Cormorant Garamond', serif;

  font-size:72px;
  font-weight:700;

  line-height:.9;

  margin-bottom:6px;

  color:#f8e7b0;

  letter-spacing:1px;

  text-shadow:
  0 2px 8px rgba(255,215,120,.15),
  0 4px 25px rgba(0,0,0,.65),
  0 0 40px rgba(212,175,55,.18);

  position:relative;

  display:inline-block;
}

.name::after{
  content:"";

  position:absolute;

  left:0;
  bottom:-6px;

  width:70%;
  height:1px;

  background:
  linear-gradient(
    to right,
    #f3d58a,
    transparent
  );

  opacity:.7;
}

h2{
  font-size:28px;
  font-weight:300;

  color:#f0c46b;

  margin-bottom:18px;

  letter-spacing:1px;

  text-shadow:
  0 4px 15px rgba(0,0,0,.4);
}

/* TEXTO */

.message{
  font-size:14px;
  line-height:1.7;

  color:#f2f2f2;

  margin-bottom:22px;

  text-shadow:
  0 2px 10px rgba(0,0,0,.7);
}

/* INFO */

.info{
  margin-bottom:20px;
}

.info-item{
  margin-bottom:14px;
}

.info-item:last-child{
  margin-bottom:0;
}

.info-item small{
  display:block;

  color:#e7c77d;

  font-size:10px;
  font-weight:500;

  letter-spacing:2px;

  margin-bottom:5px;
}

.info-item strong{
  font-size:14px;
  line-height:1.5;
  font-weight:500;

  color:#fff;
}

/* BOTÕES */

.buttons{
  display:flex;
  flex-direction:column;

  gap:12px;
}

.btn{
  text-decoration:none;
  border:none;
  cursor:pointer;

  width:100%;

  padding:15px 18px;

  border-radius:18px;

  text-align:center;

  font-size:14px;
  font-weight:600;

  transition:.28s ease;

  backdrop-filter:blur(16px);

  -webkit-backdrop-filter:blur(16px);
}

/* BOTÃO LOCALIZAÇÃO */

.location{
  background:
  rgba(20,20,20,.58);

  border:
  1px solid rgba(255,255,255,.08);

  color:#fff;

  box-shadow:
  0 6px 20px rgba(0,0,0,.28);
}

/* BOTÃO WHATSAPP */

.whatsapp{
  background:
  linear-gradient(
    135deg,
    #c79b45,
    #f4d58d
  );

  color:#1a1a1a;

  box-shadow:
  0 8px 30px rgba(212,175,55,.30);
}

/* HOVER */

.btn:hover{
  transform:
  translateY(-2px);

  opacity:.96;
}

.btn:active{
  transform:scale(.98);
}

/* MODAL */

body.modal-open{
  overflow:hidden;
}

[hidden]{
  display:none !important;
}

.modal-backdrop{
  position:fixed;
  inset:0;
  z-index:10;
  background:rgba(0,0,0,.72);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.modal-card{
  width:min(100%, 520px);
  max-height:90vh;
  overflow:auto;
  background:rgba(15,15,15,.95);
  border:1px solid rgba(255,255,255,.12);
  border-radius:24px;
  padding:24px;
  box-shadow:0 18px 50px rgba(0,0,0,.35);
}

.modal-header{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  margin-bottom:10px;
}

.modal-eyebrow{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:2px;
  color:#e7c77d;
  margin-bottom:6px;
}

.modal-header h3{
  font-size:22px;
  color:#fff;
}

.close-modal{
  border:none;
  background:transparent;
  font-size:28px;
  color:#fff;
  cursor:pointer;
}

.modal-help{
  color:#d8d8d8;
  font-size:13px;
  line-height:1.6;
  margin-bottom:16px;
}

.family-list{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-bottom:18px;
}

.family-card{
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:12px;
  background:rgba(255,255,255,.03);
}

.family-title-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
}

.family-title-row h4{
  color:#f4d58d;
  font-size:16px;
}

.family-title-row span{
  color:#d8d8d8;
  font-size:12px;
}

.guest-list{
  display:grid;
  gap:8px;
}

.guest-item{
  border:none;
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  text-align:left;
  color:#fff;
  background:rgba(255,255,255,.06);
  cursor:pointer;
  display:flex;
  flex-direction:column;
  gap:2px;
}

.guest-item.confirmed{
  background:linear-gradient(135deg, rgba(199,155,69,.35), rgba(244,213,141,.22));
  border:1px solid rgba(244,213,141,.42);
}

.guest-item small{
  color:#d8d8d8;
}

.modal-actions{
  display:flex;
  gap:10px;
  margin-top:6px;
}

.secondary-btn{
  background:rgba(255,255,255,.08);
  color:#fff;
}

.primary-btn{
  background:linear-gradient(135deg, #c79b45, #f4d58d);
  color:#1a1a1a;
}

.feedback-message{
  min-height:20px;
  margin-top:12px;
  color:#f4d58d;
  font-size:13px;
}

/* ANIMAÇÃO */

@keyframes fade{

  from{
    opacity:0;
    transform:
    translateY(30px);
  }

  to{
    opacity:1;
    transform:
    translateY(0);
  }

}

/* IPHONE / TELAS PEQUENAS */

@media(max-height:740px){

  .invite{
    padding:
    16px
    16px
    22px;
  }

  h1{
    font-size:52px;
  }

  h2{
    font-size:24px;
    margin-bottom:14px;
  }

  .message{
    font-size:13px;
    line-height:1.55;

    margin-bottom:18px;
  }

  .info-item strong{
    font-size:13px;
  }

  .btn{
    padding:14px;
    font-size:13px;
  }

}

/* TELAS MUITO PEQUENAS */

@media(max-height:670px){

  h1{
    font-size:46px;
  }

  h2{
    font-size:22px;
  }

  .message{
    font-size:12px;
  }

  .tag{
    font-size:9px;
    padding:7px 14px;
  }

}