/* ==========================================================================
   JALAPUSPITA - FULL 1920x1080 ASPECT RATIO CONTAIN LANDING PAGE
   ========================================================================== */

:root {
  --gold-300: #EED48C;
  --gold-400: #E3BF5C;
  --gold-500: #D4AF37;
  --gold-600: #B89225;
}

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

html, body {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #040711;
  color: #F8FAFC;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* 1. Fullscreen Background Video - 1920x1080 Full & Keliatan Semua */
.video-background-layer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#bgVideo {
  width: 100vw;
  height: 100vh;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: none;
}

.video-overlay {
  display: none;
}

/* 2. Centered Content Layer */
.content-layer {
  position: relative;
  z-index: 10;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  box-sizing: border-box;
}

/* 20% Transparent Floating Glass Card */
.portal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: rgba(8, 14, 28, 0.20);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 24px;
  padding: 2.25rem 2rem 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 35px rgba(212, 175, 55, 0.15);
  text-align: center;
  box-sizing: border-box;
  transition: transform 0.4s ease, border-color 0.3s ease, box-shadow 0.4s ease;
}

.portal-card:hover {
  background: rgba(8, 14, 28, 0.28);
  border-color: rgba(212, 175, 55, 0.50);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 45px rgba(212, 175, 55, 0.25);
  transform: translateY(-2px);
}

.card-top-shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #E3BF5C, #FFF, #D4AF37, transparent);
  opacity: 0.9;
}

/* Action Buttons */
.portal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  width: 100%;
  margin-bottom: 1.4rem;
}

.btn-portal-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.05rem 1.65rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #D4AF37 0%, #B89225 50%, #937119 100%);
  color: #040711;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
  overflow: hidden;
}

.btn-portal-cta:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  color: #000;
}

.cta-texts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.cta-main {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.cta-sub {
  font-size: 0.76rem;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 0.03em;
}

.cta-icon-box {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 7, 17, 0.16);
  border-radius: 9px;
  transition: transform 0.3s ease;
}

.cta-icon-box svg {
  width: 18px;
  height: 18px;
}

.btn-portal-cta:hover .cta-icon-box {
  transform: translateX(4px);
}

.btn-shine-bar {
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  animation: btnShine 4s infinite ease-in-out;
}

@keyframes btnShine {
  0%, 65% { left: -120%; }
  100% { left: 200%; }
}

.btn-whatsapp-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.92rem 1.45rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #F8FAFC;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.btn-whatsapp-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #E3BF5C;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-whatsapp-ghost svg {
  width: 18px;
  height: 18px;
  color: #D4AF37;
}

/* Direct URL Indicator */
.direct-url-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.15rem;
  color: #CBD5E1;
}

.url-anchor {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #F6E7BA;
  text-decoration: none;
  font-family: monospace;
  font-size: 0.88rem;
  padding: 0.22rem 0.65rem;
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.28);
  transition: all 0.2s ease;
}

.url-anchor:hover {
  color: #FFFFFF;
  background: rgba(212, 175, 55, 0.28);
  border-color: #E3BF5C;
}

.url-anchor svg {
  width: 13px;
  height: 13px;
}

/* 3. Floating Media Bar - Di Posisi Atas Layar */
.floating-media-bar {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 40;
}

.media-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: rgba(8, 14, 28, 0.60);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 9999px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.m-btn {
  background: none;
  border: none;
  color: #CBD5E1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: all 0.2s;
}

.m-btn:hover {
  color: #EED48C;
  background: rgba(212, 175, 55, 0.25);
}

.m-btn svg {
  width: 15px;
  height: 15px;
}

.m-sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.2);
}

.hidden {
  display: none !important;
}

@media (max-width: 520px) {
  .floating-media-bar {
    top: 1rem;
    right: 1rem;
  }
  .portal-card {
    padding: 1.8rem 1.25rem 1.6rem;
  }
}
