    @font-face {
      font-family: 'HighSummit';
      src: url('../fonts/High Summit.otf') format('opentype');
    }

    @font-face {
      font-family: 'AboveTheBeyond';
      src: url('../fonts/above-the-beyond-script.ttf') format('truetype');
      font-weight: normal;
      font-style: normal;
    }

    body {
      margin: 0;
      font-family: 'Montserrat', sans-serif;
      scroll-behavior: smooth;
      overflow: hidden;
    }

    /* SPLASH */
    #splash {
      position: relative;
      width: 100%;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding-top: 60px;
      background: url('../assets/img/main-ai18.jpg') no-repeat center bottom;
      background-size: cover;
      text-align: center;
    }

    #splashContent h1,
    #splashContent h2,
    #splashContent #dear {
      color: black;
    }

    h1,
    h2,
    #dear,
    .arrow-container,
    #openInvitation,
    #bahasa,
    #bahasa-inggris {
      opacity: 0;
      transform: translateY(30px);
      animation-fill-mode: forwards;
    }

    h1 {
      margin: 0;
      font-size: 0.9rem;
      font-family: Arial, sans-serif;
      font-weight: normal;
      animation: fadeSlide 0.5s 0.1s forwards;
    }

    h2 {
      margin: 10px 0 0 0;
      font-size: 2.2rem;
      font-family: 'HighSummit', cursive;
      font-weight: normal;
      animation: fadeSlide 0.5s 0.3s forwards;
    }

    #dear {
      margin: 20px 0;
      font-size: 0.9rem;
      line-height: 1.2;
      animation: fadeSlide 0.5s 0.5s forwards;
    }

    #dear strong {
      display: block;
      font-size: 1.2rem;
      margin-top: 10px;
      font-weight: bold;
    }

    .arrow-container {
      width: 60px;
      margin: 10px auto;
      animation: fadeSlide 0.5s 0.7s forwards;
    }

    button,
    #bahasa,
    #bahasa-inggris {
      border-radius: 25px;
      font-size: 0.9rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      transition: 0.3s;
      margin: 12px auto;
      font-family: Arial, sans-serif;
    }

    #openInvitation {
      height: 38px;
      width: 220px;
      padding: 0 20px;
      background: black;
      color: white;
      border: none;
      animation: fadeSlide 0.5s 0.9s forwards;
      margin-bottom: 40px;
    }

    #openInvitation:hover {
      background: #333;
    }

    #bahasa {
      height: 38px;
      width: 210px;
      padding: 0 15px;
      background: white;
      color: black;
      border: 1px solid #ccc;
      font-weight: 500;
      font-size: 0.9rem;
      line-height: 38px;
      text-align: center;
      animation: fadeSlide 0.5s 1.1s forwards;
    }

    #bahasa:hover {
      background: #f0f0f0;
    }

    #bahasa i {
      font-size: 0.85rem;
    }

    #bahasa-inggris {
      height: 38px;
      width: 160px;
      padding: 0 15px;
      background: white;
      color: black;
      border: 1px solid #ccc;
      font-weight: 500;
      font-size: 0.9rem;
      line-height: 38px;
      text-align: center;
      animation: fadeSlide 0.5s 1.1s forwards;
    }

    #bahasa-inggris:hover {
      background: #f0f0f0;
    }

    #bahasa-inggris i {
      font-size: 0.85rem;
    }


    /* HALAMAN 2 */
    #page2 {
      display: block;
      min-height: 100vh;
      width: 100%;
      background-color: rgb(32, 29, 29);
      color: #fff;
      padding: 25px 10px;
      box-sizing: border-box;
      position: relative;
      text-align: center;
    }

    #page2Content {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      max-width: 800px;
      margin: 0 auto;
      background: #ffffff;
      color: #3a2a1a;
      padding: 0px 20px;
      padding-bottom: 10px;
      border-radius: 30px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    }

    #page2 h2,
    #page2 p {
      margin: 30px 10px;
      max-width: 100%;
    }

    #page2 h2 {
      font-size: 2.2rem;
      font-family: 'HighSummit', cursive;
      margin-bottom: 20px;
    }

    #page2 p {
      margin-top: 10px;
      font-size: 0.8rem;
      line-height: 1.5;
    }

    #page2 img {
      width: 100%;
      max-width: 600px;
      border-radius: 15px;
      margin-top: 20px;
      margin-bottom: 10px;
    }

    /* HALAMAN 3 */
    #page3 {
      display: block;
      min-height: 100vh;
      width: 100%;
      background-color: rgb(32, 29, 29);
      color: #fff;
      padding: 25px 10px;
      box-sizing: border-box;
      position: relative;
      text-align: center;
    }

    #page3Content {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      max-width: 800px;
      margin: 0 auto;
    }

    #page3 h2 {
      font-size: 2rem;
        font-family: 'AboveTheBeyond', cursive;
      color: #ffe9b2;
      margin-bottom: 15px;
    }

    #page3 p {
      font-size: 1rem;
      color: #fff;
      margin-bottom: 30px;
    }

    /* profile section */
    .profile-section {
      display: flex;
      gap: 50px;
      flex-wrap: wrap;
      justify-content: center;
      margin-top: 50px;
    }

    .profile {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .profile-img {
      width: 280px;
      height: 360px;
      border-radius: 200px;
      /* makin besar = makin bulat */
      background-size: cover;
      background-position: center;
      border: 6px solid #c49b76;
      margin-bottom: 15px;
    }


    .profile h3 {
      font-family: 'Dancing Script', cursive;
      /* ganti jadi handwriting font lain */
      font-size: 2.5rem;
      color: #c49b76;
      margin: 10px 0 5px 0;
    }


    .parent-text {
      font-size: 0.85rem;
      color: #fff;
      line-height: 1.4;
      text-align: center;
    }

    .parent-text span {
      display: block;
      font-weight: bold;
      margin-top: 2px;
    }



    .full-photo img {
      width: 100%;
      /* biar responsive */
      height: auto;
      /* pertahankan rasio */
      border-radius: 20px;
      /* sudut membulat, bisa diganti angka */
      object-fit: cover;
      /* biar tetep proporsional */
      display: block;
      /* hapus space bawah */
    }

    .event-box {
      background: rgba(255, 255, 255, 0.25);
      border-radius: 20px;
      padding: 18px;
      text-align: center;
      color: white;
      max-width: 800px;
      margin: 0 auto;
    }

    .event-card {
      margin-top: 30px;
      border-radius: 20px;
      background-size: cover;
      background-position: center;
      position: relative;
      overflow: hidden;
    }

    .event-card .overlay {
      background: rgba(255, 255, 255, 0.8);
      padding: 30px;
      border-radius: 20px;
      color: #222;
    }

    .event-title {
      font-family: 'Dancing Script', cursive;
      font-size: 36px;
      margin-bottom: 10px;
    }

    .event-date {
      font-size: 15px;
      margin: 0;
      /* buang jarak atas bawah */
    }

    .event-time {
      font-size: 26px;
      font-weight: bold;
      margin: 2px 0 20px 0;
      /* rapat sama date, bawah tetap ada jarak */
    }


    .event-place {
      font-size: 14px;
      margin-bottom: 20px;
    }

    .btn-map {
      display: inline-block;
      padding: 10px 20px;
      background: #222;
      color: white;
      text-decoration: none;
      border-radius: 30px;
      font-size: 14px;
      transition: 0.3s;
    }

    .btn-map:hover {
      background: #555;
    }

    .ring-icon {
      width: 73px;
      /* sesuaikan ukuran */
      height: auto;
      display: block;
      margin: 0 auto 0px;
      /* beri jarak bawah */
    }

    .reception-icon {
      width: 52px;
      /* sesuaikan ukuran */
      height: auto;
      display: block;
      margin: 0 auto 0px;
      /* beri jarak bawah */
    }

    .event-title {
      font-family: 'Dancing Script', cursive;
      font-size: 3px;
      color: #000;
      margin-top: 10px;
    }


    .ribbon-container {
      text-align: center;
      margin-bottom: 20px;
    }

    .ribbon-text {
      font-family: 'HighSummit', cursive;
      font-size: 2.2rem;
      color: #c49b76;
      margin-bottom: 8px;
    }

    .ribbon-divider {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
    }

    .ribbon-divider .line {
      height: 1px;
      background-color: #000000;
      flex-grow: 1;
      border-radius: 1px;
    }

    .ribbon-divider i {
      color: #c49b76;
      font-size: 24px;
    }


    /* Animasi fade dari bawah atau atas untuk halaman 2 */
    .fade-on-scroll {
      opacity: 0;
      transform: translateY(30px);
      transition: all 1s ease-out;
    }

    .fade-on-scroll.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Animasi dari atas khusus untuk foto */
    .fade-from-top {
      opacity: 0;
      transform: translateY(-30px);
      transition: all 1s ease-out;
    }

    .fade-from-top.visible {
      opacity: 1;
      transform: translateY(0);
    }

    @keyframes fadeSlide {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }



    .timeline-section {
      position: relative;
      padding: 20px 20px;
      background: #fff;
      /* putih polos */
    }

    .timeline-section .section-title,
    .timeline-section h2 {
      text-align: center;
      color: #333;
      margin-bottom: 20px;
    }

    .timeline {
      position: relative;
      max-width: 800px;
      margin: auto;
      display: flex;
      flex-direction: column;
      gap: 80px;
      /* jarak antar box */
      padding: 40px 0 20px 0;
      /* sisakan space 20px untuk icon */
    }

    .timeline::before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 20px;
      /* sama dengan padding-bottom */
      left: 50%;
      width: 5px;
      background: #bfa14a;
      /* garis tengah emas-coklat */
      transform: translateX(-50%);
    }

    .timeline::after {
      content: "";
      /* icon hati */
      position: absolute;
      bottom: 0;
      /* ujung bawah garis */
      left: 50%;
      transform: translateX(-50%);
      font-size: 24px;
      /* sesuaikan ukurannya */
    }


    .timeline-item {
      display: flex;
      justify-content: center;
      position: relative;
    }

    .timeline-item .content {
      background: #DECFBA;
      /* coklat muda */
      padding: 20px;
      border-radius: 15px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      text-align: center;
      width: 100%;
      max-width: 500px;
      position: relative;
    }

    .timeline-item .content img {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-radius: 50%;
      border: 4px solid #bfa14a;
      margin-top: -60px;
      /* nongol di atas box */
      background: #fff;
    }

    .timeline-item h3 {
      margin: 10px 0;
      font-size: 18px;
    }

    .timeline-item p {
      font-size: 14px;
      line-height: 1.6;
    }

    .timeline-item .content h3 {
      font-size: 18px;
      margin: 10px 0 5px;
      color: #000;
    }

    .timeline-item .content .date {
      display: block;
      font-size: 14px;
      font-weight: 400;
      /* tidak bold */
      color: #000;
      margin-top: 2px;
    }



    /* ------------------------ Animasi Global ------------------------ */
    .fade-on-scroll,
    .fade-from-top,
    .timeline-item,

    .fade-from-top {
      transform: translateY(-30px);
    }

    .fade-on-scroll.visible,
    .fade-from-top.visible,
    .timeline-item.visible,

    /* ------------------------ Timeline Alternatif ------------------------ */
    .timeline-section-alt {
      position: relative;
      padding: 20px;
      background: #fff;
    }

    .timeline-item-alt {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      gap: 15px;
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.8s ease-out;
    }

    .timeline-item-alt.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .timeline-item-alt img {
      width: 40%;
      max-width: 350px;
      aspect-ratio: 3/4;
      object-fit: cover;
      border-radius: 12px;
    }

    .timeline-item-alt .text {
      flex: 1;
    }

    .timeline-item-alt h3 {
      margin: 0;
      font-size: 16px;
      color: #333;
    }

    .timeline-item-alt span {
      font-size: 12px;
      font-weight: normal;
      color: #8B5E3C;
    }

    .timeline-item-alt p {
      font-size: 12px;
      line-height: 1.3;
      margin: 4px 0 0 0;
    }

    /* ------------------------ Lightbox ------------------------ */
    #lightbox img {
      max-width: 90vw;
      max-height: 80vh;
      transition: transform 0.3s ease;
    }

    /* Zoom */
    #zoom-in {
      transform: scale(1);
      transition: transform 0.3s ease;
    }

    #zoom-out {
      transform: scale(1);
      transition: transform 0.3s ease;
    }

    /* ------------------------ Timeline Tengah ------------------------ */
    .timeline {
      position: relative;
      max-width: 800px;
      margin: 40px auto;
      display: flex;
      flex-direction: column;
      gap: 80px;
      padding: 40px 0 20px;
    }

    .timeline::before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 20px;
      left: 50%;
      width: 5px;
      background: #bfa14a;
      transform: translateX(-50%);
    }

    .timeline-item {
      display: flex;
      justify-content: center;
      position: relative;
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.8s ease-out;
    }

    .timeline-item.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .timeline-item .content {
      background: #DECFBA;
      padding: 20px;
      border-radius: 15px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      text-align: center;
      width: 100%;
      max-width: 500px;
      position: relative;
    }

    .timeline-item .content img {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-radius: 50%;
      border: 4px solid #bfa14a;
      margin-top: -60px;
      background: #fff;
    }

    .timeline-item h3 {
      margin: 10px 0;
      font-size: 18px;
    }

    .timeline-item p {
      font-size: 14px;
      line-height: 1.6;
    }

    .timeline-item .date {
      display: block;
      font-size: 14px;
      font-weight: 400;
      color: #000;
      margin-top: 2px;
    }

    /* Fade in dari bawah untuk scroll */
    .fade-on-scroll {
      opacity: 0;
      transform: translateY(30px);
      transition: all 1s ease-out;
    }

    .fade-on-scroll.visible {
      opacity: 1;
      transform: translateY(0);
    }


    /* Container pagination */
    #rsvp-pagination {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      /* biar bisa 2 baris */
      gap: 4px;
      margin-top: 15px;
      max-width: 250px;
      /* biar otomatis turun baris kalau kepanjangan */
      margin-left: auto;
      margin-right: auto;
    }

    /* Tombol pagination */
    .rsvp-page-btn {
      display: inline-block;
      min-width: 22px;
      padding: 4px 8px;
      border: 1px solid #ddd;
      border-radius: 12px;
      /* lebih kecil bulatnya */
      background: #fff;
      color: #333;
      cursor: pointer;
      font-size: 12px;
      /* kecilin font */
      text-align: center;
      transition: all 0.2s ease-in-out;
    }

    .rsvp-page-btn:hover {
      background: #f5f5f5;
    }

    /* Aktif (halaman sekarang) */
    .rsvp-page-btn.active {
      background: #007bff;
      color: #fff;
      border-color: #007bff;
      font-weight: bold;
      cursor: default;
    }

    .add-calendar i {
      margin-right: 8px;
    }


    #splashContent h1 {
      margin-bottom: 5px;
      /* default biasanya 16-20px */
    }

    #splashContent h2 {
      margin-bottom: 10px;
    }

    #splashContent #dear {
      margin-bottom: 10px;
    }

    #openInvitation {
      margin-bottom: 25px;
      /* perkecil jarak ke link bahasa */
    }

    #bahasa {
      display: block;
      margin-top: 10px;
      /* jarak ke tombol lebih rapat */
    }

    #bahasa-inggris {
      display: block;
      margin-top: 10px;
      /* jarak ke tombol lebih rapat */
    }


    .parent-text .child-label {
      font-family: Arial, Helvetica, sans-serif;
      /* font polos */
      font-size: 13px;
      /* ukuran lebih kecil */
      font-weight: 300;
      /* lebih tipis dari default */
      color: #ffffff;
      /* tetap putih */
      margin-bottom: 5px;
    }


    .music-btn {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: #000;
      color: #fff;
      border: none;
      border-radius: 50%;
      width: 45px;
      height: 45px;
      font-size: 20px;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
      transition: 0.3s;
      z-index: 9999;
    }

    .music-btn:hover {
      background: #c49b76;
    }


    /* Tombol Musik */
    .music-btn {
      position: fixed;
      bottom: 25px;
      right: 25px;
      background: #000;
      color: #fff;
      border: none;
      border-radius: 50%;
      width: 55px;
      height: 55px;
      font-size: 22px;
      cursor: pointer;
      box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: 0.3s;
      z-index: 1000;
    }

    .music-btn:hover {
      background: #c49b76;
      transform: scale(1.1);
    }

    .btn-live {
      display: inline-flex;
      align-items: center;
      background: rgba(255, 255, 255, 0.9);
      color: #000;
      font-weight: 600;
      padding: 8px 16px;
      border-radius: 25px;
      text-decoration: none;
      transition: all 0.3s ease;
      font-size: 14px;
      border: 1px solid #b8b8b8;
      /* <--- ini bikin border */
    }

    .btn-live i {
      margin-right: 6px;
      font-size: 16px;
    }

    .btn-live:hover {
      background: #fff;
      transform: translateY(-2px);
      border-color: #333;
      /* bisa ubah warna pas hover */
    }

    .ig-btn {
      display: inline-flex;
      align-items: center;
      gap: 3px;
      /* lebih lega antara logo dan teks */
      background-color: #e3e3e3;
      color: rgb(0, 0, 0);
      padding: 6px 12px;
      border-radius: 20px;
      text-decoration: none;
      font-weight: 500;
      /* lebih tegas tapi tetap elegan */
      font-family: 'Montserrat', sans-serif;
      /* pakai font yang sama dengan website */
      font-size: 14px;
      /* ukuran sedikit lebih besar untuk keterbacaan */
      margin-bottom: 10px;
      transition: background-color 0.3s;
    }

    .ig-btn:hover {
      background-color: #ecf0de;
      color: rgb(0, 0, 0);
    }

    .ig-logo {
      width: 18px;
      /* sedikit lebih besar supaya proporsional */
      height: 18px;
    }

    #page2Content img {
      width: 100%;
      height: auto;
      /* penting: jaga rasio */
      object-fit: cover;
      /* atau "contain" kalau mau full terlihat */
      max-height: 85vh;
      /* batasi tinggi supaya tidak super panjang */
    }


    img[src*="welcome-1"],
    img[src*="welcome-2"] {
      width: 100%;
      height: auto;
      object-fit: cover;
      max-height: 80vh;
      border-radius: 10px;
      /* kalau mau lebih cantik */
    }


    /* ---------------- WORD SEARCH SECTION ---------------- */
    #word-search {
      padding: 40px 20px;
      background: #ffeef0;
      text-align: center;
      font-family: "Poppins", sans-serif;
    }

    #word-search h2 {
      font-size: 30px;
      font-weight: 700;
      color: #d51c44;
      margin-bottom: 5px;
    }


    #grid div:hover {
      transform: scale(1.1);
    }



    /* ----- FOUND WORDS SECTION ----- */
    #found-list {
      margin-top: 12px;
      background: #fff8fa;
      border-radius: 14px;
      padding: 10px 20px 18px;
      /* atas diperkecil / bawah tetap */
      width: 85%;
      /* Dikecilin biar tidak terlalu lebar */ 
      max-width: 420px;
      /* Biar tampil pas di layar besar */
      margin-inline: auto;
      box-shadow: 0 4px 14px rgba(255, 0, 80, 0.15);
      text-align: left;
    }

    .found-title {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 14px;
      color: #c51442;
      border-left: 5px solid #ff5c8d;
      padding-left: 8px;
    }

    #found-items {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    #found-items li {
      background: #ffedf2;
      margin-bottom: 12px;
      padding: 12px 16px;
      border-radius: 10px;
      border: 1px solid #ffb8c9;
      display: flex;
      flex-direction: column;
      gap: 4px;
      animation: fadeIn 0.35s ease-out;
    }

    #found-items li .word {
      font-weight: 1200;
      color: #8e3150;
      font-size: 16px;
    }

    /* Description styling */
    #found-items li p {
      font-size: 14px;
      color: #555;
      margin: 0;
      line-height: 1.1;
    }

    /* Animation */
    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(8px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }


    /* Smooth reveal animation */
    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(5px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    #win-popup {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.65);
      display: flex;
      align-items: center;
      justify-content: center;
      animation: fadeIn 0.3s ease-out;
    }

    .popup-content {
      background: #fff4f6;
      padding: 25px 35px;
      border-radius: 16px;
      text-align: center;
      box-shadow: 0 5px 20px rgba(255, 0, 100, 0.3);
      width: 90%;
      max-width: 350px;
      position: relative;
    }

    .popup-content h2 {
      margin: 0 0 10px;
      color: #d81b60;
    }

    #close-popup {
      margin-top: 15px;
      background: #ff5c8d;
      border: none;
      padding: 10px 20px;
      border-radius: 8px;
      color: #fff;
      font-weight: bold;
      cursor: pointer;
      transition: 0.2s;
    }

    #close-popup:hover {
      background: #ff4077;
      transform: scale(1.05);
    }

    .popup-exit {
      position: absolute;
      top: 8px;
      right: 10px;
      background: none;
      border: none;
      font-size: 18px;
      color: #d81b60;
      cursor: pointer;
      font-weight: bold;
      transition: 0.2s;
    }

    .popup-exit:hover {
      transform: scale(1.2);
      color: #ff2e75;
    }

    #splash {
      padding-top: 30px;
    }

    #splashContent h1,
    #splashContent h2 {
      color: #fff;
    }


    #splashContent h1 {
      font-size: 0.75rem;
    }

    #splashContent h2 {
      font-size: 2.4rem;
    }

    #splashContent h1 {
      font-family: 'Cinzel', serif;
      letter-spacing: 3px;
      text-transform: uppercase;
    }

    #splashContent h2 {
      font-family: 'AboveTheBeyond', cursive;
      line-height: 1.05;
      color: #fff;
      margin-top: 25px;
    }

    #splashContent #dear {
      font-family: 'Montserrat', sans-serif;
      font-size: 0.7rem;
      /* sedikit lebih kecil */
      font-weight: 300;
      /* LEBIH TIPIS */
      letter-spacing: 1.6px;
      color: #fff;
      line-height: 1.2;
      /* rapetin tinggi baris */
      margin-top: 50px;
      /* naik dikit */
      margin-bottom: -14px;
      /* Rapat ke nama */
    }

    #splashContent #textbahasa {
      font-family: 'Montserrat', sans-serif;
      font-size: 0.7rem;
      /* sedikit lebih kecil */
      font-weight: 400;
      /* lebih tipis */
      letter-spacing: 1.6px;
      color: #fff;
      line-height: 1.2;
      /* rapetin sedikit */
      margin-bottom: 1px;
      /* rapat ke nama */
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
      /* shadow tipis */
    }

    #splashContent #hashtag {
      font-family: 'Montserrat', serif;
      font-size: 0.55rem;
      /* sedikit lebih kecil */
      font-weight: 300;
      /* lebih tipis */
      letter-spacing: 1.4px;
      color: #fff;
      line-height: 1.2;
      /* rapat ke nama */
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
      /* shadow tipis */
    }



    #splashContent #dear strong {
      display: block;
      margin-top: 2px;
      /* jarak dari "Kepada" */
      font-family: 'Alice', serif;
      font-size: 1.55rem;
      /* biar proporsional */
      font-weight: 400;
      letter-spacing: 0.3px;
      color: #fff;
    }

    #splash {
      position: relative;
    }


    @keyframes fadeSlideBtn {
      to {
        opacity: 1;
        transform: translate(-50%, 0);
      }
    }

    #splashActions {
      position: absolute;
      bottom: 100px;
      /* ⬅️ TURUNKAN DI SINI */
      left: 50%;
      transform: translate(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      opacity: 0;
      animation: fadeSlideBtn 0.5s 0.9s forwards;
    }

    #languageSwitch {
      display: flex;
      gap: 10px;
      justify-content: center;
    }

    .lang {
      height: 32px;
      padding: 0 14px;
      border-radius: 18px;
      font-family: 'Montserrat', sans-serif;
      font-size: 0.7rem;
      letter-spacing: 1px;
      text-decoration: none;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: all 0.3s ease;
    }

    .lang.active {
      background: rgba(255, 255, 255, 0.80);
      color: #000;
      border: none;
    }

    .lang.outline {
      background: rgba(255, 255, 255, 0.30);
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.6);
    }

    .lang.outline:hover {
      background: rgba(255, 255, 255, 0.18);
    }

    #openInvitation {
      position: relative;
      height: 38px;
      width: auto;
      background: #976d3e;
      color: #fff;
      border: 0.5px solid #fff;
      border-radius: 18px;
      font-family: 'Montserrat', sans-serif;
      font-size: 0.85rem;
      letter-spacing: 1px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: normal;
      padding: 0 23px;
      /* ruang kiri-kanan */
      animation: fadeSlide 0.9s 0.9s forwards;
    }

    #openInvitation .btn-text {
      flex-grow: 1;
      text-align: left;
      /* geser teks ke kiri */
      margin-left: 1px;
      /* jarak ekstra dari kiri tombol */
    }

    /* Lingkaran + arrow PNG di kanan */
    #openInvitation::after {
      content: '';
      position: absolute;
      right: 10px;
      width: 24px;
      height: 24px;
      background-image: url('../assets/img/arrow-1.png');
      background-size: cover;
      background-position: center;
      animation: pulseArrow 1s ease-in-out infinite alternate;
    }

    @keyframes pulseArrow {
      0% {
        transform: scale(1);
      }

      100% {
        transform: scale(1.3);
      }
    }

    #openInvitation .btn-text {
      padding-right: 9px;
      /* spasi ke lingkaran */
    }

    /* Animasi muncul dari kiri */
    @keyframes fadeFromLeft {
      0% {
        opacity: 0;
        transform: translateX(-50px);
      }

      100% {
        opacity: 1;
        transform: translateX(0);
      }
    }

    /* Animasi muncul dari kanan */
    @keyframes fadeFromRight {
      0% {
        opacity: 0;
        transform: translateX(50px);
      }

      100% {
        opacity: 1;
        transform: translateX(0);
      }
    }

    /* Terapkan ke elemen */
    #splashContent h1 {
      animation: fadeFromLeft 0.9s 0.5s forwards;
    }

    #splashContent h2 {
      animation: fadeFromRight 0.9s 0.7s forwards;
    }

    #openInvitation {
      animation: fadeFromLeft 0.9s 0.8s forwards;
    }




    /* section */
    #quote-section {
      position: relative;
      height: 100vh;
      width: 100vw;
      overflow: hidden;
    }

    /* background */
    .bg {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      transition: opacity 1.2s ease-in-out;
    }

    .bg-current {
      opacity: 1;
      z-index: 1;
    }

    .bg-next {
      opacity: 0;
      z-index: 2;
    }

    /* overlay */
    .quote-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.45);
      z-index: 3;
    }

    /* content wrapper */
    .content-wrapper {
      position: relative;
      z-index: 4;
      height: 100%;
      width: 100%;
      padding: 24px 16px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      /* ✅ */
      text-align: center;
      color: #fff;
    }

    /* header */
    .header-title {
      margin-top: 40px;
      position: relative;
    }

    .handwriting {
      font-family: 'Great Vibes', cursive;
      font-size: clamp(3rem, 10vw, 5rem);
      display: block;
    }

    .wedding-text {
      font-size: 0.9rem;
      letter-spacing: 3px;
      position: absolute;
      right: 0;
      bottom: -10px;
    }

    /* description box */
    .desc-box {
      background: rgba(0, 0, 0, 0.45);
      padding: 20px;
      border-radius: 16px;
      max-width: 90vw;
      font-size: clamp(0.9rem, 3.8vw, 1.05rem);
      line-height: 1.7;
    }

    /* footer quote */
    .footer-quote {
      margin-bottom: 32px;
      max-width: 90vw;
    }

    .footer-quote p {
      font-style: italic;
      font-size: clamp(0.85rem, 3.5vw, 1rem);
      line-height: 1.6;
      margin-bottom: 6px;
    }

    .footer-quote span {
      font-size: 0.8rem;
      letter-spacing: 1px;
    }

    /* Logo atas - versi lebih kecil & elegan */
    .logo-wrapper {
      margin-top: 16px;
    }

    .logo-wrapper img {
      width: clamp(150px, 28vw, 200px);
      /* ⬅️ ini kuncinya */
      height: auto;
      display: block;
      margin: 0 auto;
      opacity: 0.95;
    }


    /* =========================
   RESET KHUSUS PAGE2
========================= */

    #page2 {
      position: relative;
      width: 100%;
      overflow: hidden;
      /* PENGUNCI */
    }

    /* section full screen */
    #quote-section {
      position: relative;
      width: 100%;
      height: 100vh;
      overflow: hidden;
    }

    /* background layer */
    #quote-section .bg {
      position: absolute;
      inset: 0;
      /* ⬅️ kunci kiri-kanan */
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      transition: opacity 1.2s ease;
      will-change: opacity;
    }

    /* visibility */
    #quote-section .bg-current {
      opacity: 1;
      z-index: 1;
    }

    #quote-section .bg-next {
      opacity: 0;
      z-index: 2;
    }


    /* page2 - WELCOME */
    /* page2 - WELCOME */

    #welcome-section {
      position: relative;
      width: 100%;
      min-height: 100vh;
      overflow: hidden;
      isolation: isolate;
    }

    /* overlay */
    .welcome-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.45);
      z-index: 1;
    }

    /* CONTENT */
    .welcome-inner {
      position: relative;
      z-index: 2;

      min-height: 100vh;
      padding: 32px 16px;

      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      /* ⬅️ PINDAH KE ATAS */

      text-align: center;
      color: #fff;
    }

    /* LOGO — KECIL & DI PALING ATAS */
    .welcome-logo {
      width: 120px;
      /* ⬅️ KECIL */
      max-width: 60%;
      height: auto;
      margin-top: 1px;
      /* ⬅️ JARAK DARI ATAS */
      margin-bottom: 20px;
      /* ⬅️ JARAK KE AYAT */
    }

    /* AYAT */
    .welcome-quote {
      max-width: 95%;
      font-size: 0.9rem;
      line-height: 1.6;
      font-style: italic;
    }

    .welcome-quote {
      font-family: 'Libre Baskerville', serif;
      font-size: 1.1rem;
      line-height: 1.5;
    }


    .welcome-quote span {
      display: block;
      margin-top: 1px;
      font-size: 0.8rem;
    }

    #welcome-section .welcome-logo {
      width: 150px !important;
      max-width: none !important;
      height: auto;
      margin-top: 16px;
      margin-bottom: 4px;
    }

    .welcome-bg {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      z-index: 0;
      transition: opacity 1.2s ease-in-out;
    }

    .bg-current {
      opacity: 1;
    }

    .bg-next {
      opacity: 0;
    }

   /* box TRIS-NO */
.welcome-footer {
  position: absolute;
  bottom: 112px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 92%;
  max-width: 460px;
}

/* box putih transparan */
.welcome-box {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 12px 16px 1px;
  text-align: center;
}

/* teks utama */
.inline-definition {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;          /* ukuran dasar */
  line-height: 1.32;         /* rapih & enak dibaca */
  margin: 0;
  padding-bottom: 0;
  
}

/* TRIS·NO — diperkecil lagi */
.inline-definition strong:first-child {
  font-size: 0.8rem;     /* ⬅️ sedikit LEBIH KECIL dari teks utama */
  letter-spacing: 1.2px;  /* ⬅️ lebih halus */
  font-weight: 600;       /* ⬅️ tegas tanpa gede */
}


/* cara baca */
.inline-definition .phonetic {
  font-size: 0.85rem;       /* ⬅️ lebih dekat ke teks utama */
  letter-spacing: 1px;
  opacity: 0.75;
  margin-right: 6px;
}

/* italic */
.inline-definition em {
  font-style: italic;
}

.welcome-box {
  position: relative; /* penting supaya logo bisa absolute di dalam box */
}

.box-heart {
  width: 45px !important;
  height: auto !important;
  right: -6px !important;
  bottom: -18px !important;
  display: block !important;
  position: absolute !important;
}

.box-heart {
  animation: pulseHeart 2s ease-in-out infinite;
}

@keyframes pulseHeart {
  0%, 100% { transform: scale(1); }
  80% { transform: scale(1.1); }
}






