    :root {
      --bg: #0a1628;
      --gold: #d4af37;
      --gold-soft: #f5d76e;
      --ink: #e9edf3;
      --blue-soft:#3a2f69;;
    }

    a {
      transition: .5s;
    }

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

    html,
    body {
      width: 100%;
      height: 100%;
      background: var(--bg);
      color: var(--ink);
      font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
      overflow: hidden;
    }

    body {
      min-height: calc(var(--vh, 1vh) * 100);
    }

    /* ===== PAGE ===== */
    .page {
      min-height: calc(var(--vh, 1vh) * 100);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
      padding: 0.75rem 1rem env(safe-area-inset-bottom);
      position: relative;
    }

    .page::before {
      content: "";
      position: absolute;
      inset: -40%;
      background: radial-gradient(circle,
          rgba(245, 158, 11, .22),
          rgba(245, 158, 11, .08),
          transparent 70%);
      filter: blur(160px);
      pointer-events: none;
    }

    /* ===== DESKTOP LAYOUT ===== */
    .layout {
      flex: 1;
      width: 100%;
      max-width: 1100px;
      display: grid;
      grid-template-columns: minmax(280px, 1fr) minmax(260px, 1fr);
      gap: 3rem;
      align-items: center;
      z-index: 1;
    }

    /* ===== POSTER ===== */
    .poster {
      opacity: 0;
        transform: translateX(0) scale(0.98);
      display: flex;
      justify-content: center;
      align-items: flex-start;
    }

    .poster img {
      max-height: 80vh;
      max-width: 100%;
      box-shadow:
        0 30px 80px rgba(0, 0, 0, .6),
        0 0 40px rgba(212, 175, 55, .2);
    }

    /* ===== INFO ===== */
    .copy {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      
  opacity: 0;
  transform: translateX(80px);

    }

    .music-toggle {
      border: none;
      background: transparent;
      color: var(--gold-soft);
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0;
      font-size: 0.75rem;
      letter-spacing: .25em;
      text-transform: uppercase;
      cursor: pointer;
      opacity: .9;
      transition: opacity .2s ease;
    }

    .music-toggle:hover {
      opacity: 1;
    }

    .music-label {
      white-space: nowrap;
    }

    .tagline {
      font-size: 1.8rem;
      font-weight: 600;
      line-height: 1.2;
      text-transform: uppercase;
      letter-spacing: .08em;
      color: var(--gold-soft);
    }

    .event {
      font-size: .95rem;
      letter-spacing: .25em;
      text-transform: uppercase;
      line-height: 1.8;
      opacity: .9;
    }

    .cta-desktop button,
    .cta-mobile button {
      border: 1px solid var(--gold);
      background: transparent;
      color: var(--ink);

      padding: .9rem 2.6rem;
      border-radius: 999px;

      letter-spacing: .38em;
      text-transform: uppercase;
      font-size: .78rem;

      cursor: pointer;
      transition:
        background 0.6s ease,
        box-shadow 0.6s ease,
        transform 0.35s ease,
        color 0.6s ease;
    }

    .cta-desktop button:hover,
    .cta-mobile button:hover {
      background: linear-gradient(90deg,
          rgba(212, 175, 55, 0.28),
          rgba(245, 215, 110, 0.38));

      color: #001a2f;

      /* glow sunset */
      box-shadow:
        0 12px 28px rgba(212, 175, 55, 0.35),
        0 0 24px rgba(245, 215, 110, 0.22);

      /* lift subtil */
      transform: translateY(-2px);
    }

    /* ===== FOOTER ===== */
    .footer {
      font-size: .7rem;
      letter-spacing: .5em;
      text-transform: uppercase;
      opacity: .45;
      text-align: center;
    }

    .bar {
      width: 60px;
      height: 3px;
      background: var(--gold);
      border-radius: 999px;
      margin: .6rem auto 0;
    }


    @keyframes pulseSound {
      0% {
        opacity: 0.25;
      }

      50% {
        opacity: 1;
      }

      100% {
        opacity: 0.25;
      }
    }

    /* estado a piscar */
    .music-toggle.is-pulsing {
      animation: pulseSound 1.8s ease-in-out infinite;
    }

    .cta-mobile {
      display: none;
    }

    /* ===== MOBILE (SÓ 2 BLOCOS) ===== */
    @media (max-width:768px) {

      .layout {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
      }

      .poster img {
        max-height: 45vh;
        width: auto;
        max-width: 90vw;
      }

      .copy {
        align-items: center;
        text-align: center;
        gap: .6rem;
      }

      .tagline {
        font-size: 1.25rem;
      }

      /* CTA FORA DO FLUXO */
      .cta-desktop {
        display: none;
      }

      .cta-mobile {
        position: absolute;
        left: 0;
        right: 0;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 64px);
        display: flex;
        justify-content: center;
        padding: 0.75rem 1rem;
        transition: .5s;
        z-index: 10;
      }


    }

    small {
      display: block;
      margin-top: 0.4rem;
      font-size: 0.7rem;
      letter-spacing: 0.08em;
      opacity: 0.7;
    }

    small a {
      color: var(--gold-soft);
      text-decoration: none;
    }

    small a:hover {
      text-decoration: underline;
    }

    /* ===== INVITE MODAL ===== */
    .invite-modal {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.55);
      backdrop-filter: blur(6px);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }

    .invite-modal.active {
      display: flex;
    }

    .invite-dialog {
      width: min(92vw, 420px);
      background: rgba(10, 22, 40, 0.92);
      border: 1px solid rgba(212, 175, 55, 0.35);
      border-radius: 18px;
      padding: 1.6rem;
      position: relative;
      text-align: center;
      color: var(--ink);
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
        overflow: hidden;
    }

    .invite-dialog h2 {
      font-size: 1rem;
      letter-spacing: .35em;
      text-transform: uppercase;
      color: var(--gold-soft);
      margin-bottom: .6rem;
    }

    .invite-dialog p {
      font-size: .85rem;
      opacity: .85;
      line-height: 1.5;
      margin-bottom: 1rem;
    }

    .invite-dialog form {
      display: flex;
      flex-direction: column;
      gap: .7rem;
    }

    .invite-dialog input {
      padding: .8rem .9rem;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.25);
      background: rgba(0, 0, 0, 0.35);
      color: #fff;
      font-size: .85rem;
    }

    .invite-dialog input::placeholder {
      color: rgba(255, 255, 255, 0.5);
    }

    .invite-dialog button {
      margin-top: .4rem;
      border: 1px solid var(--gold);
      background: transparent;
      color: var(--ink);
      padding: .75rem;
      border-radius: 999px;
      letter-spacing: .3em;
      text-transform: uppercase;
      font-size: .7rem;
      cursor: pointer;
      transition: .35s ease;
    }

    .invite-dialog button:hover {
      background: linear-gradient(90deg,
          rgba(212, 175, 55, .28),
          rgba(245, 215, 110, .38));
      color: #001a2f;
      box-shadow: 0 0 18px rgba(212, 175, 55, .4);
    }

    .invite-dialog small {
      display: block;
      margin-top: .8rem;
      font-size: .65rem;
      opacity: .55;
    }

    .invite-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: transparent !important;
      border: none !important;
      padding: 1rem !important;
      border-radius: 5px !important;
      color: rgba(245, 215, 110, 0.65) !important;
      cursor: pointer !important;
      transition:
        color .25s ease,
        transform .25s ease,
        opacity .25s ease !important;
        z-index: 99999!important;
    }

    .invite-close:hover {
      box-shadow: none !important;
    }

    .poster-media {
      position: relative;
      display: inline-block;
    }

    /* IMAGEM */
    .poster-image {
      display: block;
      max-height: 80vh;
      max-width: 100%;
      transition: opacity 0.8s ease;
    }

    /* VIDEO */
    .poster-video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;

      opacity: 0;
      pointer-events: none;

      transition: opacity 0.8s ease;
    }

    .poster-media.is-video-active .poster-image {
      opacity: 0;
    }

    .poster-media.is-video-active {
      animation: borderPulse 2.8s ease-in-out infinite;
    }

    .poster-media.is-video-active .poster-video {
      opacity: 1;
    }

    @keyframes borderPulse {
      0% {
        box-shadow:
          0 30px 80px rgba(0, 0, 0, 0.6),
          0 0 30px rgba(212, 175, 55, 0.25);
      }

      50% {
        box-shadow:
          0 30px 80px rgba(0, 0, 0, 0.6),
          0 0 55px rgba(245, 215, 110, 0.45);
      }

      100% {
        box-shadow:
          0 30px 80px rgba(0, 0, 0, 0.6),
          0 0 30px rgba(212, 175, 55, 0.25);
      }
    }


    .modal-view{
  display:none;
}

.modal-view.active{
  display:block;
}

.back-btn{
  margin-top:1rem;
  background:none;
  border:none;
  color:var(--gold-soft);
  cursor:pointer;
  font-size:0.75rem;
  letter-spacing:.2em;
}

.back-btn:hover{
  text-decoration:underline;
}


/* views base */
.modal-view{
  position: absolute;
  inset: 0;
  padding: 1.6rem;
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
  transition:
    opacity .35s ease,
    transform .35s ease;
}

/* view ativa */
.modal-view.active{
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

/* animação inversa (voltar) */
.modal-view.leave-left{
  opacity: 0;
  transform: translateX(-24px);
}

.modal-view.enter-right{
  opacity: 0;
  transform: translateX(24px);
}
.form-messages{
  margin-top:.6rem;
  font-size:.75rem;
  line-height:1.4;
  min-height:1.2em;
}

/* estados */
.form-messages.info{
  color:#f5d76e;
}

.form-messages.success{
  color:#7CFFB2;
}

.form-messages.error{
  color:#ff9b9b;
}

#inviteForm.is-loading button{
  opacity:0.6;
  pointer-events:none;
}