/* === FONT DAN DASAR === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  text-align: center;
  overflow-x: hidden;
  background: transparent;
}

/* === OVERLAY === */
.overlay {
  background: rgba(0, 0, 0, 0.55);
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

/* === MODEL VIDEO === */
.model-video {
  width: clamp(180px, 30vw, 250px);
  height: clamp(180px, 30vw, 250px);
  border-radius: 50%;
  border: 0.5px solid rgba(0, 255, 128, 0.4);
  box-shadow: 0 0 30px rgba(0, 255, 128, 0.5);
  object-fit: cover;
  margin-bottom: 0.3rem;
  animation: float 4s ease-in-out infinite, pulse 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 25px rgba(0,255,128,0.5); }
  50% { box-shadow: 0 0 45px rgba(0,255,128,0.9); }
}

/* === TITLE RAJACOLOK === */
#title {
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  font-weight: 700;
  background: linear-gradient(135deg, #b6cf00, #ffffff, #009148);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(0,255,128,0.5);
  animation: gradientShift 6s ease infinite, glowPulse 2.5s infinite alternate;
  margin-bottom: 0.2rem;
  border: none !important;
  text-decoration: none !important;

 /* === INTERAKSI LOGO RAJACOLOK === */
.logo-link {
  display: inline-block;
  cursor: pointer;
  text-decoration: none !important;
  outline: none;
  border: none !important;
  transition: all 0.3s ease;
}

/* Efek saat kursor diarahkan ke logo */
.logo-link:hover #title {
  transform: scale(1.05);
  filter: brightness(1.25);
  transition: all 0.3s ease;
}

/* Efek denyut halus saat diklik */
.logo-link:active #title {
  animation: clickPulse 0.4s ease;
}

/* Animasi denyut (pulse) */
@keyframes clickPulse {
  0%   { transform: scale(1); filter: brightness(1); }
  50%  { transform: scale(1.1); filter: brightness(1.4); }
  100% { transform: scale(1); filter: brightness(1); }
}

}

/* === NAMA & DESKRIPSI === */
#name {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: #eaffec;
  font-weight: 600;
  margin-top: 0.1rem;
  margin-bottom: 0.1rem;
  animation: pulseGlow 3s ease-in-out infinite;
}
#description {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #d9f8e6;
  margin-top: 0;
  line-height: 1.4;
  opacity: 0.95;
  animation: fadeInGlow 1.5s ease forwards;
}

/* === BUTTON AREA === */
.buttons {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: center;
}
.buttons a {
  display: inline-block;
  text-align: center;
  background: rgba(255, 215, 0, 0.18);
  border: 2px solid #ece3b0;
  color: #fff8d2;
  font-weight: bold;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  text-decoration: none;
  border-radius: 50px;
  padding: 14px 0;
  width: 260px;
  margin: 8px auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 255, 128, 0.3);
  transition: all 0.3s ease;
  animation: pulseButton 4s ease-in-out infinite;
}
.buttons a:hover {
  background: rgba(0, 255, 128, 0.25);
  box-shadow: 0 0 30px rgba(0, 255, 128, 0.8);
  transform: scale(1.05);
}

/* Efek denyut tombol */
@keyframes pulseButton {
  0%, 100% { box-shadow: 0 0 12px rgba(0, 255, 128, 0.3); }
  50% { box-shadow: 0 0 25px rgba(210, 242, 1, 0.8); }
}

/* Kilau tombol */
.buttons a::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 230, 120, 0.55), transparent);
  animation: shine 3s infinite;
}
@keyframes shine {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* === FOOTER LOGO TRANSPARAN BENING === */
.logo-footer {
  width: 100%;
  text-align: center;
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(10, 30, 10, 0.25);
  transition: background 0.4s ease-in-out;
  box-shadow: inset 0 0 30px rgba(0, 255, 128, 0.05);
}

/* === LOGO RESPONSIVE DENGAN FADE IN === */
.logo-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.logo-container img {
  height: clamp(35px, 4vw, 55px);
  width: auto;
  opacity: 0;
  animation: fadeInLogo 1s ease forwards;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(0, 255, 150, 0.3));
}

.logo-container img:hover {
  opacity: 1 !important;
  transform: scale(1.06);
  filter: drop-shadow(0 0 14px rgba(0, 255, 150, 0.7));
}

/* animasi fade-in tiap logo */
@keyframes fadeInLogo {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* responsive spacing */
@media (max-width: 768px) {
  .logo-container {
    gap: 14px;
    padding: 10px;
  }
  .logo-container img {
    height: clamp(28px, 8vw, 45px);
  }
}

/* === TEKS FOOTER BENING === */
.footer-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 10px 20px;
}

/* === WAKTU OTOMATIS EFEK NEON === */
.datetime-text {
  color: #00ff99;
  font-size: 0.8rem;
  margin-top: 10px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
  text-shadow:
    0 0 8px rgba(0, 255, 128, 0.6),
    0 0 15px rgba(0, 255, 128, 0.4),
    0 0 30px rgba(0, 255, 128, 0.2);
  opacity: 0;
  animation: fadeInGlow 1.2s ease forwards, pulseGlow 3s ease-in-out infinite;
}

/* Animasi lembut global */
@keyframes fadeInGlow {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseGlow {
  0%, 100% {
    text-shadow:
      0 0 8px rgba(0, 255, 128, 0.6),
      0 0 15px rgba(0, 255, 128, 0.4),
      0 0 30px rgba(0, 255, 128, 0.2);
  }
  50% {
    text-shadow:
      0 0 15px rgba(0, 255, 128, 0.9),
      0 0 25px rgba(0, 255, 128, 0.7),
      0 0 40px rgba(0, 255, 128, 0.5);
  }
}
/* === LOGO POJOK KANAN ATAS (MENUTUP WATERMARK) === */
.corner-logo {
  position: fixed;
  top: 25px;        /* sedikit turun agar pas di atas tulisan PixVerse.ai */
  right: 40px;      /* geser sedikit ke kiri */
  width: 260px;     /* ukurannya diperbesar agar menutupi tulisan sepenuhnya */
  height: auto;
  z-index: 20;
  opacity: 0;
  transform: scale(0.95);
  animation: fadeInLogo 1s ease forwards;
  pointer-events: none; /* agar tidak ganggu klik di area pojok */
}

/* Animasi masuk halus */
@keyframes fadeInLogo {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Responsif untuk tablet */
@media (max-width: 992px) {
  .corner-logo {
    width: 200px;
    top: 20px;
    right: 30px;
  }
}

/* Responsif untuk HP */
@media (max-width: 600px) {
  .corner-logo {
    width: 150px;
    top: 30px;
    right: 8px;
  }
}
.corner-logo {
  position: absolute;
  top: 30px;
  right: 8px;
  width: 140px; /* sesuaikan sampai pas menutup watermark */
  opacity: 0.95;
  z-index: 0; /* ini penting supaya di belakang model */
}

.model-video {
  position: relative;
  z-index: 1; /* model di atas logo */
}
a.logo-link {
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
}
/* === BACKGROUND FOTO UTAMA === */
.background-photo {
  position: fixed;
  top: 0;
  left: 0;

  width: 100vw;
  height: 100vh;

  object-fit: cover;    /* foto otomatis menyesuaikan layar */
  object-position: center;
  z-index: -10;         /* berada di belakang semua elemen */
  pointer-events: none; /* tidak mengganggu klik */

  background-color: black;
}
.logo-title {
  width: 300px;      /* ubah sesuai ukuran */
  height: auto;
  display: block;
  margin: 0 auto 10px auto;
  animation: fadeIn 1s ease;
}
