/* =========================================================
   MUNAS XIII SERIKAT PEKERJA BNI 2026 - OFFICIAL LANDING PAGE
   Ultra Clean Mobile Story & Vertical Slide Presentation
========================================================= */

:root {
  --bni-teal-dark: #003746;
  --bni-teal-deep: #004d61;
  --bni-cyan-glow: #00c7d4;
  --bni-orange-primary: #f15a24;
  --bni-orange-vibrant: #fa591d;

  --color-white: #ffffff;
  --color-slate-900: #0a1e27;
  
  --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #030d12;
  font-family: var(--font-body);
  user-select: none;
}

/* ================= FULLSCREEN STORY SLIDER WRAPPER ================= */
.app-viewport {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at 50% 30%, #082835 0%, #02090d 100%);
}

/* Floating Navigation Controls */
.slide-navigation {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 900;
  background: rgba(0, 35, 46, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 8px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot.active {
  background: var(--bni-orange-primary);
  height: 22px;
  border-radius: 6px;
  box-shadow: 0 0 10px var(--bni-orange-vibrant);
}

/* Arrow Slide Switchers */
.slide-arrow-btn {
  position: fixed;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 55, 70, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  transition: all 0.2s ease;
}

.slide-arrow-btn:hover {
  background: var(--bni-cyan-glow);
  color: #003746;
  transform: scale(1.1);
}

.prev-arrow { top: calc(50% - 130px); }
.next-arrow { top: calc(50% + 130px); }

/* Main Story Viewport Stage */
.story-stage {
  width: 100%;
  max-width: 460px;
  height: 100vh;
  max-height: 920px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slides Track */
.slides-track {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Individual Slide Card */
.slide-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
  z-index: 1;
}

/* Active Slide */
.slide-card.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  z-index: 10;
}

/* Previous Slide (Sliding Up) */
.slide-card.prev {
  opacity: 0;
  transform: translateY(-40px) scale(0.96);
  z-index: 5;
}

/* Visual Frame Wrapper */
.slide-visual-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
  background: #004557;
}

.pdf-page-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ================= INTERACTIVE HOTSPOT OVERLAYS ================= */
.interactive-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
}

.hotspot-btn, .hotspot-day-card, .hotspot-map-link {
  pointer-events: auto !important;
  position: absolute !important;
  cursor: pointer !important;
  border: none;
  background: transparent;
  outline: none;
  display: block !important;
  z-index: 60 !important;
  text-decoration: none;
}

/* Page 1 Hotspots */
.btn-rsvp-page1 {
  top: 59.2%;
  left: 26%;
  width: 48%;
  height: 6.2%;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.btn-info-page1 {
  top: 66.5%;
  left: 26%;
  width: 48%;
  height: 6.2%;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.btn-rsvp-page1:hover {
  background: rgba(0, 199, 212, 0.25);
  box-shadow: 0 0 20px rgba(0, 199, 212, 0.6);
}

.btn-info-page1:hover {
  background: rgba(0, 199, 212, 0.2);
  box-shadow: 0 0 15px rgba(0, 199, 212, 0.4);
}

/* Page 3 Day Cards Hotspots */
.card-day-1 {
  top: 31%;
  left: 8%;
  width: 84%;
  height: 12.5%;
  border-radius: 12px;
}

.card-day-2 {
  top: 44.5%;
  left: 8%;
  width: 84%;
  height: 12.5%;
  border-radius: 12px;
}

.card-day-3 {
  top: 58%;
  left: 8%;
  width: 84%;
  height: 12.5%;
  border-radius: 12px;
}

.card-day-4 {
  top: 71.5%;
  left: 8%;
  width: 84%;
  height: 12.5%;
  border-radius: 12px;
}

.hotspot-day-card:hover {
  background: rgba(0, 199, 212, 0.15);
  box-shadow: 0 0 18px rgba(0, 199, 212, 0.35);
}

/* Page 4 & 5 Clean Transparent Clickable Areas */
.map-novotel {
  top: 78%;
  left: 12%;
  width: 44%;
  height: 18%;
  border-radius: 12px;
}

.map-plaza-bni {
  top: 44%;
  left: 12%;
  width: 44%;
  height: 14%;
  border-radius: 12px;
}

.map-novotel:hover, .map-plaza-bni:hover {
  background: rgba(0, 199, 212, 0.12);
}

/* Page 9 Hotspots */
.btn-hotline-page9 {
  top: 70%;
  left: 20%;
  width: 60%;
  height: 10%;
  border-radius: 18px;
  transition: all 0.2s ease;
}

.btn-rsvp-page9 {
  top: 89.2%;
  left: 27%;
  width: 46%;
  height: 6.5%;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.btn-hotline-page9:hover {
  background: rgba(37, 211, 102, 0.25);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

.btn-rsvp-page9:hover {
  background: rgba(0, 199, 212, 0.25);
  box-shadow: 0 0 20px rgba(0, 199, 212, 0.6);
}

/* ================= FLOATING QUICK BAR ================= */
.floating-quick-bar {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 1500;
}

.quick-wa-btn, .quick-rsvp-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease;
  position: relative;
}

.quick-wa-btn {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  font-size: 1.5rem;
}

.quick-rsvp-btn {
  background: linear-gradient(135deg, #f15a24 0%, #fa591d 100%);
  font-size: 1.15rem;
}

.quick-rsvp-btn span {
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
}

.quick-wa-btn:hover, .quick-rsvp-btn:hover {
  transform: scale(1.1);
}

.badge-pulse {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  background: #ff4757;
  border-radius: 50%;
  border: 2px solid #ffffff;
}

/* ================= RESPONSIVENESS ================= */
@media (max-width: 600px) {
  .slide-navigation, .slide-arrow-btn {
    display: none;
  }

  .story-stage {
    max-width: 100%;
    height: 100vh;
    border-radius: 0;
  }

  .slide-visual-wrapper {
    border-radius: 0;
  }
}
