  /* --- 1. GLOBAL RESET & FONTS --- */
  * {
      border: none;
      box-sizing: border-box;
  }

  body {
      font-family: 'Montserrat', sans-serif;
      color: white;
      overflow-x: hidden;
  }

  h1,
  h2,
  h3,
  .brand-name,
  .nav-link,
  .thank-you-title {
      font-family: 'Cormorant Garamond', serif;
  }

  h2.name {
    font-size: 3rem;
  }

  h1 {
      font-size: clamp(3rem, 5vw, 5rem);
  }

  p {
      font-family: 'Montserrat', sans-serif;
      font-weight: 300;
  }

  p.small {
      max-width: 320px;
      line-height: 1.6;
      letter-spacing: 3px;
      font-size: 0.7rem;
      opacity: 0.9;
  }

  p.letter-space {
    letter-spacing: 3px;
  }

  p.extra-small {
    font-size: 0.65rem;
  }

  p.addrs {
    font-size: 0.9rem; font-weight: 300;
  }

  p.big{
    font-size: 1rem; margin-bottom: 0;
  }

  div.width500 {
    max-width: 500px;
  }
  .icon {
    width: 50px; height: 50px;
  }
  .nav-block {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.1);
  }


  .fade-out {
      opacity: 0;
  }

  .cover-section {
      height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
  }

  .cover-date-top {
      letter-spacing: 5px;
      font-size: 1rem;
      margin-bottom: 20px;
      font-weight: 300;
  }

  .cover-title {
      font-family: "Cormorant Garamond", serif;
      font-size: 4rem;
      font-style: italic;
      line-height: 1.1;
      margin-bottom: 30px;
  }

  .cover-guest-label {
      text-transform: uppercase;
      letter-spacing: 3px;
      font-size: 0.7rem;
      opacity: 0.8;
      margin-bottom: 10px;
  }

  .cover-guest-name {
      font-family: "Cormorant Garamond", serif;
      font-size: 2.2rem;
      margin-bottom: 20px;
      display: block;
  }

  .btn-open-invitation {
      background: transparent;
      border: 1px solid white;
      color: white;
      padding: 12px 35px;
      border-radius: 8px;
      font-size: 0.8rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      transition: all 0.3s ease;
      margin-top: 10px;
  }

  .btn-open-invitation:hover {
      background: white;
      color: black;
      transform: scale(1.05);
  }

  /* --- 2. LAYOUT STRUCTURE --- */
  .left-side {
      display: flex;
      background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("../img/bg.webp") no-repeat center/cover;
      width: 65%;
      height: 100vh;
      position: sticky;
      top: 0;
  }

  .right-side {
      position: relative;
      width: 35%;
      min-height: 100vh;
  }

  .bg-object-fit {
      position: fixed;
      top: 0;
      right: 0;
      width: 60%;
      height: 100%;
      object-fit: cover;
      z-index: -1;
      filter: brightness(0.4);
  }

  /* --- 3. NAVIGATION (NAVBAR) --- */
  .burger-menu {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 10000;
      background: rgba(0, 0, 0, 0.5);
      color: white;
      padding: 10px 15px;
      border-radius: 10px;
      cursor: pointer;
  }

  .nav-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
      backdrop-filter: blur(10px);
      z-index: 9999;
      display: none;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.4s ease;
  }

  .nav-overlay.active {
      display: flex;
      opacity: 1;
  }

  .nav-content {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 30px;
      padding: 40px;
      width: 90%;
      max-width: 400px;
      transform: translateY(20px);
      transition: transform 0.4s ease;
      position: relative;
      text-align: center;
  }

  .nav-overlay.active .nav-content {
      transform: translateY(0);
  }

  .nav-link {
      display: block;
      color: white;
      text-decoration: none;
      font-size: 1.5rem;
      padding: 10px 0;
      transition: all 0.4s ease;
  }

  .nav-link span.arrow {
      opacity: 0;
      margin-right: -20px;
      transition: all 0.4s ease;
      display: inline-block;
  }

  .nav-link:hover {
      padding-left: 10px;
      color: #d4af37;
  }

  .nav-link:hover span.arrow {
      opacity: 1;
      margin-right: 10px;
  }

  .btn-close-nav {
      position: absolute;
      top: 20px;
      right: 20px;
      background: rgba(255, 255, 255, 0.2);
      color: white;
      padding: 5px 15px;
      border-radius: 20px;
      font-size: 0.8rem;
  }

  /* --- 4. SECTIONS (HERO, BRIDE, EVENT) --- */
  .hero,
  .wanita,
  .pria,
  .save-the-date,
  .resepsi-section {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      padding: 50px 20px;
  }

  .hero {
      background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/hero.webp');
  }

  .wanita {
      background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/wanita.webp');
  }

  .pria {
      background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/pria.webp');
  }

  .save-the-date {
      background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/3.webp');
  }

  .resepsi-section {
      background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/2.webp');
  }

  h2 {
      letter-spacing: 5px;
      font-weight: 700;
  }

  /* --- 5. COMPONENTS (COUNTDOWN, BUTTONS, CARDS) --- */
  .countdown-item {
      padding: 0 10px;
      text-align: center;
  }

  .countdown-number {
      font-size: clamp(1.5rem, 3vw, 2.5rem);
      display: block;
      line-height: 1;
  }

  .countdown-label {
      font-size: 0.7rem;
      letter-spacing: 2px;
      text-transform: uppercase;
  }

  .btn-instagram {
      border: 1px solid white;
      background: transparent;
      color: white;
      padding: 10px 20px;
      border-radius: 8px;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 0.9rem;
      transition: 0.3s;
  }

  .btn-instagram:hover {
      background: rgba(255, 255, 255, 0.2);
      color: white;
  }

  .wedding-frame-img {
      width: 150px;
      height: 150px;
      object-fit: cover;
      border-radius: 15px;
      margin: 20px auto;
  }

  /* --- 6. GALLERY, RSVP, GIFT --- */
  .gallery-section,
  .gift {
      background-color: #1a1a1a;
      padding: 80px 20px;
      text-align: center;
  }

  .gallery-item {
      width: 100%;
      border-radius: 20px;
      object-fit: cover;
      margin-bottom: 20px;
      transition: transform 0.3s ease;
  }

  .gallery-item:hover {
      transform: scale(1.02);
  }

  .img-tall {
      height: 450px;
  }

  .img-main {
      height: 300px;
  }

  /* --- Tambahan Khusus Section Gift --- */
  .gift-card {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 15px;
      padding: 20px;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      text-align: left;
  }

  .gift-info h6 {
      font-size: 0.8rem;
      letter-spacing: 1px;
      margin-bottom: 5px;
      opacity: 0.7;
  }

  .gift-info p {
      font-weight: 600;
      margin-bottom: 0;
      font-size: 1.1rem;
  }

  .btn-copy {
      background: rgba(255, 255, 255, 0.1);
      color: white;
      border: none;
      padding: 10px;
      border-radius: 10px;
      transition: 0.3s;
  }

  .btn-copy:hover {
      background: rgba(255, 255, 255, 0.2);
  }

  .gift-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.5rem;
      font-weight: 700;
      letter-spacing: 3px;
      margin-bottom: 20px;
  }

  .confirm-gift-container {
      background: rgba(255, 255, 255, 0.05);
      border-radius: 15px;
      padding: 20px;
      margin-top: 20px;
  }

  .confirm-title {
      font-family: 'Cormorant Garamond', serif;
      font-sileft-sideze: 1.8rem;
      margin-bottom: 20px;
      letter-spacing: 2px;
  }

  .form-gift-input {
      background: #d1d1d1 !important;
      /* Warna abu-abu sesuai gambar */
      border: none !important;
      border-radius: 8px !important;
      margin-bottom: 15px;
      padding: 12px;
      color: #333 !important;
  }

  .form-gift-input::placeholder {
      color: #777;
  }

  .btn-wa-confirm {
      background: transparent;
      border: 1px solid white;
      color: white;
      width: 100%;
      padding: 12px;
      border-radius: 8px;
      text-transform: uppercase;
      font-weight: 600;
      letter-spacing: 1px;
      transition: 0.3s;
  }

  .btn-wa-confirm:hover {
      background: white;
      color: black;
  }

  /* Container Utama Form */
  .confirm-gift-wrapper {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.5s ease-out, opacity 0.5s ease;
      opacity: 0;
  }

  /* State saat Form Aktif/Terbuka */
  .confirm-gift-wrapper.active {
      max-height: 1000px;
      /* Nilai besar agar semua konten terlihat */
      opacity: 1;
      margin-top: 20px;
  }

  /* Tombol Pemicu (Toggle) */
  .gift-card.trigger {
      cursor: pointer;
      transition: background 0.3s;
  }

  .gift-card.trigger:hover {
      background: rgba(255, 255, 255, 0.1);
  }

  /* Icon Panah Animasi */
  .arrow-icon {
      transition: transform 0.4s ease;
  }

  .gift-card.active .arrow-icon {
      transform: rotate(180deg);
  }

  .form-control-custom {
      background: rgba(255, 255, 255, 0.2);
      border: 1px solid rgba(255, 255, 255, 0.5);
      color: white;
      border-radius: 8px;
      margin-bottom: 15px;
  }

  .wish-card {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 12px;
      padding: 15px;
      margin-bottom: 15px;
      text-align: left;
  }

  .wishes-container {
      max-height: 400px;
      overflow-y: auto;
      padding-right: 8px;
  }

  /* Custom scrollbar untuk wishes-container */
  .wishes-container::-webkit-scrollbar {
      width: 8px;
  }

  .wishes-container::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.05);
      border-radius: 10px;
  }

  .wishes-container::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.3);
      border-radius: 10px;
  }

  .wishes-container::-webkit-scrollbar-thumb:hover {
      background: rgba(255, 255, 255, 0.5);
  }

  /* --- 7. FOOTER --- */
  .thank-you-section {
      padding: 100px 20px;
      min-height: 80vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
  }

  .brand-name {
      font-size: 2.5rem;
      letter-spacing: 2px;
  }

  .social-icons {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin: 25px 0;
  }

  .social-icons a {
      color: white;
      font-size: 1.2rem;
  }

  /* Fixed */
  /* Container Tombol Pojok Kanan Bawah */
  .fixed-controls {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      gap: 10px;
  }

  /* Styling Umum Tombol Bulat */
  .control-btn {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(5px);
      border: 1px solid rgba(255, 255, 255, 0.3);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      cursor: pointer;
      transition: all 0.3s ease;
  }

  .control-btn:hover {
      background: rgba(255, 255, 255, 0.4);
      transform: scale(1.1);
  }

  .music-playing {
      animation: spin 3s linear infinite;
  }

  /* Animasi Putar untuk Musik */
  @keyframes spin {
      from {
          transform: rotate(0deg);
      }

      to {
          transform: rotate(360deg);
      }
  }


  /* --- 8. RESPONSIVE (MEDIA QUERIES) --- */
  @media (max-width: 1040px) {
      .left-side {
          display: none;
      }

      .right-side {
          width: 100% !important;
          background-attachment: scroll !important;
      }

      .bg-object-fit {
          width: 100%;
          left: 0;
          right: auto;
      }

      .nav-content {
          max-width: 320px;
      }
  }

  @media (max-width: 768px) {
      .cover-title {
          font-size: 3rem;
      }

      .cover-guest-name {
          font-size: 1.8rem;
      }
  }