/**
 * GO TRAVELIST ASIA (GTA) — LAYOUT STRUCTURE & SPECIAL EFFECTS
 */

/* ----------------------------------------------------
 * 1. HEADER ATAS SCROLL-MORPHING (< 1024px)
 * ---------------------------------------------------- */
.gta-header-mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--top-header-height-mobile);
  background-color: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 50;
  transition: transform var(--transition-smooth);
}

.gta-header-mobile__idle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 16px;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.gta-header-mobile__search-row {
  display: none;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 0 16px;
  background-color: var(--bg-card);
}

/* Morphing State: Ketika class .scrolled atau .search-focused aktif */
.gta-header-mobile.is-search-active .gta-header-mobile__idle {
  display: none;
}

.gta-header-mobile.is-search-active .gta-header-mobile__search-row {
  display: flex;
}

/* ----------------------------------------------------
 * 2. DESKTOP HEADER (≥ 1024px)
 * ---------------------------------------------------- */
.gta-header-desktop {
  position: sticky;
  top: 0;
  height: var(--top-header-height-desktop);
  background-color: rgba(7, 13, 30, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 50;
}

.gta-header-desktop__inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ----------------------------------------------------
 * 3. BILAH NAVIGASI BAWAH 5-MENU (< 1024px)
 * ---------------------------------------------------- */
.gta-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--bottom-bar-height);
  background-color: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 60;
  padding: 0 10px;
}

.gta-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 100%;
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 600;
  transition: color var(--transition-fast);
  position: relative;
}

.gta-nav-item.active {
  color: var(--accent-cyan);
}

.gta-nav-item svg {
  width: 20px;
  height: 20px;
  margin-bottom: 3px;
}

/* Tombol Tengah Melayang (Pilar 5: Creator Hub) */
.gta-nav-fab {
  position: relative;
  top: -16px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent-cyan), #151E36);
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gta-nav-fab:active {
  transform: scale(0.92);
}

/* Titik Hijau Status Online pada Profil */
.gta-nav-status-dot {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
}

/* ----------------------------------------------------
 * 4. WATERMARK MEDIA & PROTEKSI ANTI-SCRAPE
 * ---------------------------------------------------- */
.gta-media-watermark {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(7, 13, 30, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 10px;
  color: var(--text-reading);
  pointer-events: none;
  user-select: none;
  z-index: 10;
}

/* Skeleton Shimmer Loading */
@keyframes gtaShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.gta-shimmer {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-panel);
}

.gta-shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(21, 30, 54, 0) 0%, rgba(28, 38, 70, 0.8) 50%, rgba(21, 30, 54, 0) 100%);
  animation: gtaShimmer 1.5s infinite linear;
}