/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  --primary: #0B4CA8;
  --primary-rgb: 11, 76, 168;
  --secondary: #0099FF;
  --secondary-rgb: 0, 153, 255;
  --accent: #00E5FF;
  --accent-rgb: 0, 229, 255;
  --white: #FFFFFF;
  --dark-navy: #123d6a;
  --dark-navy-rgb: 18, 61, 106;
  --gold: #FFD700;
  
  --text-main: #FFFFFF;
  --text-muted: #F0F7FF;
  
  --glass-bg: rgba(255, 255, 255, 0.13);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-border-glow: rgba(0, 229, 255, 0.45);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease-out;
}

/* ==========================================================================
   RESET & BASICS
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; /* Native smooth scroll (Lenis diganti) */
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-image: 
    radial-gradient(ellipse at 50% 0%, #528DC5 0%, rgba(30, 90, 155, 0.92) 45%, #123d6a 100%),
    linear-gradient(180deg, #1f5d9d 0%, #123d6a 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: var(--dark-navy);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: var(--transition-smooth);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px !important;
  padding-right: 24px !important;
}
.container-fluid {
  width: 100%;
  padding: 0 40px;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--dark-navy);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 153, 255, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 229, 255, 0.5);
}

/* Fallback: pastikan elemen data-gsap tidak tersembunyi sebelum GSAP memproses */
/* GSAP akan menimpa properti ini saat animasi dimulai */
[data-gsap] {
  will-change: opacity, transform;
}

/* ==========================================================================
   CINEMATIC LOADING SCREEN
   ========================================================================== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-navy);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
  z-index: 10;
}

.loader-logo {
  margin-bottom: 24px;
  animation: logoFloat 3s ease-in-out infinite;
}

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

.swim-logo-svg {
  filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.6));
}

.wave-path {
  stroke-dasharray: 200;
  stroke-dashoffset: 0;
  animation: strokeAnim 2.5s ease-in-out infinite alternate;
}
.wave-path-2 {
  stroke-dasharray: 200;
  stroke-dashoffset: 50;
  animation: strokeAnim2 2.5s ease-in-out infinite alternate;
}

@keyframes strokeAnim {
  0% { stroke-dashoffset: 200; }
  100% { stroke-dashoffset: 0; }
}
@keyframes strokeAnim2 {
  0% { stroke-dashoffset: 150; }
  100% { stroke-dashoffset: -50; }
}

.bubble-logo {
  animation: bubbleAnim 2s ease-in-out infinite alternate;
}
.bubble-logo-2 {
  animation: bubbleAnim 2.5s ease-in-out infinite alternate-reverse;
}

@keyframes bubbleAnim {
  0% { transform: scale(0.8) translate(0, 5px); opacity: 0.7; }
  100% { transform: scale(1.1) translate(0, -5px); opacity: 1; }
}

.loader-title {
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 4px;
  text-shadow: 0 0 10px rgba(0, 153, 255, 0.4);
}
.loader-subtitle {
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  color: var(--accent);
  margin-bottom: 32px;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.loader-bar-container {
  width: 240px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto 12px;
  position: relative;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  box-shadow: 0 0 8px var(--accent);
  border-radius: 2px;
  transition: width 0.1s ease;
}

.loader-percent {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.loader-bubbles .bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,255,0.4) 0%, rgba(0,153,255,0.05) 70%);
  bottom: -50px;
  animation: loaderBubbleUp 4s infinite linear;
}

.loader-bubbles .bubble:nth-child(1) { left: 10%; width: 30px; height: 30px; animation-duration: 4.5s; }
.loader-bubbles .bubble:nth-child(2) { left: 30%; width: 15px; height: 15px; animation-duration: 3.5s; animation-delay: 1s; }
.loader-bubbles .bubble:nth-child(3) { left: 55%; width: 40px; height: 40px; animation-duration: 5s; animation-delay: 0.5s; }
.loader-bubbles .bubble:nth-child(4) { left: 75%; width: 20px; height: 20px; animation-duration: 3.8s; animation-delay: 2s; }
.loader-bubbles .bubble:nth-child(5) { left: 88%; width: 25px; height: 25px; animation-duration: 4.2s; animation-delay: 1.5s; }

@keyframes loaderBubbleUp {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-110vh) scale(0.5); opacity: 0; }
}

/* ==========================================================================
   CUSTOM CURSOR (Disabled)
   ========================================================================== */
.custom-cursor,
.custom-cursor-glow,
.cursor-ripple {
  display: none !important;
}

/* ==========================================================================
   UNDERWATER BACKGROUND & ATMOSPHERE
   ========================================================================== */
.underwater-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  overflow: hidden;
  background: transparent;
}

/* Waves at the top */
.ocean-waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  opacity: 0.15;
  overflow: hidden;
}

.wave {
  position: absolute;
  left: 0;
  width: 200%;
  height: 100%;
  background-repeat: repeat-x;
  background-position: 0 bottom;
  transform-origin: center bottom;
}

.wave1 {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,42.4V0Z" fill="%2300E5FF"/></svg>');
  animation: waveMove 12s linear infinite;
  z-index: 1000;
  opacity: 0.4;
}

.wave2 {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,42.4V0Z" fill="%230099FF"/></svg>');
  animation: waveMove 18s linear infinite;
  z-index: 999;
  opacity: 0.3;
}

.wave3 {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,42.4V0Z" fill="%230B3D91"/></svg>');
  animation: waveMove 8s linear infinite;
  z-index: 998;
  opacity: 0.5;
}

.wave4 {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,42.4V0Z" fill="%23081C3A"/></svg>');
  animation: waveMove 22s linear infinite;
  z-index: 997;
  opacity: 0.7;
}

@keyframes waveMove {
  0% { transform: translateX(0) translateZ(0) scaleY(1); }
  50% { transform: translateX(-25%) translateZ(0) scaleY(0.8); }
  100% { transform: translateX(-50%) translateZ(0) scaleY(1); }
}

/* Light rays from top */
.light-rays {
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: repeating-linear-gradient(
    95deg,
    rgba(0, 229, 255, 0.0) 0px,
    rgba(0, 229, 255, 0.0) 40px,
    rgba(0, 229, 255, 0.015) 60px,
    rgba(0, 229, 255, 0.03) 100px,
    rgba(0, 229, 255, 0.0) 120px,
    rgba(0, 229, 255, 0.0) 160px
  );
  filter: blur(50px);
  transform: rotate(-10deg);
  animation: raysMove 15s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes raysMove {
  0% { transform: rotate(-8deg) translateX(-5%); opacity: 0.7; }
  100% { transform: rotate(-14deg) translateX(5%); opacity: 1; }
}

/* Ambient bottom lighting - merged into body background to avoid clipping lines */
.ambient-glow {
  display: none;
}

/* Floating water bubbles */
.water-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.water-bubbles .particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(0,229,255,0.02) 80%);
  border: 0.5px solid rgba(0, 229, 255, 0.1);
  box-shadow: inset 0 0 5px rgba(255,255,255,0.1), 0 0 8px rgba(0,229,255,0.05);
  animation: bubbleRise 10s infinite linear;
}

@keyframes bubbleRise {
  0% { transform: translateY(110vh) translateX(0) scale(1); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-50px) translateX(var(--drift, 50px)) scale(0.6); opacity: 0; }
}

/* ==========================================================================
   FLOATING NAVBAR
   ========================================================================== */
.floating-navbar {
  position: fixed;
  top: 24px;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  overflow: visible;
}

.floating-navbar.scrolled {
  top: 0;
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 30, 70, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: var(--transition-smooth);
  overflow: visible;
}

.floating-navbar.scrolled .nav-container {
  border-radius: 0 0 20px 20px;
  border-color: transparent transparent rgba(255, 255, 255, 0.2) transparent;
  max-width: 100vw;
  padding: 12px 40px;
}

.floating-navbar.scrolled .logo-img {
  width: 75px;
  height: 60px;
}

.floating-navbar.scrolled .logo-main {
  font-size: 1.1rem;
}

.floating-navbar.scrolled .logo-sub {
  font-size: 0.65rem;
}

.floating-navbar.scrolled .btn-nav-admin {
  padding: 8px 12px;
}

.floating-navbar.scrolled .btn-nav-register {
  padding: 8px 14px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  width: 95px;
  height: 75px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.55));
  transition: var(--transition-smooth);
  /* Force HD crisp rendering */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.nav-logo:hover .logo-img, .drawer-header:hover .logo-img {
  transform: scale(1.06) rotate(3deg);
  filter: drop-shadow(0 0 16px var(--accent));
}

.loader-logo-img {
  width: 280px;
  height: 280px;
  animation: logoFloat 3s ease-in-out infinite, logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  0% { filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.5)); }
  100% { filter: drop-shadow(0 0 35px rgba(0, 229, 255, 0.9)); }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-img {
  width: 95px;
  height: 95px;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.admin-logo-img {
  width: 90px;
  height: 90px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: #00E5FF;
  font-weight: 700;
}

/* Nav Menu */
.nav-menu {
  flex-shrink: 1;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: #E2F2FF;
  padding: 6px 10px;
  border-radius: 8px;
  position: relative;
  overflow: visible;
  display: inline-block;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #00E5FF;
  background-color: rgba(255, 255, 255, 0.12);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transition: var(--transition-fast);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 60%;
}

.nav-link.active::after {
  width: 60%;
}

/* Actions Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-nav-admin {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
  padding: 8px 12px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-nav-admin:hover {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.btn-nav-register {
  background: linear-gradient(135deg, #00e5ff, #0099ff) !important;
  color: #030f26 !important;
  font-weight: 800 !important;
  border: none !important;
  font-size: 0.8rem;
  padding: 8px 16px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
  animation: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.btn-nav-register::before {
  display: none !important;
}

.btn-nav-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.6) !important;
  background: linear-gradient(135deg, #38bdf8, #0284c7) !important;
  color: #ffffff !important;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: var(--white);
  font-size: 1.5rem;
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  background: rgba(8, 28, 58, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2000;
  padding: 30px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-close {
  background: transparent;
  color: var(--white);
  font-size: 1.5rem;
}

.drawer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.drawer-link {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  padding: 8px 0;
}

.drawer-link:hover, .drawer-link.active {
  color: var(--accent);
  padding-left: 10px;
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.btn-drawer-admin, .btn-drawer-register {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
}

.btn-drawer-admin {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-drawer-register {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 153, 255, 0.3);
}

@media (max-width: 1260px) {
  .nav-menu, .nav-actions {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ==========================================================================
   APP VIEWS & ROUTING
   ========================================================================== */
.app-view {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.app-view.active {
  display: block;
  opacity: 1;
}

/* Adjust paddings for page sections */
main {
  padding-top: 100px;
}

/* ==========================================================================
   HERO / BERANDA SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 110px 0 30px 0;
  background: transparent;
}

.hero-overlay {
  display: none;
}

.hero-media-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Premium dynamic swimming pool simulation bg */
.video-ambient-sim {
  width: 100%;
  height: 100%;
  background: transparent;
  position: relative;
}

.video-ambient-sim::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
  animation: bgPulse 8s infinite alternate;
}

@keyframes bgPulse {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.ssi-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #00E5FF;
  padding: 8px 16px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ssi-logo-text {
  font-weight: 800;
  background: linear-gradient(135deg, #FFFFFF, #00E5FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-headline {
  font-size: 3.8rem;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #FFFFFF;
  text-shadow: 0 4px 20px rgba(0, 30, 80, 0.35);
}

.hero-headline .text-gradient {
  background: linear-gradient(135deg, #00E5FF, #33B5FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #E2F2FF;
  max-width: 700px;
  margin: 0 auto 40px;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 30, 80, 0.3);
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 35px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--dark-navy);
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 229, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.5), 0 0 20px rgba(0, 229, 255, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.40);
  color: #061F3D;
  border: 1px solid rgba(6, 31, 61, 0.25);
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 50, 120, 0.08);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.70);
  border-color: #0066FF;
  color: #0066FF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.15);
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 20px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--glass-border-glow);
  transform: translateY(-5px);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--white), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .hero-headline { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto 40px; }
}

/* ==========================================================================
   GLASSMORPHISM LUXURY CARDS
   ========================================================================== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 20, 60, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.20);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--glass-border-glow);
  box-shadow: 0 20px 45px rgba(0, 229, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* Contact section */
#kontak {
  padding-bottom: 120px !important; /* Menambah jarak bawah agar tidak menempel ke footer */
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  padding: 32px 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: var(--accent);
  margin-top: 3px;
}

.contact-item h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item p,
.contact-item a {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.5;
}

.contact-item a:hover {
  color: var(--accent);
}

.contact-info-intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  border: 1px solid var(--glass-border-glow);
  background: rgba(0, 229, 255, 0.08);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-btn svg {
  width: 16px;
  height: 16px;
}

.social-btn:hover {
  background: rgba(0, 229, 255, 0.2);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Map placeholder card */
.contact-map-card {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
}

.map-placeholder {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid var(--glass-border);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 153, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.map-sim-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.map-icon-sim {
  width: 56px;
  height: 56px;
  color: var(--accent);
  opacity: 0.8;
}

.map-sim-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.map-sim-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 380px;
  line-height: 1.6;
}

.map-pool-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 4px;
}

.map-pool-badges span {
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid rgba(0, 229, 255, 0.25);
  background: rgba(0, 229, 255, 0.08);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}

.btn-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--dark-navy);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.25);
}

.btn-map-link svg {
  width: 16px;
  height: 16px;
}

.btn-map-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.4);
}

/* Pool Location Cards */
.pool-locations-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}

.pool-locations-header svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.pool-locations-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.pool-locations-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pool-location-card {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition-smooth);
}

.pool-location-card:hover {
  background: rgba(0, 229, 255, 0.18);
  border-color: rgba(0, 229, 255, 0.4);
}

.pool-location-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pool-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pool-icon svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.pool-location-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  line-height: 1.3;
}

.pool-price-tag {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.pool-free-tag {
  color: #4ade80;
  font-weight: 700;
  font-size: 0.78rem;
}

.pool-note-tag {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.78rem;
}

.pool-location-address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pool-location-address svg {
  width: 14px;
  height: 14px;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 3px;
}

.pool-location-address p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.btn-pool-maps {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  align-self: flex-start;
}

.btn-pool-maps svg {
  width: 13px;
  height: 13px;
}

.btn-pool-maps:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--accent);
  transform: translateY(-1px);
}



/* Dynamic design helpers */
.text-gradient {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-accent { color: var(--accent); }
.text-secondary { color: var(--secondary); }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }

/* Sections formatting */
section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.6rem;
  color: var(--white);
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 12px auto 0;
}

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 2px;
  margin: 20px auto 0;
}

/* ==========================================================================
   ABOUT / TENTANG KAMI SECTION
   ========================================================================== */
.about-section {
  padding-top: 40px;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-media {
  position: relative;
}

.luxury-frame {
  position: relative;
  border-radius: 24px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.about-img-sim {
  width: 100%;
  height: 480px;
  background: radial-gradient(ellipse at 50% 40%, rgba(11, 61, 145, 0.25) 0%, rgba(8, 28, 58, 0.95) 70%);
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.garuda-frame {
  background: radial-gradient(ellipse at 50% 35%, rgba(200, 146, 42, 0.08) 0%, rgba(8, 28, 58, 0.98) 70%);
  position: relative;
  overflow: hidden;
}

.garuda-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(255, 215, 0, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.garuda-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.2));
  animation: garudaFloat 6s ease-in-out infinite;
}

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


.floating-badge-legal {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: rgba(8, 28, 58, 0.85);
  backdrop-filter: blur(15px);
  border: 1.5px solid var(--gold);
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 215, 0, 0.15);
  z-index: 10;
}

.badge-icon {
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.badge-txt {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}

.badge-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.about-info-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-info-desc {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.vision-mission-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.vm-card {
  display: flex;
  gap: 20px;
  padding: 20px;
}

.vm-card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.vm-card h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.vm-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Notary glass block details */
.notary-glass-block {
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 16px;
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 215, 0, 0.15);
}

.notary-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  padding-bottom: 12px;
}

.notary-icon {
  color: var(--gold);
  width: 28px;
  height: 28px;
}

.notary-title {
  font-size: 1rem;
  color: var(--white);
}

.notary-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.notary-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.notary-item {
  display: flex;
  flex-direction: column;
}

.notary-item .lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.notary-item .val {
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .about-img-sim { height: 350px; }
}

/* ==========================================================================
   FEATURES / FEATURE CARDS SECTION
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 30px 24px;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 153, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--accent);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--accent);
  color: var(--dark-navy);
  box-shadow: 0 0 20px var(--accent);
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--white);
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   PROGRAM RENANG SECTION
   ========================================================================== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.program-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-8px);
}

.program-card-media {
  height: 200px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.program-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 28, 58, 0.1) 0%, rgba(8, 28, 58, 0.8) 100%);
}

.program-badge-age {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(8, 28, 58, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
}

.program-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-card-content h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 8px;
}

.program-card-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
  flex-grow: 1;
}

/* Category badge on cards */
.program-category-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.program-category-badge.regular {
  background: linear-gradient(135deg, #0077FF, #00C3FF);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 10px rgba(0, 153, 255, 0.35);
  text-shadow: 0 1px 2px rgba(0, 30, 80, 0.4);
}

.program-category-badge.special {
  background: linear-gradient(135deg, #FF9900, #FFD700);
  color: #061F3D;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 10px rgba(255, 170, 0, 0.35);
}

/* Pricing tiers table in detail view */
.detail-pricing-block {
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0;
}

.detail-pricing-block h3 {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-pricing-block h3 svg {
  width: 16px;
  height: 16px;
}

.pricing-tiers-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-tier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tier-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tier-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}

.package-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-style: italic;
}

.package-note svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Special notes block */
.detail-special-notes {
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 16px 0;
}

.detail-special-notes h3 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-special-notes h3 svg {
  width: 16px;
  height: 16px;
}

/* Global notes block */
.detail-global-notes {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 16px 0 24px;
}

.detail-global-notes h3 {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-global-notes h3 svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.pool-ticket-info {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pool-ticket-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.pool-ticket-title svg {
  width: 14px;
  height: 14px;
}

.pool-ticket-info ol {
  padding-left: 18px;
}

.pool-ticket-info ol li {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 4px;
}


.program-meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 16px;
}

.program-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.program-meta-item i {
  color: var(--secondary);
  width: 14px;
  height: 14px;
}

.program-footer-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.price-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
}

.btn-card-action {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
}

.program-card:hover .btn-card-action {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--dark-navy);
  border-color: var(--accent);
  box-shadow: 0 5px 15px rgba(0, 229, 255, 0.2);
}

/* ==========================================================================
   DETAIL PROGRAM VIEW
   ========================================================================== */
.btn-back {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px; /* Prevent overlapping with floating navbar */
  margin-bottom: 30px;
}

.btn-back:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.detail-hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

.detail-media-panel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 380px;
  background-size: cover;
  background-position: center;
}

.detail-media-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-thumbnails-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.detail-thumbnail {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.detail-thumbnail:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.detail-thumbnail.active {
  border-color: var(--accent);
  opacity: 1;
}

.detail-info-panel h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.detail-price-tag {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 24px;
}

.detail-desc-block {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.detail-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.spec-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.spec-item i {
  color: var(--accent);
  width: 24px;
  height: 24px;
}

.spec-info h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.spec-info p {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
}

.detail-facilities-block {
  margin-bottom: 40px;
}

.detail-facilities-block h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.facilities-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.check-item i {
  color: #00FF66;
  width: 16px;
  height: 16px;
}

.btn-detail-action {
  width: 100%;
  max-width: 320px;
  padding: 16px;
  font-size: 1.05rem;
}

@media (max-width: 768px) {
  .detail-hero-layout { grid-template-columns: 1fr; gap: 30px; }
  .detail-media-panel { height: 250px; }
  .detail-specs-grid { grid-template-columns: 1fr; }
  .facilities-check-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FACILITIES / FASILITAS SECTION
   ========================================================================== */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.facility-card {
  padding: 24px;
  text-align: center;
}

.facility-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 16px;
  transition: var(--transition-smooth);
}

.facility-card:hover .facility-icon {
  transform: rotateY(180deg) scale(1.1);
}

.facility-card h4 {
  font-size: 1rem;
  color: var(--white);
}

/* ==========================================================================
   COACHES / PELATIH SECTION
   ========================================================================== */
.coaches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.coach-card {
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.coach-card-media {
  height: 260px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
  flex-shrink: 0;
}

.coach-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 28, 58, 0) 60%, rgba(8, 28, 58, 1) 100%);
}

.coach-card-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.coach-card-info h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
}

.coach-pos {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  line-height: 1.4;
}

.coach-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex: 1; /* pushes button to bottom */
  align-items: flex-start;
  padding-bottom: 18px;
}

.btn-coach-action {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.18), rgba(0, 153, 255, 0.25));
  color: #ffffff;
  border: 1px solid rgba(0, 229, 255, 0.6);
  border-radius: 10px;
  padding: 11px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  width: 100%;
  margin-top: auto;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 153, 255, 0.2);
}

.btn-coach-action:hover,
.coach-card:hover .btn-coach-action {
  background: linear-gradient(135deg, #00e5ff, #0099ff);
  color: #030f26;
  border-color: #00e5ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 229, 255, 0.45);
}

/* Coach detail profile page style */
.coach-detail-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  align-items: start;
}

.coach-profile-photo {
  border-radius: 20px;
  overflow: hidden;
  height: 420px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  border: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 100px;
  background-clip: padding-box;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.coach-profile-details h1 {
  font-size: 2.2rem;
  margin-bottom: 6px;
  line-height: 1.2;
}

.coach-profile-details h2 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.coach-bio {
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.8;
  font-size: 0.95rem;
}

.coach-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.coach-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 14px 16px;
}

.coach-info-item i {
  color: var(--accent);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.coach-info-item h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.coach-info-item p {
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.5;
}

/* ── CERTIFICATE PHOTOS SECTION ── */
.cert-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cert-section-title i {
  color: var(--accent);
  width: 20px;
  height: 20px;
}
.cert-section-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.cert-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 12px;
}

.cert-photo-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}
.cert-photo-item:hover {
  border-color: var(--accent);
  transform: scale(1.02);
}
.cert-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cert-photo-item .cert-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(8,28,58,0.9) 0%, transparent 100%);
  padding: 8px 10px 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cert-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 12px;
}
.cert-empty-state i {
  width: 32px;
  height: 32px;
  color: rgba(255,255,255,0.15);
  margin: 0 auto 10px;
  display: block;
}

/* Admin cert upload inside admin panel */
.admin-cert-upload-area {
  display: block;
  border: 2px dashed rgba(0,229,255,0.25);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: rgba(0,229,255,0.03);
  margin-top: 16px;
}
.admin-cert-upload-area:hover {
  border-color: var(--accent);
  background: rgba(0,229,255,0.07);
}
.admin-cert-upload-area i {
  color: var(--accent);
  width: 28px;
  height: 28px;
  margin: 0 auto 8px;
  display: block;
}
.admin-cert-upload-area p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.admin-cert-upload-area input[type="file"] {
  display: none;
}

.admin-cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.admin-cert-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid rgba(255,255,255,0.1);
}
.admin-cert-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-cert-item .btn-delete-cert {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(220, 38, 38, 0.9);
  color: white;
  border: none;
  border-radius: 6px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0;
  transition: all 0.2s;
}
.admin-cert-item .btn-delete-cert:hover {
  background: #dc2626;
  transform: scale(1.1);
}
.admin-cert-item .btn-delete-cert i {
  width: 14px;
  height: 14px;
}

@media (max-width: 900px) {
  .coach-detail-layout { grid-template-columns: 1fr; gap: 30px; }
  .coach-profile-photo { height: 300px; position: static; }
}
@media (max-width: 768px) {
  .coaches-grid { grid-template-columns: 1fr 1fr; }
  .cert-photos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .coaches-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   GALLERY SECTION (MASONRY LAYOUT)
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.btn-filter {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-filter.active, .btn-filter:hover {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--dark-navy);
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.2);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 240px;
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-img-sim {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img-sim {
  transform: scale(1.08);
}

.gallery-overlay-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 28, 58, 0.2) 0%, rgba(8, 28, 58, 0.8) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay-hover {
  opacity: 1;
}

.gallery-overlay-hover i {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 229, 255, 0.2);
  border: 1px solid var(--accent);
  color: var(--accent);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-overlay-hover h4 {
  font-size: 1rem;
  color: var(--white);
}

.gallery-overlay-hover span {
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
}

@media (max-width: 768px) {
  .gallery-masonry { grid-auto-rows: 180px; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.tall { grid-row: span 1; }
}

/* ==========================================================================
   TESTIMONIALS MODAL POPUP & DYNAMIC GALLERY SLIDESHOW
   ========================================================================== */
.modal-testimonial-card {
  position: relative;
  max-width: 650px !important;
  width: 92% !important;
  height: 90vh !important;
  max-height: 680px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: 24px !important;
  background: #070d1a !important;
  border: 1.5px solid rgba(0, 229, 255, 0.4) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9) !important;
}

.testi-modal-bg-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.testi-modal-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: brightness(0.92);
  -webkit-filter: brightness(0.92);
  opacity: 0;
  transition: opacity 2s ease-in-out;
  will-change: opacity;
}

.testi-modal-bg-slide.active {
  opacity: 1 !important;
}

.testi-modal-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7, 13, 26, 0.45) 0%, rgba(3, 7, 18, 0.62) 100%);
  backdrop-filter: blur(4.5px);
  -webkit-backdrop-filter: blur(4.5px);
  z-index: 1;
  pointer-events: none;
}

.testimonial-carousel-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-carousel {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 40px;
  text-align: center;
}

.testi-avatar-sim {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 2px solid var(--accent);
  margin: 0 auto 20px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.testi-stars {
  color: var(--gold);
  margin-bottom: 16px;
}

.testi-stars i {
  fill: var(--gold);
  width: 16px;
  height: 16px;
}

.testi-review {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 24px;
}

.testi-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}

.testi-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.2);
  transition: var(--transition-fast);
}

.dot.active {
  background-color: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* Controls */
.carousel-controls button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(8, 28, 58, 0.8);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.carousel-controls button:hover {
  background: var(--accent);
  color: var(--dark-navy);
  border-color: var(--accent);
  box-shadow: 0 0 15px var(--accent);
}

.btn-carousel-prev { left: 10px; }
.btn-carousel-next { right: 10px; }

@media (max-width: 600px) {
  .testimonial-slide { padding: 20px 10px; }
  .carousel-controls { display: none; }
}

/* ==========================================================================
   TIMELINE ACHIEVEMENTS
   ========================================================================== */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--secondary), var(--accent), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px;
  margin-bottom: 40px;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-bullet {
  position: absolute;
  top: 24px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--accent);
  border: 4px solid var(--dark-navy);
  box-shadow: 0 0 10px var(--accent);
  z-index: 5;
}

.left .timeline-bullet { right: -8px; }
.right .timeline-bullet { left: -8px; }

.timeline-card {
  padding: 24px;
}

.timeline-year {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
}

.timeline-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.timeline-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .timeline-line { left: 24px; }
  .timeline-item { width: 100%; padding-left: 50px; padding-right: 0; }
  .timeline-item.left { text-align: left; left: 0; }
  .timeline-item.right { left: 0; }
  .left .timeline-bullet { left: 16px; right: auto; }
  .right .timeline-bullet { left: 16px; }
}

/* ==========================================================================
   FAQ ACCORDION SECTION
   ========================================================================== */
.faq-section {
  position: relative;
  z-index: 1;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(10, 34, 64, 0.45);
  border: 1px solid rgba(0, 229, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.05);
  background: rgba(10, 34, 64, 0.6);
  transform: translateY(-2px);
}

.faq-item.active {
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 15px 35px rgba(0, 229, 255, 0.1);
  background: rgba(10, 34, 64, 0.7);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  padding-right: 20px;
  transition: color 0.3s ease;
}

.faq-item:hover .faq-question h3 {
  color: var(--accent);
}

.faq-icon {
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--secondary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 28px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   FORMULIR PENDAFTARAN (MULTI-STEP & GLASSMOPHISM)
   ========================================================================== */
.registration-flow-wrapper {
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.registration-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  transition: var(--transition-smooth);
}

.step-indicator.active .step-num {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--dark-navy);
  box-shadow: 0 0 15px var(--accent);
}

.step-indicator.done .step-num {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

.step-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.step-indicator.active .step-label {
  color: var(--accent);
}

.step-line {
  flex-grow: 1;
  height: 2px;
  background-color: rgba(255,255,255,0.06);
  margin: 0 12px;
  margin-bottom: 24px;
}

/* Step Panels */
.form-step-panel {
  display: none;
}

.form-step-panel.active {
  display: block;
  animation: panelFadeIn 0.5s ease forwards;
}

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

.panel-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--white);
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}

.panel-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
}

.form-grid .form-group label {
  min-height: 2.6rem;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.required {
  color: var(--accent);
}

.small-info {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Custom Input controls */
.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.form-control.error {
  border-color: #FF3366;
  box-shadow: 0 0 10px rgba(255, 51, 102, 0.2);
}

.error-msg {
  font-size: 0.75rem;
  color: #FF3366;
  min-height: 18px;
}

select.form-control option {
  background-color: var(--dark-navy);
  color: var(--white);
}

textarea.rows-2 { height: 75px; resize: none; }
textarea.rows-3 { height: 110px; resize: none; }

/* Panel Actions */
.panel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
}

.btn-next, .btn-submit, .btn-prev {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.btn-prev {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.btn-prev:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn-next {
  background: var(--secondary);
  color: var(--white);
}
.btn-next:hover {
  background: #0088EE;
  transform: translateY(-1px);
}

.btn-submit {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--dark-navy);
  font-weight: 700;
  position: relative;
  overflow: hidden;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 229, 255, 0.3);
}

/* Upload Grid */
.upload-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.upload-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 20px;
}

.upload-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.upload-header h4 {
  font-size: 0.95rem;
}

.upload-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 50px;
}

.upload-badge.text-accent {
  color: var(--accent);
  background: rgba(0, 229, 255, 0.08);
  border: 0.5px solid rgba(0, 229, 255, 0.2);
}

.drag-drop-area {
  position: relative;
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  background: rgba(0, 0, 0, 0.1);
  transition: var(--transition-fast);
  min-height: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.drag-drop-area.drag-over {
  border-color: var(--accent);
  background: rgba(0, 229, 255, 0.05);
}

.file-input-hidden {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 5;
}

.drop-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.drop-icon {
  width: 32px;
  height: 32px;
  color: var(--text-muted);
}

.drop-text {
  font-size: 0.8rem;
}

.drop-text span {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}

.drop-limits {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.35);
}

/* File Preview inside Dropzone */
.file-preview-container {
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 6;
}

.file-preview-thumbnail {
  max-width: 60px;
  max-height: 60px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  object-fit: cover;
}

.file-preview-details {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.file-preview-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-remove-file {
  background: rgba(255, 51, 102, 0.15);
  color: #FF3366;
  border: 1px solid rgba(255, 51, 102, 0.3);
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 4px;
}

/* Upload Progress */
.progress-container {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
  display: none;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--accent);
  transition: width 0.3s ease;
}

@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: span 1; }
  .upload-grid { grid-template-columns: 1fr; }
  .registration-flow-wrapper { padding: 24px 16px; }
}

/* ==========================================================================
   PAYMENT PORTAL & CONFIRMATION
   ========================================================================== */
.payment-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: flex-start;
}

.payment-timer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 51, 102, 0.05);
  border: 1px solid rgba(255, 51, 102, 0.15);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.timer-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.timer-countdown {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: #FF3366;
  text-shadow: 0 0 10px rgba(255, 51, 102, 0.2);
}

.invoice-summary-box {
  background: rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
}

.invoice-header {
  background: rgba(255,255,255,0.02);
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.invoice-header h3 {
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.invoice-status {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}

.invoice-status.pending {
  background: rgba(0, 229, 255, 0.1);
  border: 0.5px solid var(--accent);
  color: var(--accent);
}

.invoice-body {
  padding: 20px;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.invoice-table td {
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.invoice-table td.text-right {
  text-align: right;
  color: var(--white);
}

.invoice-table tr:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.invoice-table tr.total-row {
  border-top: 1.5px solid rgba(255,255,255,0.1);
}

.invoice-table tr.total-row td {
  font-size: 1.15rem;
  font-weight: 700;
  padding-top: 16px;
}

.unique-code-info {
  display: flex;
  gap: 12px;
  background: rgba(0, 153, 255, 0.05);
  border: 1px solid rgba(0, 153, 255, 0.15);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.info-icon {
  color: var(--secondary);
  flex-shrink: 0;
}

/* Payment Tabs */
.payment-methods-wrapper h4 {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.payment-method-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.method-tab {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.method-tab.active {
  background: rgba(0, 153, 255, 0.08);
  border-color: var(--secondary);
  color: var(--white);
}

.method-panel {
  display: none;
}

.method-panel.active {
  display: block;
}

.method-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.bank-accounts-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.bank-account-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bank-logo {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: var(--white);
}

.bank-details {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
}

.account-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}

.account-owner {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-copy {
  background: transparent;
  color: var(--accent);
  font-size: 0.7rem;
  padding: 2px 6px;
  margin-top: 4px;
}

.btn-copy:hover {
  text-decoration: underline;
}

.payment-helper-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  border-radius: 6px;
}

.pay-helper-text {
  color: var(--accent);
  font-weight: 600;
}

.btn-copy-amount {
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-copy-amount:hover {
  background: rgba(0, 229, 255, 0.2);
  border-color: rgba(0, 229, 255, 0.4);
  transform: translateY(-1px);
}

.btn-copy-amount:active {
  transform: translateY(0);
}

.transfer-instructions {
  background: rgba(255,255,255,0.01);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.03);
}

.transfer-instructions h5 {
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.transfer-instructions ol {
  padding-left: 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* QRIS details */
.qris-image-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.qris-glow-box {
  background: var(--white);
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.2);
}

.qris-sim-svg {
  width: 180px;
  height: 180px;
  color: #111;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #ddd;
  position: relative;
}

.qris-icon-main {
  width: 100px;
  height: 100px;
  stroke-width: 1.5;
}

.qris-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  margin-top: 8px;
  color: #E60000;
}

.qris-logo-sim {
  font-size: 0.6rem;
  font-weight: 700;
  color: #0B3D91;
}

/* Right upload panel */
.payment-upload-panel {
  padding: 30px;
}

.payment-upload-panel h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.payment-upload-panel p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.payment-upload-panel form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.w-full {
  width: 100%;
}

@media (max-width: 1024px) {
  .payment-layout { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SUCCESS PAGE (HALAMAN SUKSES)
   ========================================================================== */
.success-section {
  max-width: 700px;
  padding: 60px 24px 80px;
}

.success-badge-glow {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}

.success-icon-check {
  color: #00FF66;
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 0 15px rgba(0, 255, 102, 0.4));
}

.success-title {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.success-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 30px;
}

.success-card {
  margin-bottom: 40px;
  overflow: hidden;
}

.success-card-header {
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.success-card-header h3 {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.status-badge.success {
  background: rgba(0, 255, 102, 0.08);
  color: #00FF66;
  border: 0.5px solid rgba(0, 255, 102, 0.2);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}

.success-card-body {
  padding: 24px;
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: left;
}

.success-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.success-item .lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.success-item .val {
  font-size: 0.95rem;
  color: var(--white);
}

.success-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-success-wa {
  background: #25D366;
  color: var(--white);
  padding: 14px 28px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-success-wa:hover {
  background: #20BA5A;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  transform: translateY(-1px);
}

.btn-success-print {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 14px 28px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-success-print:hover {
  background: rgba(255,255,255,0.1);
}

.btn-success-home {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 14px 28px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-success-home:hover {
  transform: translateY(-1px);
}

.inline-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
}

@media (max-width: 600px) {
  .success-grid { grid-template-columns: 1fr; }
  .success-actions { flex-direction: column; }
  .success-actions button { width: 100%; justify-content: center; }
}

/* ==========================================================================
   ADMIN PANEL / MANAGEMENT SYSTEM DASHBOARD
   ========================================================================== */
.admin-section {
  padding: 24px 0 60px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  margin-bottom: 24px;
}

.admin-profile-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-icon-title {
  color: var(--accent);
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.4));
}

.admin-profile-title h2 {
  font-size: 1.4rem;
  color: var(--white);
}

.admin-profile-title p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-admin-logout {
  background: rgba(255, 51, 102, 0.1);
  border: 1px solid rgba(255, 51, 102, 0.25);
  color: #FF3366;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-admin-logout svg,
.btn-admin-logout i {
  width: 16px;
  height: 16px;
  stroke-width: 2.2px;
}
.btn-admin-logout:hover {
  background: #FF3366;
  color: var(--white);
  border-color: #FF3366;
  box-shadow: 0 0 12px rgba(255, 51, 102, 0.3);
  transform: translateY(-1px);
}
.btn-admin-logout:active {
  transform: translateY(0);
}

/* Tombol Simpan ke Server */
.btn-save-server {
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.25);
  color: #00FF66;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-save-server svg,
.btn-save-server i {
  width: 16px;
  height: 16px;
  stroke-width: 2.2px;
}
.btn-save-server:hover {
  background: #00FF66;
  color: var(--dark-navy);
  border-color: #00FF66;
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.3);
  transform: translateY(-1px);
}
.btn-save-server:active {
  transform: translateY(0);
}
.btn-save-server:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Admin Metrics Grid */
.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.metric-box {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.metric-info {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
}

.metric-icon-bg {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
}

.metric-icon-bg.primary { background: rgba(0, 153, 255, 0.1); color: var(--secondary); }
.metric-icon-bg.warning { background: rgba(0, 229, 255, 0.1); color: var(--accent); }
.metric-icon-bg.success { background: rgba(0, 255, 102, 0.1); color: #00FF66; }
.metric-icon-bg.danger { background: rgba(255, 215, 0, 0.1); color: var(--gold); }

/* Filter Bar */
.admin-filter-bar {
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.filter-search {
  position: relative;
  flex-grow: 1;
  max-width: 400px;
}

.filter-search input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 10px 16px 10px 40px;
  color: #FFFFFF !important;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.filter-search input::placeholder {
  color: #FFFFFF !important;
  opacity: 0.9 !important;
}

.filter-search input:focus {
  outline: none;
  border-color: #00e5ff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #FFFFFF !important;
  width: 16px;
  height: 16px;
  opacity: 0.95;
}

.filter-options {
  display: flex;
  gap: 12px;
}

.form-control-inline {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 8px;
}

.form-control-inline option {
  background-color: var(--dark-navy);
}

/* Data Table Layout */
.admin-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
}

.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-data-table th, .admin-data-table td {
  padding: 16px 20px;
  font-size: 0.85rem;
}

.admin-data-table th {
  background: rgba(255,255,255,0.02);
  font-family: var(--font-heading);
  color: var(--white);
  font-weight: 600;
  border-bottom: 1.5px solid rgba(255,255,255,0.08);
}

.admin-data-table td {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.admin-data-table tbody tr:hover {
  background: rgba(255,255,255,0.01);
}

/* Admin status badge sizes */
.admin-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}

.admin-badge.pending { background: rgba(255, 255, 255, 0.05); color: var(--text-muted); }
.admin-badge.jadwal { background: rgba(251, 191, 36, 0.1); color: #fbbf24; }
.admin-badge.verif { background: rgba(0, 229, 255, 0.1); color: var(--accent); }
.admin-badge.success { background: rgba(0, 255, 102, 0.1); color: #00FF66; }
.admin-badge.failed { background: rgba(255, 51, 102, 0.1); color: #FF3366; }

/* Admin actions button */
.admin-actions-btns {
  display: flex;
  gap: 8px;
}

.btn-admin-action {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-admin-action.verify {
  background: rgba(0, 255, 102, 0.15);
  color: #00FF66;
  border: 1px solid rgba(0, 255, 102, 0.3);
}
.btn-admin-action.verify:hover {
  background: #00FF66;
  color: var(--dark-navy);
  box-shadow: 0 0 10px rgba(0,255,102,0.3);
}

.btn-admin-action.view-doc {
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent);
  border: 1px solid rgba(0, 229, 255, 0.3);
}
.btn-admin-action.view-doc:hover {
  background: var(--accent);
  color: var(--dark-navy);
  box-shadow: 0 0 10px rgba(0,229,255,0.3);
}

.btn-admin-action.delete-reg {
  background: rgba(255, 59, 48, 0.1);
  color: #ff3b30;
  border: 1px solid rgba(255, 59, 48, 0.3);
}
.btn-admin-action.delete-reg:hover {
  background: #ff3b30;
  color: var(--white);
  box-shadow: 0 0 10px rgba(255,59,48,0.3);
}

.admin-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px;
  color: var(--text-muted);
  gap: 16px;
}

.admin-empty-state.hidden { display: none; }

.empty-icon {
  width: 48px;
  height: 48px;
}

@media (max-width: 1024px) {
  .admin-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-filter-bar { flex-direction: column; align-items: stretch; }
}
@media (max-width: 600px) {
  .admin-metrics-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   GLOBAL MODALS PREVIEWS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 28, 58, 0.85);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  width: 100%;
  max-width: 600px;
  overflow: hidden;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.15rem;
}

.btn-modal-close {
  background: transparent;
  color: var(--white);
  font-size: 1.25rem;
}

.modal-body {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
}

.preview-modal-img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.preview-doc-details {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  background: rgba(255,255,255,0.02);
  padding: 16px;
  border-radius: 8px;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 900;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

.wa-ripple {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waRippleAnim 2s infinite ease-out;
}

@keyframes waRippleAnim {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.wa-svg-icon {
  z-index: 10;
}

/* ==========================================================================
   LUXURY FOOTER
   ========================================================================== */
.footer {
  position: relative;
  background-color: #030D1A;
  padding-top: 140px;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* Waves footer */
.footer-waves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  overflow: hidden;
}

.footer-wave {
  position: absolute;
  left: 0;
  width: 200%;
  height: 100%;
  background-repeat: repeat-x;
  background-position: 0 bottom;
}

.wave-f1 {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,50 Q300,10 600,50 T1200,50 V120 H0 Z" fill="%230b3d91" opacity="0.3"/></svg>');
  animation: waveMove 10s linear infinite;
  z-index: 10;
  bottom: 0;
}
.wave-f2 {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,50 Q300,10 600,50 T1200,50 V120 H0 Z" fill="%23081c3a" opacity="0.8"/></svg>');
  animation: waveMove 15s linear infinite;
  z-index: 9;
  bottom: -5px;
}
.wave-f3 {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,50 Q300,10 600,50 T1200,50 V120 H0 Z" fill="%23030d1a" opacity="1"/></svg>');
  animation: waveMove 6s linear infinite;
  z-index: 8;
  bottom: -10px;
}

.footer-content {
  position: relative;
  z-index: 15;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.footer-legal-badge {
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  color: var(--gold);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.75rem;
}

.footer-legal-badge i {
  width: 18px;
  height: 18px;
}

.footer-grid h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 24px;
  border-bottom: 2px solid rgba(0, 153, 255, 0.2);
  padding-bottom: 8px;
  display: inline-block;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-link:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-contact p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact p i {
  color: var(--secondary);
  width: 16px;
  height: 16px;
}

.footer-newsletter p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex-grow: 1;
}

.btn-newsletter {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--dark-navy);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-newsletter:hover {
  box-shadow: 0 0 10px var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 30px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: var(--text-muted);
  margin: 0 8px;
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer { padding-top: 100px; }
}

/* ==========================================================================
   PRINT INVOICE STYLES (DIBUKA SAAT DI-PRINT BROWSER)
   ========================================================================== */
.invoice-print-container {
  display: none;
}

@media print {
  body * {
    visibility: hidden;
  }
  
  .invoice-print-container, .invoice-print-container * {
    visibility: visible;
  }
  
  .invoice-print-container {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: #111;
    background: #fff;
    font-family: 'Inter', sans-serif;
    padding: 40px;
  }

  .print-invoice-layout {
    width: 100%;
  }

  .print-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #333;
    padding-bottom: 20px;
    margin-bottom: 30px;
  }

  .print-logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .print-logo-box h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0B3D91;
  }

  .print-logo-box p {
    font-size: 0.75rem;
    color: #555;
  }

  .print-invoice-title {
    text-align: right;
  }

  .print-invoice-title h1 {
    font-size: 1.8rem;
    color: #111;
    margin-bottom: 4px;
  }

  .print-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
  }

  .print-meta-block h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #555;
    border-bottom: 1px solid #ddd;
    padding-bottom: 6px;
    margin-bottom: 12px;
  }

  .print-meta-block p {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }

  .print-meta-block strong {
    color: #111;
  }

  .print-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
  }

  .print-table th, .print-table td {
    padding: 12px;
    font-size: 0.85rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
  }

  .print-table th {
    background-color: #f5f5f5;
    font-weight: 700;
  }

  .print-table tr.total-row td {
    font-size: 1.1rem;
    font-weight: 800;
    border-top: 2px solid #333;
    border-bottom: none;
    padding-top: 16px;
  }

  .print-footer-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 60px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
  }

  .print-legal-summary {
    max-width: 60%;
    font-size: 0.75rem;
    color: #666;
    line-height: 1.5;
  }

  .print-signature-box {
    text-align: center;
    width: 200px;
  }

  .print-signature-box p {
    font-size: 0.8rem;
    color: #333;
  }

  .signature-space {
    height: 80px;
  }

  .print-qrcode-placeholder {
    margin-top: 12px;
    width: 80px;
    height: 80px;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.5rem;
    text-align: center;
    color: #777;
  }
}

/* ==========================================================================
   GLOBAL RESPONSIVENESS OVERRIDES (LAPTOP, TABLET, MOBILE COMPATIBILITY)
   ========================================================================== */

/* 1. Laptops and Small Desktops (max-width: 1200px) */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

/* 2. Tablets and iPads (max-width: 992px) */
@media (max-width: 992px) {
  .container {
    max-width: 720px;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .section-title {
    font-size: 2.1rem !important;
  }
  .about-split,
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .about-info-title {
    font-size: 1.5rem !important;
  }
  .about-img-sim {
    height: 380px !important;
  }
  .floating-badge-legal {
    bottom: -10px !important;
    right: 10px !important;
    padding: 12px 20px !important;
  }
  .detail-hero-layout {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .coach-detail-layout {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .payment-layout {
    grid-template-columns: 1fr !important;
  }
}

/* 3. Small Tablets and Large Mobiles (max-width: 768px) */
@media (max-width: 768px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  section {
    padding: 60px 0 !important;
  }
  .section-header {
    margin-bottom: 40px !important;
  }
  .section-title {
    font-size: 1.8rem !important;
  }
  .about-info-title {
    font-size: 1.4rem !important;
  }
  .about-img-sim {
    height: 300px !important;
  }
  .notary-details-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .features-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 16px !important;
  }
  .feature-card {
    padding: 20px 16px !important;
  }
  .programs-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  .coaches-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .success-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .registration-flow-wrapper {
    padding: 20px 16px !important;
  }
  .registration-steps {
    margin-bottom: 30px !important;
  }
  .step-label {
    display: none !important; /* Hide labels on mobile to prevent overlapping */
  }
  .step-indicator {
    gap: 0 !important;
  }
}

/* 4. Small Mobiles (max-width: 580px) */
@media (max-width: 580px) {
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .section-title {
    font-size: 1.55rem !important;
  }
  .about-info-title {
    font-size: 1.25rem !important;
  }
  .about-img-sim {
    height: 240px !important;
  }
  .floating-badge-legal {
    position: relative !important;
    bottom: 0 !important;
    right: 0 !important;
    margin-top: 16px !important;
    width: 100% !important;
    justify-content: center !important;
  }
  .programs-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .program-card-content {
    padding: 12px !important;
  }
  .program-card-content h3 {
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
    min-height: 2.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin-bottom: 8px !important;
  }
  .program-category-badge {
    align-self: center !important;
    font-size: 0.65rem !important;
    padding: 2px 8px !important;
    margin-bottom: 6px !important;
  }
  .program-card-content p {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    font-size: 0.75rem !important;
    min-height: 2.1rem !important;
    margin-bottom: 10px !important;
    text-align: center !important;
  }
  .program-meta-list {
    flex-direction: column !important;
    gap: 4px !important;
    margin-bottom: 12px !important;
    align-items: center !important;
  }
  .program-meta-item {
    font-size: 0.7rem !important;
  }
  .program-footer-price {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }
  .price-box {
    text-align: center !important;
  }
  .price-val {
    font-size: 1.1rem !important;
  }
  .btn-card-action.btn-view-detail {
    width: 100% !important;
    text-align: center !important;
    padding: 8px 10px !important;
    font-size: 0.75rem !important;
  }
  .coaches-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .facility-card {
    padding: 20px 12px !important;
  }
  .facility-icon {
    width: 32px !important;
    height: 32px !important;
    margin-bottom: 12px !important;
  }
  .facility-card h4 {
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
  }
  .btn-primary, .btn-secondary, .btn-submit {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 20px !important;
    font-size: 0.95rem !important;
  }
  .hero-btns {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .stat-num {
    font-size: 2.2rem !important;
  }
  .stat-label {
    font-size: 0.75rem !important;
  }
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .upload-grid {
    grid-template-columns: 1fr !important;
  }
  .success-actions {
    flex-direction: column !important;
    width: 100% !important;
  }
  .success-actions button {
    width: 100% !important;
  }
  .admin-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    padding: 16px 20px !important;
  }
}

/* ==========================================================================
   ADMIN CMS PANEL CUSTOM ADDITIONS
   ========================================================================== */
.admin-nav-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  margin-bottom: 24px;
  border-radius: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 229, 255, 0.4) rgba(255, 255, 255, 0.05);
  cursor: grab;
  user-select: none;
}

.admin-nav-tabs:active {
  cursor: grabbing;
}

.admin-nav-tabs::-webkit-scrollbar {
  height: 6px;
}

.admin-nav-tabs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}

.admin-nav-tabs::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #0099ff, #00e5ff);
  border-radius: 10px;
}

.admin-tab-btn {
  flex-shrink: 0;
  white-space: nowrap;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 9px 16px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.admin-tab-btn i {
  width: 18px;
  height: 18px;
}

.admin-tab-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.admin-tab-btn.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.3);
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

.admin-tab-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  margin-bottom: 24px;
  border-radius: 16px;
}

.admin-tab-header-row h3 {
  font-size: 1.4rem;
  margin: 0;
}

.admin-programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

.admin-program-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 20px;
  position: relative;
}

.admin-program-card-media {
  height: 150px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  margin-bottom: 16px;
}

.admin-program-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.admin-program-card-content h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.admin-program-card-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  height: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-card-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.admin-card-actions button {
  flex: 1;
  padding: 10px;
  font-size: 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.btn-card-edit {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-card-edit:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-card-delete {
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.2);
  color: #ff3b30;
}

.btn-card-delete:hover {
  background: rgba(255, 59, 48, 0.25);
  color: #ff453a;
}

/* Form Modal Elements */
.admin-form-modal {
  width: 90% !important;
  max-width: 650px !important;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.admin-form-modal form {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.admin-form-modal .modal-body {
  overflow-y: auto;
  padding: 24px;
  max-height: 55vh;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.form-control-admin {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  width: 100%;
}

.form-control-admin:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}

.form-row-admin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pricing-tiers-editor {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 12px;
  margin-top: 4px;
}

.pricing-tier-edit-row {
  display: grid;
  grid-template-columns: 2fr 2fr auto;
  gap: 8px;
  align-items: center;
}

.btn-remove-tier {
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.2);
  color: #ff3b30;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-remove-tier:hover {
  background: rgba(255, 59, 48, 0.25);
}

.btn-add-tier-row {
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--accent);
  padding: 8px 12px;
  font-size: 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  align-self: flex-start;
  transition: all 0.3s ease;
  margin-top: 4px;
}

.btn-add-tier-row:hover {
  background: rgba(0, 229, 255, 0.2);
}

.img-preview-box {
  width: 120px;
  height: 90px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  border: 1px dashed rgba(255,255,255,0.2);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.admin-thumbnail-cell {
  width: 60px;
  height: 45px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.admin-gallery-list-wrapper, .admin-timeline-list-wrapper {
  overflow-x: auto;
}

/* ==========================================================================
   ADMIN AUTHENTICATION & SETTINGS
   ========================================================================== */
.admin-login-modal {
  max-width: 450px;
}

.admin-login-subtitle {
  line-height: 1.5;
}

.otp-input-container input {
  font-family: var(--font-heading);
  letter-spacing: 8px;
  text-indent: 8px;
}

.settings-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .settings-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.btn-link {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.btn-link:hover {
  color: var(--secondary);
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.btn-link:disabled {
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.5;
  text-shadow: none;
}

/* Simulated Email Toast Notifications */
.sim-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 360px;
  pointer-events: none;
}

.sim-toast {
  pointer-events: auto;
  background: rgba(8, 28, 58, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  display: flex;
  gap: 12px;
}

.sim-toast-icon {
  color: var(--accent);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.sim-toast-content {
  flex-grow: 1;
}

.sim-toast-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--white);
}

.sim-toast-body {
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
}

.sim-toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  align-self: flex-start;
}

.sim-toast-close:hover {
  color: var(--white);
}

@keyframes toastSlideIn {
  from {
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.sim-toast.fade-out {
  animation: toastFadeOut 0.3s ease forwards;
}

@keyframes toastFadeOut {
  to {
    transform: translateY(10px) scale(0.95);
    opacity: 0;
  }
}

/* Standalone Admin Login Page */
.admin-login-card {
  background: rgba(10, 34, 64, 0.65);
  border: 1px solid rgba(0, 229, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ==========================================================================
   MOBILE LAYOUT FIXES FOR ADMIN DASHBOARD
   ========================================================================== */
.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#admin-autosave-indicator {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

@media (max-width: 1024px) {
  .admin-nav-tabs {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 10px 16px;
    scroll-snap-type: x mandatory;
  }
  .admin-tab-btn {
    flex-shrink: 0;
    font-size: 0.85rem;
    padding: 8px 12px;
    scroll-snap-align: start;
  }
  /* Style scrollbar for tabs */
  .admin-nav-tabs::-webkit-scrollbar {
    height: 4px;
  }
  .admin-nav-tabs::-webkit-scrollbar-track {
    background: transparent;
  }
  .admin-nav-tabs::-webkit-scrollbar-thumb {
    background: rgba(0, 229, 255, 0.2);
    border-radius: 2px;
  }
}

@media (max-width: 768px) {
  .admin-header {
    padding: 16px 20px;
  }
  .admin-profile-title h2 {
    font-size: 1.2rem;
  }
  .admin-profile-title p {
    font-size: 0.75rem;
  }
}

@media (max-width: 580px) {
  .container-fluid {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .admin-section {
    padding: 16px 0 40px;
  }
  .admin-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
  .admin-profile-title {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .admin-profile-title img {
    margin: 0 auto;
  }
  .admin-header-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 8px;
  }
  .admin-header-actions button,
  .admin-header-actions #admin-autosave-indicator {
    width: 100%;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }
  .admin-tab-header-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    text-align: center;
  }
  .admin-tab-header-row h3 {
    font-size: 1.15rem;
  }
  .admin-tab-header-row button {
    width: 100%;
    justify-content: center;
  }
  .admin-filter-bar {
    padding: 12px;
    gap: 12px !important;
  }
  .filter-search {
    max-width: 100% !important;
    width: 100%;
  }
  .filter-options {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .form-control-inline {
    width: 100% !important;
  }
  .admin-metrics-grid {
    gap: 12px;
  }
  .metric-box {
    padding: 16px;
  }
  .metric-val {
    font-size: 1.5rem;
  }
  .admin-table-wrapper {
    max-width: 100%;
    width: 100%;
  }
}

/* ==========================================================================
   CUSTOM FLATPICKR DARK NAVY THEME
   ========================================================================== */
.flatpickr-calendar.arp-flatpickr-custom,
.flatpickr-calendar.flatpickr-theme-dark {
  background: #081C3A !important;
  border: 1px solid rgba(0, 229, 255, 0.3) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 229, 255, 0.15) !important;
  border-radius: 12px !important;
  font-family: 'Inter', sans-serif !important;
}

.flatpickr-calendar.arp-flatpickr-custom::before,
.flatpickr-calendar.arp-flatpickr-custom::after {
  border-bottom-color: #081C3A !important;
}

.flatpickr-calendar.arp-flatpickr-custom .flatpickr-months {
  background: rgba(11, 61, 145, 0.4) !important;
  border-radius: 12px 12px 0 0;
  padding: 8px 0 !important;
}

.flatpickr-calendar.arp-flatpickr-custom .flatpickr-month {
  color: #FFFFFF !important;
}

/* Month and Year select styles */
.flatpickr-calendar.arp-flatpickr-custom select.flatpickr-monthDropdown-months,
.flatpickr-calendar.arp-flatpickr-custom .numInputWrapper input.numInput.cur-year {
  background: #0F355C !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 6px !important;
  padding: 4px 8px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  outline: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

.flatpickr-calendar.arp-flatpickr-custom select.flatpickr-monthDropdown-months:hover,
.flatpickr-calendar.arp-flatpickr-custom .numInputWrapper input.numInput.cur-year:hover {
  border-color: #00E5FF !important;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}

.flatpickr-calendar.arp-flatpickr-custom select.flatpickr-monthDropdown-months option {
  background-color: #081C3A !important;
  color: #FFFFFF !important;
}

.flatpickr-calendar.arp-flatpickr-custom .flatpickr-weekdays {
  background: transparent !important;
  padding: 4px 0 !important;
}

.flatpickr-calendar.arp-flatpickr-custom span.flatpickr-weekday {
  color: #A0C0E0 !important;
  font-weight: 600 !important;
}

.flatpickr-calendar.arp-flatpickr-custom .flatpickr-day {
  color: #F4F7FA !important;
  border-radius: 8px !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease;
}

.flatpickr-calendar.arp-flatpickr-custom .flatpickr-day:hover,
.flatpickr-calendar.arp-flatpickr-custom .flatpickr-day:focus {
  background: rgba(0, 229, 255, 0.15) !important;
  border-color: #00E5FF !important;
  color: #FFFFFF !important;
}

.flatpickr-calendar.arp-flatpickr-custom .flatpickr-day.today {
  border-color: rgba(0, 229, 255, 0.5) !important;
  color: #00E5FF !important;
  font-weight: 700 !important;
}

.flatpickr-calendar.arp-flatpickr-custom .flatpickr-day.selected {
  background: linear-gradient(135deg, #0099FF 0%, #00E5FF 100%) !important;
  color: #081C3A !important;
  border-color: transparent !important;
  font-weight: 700 !important;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.4) !important;
}

.flatpickr-calendar.arp-flatpickr-custom .flatpickr-day.flatpickr-disabled {
  color: rgba(255, 255, 255, 0.15) !important;
  background: transparent !important;
  border-color: transparent !important;
}

/* Arrow styling */
.flatpickr-calendar.arp-flatpickr-custom .flatpickr-prev-month,
.flatpickr-calendar.arp-flatpickr-custom .flatpickr-next-month {
  color: #00E5FF !important;
  fill: #00E5FF !important;
  padding: 6px !important;
}

.flatpickr-calendar.arp-flatpickr-custom .flatpickr-prev-month:hover,
.flatpickr-calendar.arp-flatpickr-custom .flatpickr-next-month:hover {
  color: #FFFFFF !important;
  fill: #FFFFFF !important;
}

/* Hide arrow controls on year input to keep it clean */
.flatpickr-calendar.arp-flatpickr-custom .numInputWrapper span {
  display: none !important;
}

/* Session ACC button pulse glow animation */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,229,255,0); }
  50% { box-shadow: 0 0 10px 3px rgba(0,229,255,0.3); }
}

/* ==========================================================================
   REGISTRATION PROGRAM AGE INFO & GUIDE CARDS
   ========================================================================== */
.program-age-guide-card {
  background: rgba(0, 153, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 16px;
  padding: 18px 20px;
  margin-top: 6px;
  backdrop-filter: blur(10px);
}

.program-age-guide-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.program-age-guide-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.program-age-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}

.program-age-pill {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.program-age-pill:hover {
  background: rgba(0, 229, 255, 0.18);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.prog-age-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.prog-age-val {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
}

.selected-program-age-card {
  background: linear-gradient(135deg, rgba(0, 153, 255, 0.15) 0%, rgba(0, 229, 255, 0.08) 100%);
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 16px;
  padding: 18px 20px;
  margin-top: 6px;
  box-shadow: 0 8px 25px rgba(0, 153, 255, 0.15);
}

.selected-prog-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.selected-prog-header .badge-cat {
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.selected-prog-header .badge-cat.regular {
  background: linear-gradient(135deg, #0077FF, #00C3FF);
  color: #FFFFFF;
}

.selected-prog-header .badge-cat.special {
  background: linear-gradient(135deg, #FF9900, #FFD700);
  color: #061F3D;
}

.selected-prog-header .prog-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.selected-prog-age-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
}

.selected-prog-age-banner i {
  color: var(--accent);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.selected-prog-age-banner .age-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
}

.selected-prog-age-banner .age-val {
  font-size: 1.05rem;
  color: #FFFFFF;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.selected-prog-meta-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.selected-prog-meta-grid .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #D6ECFF;
}

.selected-prog-meta-grid .meta-item i {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

/* ==========================================================================
   MOBILE PERFORMANCE & SMOOTH SCROLL OPTIMIZATION (GPU ACCELERATION)
   ========================================================================== */

html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  text-rendering: optimizeSpeed;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

* {
  -webkit-tap-highlight-color: transparent;
}

/* GPU Hardware Acceleration & Lightweight Rendering for Mobile */
@media (max-width: 768px) {
  .glass-card, 
  .navbar, 
  .hero-card,
  .program-card,
  .testimonial-card,
  .faq-card,
  .footer {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    background-color: rgba(11, 20, 38, 0.90) !important;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  section,
  .gallery-grid,
  .testimonials-grid,
  .program-cards-grid,
  .faq-grid {
    content-visibility: auto;
    contain-intrinsic-size: 1px 400px;
  }

  .btn-primary, .glass-card, .program-card {
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.25) !important;
  }
}

/* Prevent blue highlight selection box on mobile star rating */
#public-star-rating,
#public-star-rating *,
#public-star-rating-label {
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
  outline: none !important;
}

/* ========================================================
   MODERN PROGRAM & POOL SELECTOR (REGISTRATION WIZARD)
   ======================================================== */
.program-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.program-select-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.program-select-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(0, 229, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 153, 255, 0.15);
}

.program-select-card.active {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15) 0%, rgba(0, 153, 255, 0.1) 100%);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.25), inset 0 0 15px rgba(0, 229, 255, 0.08);
  transform: translateY(-2px);
}

.program-select-card .card-radio-indicator,
.pool-select-card .card-radio-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.program-select-card.active .card-radio-indicator,
.pool-select-card.active .card-radio-indicator {
  border-color: var(--accent);
  background: var(--accent);
}

.program-select-card.active .card-radio-indicator::after,
.pool-select-card.active .card-radio-indicator::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #081c3a;
}

.program-select-card .card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.badge-home-visit {
  background: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.badge-special-pkg {
  background: rgba(236, 72, 153, 0.2);
  border: 1px solid rgba(236, 72, 153, 0.4);
  color: #f472b6;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

.badge-reg-pkg {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60a5fa;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

.prog-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.prog-card-age {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.prog-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  margin-top: auto;
}

.prog-card-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: #38bdf8;
}

/* POOL SELECTOR */
.pool-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.pool-select-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 18px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pool-select-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 153, 255, 0.15);
}

.pool-select-card.active {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15) 0%, rgba(0, 153, 255, 0.1) 100%);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
  transform: translateY(-2px);
}

.pool-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.pool-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.pool-card-addr {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

.pool-card-price-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

/* HOME POOL FORM BOX */
.home-pool-form-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(0, 229, 255, 0.06) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.1);
  animation: fadeInDown 0.3s ease-out;
}

.home-pool-box-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-pool-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ==========================================================================
   MOBILE BUTTON FIX — Pastikan semua tombol bisa diklik di HP
   ========================================================================== */

.mobile-menu-toggle,
.btn-nav-register,
.btn-nav-admin,
.btn-nav-status,
.btn-drawer-register,
.btn-drawer-admin,
.btn-drawer-status,
.btn-primary,
.btn-secondary,
.drawer-close,
.drawer-link,
.nav-link {
  pointer-events: auto !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: rgba(0, 229, 255, 0.15);
  touch-action: manipulation;
}

.mobile-menu-toggle {
  position: relative;
  z-index: 1100 !important;
  min-width: 44px;
  min-height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

@media (max-width: 1260px) {
  .mobile-menu-toggle {
    display: flex !important;
  }
  .nav-container {
    overflow: visible !important;
    position: relative;
    z-index: 1050;
  }
  .hero-btns {
    position: relative;
    z-index: 5 !important;
  }
  .hero-btns .btn-primary,
  .hero-btns .btn-secondary {
    position: relative;
    z-index: 5 !important;
    min-height: 48px;
    touch-action: manipulation;
  }
  .hero-content {
    position: relative;
    z-index: 3 !important;
  }
  .hero-media-wrapper,
  .video-ambient-sim,
  .video-ambient-sim::after {
    pointer-events: none !important;
    z-index: 0 !important;
  }
}

@media (max-width: 768px) {
  .btn-primary,
  .btn-secondary,
  .btn-drawer-register,
  .btn-drawer-admin,
  .btn-drawer-status {
    min-height: 48px;
    touch-action: manipulation;
  }
  .drawer-link {
    display: block;
    padding: 12px 0;
    touch-action: manipulation;
  }
  .garuda-svg {
    max-width: 85% !important;
    max-height: 85% !important;
    object-fit: contain !important;
    display: block !important;
  }
  .about-img-sim.garuda-frame {
    min-height: 220px;
  }
}

.mobile-drawer {
  z-index: 2000 !important;
}

/* ================================================================
   CRITICAL MOBILE FIX — Tombol-tombol harus bisa diklik di HP
   ================================================================ */

/* Navbar harus SELALU di atas semua elemen */
.floating-navbar {
  z-index: 1500 !important;
  pointer-events: auto !important;
}

.nav-container {
  pointer-events: auto !important;
}

/* Tombol hamburger (garis 3) harus bisa diklik */
.mobile-menu-toggle {
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 1600 !important;
  position: relative !important;
  min-width: 44px !important;
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: rgba(0,229,255,0.2) !important;
  border: none !important;
  padding: 8px !important;
}

@media (max-width: 1260px) {
  .mobile-menu-toggle {
    display: flex !important;
  }
}

/* Semua button di navbar HARUS bisa diklik */
.btn-nav-register,
.btn-nav-admin,
.btn-nav-status {
  cursor: pointer !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: rgba(0,229,255,0.2) !important;
  min-height: 44px !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Hero section buttons HARUS bisa diklik — pastikan tidak ada overlay di atas */
.hero-section {
  overflow: visible !important;
}

.hero-content {
  pointer-events: auto !important;
  position: relative !important;
  z-index: 10 !important;
}

.hero-btns {
  position: relative !important;
  z-index: 15 !important;
  pointer-events: auto !important;
}

.hero-btns .btn-primary,
.hero-btns .btn-secondary {
  pointer-events: auto !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: rgba(0,229,255,0.2) !important;
  min-height: 48px !important;
  position: relative !important;
  z-index: 15 !important;
}

/* Hero overlay, media wrapper, background TIDAK boleh menghalangi klik */
.hero-overlay,
.hero-media-wrapper,
.video-ambient-sim {
  pointer-events: none !important;
}

/* Garuda image — HARUS muncul */
.garuda-svg,
#about-img {
  display: block !important;
  max-width: 90% !important;
  max-height: 90% !important;
  object-fit: contain !important;
  width: auto !important;
  height: auto !important;
}

.about-img-sim.garuda-frame {
  background: rgba(255,255,255,0.05) !important;
  min-height: 200px !important;
}

/* Mobile drawer overlay tidak boleh menghalangi navbar */
.mobile-drawer {
  z-index: 2000 !important;
  pointer-events: auto !important;
}

/* Touch target size untuk semua button di mobile */
@media (max-width: 768px) {
  button, a, [onclick] {
    -webkit-tap-highlight-color: rgba(0,229,255,0.15);
    touch-action: manipulation;
  }

  .btn-primary,
  .btn-secondary,
  .btn-submit,
  .btn-next,
  .btn-prev {
    min-height: 48px !important;
    touch-action: manipulation !important;
  }

  .floating-navbar {
    top: 12px !important;
  }
}

/* Backdrop Overlay for Mobile Drawer */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 15, 33, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2400;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.open {
  display: block;
  opacity: 1;
}

.mobile-drawer {
  z-index: 2500 !important;
}
