/* ================= CUSTOM FONT ================= */
@font-face {
  font-family: 'Prewedding';
  src: url('fonts/Prewedding.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Vintage';
  src: url('fonts/Vintage.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'BebasNeue';
  src: url('fonts/BebasNeue.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'AstralSisters';
  src: url('fonts/AstralSisters.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Daughter';
  src: url('fonts/Daughter.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Handwritten';
  src: url('fonts/Handwritten.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'riesling';
  src: url('fonts/riesling.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'nunito';
  src: url('fonts/nunito.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Seethara';
  src: url('fonts/Seethara.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'greatvibes';
  src: url('fonts/greatvibes.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'mawns';
  src: url('fonts/mawns.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'italianno';
  src: url('fonts/italianno.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* ================= SNOW EFFECT ================= */
.snow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.snow span {
  position: absolute;
  top: -10px;
  color: white;
  font-size: 10px;
  opacity: 0.8;
  animation: fall linear infinite;
}

@keyframes fall {
  to {
    transform: translateY(100vh);
  }
}

/* ================= COVER ================= */
#cover {
  position: fixed;
  inset: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  z-index: 9999;
}

/* background */
#cover .bg {
  position: absolute;
  inset: 0;
  background: url('img/bg.jpg') center/cover no-repeat;
  z-index: 1;
}

/* overlay */
#cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

/* ================= CONTENT ================= */
#cover .content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 500px;
  padding: 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ================= TEXT DESKTOP ================= */
.subtitlecover {
  position: relative;
  font-family: 'Prewedding', cursive;
  font-size: 28px !important;
  letter-spacing: 1px;
  margin-bottom: 10px;
  margin-top: 45px !important;
  /* naik dikit saja */
}


.titlecover {
  font-family: 'Handwritten', cursive !important;
  font-size: 45px;
  margin-bottom: 10px;
  margin-top: 30px !important;
  line-height: 1.3;
  padding: 15px 20px;
  background: linear-gradient(120deg,
      #fceabb,
      #f8b500,
      #ffd700,
      #fff2a8,
      #f8b500);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow:
    0 0 10px rgba(255, 215, 0, 0.6),
    0 0 20px rgba(255, 215, 0, 0.4);

  animation: goldShine 3s infinite linear;
}

@keyframes goldShine {
  0% {
    background-position: 0%
  }

  100% {
    background-position: 200%
  }

}

.datecover {
  font-family: 'BebasNeue', cursive !important;
  position: relative;
  font-size: 20px !important;
  margin-bottom: 20px;
  margin-top: -10px !important;
}

/* ================= INVITE ================= */
.invite {
  font-size: 12px;
  text-align: center;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
  margin-top: 50px;
}

.invite p {
  font-size: 12px;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.6;
}

#namaTamu {
  position: relative;
  font-size: 18px;
  font-weight: bold;
  background: linear-gradient(120deg,
      #fceabb,
      #f8b500,
      #ffd700,
      #fff2a8,
      #f8b500);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow:
    0 0 10px rgba(255, 215, 0, 0.6),
    0 0 20px rgba(255, 215, 0, 0.4);

  animation: goldShine 3s infinite linear;
  margin: 15px 0;
  margin-top: 45px;
  margin-bottom: 45px;
}

.invite button {
  position: relative;
  padding: 12px 25px;
  font-size: 16px;
  background: linear-gradient(120deg, #fceabb, #f8b500);
  color: #000;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

/* HOVER BUTTON */
.invite button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ================= ANIMATION ================= */
.fade-seq>* {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp 1s ease forwards;
}

.fade-seq>*:nth-child(1) {
  animation-delay: 0.3s;
}

.fade-seq>*:nth-child(2) {
  animation-delay: 0.6s;
}

.fade-seq>*:nth-child(3) {
  animation-delay: 0.9s;
}

.fade-seq>*:nth-child(4) {
  animation-delay: 1.2s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= OPEN ANIMATION ================= */
#cover.hide {
  animation: openCover 1.2s ease forwards;
}

@keyframes openCover {
  to {
    opacity: 0;
    transform: scale(1.2);
    visibility: hidden;
  }
}

#cover.hide .bg {
  transform: scale(1.3);
}

/* ================= MAIN ================= */
#mainContent {
  display: none;
}

/* ================= MOBILE ================= */
@media (max-width: 480px) {

  .subtitle {
    font-size: 12px !important;
  }

  .title {
    font-size: 40px !important;
  }

  .date {
    font-size: 14px;
  }

  .invite button {
    padding: 10px 20px;
    font-size: 14px;
  }
}


/* 1 */
/* ================= PAGE ================= */
.page1 {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* ================= BACKGROUND ================= */
.bg-page1 {
  position: absolute;
  inset: 0;
  background: url('img/bg1.jpg') center/cover no-repeat;
  transform: scale(1.1);
  z-index: 0;
  animation: zoomBg 20s ease-in-out infinite alternate;
}

@keyframes zoomBg {
  from {
    transform: scale(1.1);
  }

  to {
    transform: scale(1.2);
  }
}

/* ================= OVERLAY ================= */
.page1 .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

/* ================= CONTENT ================= */
.content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.center {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ================= TEXT ================= */
.subtitle,
.title,
.and,
.date {
  opacity: 0;
  transform: translateY(30px);
}

.subtitle {
  position: relative;
  font-family: 'Prewedding', cursive !important;
  font-size: 35px;
  letter-spacing: 3px;
  margin-bottom: 25px;
  margin-top: align-items: center !important;
}

.title {
  font-family: 'AstralSisters', cursive !important;
  font-size: 55px;
  font-weight: normal;
  margin: 15px 10px;
  background: linear-gradient(120deg,
      #fceabb,
      #f8b500,
      #ffd700,
      #fff2a8,
      #f8b500);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 2px rgba(255, 215, 0, 0.6),
    0 0 4px rgba(255, 215, 0, 0.4);

  animation: goldShine 3s infinite linear;
}

@keyframes goldShine {
  0% {
    background-position: 0%
  }

  100% {
    background-position: 200%
  }
}

.and {
  font-family: 'AstralSisters', cursive !important;
  font-size: 55px;
  font-weight: 700;
  margin: 5px 0;
  background: linear-gradient(120deg,
      #fceabb,
      #f8b500,
      #ffd700,
      #fff2a8,
      #f8b500);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 2px rgba(255, 215, 0, 0.6),
    0 0 4px rgba(255, 215, 0, 0.4);

  animation: goldShine 3s infinite linear;
}

@keyframes goldShine {
  0% {
    background-position: 0%
  }

  100% {
    background-position: 200%
  }
}

.date {
  margin-top: 45px;
  font-family: 'BebasNeue', cursive !important;
  font-size: 20px;
  letter-spacing: 2px;
}

/* ================= ANIMATION ================= */
.show .subtitle {
  opacity: 1;
  transform: translateY(0);
  transition: 1s;
}

.show .title:nth-of-type(1) {
  opacity: 1;
  transform: translateY(0);
  transition: 1s 0.3s;
}

.show .and {
  opacity: 1;
  transform: translateY(0);
  transition: 1s 0.6s;
}

.show .title:nth-of-type(2) {
  opacity: 1;
  transform: translateY(0);
  transition: 1s 0.9s;
}

.show .date {
  opacity: 1;
  transform: translateY(0);
  transition: 1s 1.2s;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .title {
    font-size: 50px !important;
  }

  .and {
    font-size: 45px !important;
  }

  .subtitle {
    font-size: 20px !important;
  }

  .date {
    font-size: 25px !important;
  }
}

/* 1 */

/* 2 */
/* ================= PAGE ================= */
.page2 {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  padding: 10px 20px;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;
}

/* ================= BACKGROUND ================= */
.page2 .bg {
  position: absolute;
  inset: 0;

  background: url('img/bg2.jpg') center/cover no-repeat;

  z-index: 0;

  transform: scale(1.1);
  animation: zoomBg 20s ease-in-out infinite alternate;
}

@keyframes zoomBg {
  from {
    transform: scale(1.1);
  }

  to {
    transform: scale(1.2);
  }
}

/* ================= OVERLAY ================= */
.page2 .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
}


/* ================= CONTENT ================= */
.content2 {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 20px;
  max-width: 800px;
}

.center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ================= TEXT ================= */
.bismillah-img {
  position: relative;
  width: 300px !important;
  max-width: 80%;
  margin-bottom: 10px;
  top: -50px;
  filter: brightness(0) saturate(100%) invert(80%) sepia(50%) saturate(700%) hue-rotate(5deg) brightness(110%) contrast(110%) drop-shadow(0 0 4px rgba(255, 215, 0, 0.6)) drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
  opacity: 0;
  transform: translateY(30px);
}

.show .bismillah-img {
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.arab {
  font-family: 'Amiri', serif;
  font-size: 26px;
  margin-top: -75px;
  line-height: 2;
  margin-bottom: 20px;
  direction: rtl;
  opacity: 0;
  transform: translateY(30px);
}

.latin {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(30px);
}

.arti {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
}

.surat {
  font-size: 10px;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(30px);
}

/* ================= ANIMATION ================= */
.page2.show .arab {
  opacity: 1;
  transform: translateY(0);
  transition: 1s 0.3s;
}

.page2.show .latin {
  opacity: 1;
  transform: translateY(0);
  transition: 1s 0.6s;
}

.page2.show .arti {
  opacity: 1;
  transform: translateY(0);
  transition: 1s 0.9s;
}

.page2.show .surat {
  opacity: 1;
  transform: translateY(0);
  transition: 1s 1.2s;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .bismillah-img {
    position: relative;
    width: 220px !important;
    top: -80px !important;
  }

  .arab {
    font-size: 20px;
  }

  .latin,
  .arti {
    font-size: 12px;
  }
}

/* 2 */

/* PAGE 3 */

.page3 {
  position: relative;
  z-index: 1;
  min-height: auto;
  padding: 20px 20px;
}

/* BACKGROUND */
.page3 .bg {
  position: absolute;
  inset: 0;
  background: url('img/bg2.jpg') center/cover no-repeat;
  z-index: 0;
}

/* OVERLAY */
.page3 .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

/* ===== ANIMASI AWAL ===== */
.opening-img,
.desc,
.mempelai,
.dengan {
  opacity: 0;
  transform: translateY(40px);
}

/* ===== SAAT MUNCUL ===== */
.show .opening-img {
  opacity: 1;
  transform: translateY(0);
  transition: 1s;
}

.show .desc {
  opacity: 1;
  transform: translateY(0);
  transition: 1s 0.3s;
}

.show .wanita {
  opacity: 1;
  transform: translateY(0);
  transition: 1s 0.6s;
}

.show .dengan {
  opacity: 1;
  transform: translateY(0);
  transition: 1s 0.9s;
}

.show .pria {
  opacity: 1;
  transform: translateY(0);
  transition: 1s 1.2s;
}

/* WANITA dari kiri */
.wanita {
  transform: translateX(-50px);
}

.show .wanita {
  transform: translateX(0);
}

/* PRIA dari kanan */
.pria {
  transform: translateX(50px);
}

.show .pria {
  transform: translateX(0);
}

/* CONTENT */
.page3 .content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  /* 🔥 INI KUNCINYA */

  text-align: center;
  color: #fff;
}

/* OPENING */
.opening-img {
  width: 300px;
  max-width: 85%;
  margin-bottom: 30px;
  filter: brightness(0) invert(1);
}

.desc {
  font-size: 14px;
  margin-bottom: 40px;
}

/* MEMPELAI */
.mempelai {
  margin-bottom: 50px;
  position: relative;
}

/* CARD FOTO */
.card-foto {
  width: 240px;
  height: 320px;
  position: relative;
  background: transparent;
  border-radius: inherit;
  /* 🔥 ini kunci */
  overflow: hidden;
  /* 🔥 supaya bentuk kepotong sesuai radius */
}

.wanita .card-foto {
  border-radius: 15px 100px 0px 100px;
}

.pria .card-foto {
  border-radius: 100px 15px 100px 0px;
}

/* DEFAULT = DESKTOP (CENTER) */
.mempelai {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 🔥 center */
}


/* SLIDER 1 */
.foto-slider1 {
  width: 100%;
  height: 100%;
  position: relative;
}

.foto-slider1 img {
  position: absolute;
  inset: 0;
  /* 🔥 lebih aman dari width/height */

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  opacity: 0;
  transition: opacity 1s ease;
}

.foto-slider1 img.active1 {
  opacity: 1;
}

/* SLIDER 2 */
.foto-slider2 {
  width: 100%;
  height: 100%;
  position: relative;
}

.foto-slider2 img {
  position: absolute;
  inset: 0;
  /* 🔥 lebih aman dari width/height */

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  opacity: 0;
  transition: opacity 1s ease;
}

.foto-slider2 img.active2 {
  opacity: 1;
}

/* ========================= */
/* 🔥 NAMA DI LUAR FOTO */
/* ========================= */
.nama-dalam {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  font-family: 'Seethara', cursive;
  font-size: 45px;
  color: white;

  writing-mode: vertical-rl;
  text-orientation: mixed;

  z-index: 10;
}

/* WANITA (kiri luar) */
.wanita .nama-dalam {
  left: 530px;
  margin-top: -30px;
  background: linear-gradient(120deg,
      #fceabb,
      #f8b500,
      #ffd700,
      #fff2a8,
      #f8b500);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 2px rgba(255, 215, 0, 0.6),
    0 0 4px rgba(255, 215, 0, 0.4);

  animation: goldShine 3s infinite linear;
}

/* PRIA */
.pria .nama-dalam {
  right: 530px;
  transform: rotate(180deg);
  margin-top: -45px;
  background: linear-gradient(120deg,
      #fceabb,
      #f8b500,
      #ffd700,
      #fff2a8,
      #f8b500);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 2px rgba(255, 215, 0, 0.6),
    0 0 4px rgba(255, 215, 0, 0.4);

  animation: goldShine 3s infinite linear;
}

/* NAMA LUAR */
.nama-lengkap {
  font-family: 'italianno', cursive;
  font-size: 22px;
  font-weight: lighter;
  text-decoration: underline;
  letter-spacing: 2px;
  margin-bottom: 7px;
}

/* TEXT */
.ortu1 {
  font-family: 'nunito';
  font-size: 13px;
  line-height: 1;
  text-align: left;
}

.ortu2 {
  font-family: 'nunito';
  font-size: 13px;
  line-height: 1;
  text-align: right;
}

.dengan {
  position: relative;
  font-family: 'Seethara', cursive;
  margin: 5px 0;
  letter-spacing: 3px;
  font-size: 55px;
  color: #ffd700;
}

@media (max-width: 768px) {

  .wanita {
    align-items: flex-start;
    /* kiri */
  }

  .pria {
    align-items: flex-end;
    /* kanan */
  }

  .card-foto {
    margin: 0;
  }

  .wanita .nama-dalam {
    left: 190px !important;
    margin-top: -30px;
  }

  .pria .nama-dalam {
    right: 190px !important;
    transform: rotate(180deg);
    margin-top: -45px;
  }
}

/* PAGE 3 */

/* PAGE 4 */

.page4 {
  position: relative;
  z-index: 1;
  min-height: auto;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 20px 10px;

  overflow: hidden;
}

/* ================= BG ================= */

.page4 .bg {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .55)),
    url('img/bg2.jpg') center/cover no-repeat;

  transform: scale(1.08);

  animation: bgZoom 18s ease-in-out infinite alternate;
}

@keyframes bgZoom {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1.18);
  }
}

/* ================= BLUR OVERLAY ================= */

.page4 .overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;

  backdrop-filter: blur(3px);

  background:
    radial-gradient(circle at top,
      rgba(255, 215, 0, .08),
      transparent 45%);
}

/* ================= CONTENT ================= */

.page4 .content {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 420px;

  text-align: center;
  color: white;
}

/* ================= TITLE ================= */

.page4 .title {
  font-family: 'greatvibes', cursive !important;

  font-size: 40px !important;

  margin-bottom: 14px;

  background: linear-gradient(120deg,
      #fff6cc,
      #ffd700,
      #f8b500,
      #fff1a6,
      #ffd700);

  background-size: 100% auto;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: goldFlow 5s linear infinite;

  text-shadow:
    0 0 10px rgba(255, 215, 0, .4),
    0 0 20px rgba(255, 215, 0, .2);
}

@keyframes goldFlow {
  to {
    background-position: 200% center;
  }
}

/* ================= DATE ================= */

.page4 .date {
  font-size: 13px;
  letter-spacing: 4px;

  color: rgba(255, 255, 255, .8);

  margin-bottom: 35px;
}

/* ================= COUNTDOWN ================= */

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 12px;

  margin-bottom: 35px;
}

/* BOX */

.time {
  position: relative;

  padding: 18px 5px;

  border-radius: 26px;

  background: rgba(255, 255, 255, .08);

  border: 1px solid rgba(255, 255, 255, .08);

  backdrop-filter: blur(18px);

  overflow: hidden;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, .35),
    inset 0 1px 0 rgba(255, 255, 255, .1);
}

/* SHINE */

.time::before {
  content: "";

  position: absolute;

  top: -100%;
  left: -50%;

  width: 70%;
  height: 250%;

  background:
    linear-gradient(to right,
      transparent,
      rgba(255, 255, 255, .15),
      transparent);

  transform: rotate(25deg);

  animation: shine 5s infinite;
}

@keyframes shine {
  0% {
    left: -80%;
  }

  100% {
    left: 160%;
  }
}

/* ANGKA */

.time span {
  position: relative;

  display: block;

  font-size: 24px;
  font-weight: 700;

  color: #ffd700;

  margin-bottom: 6px;

  text-shadow:
    0 0 12px rgba(255, 215, 0, .6);
}

/* TEXT */

.time small {
  position: relative;

  font-size: 10px;
  letter-spacing: 1px;

  opacity: .75;
}

/* ================= DIVIDER ================= */

.divider {
  width: 80px;
  height: 1px;

  margin: 30px auto;

  background:
    linear-gradient(to right,
      transparent,
      rgba(255, 255, 255, .6),
      transparent);
}

/* ================= EVENT ================= */

.event {
  position: relative;

  margin-bottom: 18px;

  padding: 24px 20px;

  border-radius: 30px;

  background: rgba(255, 255, 255, .07);

  border: 1px solid rgba(255, 255, 255, .08);

  backdrop-filter: blur(18px);

  overflow: hidden;

  box-shadow:
    0 12px 35px rgba(0, 0, 0, .4),
    inset 0 1px 0 rgba(255, 255, 255, .08);

  transition: .4s ease;
}

/* LIGHT EFFECT */

.event::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, .04),
      transparent);

  transform: translateX(-100%);
}

.event:hover::before {
  transform: translateX(100%);
  transition: 1s;
}

/* HOVER */

.event:hover {
  transform:
    translateY(-5px) scale(1.01);
}

/* TITLE */

.event h3 {
  font-family: 'greatvibes';
  font-weight: lighter;
  font-size: 35px;

  margin-bottom: 12px;

  color: #ffd700;
}

/* TEXT */

.event p {
  font-size: 16px;
  font-family: 'nunito';
  font-weight: lighter;
  line-height: 1;

  color: rgba(255, 255, 255, .88);
}

/* ================= BUTTON ================= */

.btn-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  margin-top: 10px;

  padding: 15px 30px;

  border-radius: 100px;

  text-decoration: none;

  background:
    linear-gradient(135deg,
      #fff1a6,
      #ffd700,
      #f8b500);

  color: #000;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 1px;

  box-shadow:
    0 12px 30px rgba(255, 215, 0, .35);

  transition: .4s ease;
}

/* HOVER */

.btn-map:hover {
  transform:
    translateY(-4px) scale(1.03);

  box-shadow:
    0 18px 40px rgba(255, 215, 0, .45);
}

/* ================= ANIMATION ================= */

.page4 .title,
.page4 .date,
.page4 .countdown,
.page4 .divider,
.page4 .event,
.page4 .btn-map {
  opacity: 0;
  transform: translateY(50px);
}

.page4.show .title,
.page4.show .date,
.page4.show .countdown,
.page4.show .divider,
.page4.show .event,
.page4.show .btn-map {
  opacity: 1;
  transform: translateY(0);
}

.page4.show .title {
  transition: 1s;
}

.page4.show .date {
  transition: 1s .2s;
}

.page4.show .countdown {
  transition: 1s .4s;
}

.page4.show .divider {
  transition: 1s .6s;
}

.page4.show .event:nth-child(5) {
  transition: 1s .8s;
}

.page4.show .event:nth-child(6) {
  transition: 1s 1s;
}

.page4.show .btn-map {
  transition: 1s 1.2s;
}

/* PAGE 4 */

/* PAGE 5 */


/* ================= PAGE 5 ================= */

.page5 {
  position: relative;
  z-index: 1;
  padding: 70px 20px;
  overflow: hidden;
}

.page5 .bg {
  position: absolute;
  inset: 0;
  background: url('img/bg3.jpg') center/cover no-repeat;
  transform: scale(1.1);
}

.page5 .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(3px);
  pointer-events: none;
}

.page5 .content {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 420px;
  margin: auto;
}

/* TITLE */
.page5 .title {
  font-family: 'Great Vibes', cursive;
  font-size: 52px;
  text-align: center;
  margin-bottom: 40px;

  background: linear-gradient(120deg,
      #fceabb,
      #f8b500,
      #ffd700,
      #fff2a8,
      #f8b500);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* TIMELINE */
.page5 .timeline {
  position: relative;
  padding-left: 20px;
}

/* GARIS */
.page5 .timeline::before {
  content: "";
  position: absolute;

  left: 7px;
  top: 0;
  bottom: 0;

  width: 1.5px;

  background: rgba(255, 255, 255, .25);
}

/* ITEM */
.page5 .item {
  position: relative;
  margin-bottom: 28px;

  opacity: 0;
  transform: translateY(40px);
}

/* DOT */
.page5 .dot {
  position: absolute;

  left: -18px;
  top: 22px;

  width: 14px;
  height: 14px;

  border-radius: 50%;

  background: #ffd700;

  box-shadow:
    0 0 10px rgba(255, 215, 0, .8),
    0 0 20px rgba(255, 215, 0, .4);
}

/* CARD */
.page5 .card {
  padding: 12px;

  border-radius: 24px;

  background: rgba(255, 255, 255, .08);

  backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, .08);

  box-shadow:
    0 10px 30px rgba(0, 0, 0, .35);

  overflow: hidden;

  transition: .35s ease;
}

/* HOVER */
.page5 .card:hover {
  transform: translateY(-4px);
}

/* IMAGE */
.page5 .card img {
  width: 100%;
  height: 180px;

  object-fit: cover;

  border-radius: 18px;

  margin-bottom: 14px;
}

/* YEAR */
.page5 .card span {
  display: inline-block;

  font-size: 11px;
  letter-spacing: 2px;

  color: #ffd700;

  margin-bottom: 6px;
}

/* TITLE */
.page5 .card h4 {
  font-size: 18px;
  margin-bottom: 10px;

  font-family: 'Playfair Display', serif;
}

/* TEXT */
.page5 .card p {
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .85);
}

/* ANIMATION */
.page5.show .item {
  opacity: 1;
  transform: translateY(0);
  transition: .8s ease;
}

.page5.show .item:nth-child(1) {
  transition-delay: .2s;
}

.page5.show .item:nth-child(2) {
  transition-delay: .4s;
}

.page5.show .item:nth-child(3) {
  transition-delay: .6s;
}

.page5.show .item:nth-child(4) {
  transition-delay: .8s;
}

/* PAGE 5 */

/* page 6 */
/* ================= PAGE ================= */
.page6 {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 40px 0;
  display: flex;
  justify-content: center;
}

/* ================= BG ================= */
.page6 .bg {
  position: absolute;
  inset: 0;
  background: url('img/bg2.jpg') center/cover no-repeat;
  z-index: 0;
}

.page6 .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  pointer-events: none;
}

/* ================= CONTENT ================= */
.page6 .content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 420px;
  color: #fff;
}

/* ================= TITLE ================= */
.page6 .title {
  opacity: 1 !important;
  transform: translateY(0) !important;

  font-family: 'greatvibes';
  font-size: 55px;
  color: #ffd700;

  text-align: center;
  margin-bottom: 20px;
}

/* ================= SLIDER ================= */
.page6 .main-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.page6 .slider {
  display: flex;
  transition: transform 0.4s ease;
}

.page6 .slider img {
  width: 100%;
  flex: 0 0 100%;
  object-fit: cover;
  user-select: none;
}

/* ================= NAV ================= */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* ================= DOT ================= */
.page6 .dots {
  text-align: center;
  margin: 10px 0;
}

.page6 .dots span {
  width: 6px;
  height: 6px;
  background: #aaa;
  display: inline-block;
  border-radius: 50%;
  margin: 3px;
}

.page6.dots .active {
  background: #fff;
}

/* ================= THUMBS ================= */
.page6 .thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.page6 .thumbs img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
}

/* ================= PAGE6 ANIMATION ================= */

.page6 .title,
.page6 .main-image,
.page6 .dots,
.page6 .thumbs {
  opacity: 0;
  transform: translateY(50px);
}

/* saat muncul */
.page6.show .title {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: 1s;
}

.page6.show .main-image {
  opacity: 1;
  transform: translateY(0);
  transition: 1s .3s;
}

.page6.show .dots {
  opacity: 1;
  transform: translateY(0);
  transition: 1s .5s;
}

.page6.show .thumbs {
  opacity: 1;
  transform: translateY(0);
  transition: 1s .7s;
}

/* ================= LIGHTBOX ================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .95);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 99999;

  opacity: 0;
  pointer-events: none;

  transition: .4s;
}

.lightbox.show {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

.lightbox span {
  position: absolute;
  top: 20px;
  right: 30px;

  font-size: 40px;
  color: white;
  cursor: pointer;
}

/* page 6 */

/* PAGE 7 */

.page7{
  position:relative;
  z-index: 1;
  min-height:auto;

  padding:60px 20px;

  display:flex;
  justify-content:center;
  align-items:center;

  overflow:hidden;
}

/* ================= BG ================= */

.page7 .bg{
  position:absolute;
  inset:0;

  background:
  linear-gradient(rgba(0,0,0,.35),rgba(0,0,0,.55)),
  url('img/bg2.jpg') center/cover no-repeat;

  transform:scale(1.08);

  animation:bgZoom7 20s ease-in-out infinite alternate;
}

@keyframes bgZoom7{
  from{
    transform:scale(1.08);
  }

  to{
    transform:scale(1.16);
  }
}

/* ================= OVERLAY ================= */

.page7 .overlay{
  position:absolute;
  inset:0;

  background:
  radial-gradient(circle at top,
  rgba(255,215,0,.08),
  transparent 45%);

  backdrop-filter:blur(3px);
  pointer-events: none;
}

/* ================= CONTENT ================= */

.page7 .content{
  position:relative;
  z-index:2;

  width:100%;
  max-width:430px;

  color:#fff;
}

/* ================= TITLE ================= */

.page7 .title{
  text-align:center;

  font-family:'Great Vibes', cursive;

  font-size:58px;

  margin-bottom:10px;

  background:
  linear-gradient(
  120deg,
  #fff6cc,
  #ffd700,
  #f8b500,
  #fff1a6,
  #ffd700);

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;

  text-shadow:
  0 0 10px rgba(255,215,0,.4),
  0 0 20px rgba(255,215,0,.2);
}

/* ================= SUBTITLE ================= */

.page7 .subtitle{
  text-align:center;

  font-family:'Poppins', sans-serif !important;

  font-size: 12px !important;

  color:rgba(255,255,255,.8);

  margin-bottom:30px;

  letter-spacing:1px;
}

/* ================= FORM ================= */

.page7 .form-box{
  position:relative;

  padding:22px;

  border-radius:30px;

  background:rgba(255,255,255,.08);

  border:1px solid rgba(255,255,255,.08);

  backdrop-filter:blur(18px);

  box-shadow:
  0 15px 40px rgba(0,0,0,.35),
  inset 0 1px 0 rgba(255,255,255,.08);

  display:flex;
  flex-direction:column;

  gap:14px;

  overflow:hidden;
}

/* SHINE */

.page7 .form-box::before{
  content:"";

  position:absolute;

  top:-120%;
  left:-40%;

  width:60%;
  height:250%;

  background:
  linear-gradient(
  to right,
  transparent,
  rgba(255,255,255,.08),
  transparent);

  transform:rotate(25deg);

  animation:shineForm 7s infinite linear;
}

@keyframes shineForm{
  from{
    left:-60%;
  }

  to{
    left:150%;
  }
}

/* ================= INPUT ================= */

.form-box input,
.form-box select,
.form-box textarea{
  position:relative;

  background:rgba(255,255,255,.92);

  border:none;

  border-radius:18px;

  padding:14px 16px;

  font-size:13px;

  outline:none;

  transition:.3s ease;

  font-family:'Poppins', sans-serif;
}

/* FOCUS */

.form-box input:focus,
.form-box select:focus,
.form-box textarea:focus{
  transform:scale(1.02);

  box-shadow:
  0 0 0 3px rgba(255,215,0,.25);
}

/* TEXTAREA */

.form-box textarea{
  resize:none;
  min-height:120px;
}

/* ================= BUTTON ================= */

.form-box button{
  padding:14px;

  border:none;

  border-radius:100px;

  cursor:pointer;

  font-size:13px;
  font-weight:600;

  letter-spacing:1px;

  background:
  linear-gradient(
  135deg,
  #fff1a6,
  #ffd700,
  #f8b500);

  color:#000;

  transition:.35s ease;

  box-shadow:
  0 10px 25px rgba(255,215,0,.35);
}

/* HOVER */

.form-box button:hover{
  transform:
  translateY(-3px)
  scale(1.02);

  box-shadow:
  0 16px 35px rgba(255,215,0,.45);
}

/* ================= UCAPAN LIST ================= */

.page7 .list{
  margin-top:25px;

  display:flex;
  flex-direction:column;

  gap:14px;
}

/* CARD CHAT */

.page7 .item{
  position:relative;

  padding:16px;

  border-radius:24px;

  background:rgba(255,255,255,.08);

  border:1px solid rgba(255,255,255,.06);

  backdrop-filter:blur(14px);

  box-shadow:
  0 10px 30px rgba(0,0,0,.3);

  overflow:hidden;

  animation:fadeChat .6s ease;
}

/* SHINE */

.page7 .item::before{
  content:"";

  position:absolute;
  inset:0;

  background:
  linear-gradient(
  120deg,
  transparent,
  rgba(255,255,255,.04),
  transparent);

  transform:translateX(-100%);
}

.page7 .item:hover::before{
  transform:translateX(100%);
  transition:1s;
}

/* NAME */

.page7 .item strong{
  display:block;

  font-size:14px;

  color:#ffd700;

  margin-bottom:4px;
}

/* STATUS */

.page7 .item span{
  font-size:11px;

  opacity:.7;
}

/* MESSAGE */

.page7 .item p{
  margin-top:10px;

  font-size:13px;
  line-height:1.7;

  color:rgba(255,255,255,.9);
}

/* ANIMATION */

@keyframes fadeChat{
  from{
    opacity:0;
    transform:translateY(20px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }
}


/* ================= PAGE7 SCROLL ANIMATION ================= */

.page7 .title,
.page7 .subtitle,
.page7 .form-box,
.page7 .list .item{
  opacity:0;
  transform:translateY(60px);
}

/* TITLE */
.page7.show .title{
  opacity:1;
  transform:translateY(0);
  transition:1s;
}

/* SUBTITLE */
.page7.show .subtitle{
  opacity:1;
  transform:translateY(0);
  transition:1s .2s;
}

/* FORM */
.page7.show .form-box{
  opacity:1;
  transform:translateY(0);
  transition:1s .4s;
}

/* UCAPAN */
.page7.show .list .item{
  opacity:1;
  transform:translateY(0);
  transition:.8s;
}

/* DELAY TIAP ITEM */
.page7.show .list .item:nth-child(1){
  transition-delay:.6s;
}

.page7.show .list .item:nth-child(2){
  transition-delay:.8s;
}

.page7.show .list .item:nth-child(3){
  transition-delay:1s;
}

.page7.show .list .item:nth-child(4){
  transition-delay:1.2s;
}
/* PAGE 7 */

/* PAGE 8 */

.page8 {
  position: relative;
  z-index: 1;
  min-height: auto;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ================= BG ================= */
.page8 .bg {
  position: absolute;
  min-width: auto;
  padding: 5px 0px;
  inset: 0;
  background: url('img/bg2.jpg') center/cover no-repeat;
  z-index: 0;
}

.page8 .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  pointer-events: none;
}

/* ================= CONTENT ================= */
.page8 .content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 420px;
  color: #fff;
  text-align: center;
}

/* ================= TITLE ================= */
.page8 .title {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  margin-bottom: 10px;
}

/* ================= BUTTON ================= */
.btn-gift {
  padding: 12px 20px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(135deg, #ffffff, #eaeaea);
  color: #000;
  font-size: 13px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-gift:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ================= CARD WRAPPER ================= */
.gift-card {
  margin-top: 20px;
  display: none;
  flex-direction: column;
  gap: 15px;
}

.gift-card.show {
  display: flex;
  animation: fadeUp 0.5s ease;
}

/* ================= CARD BASE ================= */
.page8 .card-inner {
  width: 100%;
  height: 190px;
  padding: 18px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  color: #fff;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* ================= HEADER ================= */
.page8 .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bank {
  font-size: 11px;
  letter-spacing: 2px;
  opacity: 0.9;
}

.logo {
  width: 45px;
  opacity: 0.9;
}

/* ================= WARNA ================= */
.card-inner.bca {
  background: linear-gradient(135deg, #9cc7ff, #1e88ff);
}

.card-inner.bsi {
  background: linear-gradient(135deg, #70f1b1, #fcf95f);
}

/* ================= CHIP ================= */
.card-inner::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 26px;
  background: linear-gradient(135deg, #c9a227, #f5d76e);
  border-radius: 5px;
  top: 55px;
  left: 18px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.4);
}

/* ================= REFLECTION ================= */
.card-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 60%);
}

/* ================= INFO ROW ================= */
.info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 55px;
}

/* ================= NUMBER ================= */
.card-data {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  margin-top: 55px;
  /* posisi di bawah chip */
}

.page8 .number {
  font-size: 16px;
  letter-spacing: 3px;
  font-family: 'Courier New', monospace;

  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7),
    0 2px 4px rgba(0, 0, 0, 0.7);
}

/* ================= NAME ================= */
.page8 .name {
  font-size: 12px;
  margin-top: 6px;
  opacity: 0.95;
}

/* ================= COPY BUTTON ================= */
.copy {
    position: relative;
  z-index: 9999;
  pointer-events: auto;
  align-self: flex-start;
  margin-top: 5px;

  padding: 6px 12px;
  border-radius: 20px;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  font-size: 11px;
  cursor: pointer;
  transition: 0.3s;
}

.copy:hover {
  background: #ddd;
}

/* ================= SHINE ================= */
.card-inner .shine {
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  transform: skewX(-25deg);
}

.card-inner:hover .shine {
  animation: shineMove 1s;
}

@keyframes shineMove {
  100% {
    left: 130%;
  }
}

/* ================= ANIMATION ================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= PAGE 8 ANIMATION ================= */

/* AWAL */
.page8 .title,
.page8 .desc,
.page8 .btn-gift,
.page8 .gift-card {
  opacity: 0;
}

/* posisi awal */
.page8 .title,
.page8 .desc {
  transform: translateY(50px);
}

.page8 .btn-gift {
  transform: scale(.7);
}

.page8 .gift-card {
  transform: translateY(80px);
}

/* TITLE */
.page8.show .title {
  opacity: 1;
  transform: translateY(0);

  transition: 1s;
}

/* DESC */
.page8.show .desc {
  opacity: 1;
  transform: translateY(0);

  transition: 1s .3s;
}

/* BUTTON */
.page8.show .btn-gift {
  opacity: 1;
  transform: scale(1);

  transition: .8s .6s;
}

/* CARD */
.page8.show .gift-card.show {
  opacity: 1;
  transform: translateY(0);

  transition: .8s;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .logo {
    width: 38px;
  }

  .number {
    font-size: 15px;
  }
}

/* PAGE 8 */

/* PAGE 9 */
/* ================= PAGE 9 ================= */

.page9 {
  position: relative;
  z-index: 1;
  min-height: auto;
  padding: 0px;
  padding-bottom:100px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  text-align: center;
}

/* ================= BG SLIDER ================= */

.page9 .bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page9 .bg-slider img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0;

  transform: scale(1.1);

  transition:
    opacity 1.5s ease,
    transform 8s ease;
}

.page9 .bg-slider img.active {
  opacity: 1;
  transform: scale(1.2);
}

/* ================= OVERLAY ================= */

.page9 .overlay {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, .45);

  z-index: 1;
  pointer-events: none;
}

/* ================= CONTENT ================= */

.page9 .content {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 850px;

  margin: 0 auto;
  padding: 10px 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  color: #fff;
}

/* ================= TITLE ================= */

.page9 .title {
  font-family: 'greatvibes';
  font-size: 30px;
  color: #ffd700;

  margin-top: 5px;
  margin-bottom: 5px;
}

/* ================= TEXT ================= */

.page9 .desc {
  font-size: 14px;
  line-height: 2;

  margin-bottom: 10px;
}

.page9 .small {
  font-size: 14px;
}

/* ================= NAMA ================= */

.page9 .couple {
  margin-top: 20px;
  font-size: 30px;
  font-family: 'Seethara';
  font-weight: lighter;
  margin-top: -6px;
  margin-bottom: 5px;
  color: #ffd700;
}


/* AWAL */
.page9 .title,
.page9 .desc,
.page9 .couple{
  opacity:0;
  transform:translateY(40px);
}

/* TITLE */
.page9.show .title{
  opacity:1;
  transform:translateY(0);
  transition:1s;
}

/* DESC */
.page9.show .desc{
  opacity:1;
  transform:translateY(0);
  transition:1s .3s;
}

/* COUPLE */
.page9.show .couple{
  opacity:1;
  transform:translateY(0);
  transition:1s .6s;
}
/* ================= MOBILE ================= */

@media(max-width:768px) {

  .page9 {
    padding: 60px 20px;
  }

  .page9 .title {
    font-size: 55px;
  }

  .page9 .desc {
    font-size: 14px;
    line-height: 1.8;
  }

  .page9 .small {
    font-size: 13px;
  }

  .page9 .nama {
    font-size: 38px;
  }

}

/* PAGE 9 */



/* ================= BOTTOM NAV ================= */

/* ================= MODERN NAVIGATION ================= */

.bottom-nav{
  position:fixed;
  touch-action: manipulation;

  left:50%;
  bottom: env(safe-area-inset-bottom, 15px);

  transform:translateX(-50%);

  width:94%;
  max-width:420px;

  height:72px;

  padding:0 12px;

  display:flex;
  justify-content:space-between;
  align-items:center;

  border-radius:35px;

  z-index:99999 !important;

  background:
  rgba(255,255,255,.10);

  backdrop-filter:blur(22px);

  border:1px solid rgba(255,255,255,.12);

  box-shadow:
    0 10px 30px rgba(0,0,0,.35);

  opacity:0;
  visibility:hidden;
  pointer-events:auto !important;

  transition:.4s ease;
}

/* SHOW */

.bottom-nav.show{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

/* ITEM */

.nav-item{
  width:50px;
  height:50px;

  border-radius:18px;

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;

  gap:3px;

  color:rgba(255,255,255,.7);

  text-decoration:none;

  transition:.35s ease;
}

/* ICON */

.nav-item i{
  font-size:20px;

  transition:.35s ease;
}

/* TEXT */

.nav-item span{
  font-size:10px;

  transition:.35s ease;
}

/* ACTIVE */

.nav-item.active{
  background:
  linear-gradient(
    135deg,
    #ffd700,
    #f8b500
  );

  color:#000;

  transform:translateY(-3px);

  box-shadow:
    0 8px 20px rgba(255,215,0,.35);
}

/* ICON ACTIVE */

.nav-item.active i{
  transform:scale(1.12);
}

/* HOVER */

.nav-item:hover{
  transform:translateY(-2px);
}

/* MUSIC SPIN */

.music-nav.playing i{
  animation:spinMusic 3s linear infinite;

  color:#ffd700;
}

@keyframes spinMusic{
  from{
    transform:rotate(0deg);
  }

  to{
    transform:rotate(360deg);
  }
}

/* MOBILE */

@media(max-width:480px){

  .bottom-nav{
    height:68px;
  }

  .nav-item{
    width:46px;
    height:46px;
  }

}

