/* =========================================
   STYLE.CSS – Class Axioo Gen One
   EFEK · Glassmorphism · Responsif
   ========================================= */

:root {
  --bg-deep: #0a0f18;
  --glass-bg: rgba(15, 25, 40, 0.45);
  --glass-border: rgba(0, 240, 255, 0.25);
  --neon-cyan: #00f0ff;
  --neon-purple: #b44cff;
  --text-primary: #eef5ff;
  --text-secondary: #b0c7e9;
  --card-bg: rgba(18, 28, 45, 0.7);
  --transition-smooth: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Animated Background */
.bg-gradient-animate {
  position: fixed; top:0; left:0; width:100%; height:100%; z-index:-2;
  background: radial-gradient(circle at 30% 40%, #0f1a2b, #03070e);
  animation: bgPulse 20s infinite alternate;
}
@keyframes bgPulse {
  0% { opacity:0.9; transform:scale(1); }
  100% { opacity:1; transform:scale(1.02); }
}

/* Loader */
.loader-wrapper {
  position: fixed; inset:0; background:#050a12; z-index:9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}
.loader-glow {
  width:70px; height:70px; border-radius:50%;
  border:3px solid transparent;
  border-top-color: var(--neon-cyan); border-right-color: var(--neon-purple);
  animation: spin 1.2s linear infinite;
  box-shadow:0 0 40px var(--neon-cyan);
}
.loader-text {
  margin-top:24px; font-weight:600; letter-spacing:6px;
  background:linear-gradient(135deg, cyan, violet);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
@keyframes spin { to { transform:rotate(360deg); } }

/* Glass Effect */
.glass-card, .glass-header, .glass-footer, .mobile-sidebar {
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow:0 10px 30px -10px rgba(0,0,0,0.5);
}
.glass-header {
  position:sticky; top:0; z-index:90; padding:0.8rem 0;
  border-bottom:1px solid rgba(0,255,255,0.15);
}
.container { max-width:1280px; margin:0 auto; padding:0 1.8rem; }

/* Navbar */
.nav-container { display:flex; align-items:center; justify-content:space-between; }
.logo { display:flex; align-items:center; gap:10px; text-decoration:none; font-weight:700; font-size:1.8rem; color:white; }
.logo-icon { color:var(--neon-cyan); filter:drop-shadow(0 0 8px cyan); font-size:2rem; }
.text-neon { color:var(--neon-cyan); text-shadow:0 0 12px cyan; }
.desktop-nav { display:flex; gap:2.2rem; }
.nav-link {
  color:var(--text-secondary); text-decoration:none; font-weight:500;
  padding-bottom:6px; border-bottom:2px solid transparent;
  transition:var(--transition-smooth);
}
.nav-link:hover, .nav-link.active {
  color:white; border-bottom-color:var(--neon-cyan); text-shadow:0 0 10px cyan;
}

/* Hamburger */
.hamburger { display:none; flex-direction:column; background:transparent; border:none; gap:7px; cursor:pointer; }
.hamburger span { width:30px; height:3px; background:white; border-radius:4px; transition:0.3s; }

/* Mobile Sidebar */
.mobile-sidebar {
  position:fixed; top:0; left:-300px; width:280px; height:100%; z-index:1000;
  padding:2rem 1.5rem; transition:left 0.4s ease;
  background:rgba(6,15,28,0.9); backdrop-filter:blur(20px);
  border-right:1px solid var(--neon-cyan);
}
.mobile-sidebar.active { left:0; }
.sidebar-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:2.5rem; }
.sidebar-close { background:none; border:none; font-size:2.5rem; color:white; cursor:pointer; }
.sidebar-nav { display:flex; flex-direction:column; gap:1.4rem; }
.sidebar-link { color:#ddd; text-decoration:none; font-size:1.2rem; padding:0.6rem 1rem; border-radius:14px; }
.sidebar-link:hover { background:rgba(0,240,255,0.1); color:white; }
.sidebar-overlay {
  position:fixed; inset:0; background:rgba(0,0,0,0.5); backdrop-filter:blur(4px);
  z-index:999; opacity:0; visibility:hidden; transition:0.3s;
}
.sidebar-overlay.active { opacity:1; visibility:visible; }

/* ========== HERO SECTION (PERBAIKAN) ========== */
.hero { padding:4rem 0 6rem; position:relative; overflow:hidden; }
.hero-container { display:grid; grid-template-columns:1.2fr 0.8fr; align-items:center; gap:3rem; }
.hero-badge { display:inline-block; padding:0.4rem 1.4rem; border-radius:40px; font-weight:500; margin-bottom:1rem; }
.hero-title { font-size:4.2rem; font-weight:800; line-height:1.2; }
.gradient-text { background:linear-gradient(135deg, #a0e9ff, #c084fc, #00f0ff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero-stroke { -webkit-text-stroke:1.5px rgba(255,255,255,0.6); color:transparent; }
.hero-desc { padding:1.5rem; border-radius:28px; margin:1.8rem 0; }
.btn-primary, .btn-outline {
  padding:0.9rem 2.2rem; border-radius:60px; font-weight:600; text-decoration:none;
  display:inline-block; transition:var(--transition-smooth);
}
.btn-primary { background:linear-gradient(145deg, #0077ff, #b300ff); color:white; box-shadow:0 0 20px #0077ff; border:none; }
.btn-primary:hover { transform:scale(1.05); box-shadow:0 0 35px var(--neon-cyan); }
.btn-outline { border:1.5px solid var(--neon-cyan); color:var(--neon-cyan); }
.btn-outline:hover { background:rgba(0,255,255,0.1); }
.hero-stats { display:flex; gap:2.8rem; margin-top:2.5rem; flex-wrap:wrap; }
.stat-number { font-size:3rem; font-weight:800; color:var(--neon-cyan); display:block; line-height:1.2; }

/* Hero Visual (diperbaiki) */
.hero-visual {
  position:relative;
  height:350px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.orb {
  width:320px; height:320px;
  background:radial-gradient(circle, #3b0f6e, transparent);
  border-radius:50%; filter:blur(60px); opacity:0.6;
  position:absolute; top:50%; left:50%; transform:translate(-50%, -50%);
}
.floating-card {
  position:absolute;
  padding:0.8rem 1.8rem; border-radius:40px;
  background:rgba(20,40,70,0.8); backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,0.1);
  animation:float 6s infinite ease-in-out;
  cursor:pointer;
  transition:0.2s;
  text-decoration:none;
  color:white;
}
.floating-card:hover {
  background:rgba(0,240,255,0.2);
  border-color:var(--neon-cyan);
  box-shadow:0 0 20px var(--neon-cyan);
}
/* Posisi floating card untuk desktop */
.floating-card:nth-of-type(1) { top:10%; right:5%; }
.floating-card:nth-of-type(2) { bottom:20%; left:0; }
.floating-card:nth-of-type(3) { bottom:30%; right:10%; }

@keyframes float {
  0% { transform:translateY(0); }
  50% { transform:translateY(-12px); }
  100% { transform:translateY(0); }
}

/* AOS */
[data-aos] { opacity:0; transition: opacity 0.7s, transform 0.7s; will-change:opacity,transform; }
[data-aos="fade-up"] { transform:translateY(35px); }
[data-aos="fade-left"] { transform:translateX(-35px); }
[data-aos="zoom-in"] { transform:scale(0.9); }
[data-aos].aos-animate { opacity:1; transform:translate(0) scale(1); }

/* Sections */
.section-spacing { margin:5rem auto; }
.section-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:3rem; }
.section-title { font-size:2.8rem; font-weight:700; }
.see-all-link { color:var(--neon-cyan); text-decoration:none; font-weight:500; }

/* Teacher Highlight */
.teacher-highlight {
  display:flex; align-items:center; gap:3rem;
  background:var(--card-bg); border-radius:48px; padding:2.5rem;
  backdrop-filter:blur(12px); border:1px solid var(--glass-border);
}
.teacher-highlight-photo {
  width:180px; height:180px; border-radius:40px;
  border:3px solid var(--neon-cyan); box-shadow:0 0 40px rgba(0,240,255,0.5);
  object-fit:cover;
}
.teacher-highlight-info h3 { font-size:2.2rem; margin-bottom:0.5rem; }
.teacher-highlight-info .role { color:var(--neon-cyan); margin-bottom:1rem; }
.teacher-highlight-quote {
  font-size:1.2rem; font-style:italic; padding-left:1.5rem;
  border-left:4px solid var(--neon-purple);
}

/* Gallery Preview Grid */
.gallery-preview-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:2rem;
}
.gallery-preview-item {
  border-radius:32px; overflow:hidden; cursor:pointer;
  transition:var(--transition-smooth); position:relative;
}
.gallery-preview-item img {
  width:100%; height:240px; object-fit:cover; display:block;
}
.gallery-preview-item:hover {
  transform:translateY(-10px) scale(1.02);
  box-shadow:0 20px 30px -10px rgba(0,240,255,0.3);
  border:1px solid var(--neon-cyan);
}
.gallery-preview-overlay {
  position:absolute; bottom:0; left:0; right:0;
  background:linear-gradient(transparent, rgba(0,0,0,0.7));
  color:white; padding:1rem; font-weight:600;
}

/* ========== SEARCH BAR (PERBAIKAN) ========== */
.search-wrapper {
  max-width:600px;
  margin:2rem auto;
  position:relative;
}
.search-input {
  width:100%;
  padding:1rem 2rem;
  border-radius:60px;
  background:rgba(0,0,0,0.3);
  border:1px solid var(--glass-border);
  color:white;
  font-size:1rem;
  outline:none;
  transition:0.2s;
  backdrop-filter:blur(8px);
}
.search-input:focus {
  border-color:var(--neon-cyan);
  box-shadow:0 0 20px rgba(0,240,255,0.3);
}
.search-input::placeholder {
  color:rgba(255,255,255,0.5);
}

/* ========== STUDENT GRID & CARD ========== */
.student-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.8rem;
}

.student-card {
  position: relative;               /* WAJIB untuk efek absolute pada avatar */
  background: var(--card-bg);
  border-radius: 24px;
  padding: 1.5rem 1rem;
  text-align: center;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s, border-color 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.student-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
  border-color: var(--neon-cyan);
}

/* ========== AVATAR BORDER 3D ========== */
.student-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  object-fit: cover;
  background: #1e2a3a;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 
    0 8px 12px -4px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0, 240, 255, 0.4) inset,
    0 0 0 3px rgba(180, 76, 255, 0.2) inset;
  border: none;
  outline: 2px solid rgba(0, 240, 255, 0.25);
  outline-offset: 2px;
}

/* Hover: efek lebih glowing */
.student-card:hover .student-avatar {
  box-shadow: 
    0 12px 20px -6px rgba(0, 0, 0, 0.7),
    0 0 0 2px rgba(0, 240, 255, 0.7) inset,
    0 0 0 5px rgba(180, 76, 255, 0.3) inset;
  outline: 2px solid rgba(0, 240, 255, 0.7);
  transform: scale(1.02);
}

/* Light mode support */
body.light-mode .student-avatar {
  box-shadow: 
    0 6px 10px -4px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(0, 150, 200, 0.5) inset,
    0 0 0 3px rgba(100, 0, 200, 0.15) inset;
  outline: 2px solid rgba(0, 150, 200, 0.3);
}

body.light-mode .student-card:hover .student-avatar {
  outline-color: rgba(0, 150, 200, 0.8);
}


/* Gradient border menyala */
.student-avatar::after {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: 22px;
  background: linear-gradient(135deg, #00f0ff, #b44cff, #00f0ff);
  opacity: 0.6;
  transition: opacity 0.2s;
  pointer-events: none;
}

/* Hover: lebih glowing */
.student-card:hover .student-avatar {
  box-shadow: 
    0 12px 20px -6px rgba(0, 0, 0, 0.6),
    0 0 0 2px rgba(0, 240, 255, 0.5) inset,
    0 0 0 5px rgba(180, 76, 255, 0.2) inset;
  transform: scale(1.02);
}

.student-card:hover .student-avatar::after {
  opacity: 1;
}

/* Light mode support */
body.light-mode .student-avatar {
  box-shadow: 
    0 6px 10px -4px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(0, 150, 200, 0.4) inset,
    0 0 0 3px rgba(100, 0, 200, 0.1) inset;
}

body.light-mode .student-avatar::after {
  background: linear-gradient(135deg, #0077be, #6a0dad, #0077be);
}
/* ========== AVATAR BORDER 3D + ANIMASI NEON BERPUTAR ========== */
.student-avatar {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  object-fit: cover;
  background: #1e2a3a;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 
    0 8px 12px -4px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0, 240, 255, 0.4) inset,
    0 0 0 3px rgba(180, 76, 255, 0.2) inset;
  border: none;
  outline: 2px solid rgba(0, 240, 255, 0.25);
  outline-offset: 2px;
}

/* Hover: glow lebih kuat */
.student-card:hover .student-avatar {
  box-shadow: 
    0 12px 20px -6px rgba(0, 0, 0, 0.7),
    0 0 0 2px rgba(0, 240, 255, 0.7) inset,
    0 0 0 5px rgba(180, 76, 255, 0.3) inset;
  outline: 2px solid rgba(0, 240, 255, 0.7);
  transform: scale(1.02);
}

/* ========== ANIMASI NEON BERPUTAR (FIXED) ========== */
.student-avatar::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  z-index: -1;
  border-radius: 25px;
  background: conic-gradient(
    from 0deg,
    #00f0ff 0deg,
    #b44cff 90deg,
    #00f0ff 180deg,
    #b44cff 270deg,
    #00f0ff 360deg
  );
  opacity: 0.6;
  animation: rotateNeon 8s linear infinite;
  pointer-events: none;
  filter: blur(1.5px);
  transition: opacity 0.3s, animation-duration 0.3s;
}

.student-card:hover .student-avatar::before {
  opacity: 1;
  animation-duration: 4s;
}

@keyframes rotateNeon {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Light mode */
body.light-mode .student-avatar {
  box-shadow: 
    0 6px 10px -4px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(0, 150, 200, 0.5) inset,
    0 0 0 3px rgba(100, 0, 200, 0.15) inset;
  outline: 2px solid rgba(0, 150, 200, 0.3);
}

body.light-mode .student-card:hover .student-avatar {
  outline-color: rgba(0, 150, 200, 0.8);
}

body.light-mode .student-avatar::before {
  background: conic-gradient(
    from 0deg,
    #0077be 0deg,
    #6a0dad 90deg,
    #0077be 180deg,
    #6a0dad 270deg,
    #0077be 360deg
  );
  opacity: 0.4;
}

body.light-mode .student-card:hover .student-avatar::before {
  opacity: 0.9;
}
/* Detail Page */
.detail-card {
  max-width:1000px; margin:0 auto;
  display:grid; grid-template-columns:auto 1fr; gap:2.5rem;
  padding:2.5rem; border-radius:48px;
  background:rgba(15,25,40,0.55); backdrop-filter:blur(16px);
  border:1px solid rgba(0,240,255,0.3);
}
.detail-avatar {
  width:220px; border-radius:32px;
  border:3px solid var(--neon-cyan); box-shadow:0 0 35px rgba(0,240,255,0.5);
  object-fit:cover; aspect-ratio:1/1;
}
.detail-name {
  font-size:2.6rem; font-weight:800; margin-bottom:1.5rem;
  background:linear-gradient(135deg, #fff, #c0e0ff);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.detail-meta {
  display:grid; grid-template-columns:auto 1fr; gap:0.8rem 1.2rem;
}
.detail-label {
  color:var(--neon-cyan); font-weight:600; text-transform:uppercase;
  letter-spacing:0.03em; font-size:0.85rem;
}
.detail-value { color:var(--text-primary); font-weight:500; }
.detail-quote {
  margin-top:2rem; padding:1rem 1.5rem;
  background:rgba(0,240,255,0.05); border-left:4px solid var(--neon-purple);
  border-radius:0 20px 20px 0; font-style:italic;
}

/* Gallery & Filter */
.filter-bar { display:flex; gap:0.8rem; margin:2rem 0; justify-content:center; flex-wrap:wrap; }
.filter-btn {
  padding:0.6rem 2rem; border-radius:40px; background:transparent;
  border:1px solid rgba(255,255,255,0.3); color:white; cursor:pointer;
}
.filter-btn.active { background:var(--neon-cyan); color:black; }
.gallery-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px,1fr)); gap:1.8rem; }
.gallery-item { border-radius:24px; overflow:hidden; transition:0.3s; }
.gallery-item:hover { transform:scale(1.02); }

/* Footer */
.glass-footer { margin-top:3rem; padding:1.8rem 0; border-top:1px solid var(--glass-border); }
.footer-content { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; }

/* ========== RESPONSIVE (PERBAIKAN TOTAL) ========== */
@media (max-width:900px) {
  .desktop-nav { display:none; }
  .hamburger { display:flex; }
  .hero-container { grid-template-columns:1fr; }
  .hero-visual { height:280px; margin-top:2rem; }
  .floating-card { padding:0.6rem 1.2rem; font-size:0.9rem; }
  .floating-card:nth-of-type(1) { top:5%; right:5%; }
  .floating-card:nth-of-type(2) { bottom:15%; left:5%; }
  .floating-card:nth-of-type(3) { bottom:5%; right:10%; }
  .teacher-highlight { flex-direction:column; text-align:center; }
  .gallery-preview-grid { grid-template-columns:1fr; }
  .section-title { font-size:2.2rem; }
  .detail-card { grid-template-columns:1fr; justify-items:center; text-align:left; }
  .detail-avatar { width:180px; }
}

@media (max-width:600px) {
  .container { padding:0 1.2rem; }
  .hero-title { font-size:2.5rem; }
  .hero-stats { gap:1.5rem; }
  .stat-number { font-size:2.2rem; }
  .search-wrapper { max-width:100%; }
  .student-grid { grid-template-columns:repeat(2,1fr); gap:1rem; }
  .detail-name { font-size:2rem; }
  .detail-meta { grid-template-columns:1fr; gap:0.3rem; }
  .detail-label { margin-top:0.8rem; }
  .gallery-preview-item img { height:200px; }
  .footer-content { flex-direction:column; text-align:center; gap:0.5rem; }
}

/* ========== RESPONSIVE (PERBAIKAN TOTAL) ========== */
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
  .hero-container { grid-template-columns: 1fr; }
  .hero-visual { 
    height: auto; 
    min-height: 300px;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    position: relative;
  }
  .orb {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .floating-card {
    position: relative !important; /* ubah dari absolute ke relative */
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 80%;
    max-width: 300px;
    text-align: center;
    animation: none; /* matikan animasi float agar tidak bergerak aneh */
    transition: transform 0.2s;
    margin: 0 auto;
  }
  .floating-card:hover {
    transform: scale(1.02);
  }
  .teacher-highlight { flex-direction: column; text-align: center; }
  .gallery-preview-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 2.2rem; }
  .detail-card { grid-template-columns: 1fr; justify-items: center; text-align: left; }
  .detail-avatar { width: 180px; }
}

@media (max-width: 600px) {
  .container { padding: 0 1.2rem; }
  .hero-title { font-size: 2.5rem; }
  .hero-stats { gap: 1.5rem; }
  .stat-number { font-size: 2.2rem; }
  .search-wrapper { max-width: 100%; }
  .student-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .detail-name { font-size: 2rem; }
  .detail-meta { grid-template-columns: 1fr; gap: 0.3rem; }
  .detail-label { margin-top: 0.8rem; }
  .gallery-preview-item img { height: 200px; }
  .footer-content { flex-direction: column; text-align: center; gap: 0.5rem; }
  .hero-visual {
    min-height: 280px;
  }
  .floating-card {
    width: 90%;
    padding: 0.8rem 1rem;
  }
}

/* ========== NAVBAR & SIDEBAR ANIMASI ========== */
/* Desktop Nav - Underline animasi */
.nav-link {
  position: relative;
  overflow: hidden;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Sidebar - animasi slide + fade */
.mobile-sidebar {
  transition: left 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s;
  opacity: 0;
}
.mobile-sidebar.active {
  opacity: 1;
  left: 0;
}
.sidebar-link {
  transition: background 0.2s, padding-left 0.2s;
}
.sidebar-link:hover {
  padding-left: 1.5rem;
}

/* Overlay animasi */
.sidebar-overlay {
  transition: opacity 0.3s, visibility 0.3s;
}

/* ========== HALAMAN DETAIL PAGE ========== */
.back-link-wrapper {
  margin-bottom: 2rem;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.premium-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  padding: 2.5rem;
  border-radius: 48px;
  background: rgba(15, 25, 40, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,240,255,0.1) inset;
  transition: box-shadow 0.4s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.premium-detail:hover {
  box-shadow: 0 25px 50px -8px rgba(0, 240, 255, 0.25), 0 0 30px rgba(180, 76, 255, 0.2);
  transform: translateY(-5px);
}

/* Sparkle background */
.premium-detail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(0,240,255,0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.8s;
  pointer-events: none;
}
.premium-detail:hover::before {
  opacity: 1;
}

/* Avatar dengan border premium */
.detail-avatar-premium {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 32px;
  object-fit: cover;
  border: 4px solid var(--neon-cyan);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.6), 0 10px 20px -5px rgba(0,0,0,0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}
.detail-avatar-premium:hover {
  transform: scale(1.02);
  box-shadow: 0 0 60px var(--neon-cyan);
}

.detail-info-premium {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-name-premium {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff, #b0d5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.detail-badge {
  display: inline-block;
  padding: 0.3rem 1.2rem;
  background: rgba(0,240,255,0.15);
  border-radius: 40px;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.detail-grid-premium {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem 1.5rem;
  margin: 1.2rem 0;
}

.detail-label-premium {
  color: var(--neon-cyan);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  opacity: 0.9;
}

.detail-value-premium {
  color: var(--text-primary);
  font-weight: 500;
  word-break: break-word;
}

.detail-quote-premium {
  margin-top: 2rem;
  padding: 1.2rem 1.8rem;
  background: rgba(0, 240, 255, 0.03);
  border-left: 4px solid var(--neon-purple);
  border-radius: 0 24px 24px 0;
  font-size: 1.2rem;
  font-style: italic;
  color: #d0e0ff;
  backdrop-filter: blur(4px);
}

.detail-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

/* Loading state */
.loading-detail {
  text-align: center;
  padding: 3rem;
  color: var(--neon-cyan);
  font-size: 1.2rem;
}

/* Responsive Detail */
@media (max-width: 900px) {
  .premium-detail {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .detail-avatar-premium {
    max-width: 280px;
    margin: 0 auto;
  }
  .detail-name-premium {
    font-size: 2.5rem;
    text-align: center;
  }
  .detail-badge {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .premium-detail {
    padding: 1.5rem;
  }
  .detail-name-premium {
    font-size: 2rem;
  }
  .detail-grid-premium {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
  .detail-label-premium {
    margin-top: 0.8rem;
  }
}

/* ========== HALAMAN GALLERY ========== */
.video-section {
  margin-bottom: 3rem;
  padding: 1.5rem;
  border-radius: 32px;
}

.video-wrapper {
  border-radius: 24px;
  overflow: hidden;
}

.gallery-video {
  width: 100%;
  display: block;
}

.video-caption {
  text-align: center;
  margin-top: 1rem;
  opacity: 0.8;
}

.filter-bar {
  display: flex;
  gap: 0.8rem;
  margin: 2rem 0;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 2rem;
  border-radius: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover {
  border-color: var(--neon-cyan);
}

.filter-btn.active {
  background: var(--neon-cyan);
  color: black;
  border-color: var(--neon-cyan);
}

/* ========== HALAMAN STRUCTURE ========== */
.structure-wrapper {
  padding: 2.5rem;
  border-radius: 40px;
  text-align: center;
}

.org-chart {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.org-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.org-card {
  background: rgba(255,255,255,0.05);
  padding: 1.2rem 2rem;
  border-radius: 20px;
  min-width: 180px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.org-card:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px -5px rgba(0,240,255,0.2);
}

.org-card strong {
  color: var(--neon-cyan);
  font-size: 1.2rem;
}

/* ========== HALAMAN ABOUT ========== */
.about-content {
  padding: 2.5rem;
  border-radius: 40px;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.about-stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.about-stat-item {
  text-align: center;
}

.about-stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--neon-cyan);
  display: block;
  line-height: 1.2;
}

.about-stat-label {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.value-section {
  margin-top: 3rem;
}

.value-card {
  padding: 2.5rem;
  border-radius: 40px;
  text-align: center;
}

.value-quote {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, #b0c7e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.value-author {
  color: var(--neon-cyan);
  font-size: 1.2rem;
}

/* ========== TEACHER CARD / WALIKELAS CARD (dari JS) ========== */
.teacher-card {
  margin-bottom: 2rem;
}

.teacher-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--neon-cyan);
  box-shadow: 0 0 30px rgba(0,240,255,0.4);
  margin-bottom: 1rem;
}

.teacher-quote {
  font-style: italic;
  margin-top: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .org-card {
    min-width: 140px;
    padding: 1rem;
  }
  .value-quote {
    font-size: 1.4rem;
  }
}

/* ========== SOCIAL MEDIA SECTION ========== */
.social-section {
  margin: 4rem 0 2rem;
  text-align: center;
}

.social-title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--card-bg);
  padding: 0.8rem 2rem;
  border-radius: 60px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.social-link:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  transform: translateY(-3px);
  background: rgba(0, 240, 255, 0.05);
}

.social-icon {
  font-size: 1.5rem;
}

/* Notifikasi sukses form */
.form-success-message {
  text-align: center;
  padding: 2rem;
  background: rgba(0, 255, 0, 0.05);
  border-radius: 24px;
  border: 1px solid #00ff88;
  margin-bottom: 1rem;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.form-success-message h3 {
  color: #00ff88;
  margin-bottom: 0.5rem;
}

.form-status {
  margin-top: 1rem;
  text-align: center;
  font-weight: 500;
}

.form-status.error {
  color: #ff6b6b;
}

/* Responsive social */
@media (max-width: 600px) {
  .social-links {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .social-link {
    justify-content: center;
  }
}

/* ========== CONTACT PAGE ========== */
.contact-grid-premium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-card-premium {
  background: var(--card-bg);
  border-radius: 36px;
  padding: 2rem 1.8rem;
  text-align: center;
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
  box-shadow: 0 10px 20px -5px rgba(0,0,0,0.3);
}

.contact-card-premium:hover {
  transform: translateY(-8px);
  border-color: var(--neon-cyan);
  box-shadow: 0 20px 30px -10px rgba(0, 240, 255, 0.25);
}

.contact-icon-premium {
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
}

.contact-card-premium h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--neon-cyan);
}

.primary-contact {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
}

.secondary-contact {
  font-size: 0.95rem;
  opacity: 0.8;
}

.contact-label {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neon-purple);
  border-top: 1px dashed var(--glass-border);
  padding-top: 0.8rem;
}

.map-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 500;
}

.map-container {
  margin: 3rem 0;
  padding: 1rem;
  border-radius: 40px;
}

.map-overlay {
  text-align: center;
  margin-top: 0.8rem;
  font-weight: 500;
  color: var(--neon-cyan);
}

.social-section-premium {
  margin: 4rem 0 2rem;
  text-align: center;
}

.social-title-premium {
  font-size: 2.2rem;
  margin-bottom: 2rem;
}

.social-links-premium {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.social-link-premium {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--card-bg);
  padding: 0.8rem 2rem;
  border-radius: 60px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.social-link-premium:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
  transform: translateY(-3px);
  background: rgba(0, 240, 255, 0.05);
}

.social-icon-premium {
  font-size: 1.5rem;
}

.contact-form-wrapper-premium {
  max-width: 900px;
  margin: 3rem auto 0;
}

.contact-form-premium {
  padding: 2.5rem;
  border-radius: 48px;
  background: rgba(15, 25, 40, 0.5);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
}

.form-group-premium {
  margin-bottom: 1.8rem;
}

.form-group-premium label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--neon-cyan);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.form-control-premium {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: var(--transition-smooth);
  backdrop-filter: blur(4px);
}

.form-control-premium:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

textarea.form-control-premium {
  min-height: 150px;
  resize: vertical;
}

.submit-btn-premium {
  background: linear-gradient(145deg, #0077ff, #b300ff);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 0 20px #0077ff;
  transition: var(--transition-smooth);
  width: 100%;
}

.submit-btn-premium:hover {
  transform: scale(1.02);
  box-shadow: 0 0 35px var(--neon-cyan);
}

.form-success-premium {
  text-align: center;
  padding: 2rem;
  background: rgba(0, 255, 100, 0.05);
  border-radius: 32px;
  border: 1px solid #00ff88;
}

.success-icon-premium {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.form-status-premium {
  margin-top: 1rem;
  text-align: center;
  font-weight: 500;
}

.form-status-premium.error {
  color: #ff6b6b;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid-premium {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .social-links-premium {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-card-premium {
    padding: 1.5rem;
  }
}

/* =========================================
   MOBILE SIDEBAR - HALF SCREEN (70% width)
   Border Gradient Statis · Glassmorphism
   ========================================= */

.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 70%;                     /* hanya 70% layar */
  max-width: 300px;               /* batas maksimal di layar besar */
  height: 100%;
  z-index: 1000;
  padding: 2rem 1.2rem;
  background: rgba(6, 15, 28, 0.9);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-right: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: 8px 0 30px rgba(0, 0, 0, 0.5);
  transition: left 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-cyan) rgba(0,0,0,0.3);
}

.mobile-sidebar::-webkit-scrollbar {
  width: 4px;
}
.mobile-sidebar::-webkit-scrollbar-thumb {
  background: var(--neon-cyan);
  border-radius: 10px;
}

.mobile-sidebar.active {
  left: 0;
}

/* Header */
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
  font-weight: 700;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #fff, var(--neon-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sidebar-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}
.sidebar-close:hover {
  background: rgba(255, 80, 80, 0.15);
  border-color: #ff5e5e;
  transform: scale(1.05);
}

/* Navigasi */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  color: #e0e8ff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  border-radius: 14px;
  background: transparent;
  backdrop-filter: blur(4px);
  border: 1px solid transparent;
  transition: all 0.25s ease;
  position: relative;
}

/* Border gradient statis menyatu */
.sidebar-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.25;
  transition: opacity 0.25s;
  pointer-events: none;
}

.sidebar-link:hover::before {
  opacity: 0.7;
}

.sidebar-link:hover {
  background: rgba(0, 240, 255, 0.05);
  border-color: rgba(0, 240, 255, 0.2);
  color: white;
  padding-left: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

/* Link aktif */
.sidebar-link.active {
  background: rgba(0, 240, 255, 0.08);
  border-left: 4px solid var(--neon-cyan);
  color: white;
  font-weight: 600;
  padding-left: 1.5rem;
}
.sidebar-link.active::before {
  opacity: 0.6;
}

/* Footer */
.sidebar-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.neon-glow-text {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 15px var(--neon-cyan);
  letter-spacing: 2px;
}

/* Overlay dengan area klik di luar sidebar */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsif: di layar sangat kecil, lebar 75% */
@media (max-width: 480px) {
  .mobile-sidebar {
    width: 75%;
    padding: 1.5rem 1rem;
  }
  .sidebar-link {
    padding: 0.8rem 0.9rem;
    font-size: 1rem;
  }
  .sidebar-logo {
    font-size: 1.3rem;
  }
}
/* =========================================
   OPTIMASI PERFORMA SIDEBAR (NO LAG)
   ========================================= */

/* Paksa GPU acceleration untuk sidebar */
.mobile-sidebar {
  will-change: transform, left;
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  backface-visibility: hidden;
}

/* Kurangi beban blur saat tidak aktif */
.mobile-sidebar:not(.active) {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: left 0.4s ease, backdrop-filter 0s 0.4s;
}

/* Overlay optimasi */
.sidebar-overlay {
  will-change: opacity;
  transform: translateZ(0);
}

/* Hindari hover effect berat saat sidebar tidak aktif */
.mobile-sidebar:not(.active) .sidebar-link::before {
  opacity: 0;
  transition: none;
}

/* Smooth scrolling untuk sidebar */
.mobile-sidebar {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* Disable transition pada elemen yang tidak terlihat */
.mobile-sidebar:not(.active) * {
  transition: none !important;
  animation: none !important;
}

/* Optimasi backdrop-filter untuk mobile */
@media (max-width: 900px) {
  .mobile-sidebar {
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
  }
}

/* Batasi efek blur di perangkat low-end */
@media (prefers-reduced-motion: reduce) {
  .mobile-sidebar,
  .sidebar-link,
  .sidebar-link::before {
    transition: none !important;
    animation: none !important;
  }
}
/* ========== GALLERY GRID PERBAIKAN ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-top: 1rem;
}

.gallery-item {
  border-radius: 24px;
  overflow: hidden;
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -8px rgba(0, 240, 255, 0.25);
  border-color: var(--neon-cyan);
}

/* Gambar dalam gallery item */
.gallery-item img {
  width: 100%;
  height: 200px;               /* tinggi seragam */
  object-fit: cover;           /* potong dan isi proporsional */
  display: block;
  background: #1a2533;         /* warna fallback */
  transition: transform 0.4s;
}

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

/* Caption / judul foto */
.gallery-item > div {
  padding: 1rem 0.8rem;
  font-weight: 500;
  text-align: center;
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video section tetap rapi */
.video-section {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  border-radius: 32px;
}

.video-wrapper {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;        /* rasio video standar */
}

.gallery-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-caption {
  margin-top: 0.8rem;
  text-align: center;
  opacity: 0.8;
  font-size: 0.95rem;
}

/* Responsif: tablet */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
  }
  .gallery-item img {
    height: 180px;
  }
}

/* Responsif: mobile */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 kolom rapi */
    gap: 1rem;
  }
  .gallery-item img {
    height: 150px;
  }
  .gallery-item > div {
    padding: 0.7rem 0.4rem;
    font-size: 0.9rem;
  }
}

/* Untuk layar sangat kecil (misal < 400px) opsional 1 kolom */
@media (max-width: 400px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item img {
    height: 200px;
  }
}
/* ========== MAP CONTAINER PERBAIKAN ========== */
.map-container {
  margin: 2.5rem 0;
  padding: 1rem;
  border-radius: 40px;
  overflow: hidden;           /* Pastikan sudut iframe ikut melengkung */
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 280px;              /* Tinggi default */
  border: 0;
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.map-overlay {
  text-align: center;
  margin-top: 0.8rem;
  font-weight: 500;
  color: var(--neon-cyan);
}

.map-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
  border-bottom: 1px dotted var(--neon-cyan);
}

.map-link:hover {
  color: white;
  border-bottom: 1px solid var(--neon-purple);
  text-shadow: 0 0 8px cyan;
}

/* Responsif */
@media (max-width: 600px) {
  .map-container {
    padding: 0.8rem;
    margin: 1.5rem 0;
  }
  .map-container iframe {
    height: 220px;
  }
}
/* Pastikan tidak ada konten pseudo yang bocor */
.map-container,
.social-section-premium {
  word-break: break-word;
}

.map-link {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dotted var(--neon-cyan);
  transition: var(--transition-smooth);
}

.map-link:hover {
  color: white;
  border-bottom-color: var(--neon-purple);
}
/* =========================================
   ANIMASI FOOTER & GLASSMORPHISM
   ========================================= */

.glass-footer {
  margin-top: 4rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--glass-border);
  background: rgba(6, 15, 28, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  z-index: 5;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  position: relative;
  transition: color 0.3s;
}

.footer-content p:hover {
  color: var(--neon-cyan);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: all 0.3s;
  padding-bottom: 4px;
}

/* Animasi underline dari tengah */
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  border-radius: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--neon-cyan);
}

.footer-links a:hover {
  color: white;
  text-shadow: 0 0 8px cyan;
}

.footer-links a:hover::after {
  width: 100%;
}

/* Efek glow pada link aktif */
.footer-links a:active {
  transform: scale(0.95);
}

/* Responsif untuk mobile */
@media (max-width: 600px) {
  .glass-footer {
    padding: 1.5rem 0;
    margin-top: 2.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-links {
    gap: 1.5rem;
    justify-content: center;
  }
  
  .footer-content p {
    font-size: 0.85rem;
  }
}

/* Opsional: tambahkan garis gradien di atas footer */
.glass-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-purple), transparent);
  opacity: 0.6;
}
/* =========================================
   GALLERY MOBILE - GAMBAR MUNCUL TANPA MERUSAK BORDER
   ========================================= */

/* Pastikan gambar di dalam gallery item tidak terpengaruh AOS */
.gallery-item {
  /* Biarkan transform dan opacity bawaan AOS bekerja, 
     tapi kita paksa gambar di dalamnya tetap terlihat */
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1a2533; /* fallback */
  /* Force hardware acceleration untuk mencegah flicker */
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Khusus untuk mobile, pastikan grid selalu punya tinggi dan gambar muncul */
@media (max-width: 600px) {
  .gallery-grid {
    min-height: 200px;
  }
  
  /* Hanya target elemen gambar jika AOS menyembunyikannya */
  .gallery-item {
    opacity: 1 !important;
    transform: none !important;
    /* Kembalikan transisi border dan hover */
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  }
  
  /* Border animasi tetap jalan */
  .gallery-item.animated-border::before,
  .gallery-item.rotating-border::before {
    opacity: 0.35;
    animation: rotateBorder 8s linear infinite;
  }
}
/* =========================================
   ANIMASI GALLERY GRID, RESPONSIF, BORDER ANIMASI
   ========================================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-top: 1.5rem;
}

.gallery-item {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 24px;
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -8px rgba(0, 240, 255, 0.25);
  border-color: var(--neon-cyan);
}

/* Gambar di dalam gallery item */
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: #1a2533;
  transition: transform 0.4s;
}

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

/* Caption / judul foto */
.gallery-item > div:last-child {
  padding: 1rem 0.8rem;
  font-weight: 500;
  text-align: center;
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Border animasi berputar */
.gallery-item.animated-border::before,
.gallery-item.rotating-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    var(--neon-cyan) 90deg,
    var(--neon-purple) 180deg,
    var(--neon-cyan) 270deg,
    transparent 360deg
  );
  border-radius: 26px;
  opacity: 0.35;
  animation: rotateBorder 8s linear infinite;
  pointer-events: none;
}

.gallery-item:hover::before {
  opacity: 0.7;
}

@keyframes rotateBorder {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsif - Tablet */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.2rem;
  }
  .gallery-item img {
    height: 180px;
  }
}

/* Responsif - Mobile */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .gallery-item img {
    height: 150px;
  }
  .gallery-item > div:last-child {
    padding: 0.7rem 0.4rem;
    font-size: 0.85rem;
  }
}

/* Responsif - Small Mobile */
@media (max-width: 400px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item img {
    height: 200px;
  }
}
/* =========================================
   LIGHTBOX PREMIUM · FUTURISTIK · SPARKLE
   ========================================= */

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
}

.lightbox-container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  max-height: 88vh;
  z-index: 10;
  border-radius: 40px;
  background: rgba(10, 20, 35, 0.75);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 
    0 25px 50px -8px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 240, 255, 0.2) inset,
    0 0 30px rgba(180, 76, 255, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: lightboxPopIn 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center;
}

@keyframes lightboxPopIn {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ===== LIGHTBOX CONTAINER (GLASS TRANSPARAN) ===== */
.lightbox-container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  max-height: 88vh;
  z-index: 10;
  border-radius: 40px;
  /* Glass transparan utama */
  background: rgba(20, 30, 45, 0.4);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  /* Border halus transparan */
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 25px 50px -8px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: lightboxPopIn 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Hapus pseudo-element neon, ganti dengan refleksi halus */
.lightbox-container::before {
  display: none; /* Matikan border neon */
}

/* Opsional: tambahkan aksen garis tipis di atas */
.lightbox-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  z-index: 5;
}



.lightbox-content {
  display: flex;
  flex-direction: column;
  padding: 1.8rem;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-cyan) rgba(0,0,0,0.3);
}

.lightbox-content::-webkit-scrollbar {
  width: 4px;
}
.lightbox-content::-webkit-scrollbar-thumb {
  background: var(--neon-cyan);
  border-radius: 10px;
}

.lightbox-image {
  width: 100%;
  max-height: 55vh;
  object-fit: contain;
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0,240,255,0.2) inset;
  background: #0a1220;
  transition: transform 0.3s;
}

.lightbox-image:hover {
  transform: scale(1.01);
}

.lightbox-info {
  padding: 1.5rem 0.5rem 0.5rem;
  text-align: center;
  flex-shrink: 0;
}

.lightbox-category {
  display: inline-block;
  padding: 0.3rem 1.5rem;
  background: rgba(0, 240, 255, 0.08);
  backdrop-filter: blur(8px);
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.4);
  margin-bottom: 1rem;
  box-shadow: 0 0 10px rgba(0,240,255,0.1);
}

.lightbox-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #ffffff, #b8dcff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 20px rgba(0,240,255,0.3);
  line-height: 1.3;
}

.lightbox-desc {
  color: #d0e2ff;
  font-size: 1.1rem;
  line-height: 1.6;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0.8rem;
  word-break: break-word;
  box-shadow: 0 5px 15px -5px rgba(0,0,0,0.3);
}

/* Tombol navigasi premium */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(5, 15, 25, 0.7);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(0, 240, 255, 0.4);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.8rem;
  transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 25;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.lightbox-close {
  top: 18px;
  right: 18px;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background: rgba(180, 50, 255, 0.2);
  border-color: rgba(180, 76, 255, 0.6);
}

.lightbox-prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0, 240, 255, 0.25);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 25px var(--neon-cyan), 0 5px 15px rgba(0,0,0,0.5);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-close:hover {
  transform: scale(1.1);
  background: rgba(255, 60, 60, 0.3);
  border-color: #ff5e5e;
}

/* Responsif */
@media (max-width: 700px) {
  .lightbox-container {
    width: 95%;
    max-height: 92vh;
  }
  .lightbox-content {
    padding: 1.2rem;
  }
  .lightbox-title {
    font-size: 1.8rem;
  }
  .lightbox-desc {
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }
  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
  }
  .lightbox-close {
    top: 12px;
    right: 12px;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

@media (max-width: 480px) {
  .lightbox-title {
    font-size: 1.5rem;
  }
  .lightbox-category {
    font-size: 0.75rem;
    padding: 0.2rem 1rem;
  }
}
/*Animasi PROTEKSI GMAIL DI detail.html*/
.email-protected {
  cursor: pointer;
  border-bottom: 1px dashed var(--neon-cyan);
  transition: color 0.2s;
}
.email-protected:hover {
  color: var(--neon-cyan);
}
/* =========================================
  ANIMASI TYPEWRITER (CLASS AXIOO GEN ONE)
   ========================================= */

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.typewriter-line {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid var(--neon-cyan);
  width: fit-content;
  max-width: 100%;
  animation: blinkCursor 0.8s step-end infinite;
}

.typewriter-line.first {  /*Aturan kecepatan Teks Class Axioo Gen One*/
  animation: typingFirst 7s steps(11, end) infinite, 
             blinkCursor 1.2s step-end infinite;
}

.typewriter-line.second {
  animation: typingSecond 6s steps(7, end) infinite 2s, 
             blinkCursor 1.2s step-end infinite 2s;
}

@keyframes typingFirst {  /*Kecepatan Pas Diakhir Ketikan*/
  0% { width: 0; }
  30% { width: 11ch; } /* "Class Axioo" = 11 karakter termasuk spasi */
  80% { width: 11ch; }
  100% { width: 0; }
}

@keyframes typingSecond {
  0% { width: 0; }
  40% { width: 7ch; } /* "Gen One" = 7 karakter termasuk spasi */
  80% { width: 7ch; }
  100% { width: 0; }
}

@keyframes blinkCursor {
  0%, 100% { border-color: var(--neon-cyan); }
  50% { border-color: transparent; }
}

/* Responsif: jika layar kecil, kurangi ukuran font dan lebar animasi tetap bekerja */
@media (max-width: 600px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .typewriter-line {
    white-space: nowrap;
  }
     }

/* ========== VIDEO THUMBNAIL HORIZONTAL SCROLL ========== */
.video-horizontal-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1.5rem 0.5rem;
  margin-top: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-cyan) rgba(0,0,0,0.3);
}

.video-horizontal-scroll::-webkit-scrollbar {
  height: 6px;
}
.video-horizontal-scroll::-webkit-scrollbar-thumb {
  background: var(--neon-cyan);
  border-radius: 10px;
}

.video-thumbnail {
  flex: 0 0 160px;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card-bg);
  border: 2px solid transparent;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

.video-thumbnail img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}

.video-thumbnail span {
  display: block;
  padding: 0.6rem 0.3rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s;
}

.video-thumbnail:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 240, 255, 0.2);
}

.video-thumbnail:hover span {
  color: var(--neon-cyan);
}

.video-thumbnail.active {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px var(--neon-cyan);
}

/* Responsif mobile */
@media (max-width: 600px) {
  .video-thumbnail {
    flex: 0 0 130px;
  }
  .video-thumbnail img {
    height: 80px;
  }
  .video-thumbnail span {
    font-size: 0.75rem;
    padding: 0.4rem 0.2rem;
  }
}

/* ========== VIDEO FULL BINGKAI (DESKTOP & MOBILE) ========== */
.video-section {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #000; /* fallback hitam */
  line-height: 0;   /* HILANGKAN CELAH BAWAH */
  font-size: 0;     /* tambahan anti celah */
}

.gallery-video {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* ISI PENUH TANPA DISTORSI */
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  aspect-ratio: 16 / 9; /* RASIO STANDAR VIDEO */
}

/* Desktop: batasi tinggi maksimum agar tidak terlalu tinggi */
@media (min-width: 900px) {
  .video-wrapper {
    max-height: 600px; /* Sesuaikan dengan kebutuhan */
  }
  .gallery-video {
    aspect-ratio: auto; /* biarkan video menentukan sendiri */
  }
}
/*ukuran thumbnail*/
.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* Isi penuh, potong sisi berlebih */
  aspect-ratio: 16 / 9; /* Paksa rasio 16:9 */
  display: block;
  background: #000;   /* Warna fallback */
}
/* ========== SEARCH BAR PREMIUM (WAVE PARTICLES) ========== */
.search-wrapper {
  max-width: 600px;
  margin: 2rem auto;
  position: relative;
}

.search-container {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 1rem 3rem 1rem 2rem; /* ruang untuk clear button */
  border-radius: 60px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  color: white;
  font-size: 1rem;
  outline: none;
  transition: 0.2s;
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 2;
}

.search-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
}

/* Tombol Clear (X) */
.clear-search-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 3;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.clear-search-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

/* Wave animasi di dalam search bar */
.search-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 60px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.search-wave::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.4), transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease, opacity 0.4s;
  opacity: 0;
}

.search-input:focus ~ .search-wave::before {
  width: 300px;
  height: 300px;
  opacity: 0.15;
  animation: wavePulse 3s infinite alternate;
}

@keyframes wavePulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
  100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.2; }
}

/* Search icon (kaca pembesar) */
.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 1.2rem;
  pointer-events: none;
  z-index: 3;
}

/* Responsif */
@media (max-width: 600px) {
  .search-input {
    padding: 0.9rem 2.8rem 0.9rem 2.5rem;
  }
  .clear-search-btn {
    right: 10px;
  }
}
