    :root { 
      --bg: #0c0c0c; --fg: #f8fafc; --muted: #737373; --accent: #f97316; 
      --accent-blue: #0ea5e9; --card: #161616; --border: rgba(115, 115, 115, 0.2); 
    }
    * { margin: 0; padding: 0; box-sizing: border-box; } 
    html { scroll-behavior: smooth; }
    body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--fg); overflow-x: hidden; }
    .font-display { font-family: 'Space Grotesk', sans-serif; }

    .hero-bg { 
      background: 
        radial-gradient(ellipse 100% 80% at 50% -30%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 100% 50%, rgba(249, 115, 22, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse 50% 40% at 0% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, #0c0c0c 0%, #0a0a0a 100%); 
    }
    
    .grid-pattern { 
      background-image: 
        linear-gradient(rgba(14, 165, 233, 0.03) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(14, 165, 233, 0.03) 1px, transparent 1px); 
      background-size: 80px 80px; 
    }

    @keyframes slide-up { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes scale-in { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
    @keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } }
    
    .animate-slide-up { animation: slide-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; } 
    .animate-scale-in { animation: scale-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
    .animate-float { animation: float 6s ease-in-out infinite; }
    .stagger-1 { animation-delay: 0.1s; } .stagger-2 { animation-delay: 0.2s; } .stagger-3 { animation-delay: 0.35s; } .stagger-4 { animation-delay: 0.5s; }

    #particles-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }

    .slot-available { 
      background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%); 
      border: 1px solid rgba(34, 197, 94, 0.3); cursor: pointer; transition: all 0.3s ease; 
    }
    .slot-available:hover { 
      background: linear-gradient(135deg, rgba(34, 197, 94, 0.3) 0%, rgba(34, 197, 94, 0.15) 100%); 
      transform: scale(1.05); border-color: rgba(34, 197, 94, 0.6); 
    }
    .slot-locked { 
      background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(34, 197, 94, 0.02) 100%); 
      border: 1px solid rgba(34, 197, 94, 0.1); cursor: not-allowed; opacity: 0.5;
    }
    .slot-booked { 
      background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%); 
      border: 1px solid rgba(239, 68, 68, 0.3); cursor: not-allowed; opacity: 0.6; 
    }
    .slot-selected { 
      background: linear-gradient(135deg, rgba(249, 115, 22, 0.4) 0%, rgba(249, 115, 22, 0.2) 100%); 
      border: 2px solid #f97316; box-shadow: 0 0 25px rgba(249, 115, 22, 0.4); 
    }

    ::-webkit-scrollbar { width: 6px; height: 6px; } 
    ::-webkit-scrollbar-track { background: #1a1a1a; } 
    ::-webkit-scrollbar-thumb { background: #f97316; border-radius: 3px; }
    
    .nav-link { position: relative; }
    .nav-link::after { 
      content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px; 
      background: linear-gradient(90deg, #f97316, #0ea5e9); transition: width 0.3s ease; 
    }
    .nav-link:hover::after, .nav-link.active::after { width: 100%; }

    .facility-card { transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
    .facility-card:hover { 
      transform: translateY(-12px) scale(1.02); 
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 80px rgba(14, 165, 233, 0.1); 
    }
    
    .btn-primary { 
      background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); 
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
      position: relative; overflow: hidden; 
    }
    .btn-primary::before { 
      content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; 
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent); 
      transition: left 0.6s ease; 
    }
    .btn-primary:hover::before { left: 100%; }
    .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(249, 115, 22, 0.4); }

    .btn-secondary { 
      background: linear-gradient(135deg, #0ea5e9 0%, #0c4a6e 100%); 
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    }
    .btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(14, 165, 233, 0.3); }

    .section { opacity: 0; transform: translateY(50px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
    .section.visible { opacity: 1; transform: translateY(0); }

    .modal-overlay { backdrop-filter: blur(12px); background: rgba(0, 0, 0, 0.85); }
    
    button:focus-visible, a:focus-visible, input:focus-visible { 
      outline: 2px solid #f97316; outline-offset: 3px; 
    }
    
    input[type="file"]::file-selector-button { 
      background: rgba(14, 165, 233, 0.15); color: #0ea5e9; border: 0; 
      padding: 10px 20px; border-radius: 8px; cursor: pointer; 
      transition: all 0.3s; font-weight: 500;
    }
    input[type="file"]::file-selector-button:hover { background: rgba(14, 165, 233, 0.3); }

    @media (prefers-reduced-motion: reduce) { 
      *, *::before, *::after { 
        animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; 
        transition-duration: 0.01ms !important; 
      } 
    }
    
    .mobile-menu { transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
    .mobile-menu.open { transform: translateX(0); }

    .gallery-item { transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
    .gallery-item:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
    .gallery-item img { transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
    .gallery-item:hover img { transform: scale(1.15); }

    .gradient-text { background: linear-gradient(135deg, #f97316, #0ea5e9); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    
    .stat-card { 
      background: linear-gradient(135deg, rgba(22, 22, 22, 0.8) 0%, rgba(12, 12, 12, 0.9) 100%);
      border: 1px solid rgba(115, 115, 115, 0.15);
      backdrop-filter: blur(10px);
    }

    .hero-orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(60px);
      opacity: 0.5;
    }

    .social-icon {
      transition: all 0.3s ease;
    }
    .social-icon:hover {
      transform: translateY(-3px);
    }
    .social-icon.instagram:hover { color: #E4405F; }
    .social-icon.tiktok:hover { color: #00f2ea; }
    .social-icon.facebook:hover { color: #1877F2; }

    .lang-active { color: white; font-weight: bold; text-decoration: underline; text-underline-offset: 4px; }
    .lang-inactive { color: #9ca3af; }

    /* Toast Notification Styles */
    #toast-container {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 100;
        pointer-events: none;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .toast {
        background: rgba(15, 23, 42, 0.95);
        color: white;
        padding: 12px 24px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        font-size: 0.9rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 10px;
        animation: slideUpFade 0.4s ease-out forwards;
        pointer-events: auto;
        backdrop-filter: blur(8px);
    }
    .toast.error { border-left: 4px solid #ef4444; }
    .toast.success { border-left: 4px solid #22c55e; }
    
    @keyframes slideUpFade {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeOut {
        to { opacity: 0; transform: translateY(-10px); }
    }



    /* ADMIN DASHBOARD STYLES */
    #admin-dashboard-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.95);
        z-index: 9999;
        display: none;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }
    .admin-panel {
        background: #1a1a1a;
        border: 1px solid #333;
        border-radius: 16px;
        width: 100%;
        max-width: 600px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        overflow: hidden;
        animation: slide-up 0.4s ease-out;
    }
    .admin-header {
        background: linear-gradient(135deg, #ea580c, #f97316);
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .admin-row {
        display: flex;
        justify-content: space-between;
        padding: 12px 24px;
        border-bottom: 1px solid #333;
        font-size: 0.95rem;
    }
    .admin-row:last-child { border-bottom: none; }
    .admin-label { color: #9ca3af; }
    .admin-value { color: #f3f4f6; font-weight: 500; text-align: right; }
    
        /* MEMBERSHIP TOGGLE STYLES */
    .membership-switch {
      position: relative; width: 56px; height: 28px;
      background: var(--card); border: 1px solid rgba(115,115,115,0.2);
      border-radius: 14px; cursor: pointer; transition: all 0.3s ease; flex-shrink: 0;
    }
    .membership-switch.active {
      background: linear-gradient(135deg, #f97316, #ea580c);
      border-color: #f97316;
      box-shadow: 0 0 20px rgba(249,115,22,0.3);
    }
    .membership-switch-knob {
      position: absolute; top: 2px; left: 2px;
      width: 22px; height: 22px; border-radius: 50%;
      background: #737373; transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    }
    .membership-switch.active .membership-switch-knob {
      left: 30px; background: white;
    }
    .membership-date-card {
      transition: all 0.3s ease;
    }
    .membership-date-card:hover {
      transform: translateY(-2px);
    }
    .membership-date-card.has-conflict {
      border-color: rgba(239,68,68,0.4) !important;
      background: rgba(239,68,68,0.05) !important;
    }
    .membership-date-card.is-ok {
      border-color: rgba(34,197,94,0.3) !important;
    }
    .membership-badge {
      background: linear-gradient(135deg, rgba(249,115,22,0.2), rgba(14,165,233,0.2));
      border: 1px solid rgba(249,115,22,0.3);
    }
        /* Facility Tab Styling */
    .facility-tab {
      border: 1px solid rgba(255, 255, 255, 0.1); /* Box border */
      border-radius: 12px; /* Rounded corners like the date */
      color: #9ca3af;
      background: rgba(255, 255, 255, 0.03); /* Subtle dark background */
      transition: all 0.3s ease;
    }
    .facility-tab:hover {
      color: #e5e7eb;
      border-color: rgba(255, 255, 255, 0.2);
      background: rgba(255, 255, 255, 0.05);
    }
    .facility-tab.active {
      color: white !important; /* White text */
      background: #f97316 !important; /* Solid yellow/orange box */
      border-color: #f97316 !important; /* Matching border */
      box-shadow: 0 0 20px rgba(249, 115, 22, 0.3); /* Matching glow */
    }
    
/* ===== LANGUAGE GATE ===== */
#lang-gate { display: flex; }
html.lang-chosen #lang-gate { display: none; }

/* Lock scrolling until a language is chosen (only on pages that have the gate) */
html:not(.lang-chosen) body.has-lang-gate { overflow: hidden; }

/* Dark scrim + blur: dims the page so the white card pops */
.gate-backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Bright elevated card */
.gate-card {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  padding: 44px 36px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 30px 90px rgba(0, 0, 0, 0.65);
}

/* Brand gradient strip across the top */
.gate-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #f97316, #0ea5e9);
}

/* Soft brand blooms inside the card */
.gate-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle 220px at 100% 0%, rgba(14, 165, 233, 0.08), transparent 70%),
    radial-gradient(circle 220px at 0% 100%, rgba(249, 115, 22, 0.08), transparent 70%);
}

/* --- Row-style language buttons (flag left, text right) --- */
.lang-gate-btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 18px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.lang-gate-btn:active { transform: scale(0.98); }

.gate-btn-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.gate-btn-name { font-weight: 700; color: #0f172a; font-size: 1.125rem; line-height: 1.2; }
.gate-btn-sub { color: #64748b; font-size: 0.875rem; line-height: 1.3; }

.gate-btn-arrow {
  width: 20px; height: 20px;
  color: #94a3b8;
  flex-shrink: 0;
  transition: color 0.25s ease, transform 0.25s ease;
}

/* Flag — exact 2:1 ratio to match the SVG viewBox, no distortion */
.gate-flag {
  width: 64px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.1);
}

/* Hover only on devices that actually hover (prevents sticky hover on touch) */
@media (hover: hover) {
  .lang-gate-btn:hover { background: #ffffff; transform: translateY(-3px); }
  .lang-gate-btn-en:hover { border-color: #0ea5e9; box-shadow: 0 12px 32px rgba(14, 165, 233, 0.25); }
  .lang-gate-btn-en:hover .gate-btn-arrow { color: #0ea5e9; transform: translateX(3px); }
  .lang-gate-btn-id:hover { border-color: #f97316; box-shadow: 0 12px 32px rgba(249, 115, 22, 0.25); }
  .lang-gate-btn-id:hover .gate-btn-arrow { color: #f97316; transform: translateX(3px); }
}

.gate-fade-in { animation: gateFadeIn 0.6s ease-out both; }
@keyframes gateFadeIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Mobile refinements --- */
@media (max-width: 640px) {
  .gate-card { padding: 28px 18px 26px; border-radius: 20px; }
  .gate-flag { width: 52px; height: 26px; border-radius: 6px; }
  .lang-gate-btn { padding: 14px; gap: 12px; border-radius: 16px; }
  .gate-btn-name { font-size: 1rem; }
  .gate-btn-sub { font-size: 0.8rem; }
}