/* ==========================================================================
   PDIKM Page Shell — shared layout (statistik, tutorial, about)
   ========================================================================== */

.pdikm-page {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 28px 16px 32px;
  font-family: var(--pdikm-font-body);
  color: #fff;
  background:
    linear-gradient(165deg, rgba(8, 12, 22, 0.92) 0%, rgba(8, 12, 22, 0.78) 45%, rgba(8, 12, 22, 0.95) 100%),
    url('/assets/img/pdikm/bgpdikm.jpg') center / cover no-repeat;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.pdikm-page > *:not(.pdikm-skip) {
  width: 100%;
  max-width: 440px;
}

/* Skip link */
.pdikm-skip {
  position: absolute;
  top: 16px;
  right: 16px;
  left: auto;
  width: auto;
  max-width: none;
  z-index: 30;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.pdikm-skip:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* Hero */
.pdikm-hero {
  text-align: center;
  margin-bottom: 20px;
  animation: pdikmFadeUp 0.55s ease-out both;
}

.pdikm-hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 12px;
}

.pdikm-hero-logo {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.35));
}

.pdikm-float-anim {
  animation: pdikmFloat 3s ease-in-out infinite;
}

.pdikm-hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 202, 40, 0.35);
  background: rgba(255, 202, 40, 0.1);
  color: #ffca28;
  font-family: var(--pdikm-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.pdikm-hero-title {
  margin: 0 0 6px;
  font-family: var(--pdikm-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.pdikm-hero-sub {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

/* Glass card */
.pdikm-glass-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px 22px 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.pdikm-glass-card--accent {
  border-color: rgba(255, 202, 40, 0.2);
  background: linear-gradient(145deg, rgba(255, 202, 40, 0.06), rgba(255, 255, 255, 0.03));
}

.pdikm-slide-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdikm-slide-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.pdikm-slide-step {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.45);
}

.pdikm-slide-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.pdikm-slide-text b,
.pdikm-slide-text strong {
  color: #ffd54f;
  font-weight: 700;
}

.pdikm-section-title {
  margin: 0 0 14px;
  font-family: var(--pdikm-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffca28;
}

.pdikm-section-body {
  font-size: 0.86rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
}

.pdikm-section-body p {
  margin: 0 0 10px;
}

.pdikm-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 12px 0;
}

/* Swiper */
.pdikm-swiper {
  flex: 1;
  width: 100%;
  padding-bottom: 44px !important;
  animation: pdikmFadeUp 0.55s 0.08s ease-out both;
}

.pdikm-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: auto;
  padding: 4px 0;
}

.pdikm-swiper .swiper-pagination {
  bottom: 8px !important;
}

.pdikm-swiper .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.25);
  opacity: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.pdikm-swiper .swiper-pagination-bullet-active {
  background: #ffca28;
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(255, 202, 40, 0.5);
}

/* Footer bar */
.pdikm-footer-bar {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: pdikmFadeUp 0.55s 0.16s ease-out both;
}

.pdikm-footer-bar .btn-eticket {
  max-width: 280px;
}

.pdikm-footer-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.pdikm-footer-link:hover {
  color: #fff;
}

/* Form inputs */
.pdikm-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 11px 14px;
  border-radius: 12px;
  color: #fff;
  margin-bottom: 10px;
  font-size: 0.85rem;
  font-family: inherit;
  transition: border-color 0.15s ease;
}

.pdikm-input:focus {
  outline: none;
  border-color: rgba(255, 202, 40, 0.45);
}

.pdikm-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.pdikm-scroll-inner {
  overflow-y: auto;
  max-height: 220px;
  padding-right: 4px;
  text-align: left;
}

.pdikm-scroll-inner::-webkit-scrollbar {
  width: 4px;
}

.pdikm-scroll-inner::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.pdikm-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 202, 40, 0.1);
  border: 1px solid rgba(255, 202, 40, 0.25);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffd54f;
  margin-bottom: 12px;
}

.pdikm-review-item {
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 12px;
  border-radius: 12px;
  margin-bottom: 8px;
  border-left: 3px solid #ffca28;
}

.pdikm-review-item small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
}

.pdikm-review-item p {
  font-size: 0.8rem;
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.pdikm-map-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 12px;
}

.pdikm-map-wrap iframe {
  display: block;
  border: 0;
  width: 100%;
}

@keyframes pdikmFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pdikmFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 380px) {
  .pdikm-page {
    padding: max(16px, env(safe-area-inset-top, 0px))
      max(12px, env(safe-area-inset-right, 0px))
      max(24px, calc(16px + env(safe-area-inset-bottom, 0px)))
      max(12px, env(safe-area-inset-left, 0px));
  }

  .pdikm-hero-title {
    font-size: 1.15rem;
  }

  .pdikm-glass-card {
    padding: 22px 16px 20px;
  }

  .pdikm-hero-logo {
    max-width: 200px;
  }

  .pdikm-footer-bar {
    gap: 8px;
  }
}

@media (max-width: 767px) {
  .pdikm-page {
    padding-top: max(20px, env(safe-area-inset-top, 0px));
    padding-bottom: max(28px, calc(20px + env(safe-area-inset-bottom, 0px)));
  }

  .pdikm-footer-bar {
    width: 100%;
  }

  .pdikm-footer-bar .btn-eticket,
  .pdikm-footer-bar .btn-adventure {
    min-height: 48px;
  }
}

@media (min-width: 520px) {
  .pdikm-page > *:not(.pdikm-skip) {
    max-width: 480px;
  }
}
