/* ============================================================
   SDN 2 PUSPORENGGO — Cyber School Theme
   © 2026 SDN 2 Pusporenggo. All Rights Reserved.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --bg-deep:    #0A192F;
  --bg-card:    #112240;
  --bg-card-2:  #0D1B36;
  --accent:     #64FFDA;
  --accent-2:   #00B4D8;
  --accent-3:   #7928CA;
  --text:       #CCD6F6;
  --text-dim:   #8892B0;
  --border:     #1E3A5F;
  --glow:       rgba(100, 255, 218, 0.18);
  --glow-blue:  rgba(0, 180, 216, 0.25);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 4px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(100,255,218,0.08);
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-deep);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ── Selection ── */
::selection { background: var(--accent); color: var(--bg-deep); }

/* ─────────────────────────────────────────────
   NAVBAR
───────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition);
}

#navbar.scrolled {
  background: rgba(10, 25, 47, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px var(--accent));
  transition: transform var(--transition);
}
.nav-brand:hover img { transform: rotate(10deg) scale(1.1); }

.nav-brand-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  line-height: 1.2;
}
.nav-brand-text small {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 2px;
  font-family: 'Inter', sans-serif;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: all var(--transition);
  transform: translateX(-50%);
}

.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 60%; }
.nav-links a.active { color: var(--accent); }

.nav-cta {
  background: transparent;
  border: 1px solid var(--accent) !important;
  color: var(--accent) !important;
  box-shadow: 0 0 12px var(--glow);
}
.nav-cta:hover {
  background: rgba(100, 255, 218, 0.1) !important;
  box-shadow: 0 0 24px var(--glow) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  position: relative;
  z-index: 1010; /* Keep on top of mobile menu */
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  overflow: hidden;
}

#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border: none;
  outline: none;
  background: transparent;
}



.hero-content { position: relative; z-index: 1; max-width: 780px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(100, 255, 218, 0.08);
  border: 1px solid rgba(100, 255, 218, 0.25);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 auto 28px;
  animation: fadeInDown 0.8s ease both;
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-logo {
  display: block;
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 24px rgba(100,255,218,0.5));
  animation: fadeInDown 0.9s ease both 0.1s, logoFloat 6s ease-in-out infinite 1s;
}

.hero-school-name {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(0.8rem, 2vw, 1rem);
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 8px;
  animation: fadeInDown 1s ease both 0.2s;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  animation: fadeInDown 1s ease both 0.3s;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeInDown 1s ease both 0.4s;
}

.hero-type-container {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--accent);
  margin-bottom: 40px;
  min-height: 28px;
  animation: fadeInDown 1s ease both 0.5s;
}

#typewriter { border-right: 2px solid var(--accent); padding-right: 4px; }

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInDown 1s ease both 0.6s;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg-deep);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  box-shadow: 0 0 20px rgba(100,255,218,0.35);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: #4de8c2;
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(100,255,218,0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.5px;
  border: 1.5px solid rgba(100,255,218,0.5);
  transition: all var(--transition);
}
.btn-outline:hover {
  background: rgba(100,255,218,0.08);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--glow);
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 64px;
  flex-wrap: wrap;
  animation: fadeInDown 1s ease both 0.7s;
}

.stat-item { text-align: center; }
.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  align-self: center;
}

/* ─────────────────────────────────────────────
   SECTION SHARED STYLES
───────────────────────────────────────────── */
section {
  padding: 96px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.section-header { text-align: center; margin-bottom: 64px; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-tag::before,
.section-tag::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─────────────────────────────────────────────
   PROFIL SECTION
───────────────────────────────────────────── */
#profil { border-top: 1px solid var(--border); }

.profil-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.identity-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.identity-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.identity-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.identity-value {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.identity-value:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.npsn-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(100,255,218,0.08);
  border: 1px solid rgba(100,255,218,0.2);
  border-radius: 50px;
  padding: 5px 16px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 2px;
}

.visi-card {
  background: linear-gradient(135deg, rgba(100,255,218,0.06), rgba(0,180,216,0.06));
  border: 1px solid rgba(100,255,218,0.2);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.visi-card::after {
  content: '"';
  position: absolute;
  bottom: -20px;
  right: 20px;
  font-size: 180px;
  font-family: 'Orbitron', sans-serif;
  color: rgba(100,255,218,0.04);
  line-height: 1;
  pointer-events: none;
}

.visi-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  box-shadow: 0 0 20px var(--glow);
}

.visi-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.visi-text {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
  font-weight: 500;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(100,255,218,0.07);
  border: 1px solid rgba(100,255,218,0.15);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 500;
  transition: all var(--transition);
}
.pill:hover {
  background: rgba(100,255,218,0.14);
  color: var(--accent);
  border-color: rgba(100,255,218,0.35);
}
.pill-icon { font-size: 0.9rem; }

/* ─────────────────────────────────────────────
   GURU SECTION
───────────────────────────────────────────── */
#guru { border-top: 1px solid var(--border); }

.guru-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.guru-card {
  flex: 1 1 250px;
  max-width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
  box-shadow: var(--shadow-card);
}
.guru-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(100,255,218,0.03), rgba(0,180,216,0.03));
  opacity: 0;
  transition: opacity var(--transition);
}
.guru-card:hover {
  transform: translateY(-6px);
  border-color: rgba(100,255,218,0.3);
  box-shadow: 0 12px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(100,255,218,0.15), 0 0 32px rgba(100,255,218,0.08);
}
.guru-card:hover::before { opacity: 1; }

.guru-photo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.guru-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid rgba(100,255,218,0.3);
  filter: grayscale(20%);
  transition: all var(--transition);
}
.guru-card:hover .guru-photo {
  border-color: var(--accent);
  filter: grayscale(0%);
  box-shadow: 0 0 20px var(--glow);
}

.guru-role-badge {
  position: absolute;
  bottom: 2px;
  right: -4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg-deep);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.guru-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.guru-nip {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-bottom: 12px;
  font-family: monospace;
  letter-spacing: 0.5px;
}

.guru-role-text {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}

.guru-desc {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   EDUGIMHUB SECTION
───────────────────────────────────────────── */
#edugimhub {
  border-top: 1px solid var(--border);
  max-width: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(17,34,64,0.4) 50%, transparent 100%);
  padding: 96px 0;
}

.edugimhub-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
}
.filter-btn:hover,
.filter-btn.active {
  background: rgba(100,255,218,0.1);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 12px var(--glow);
}

/* Games Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  position: relative;
}
.game-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: border-color var(--transition);
  pointer-events: none;
}
.game-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 32px rgba(100,255,218,0.12);
}
.game-card:hover::after {
  border-color: rgba(100,255,218,0.3);
}

.game-card-thumb {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.game-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
  width: fit-content;
}

.game-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 6px;
}

.game-desc {
  font-size: 0.73rem;
  color: var(--text-dim);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.game-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  border: 1.5px solid currentColor;
  text-transform: uppercase;
}

/* Category Colors */
.cat-math { 
  --cat-color: #64FFDA; 
  --cat-bg: rgba(100,255,218,0.08);
  --cat-grad: linear-gradient(135deg, #1a5c4a, #0e3d30);
}
.cat-bahasa { 
  --cat-color: #00B4D8; 
  --cat-bg: rgba(0,180,216,0.08);
  --cat-grad: linear-gradient(135deg, #0d3d50, #082840);
}
.cat-agama { 
  --cat-color: #fbbf24; 
  --cat-bg: rgba(251,191,36,0.08);
  --cat-grad: linear-gradient(135deg, #4a3a0e, #332808);
}
.cat-sains { 
  --cat-color: #a78bfa; 
  --cat-bg: rgba(167,139,250,0.08);
  --cat-grad: linear-gradient(135deg, #3a2d5c, #261e42);
}
.cat-olahraga { 
  --cat-color: #f87171; 
  --cat-bg: rgba(248,113,113,0.08);
  --cat-grad: linear-gradient(135deg, #5c2d2d, #3d1e1e);
}
.cat-stem { 
  --cat-color: #34d399; 
  --cat-bg: rgba(52,211,153,0.08);
  --cat-grad: linear-gradient(135deg, #1a4a38, #0e3228);
}
/* cat-umum removed */

.game-card-thumb { background: var(--cat-grad); }
.game-category-badge { 
  background: var(--cat-bg);
  color: var(--cat-color);
  border: 1px solid color-mix(in srgb, var(--cat-color) 30%, transparent);
}
.game-play-btn { color: var(--cat-color); }
.game-play-btn:hover {
  background: var(--cat-bg);
  box-shadow: 0 0 16px color-mix(in srgb, var(--cat-color) 30%, transparent);
}
.game-card:hover .game-play-btn { background: var(--cat-bg); }

/* Hidden game cards for filter */
.game-card.hidden {
  display: none;
}

/* ─────────────────────────────────────────────
   KONTAK SECTION
───────────────────────────────────────────── */
#kontak { border-top: 1px solid var(--border); }

.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.kontak-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.kontak-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.kontak-item:last-child { border-bottom: none; padding-bottom: 0; }
.kontak-item:first-child { padding-top: 0; }

.kontak-icon-wrap {
  width: 42px; height: 42px;
  background: rgba(100,255,218,0.08);
  border: 1px solid rgba(100,255,218,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all var(--transition);
}
.kontak-item:hover .kontak-icon-wrap {
  background: rgba(100,255,218,0.15);
  box-shadow: 0 0 12px var(--glow);
}

.kontak-item-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.kontak-item-value {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.kontak-item-value a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
.kontak-item-value a:hover { color: #4de8c2; text-decoration: underline; }

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all var(--transition);
}
.social-btn:hover {
  color: var(--accent);
  border-color: rgba(100,255,218,0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.social-icon { font-size: 1.2rem; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.map-header {
  background: var(--bg-card);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.map-header span { font-size: 0.82rem; color: var(--text-dim); }
.map-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }

.map-wrap iframe {
  width: 100%;
  height: 340px;
  display: block;
  border: none;
  filter: grayscale(1) invert(0.9) contrast(1.15) hue-rotate(160deg);
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
footer {
  background: rgba(10,25,47,0.8);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px var(--accent));
}
.footer-logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}

.footer-tagline {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.footer-links a {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }

.footer-divider {
  width: 80px;
  height: 1px;
  background: var(--border);
  margin: 0 auto 24px;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dim);
  opacity: 0.7;
}
.footer-copy span { color: var(--accent); }

/* ─────────────────────────────────────────────
   KEYFRAMES
───────────────────────────────────────────── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .profil-grid,
  .kontak-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle {
    display: flex;
    z-index: 100000 !important;
  }

  .nav-links.mobile-open {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: #0A192F !important; /* Extremely solid dark navy background to block everything */
    align-items: center !important;
    justify-content: center !important;
    gap: 24px !important;
    z-index: 99999 !important;
    padding: 40px 24px !important;
    box-sizing: border-box !important;
  }

  .nav-links.mobile-open li {
    width: 100% !important;
    text-align: center !important;
    list-style: none !important;
    display: block !important;
  }

  .nav-links.mobile-open a {
    display: inline-block !important;
    font-size: 1.5rem !important; /* Large, easy to read/tap */
    font-weight: 700 !important;
    padding: 12px 32px !important;
    color: #FFFFFF !important; /* Pure white for high contrast */
    text-decoration: none !important;
    letter-spacing: 1px !important;
    font-family: 'Orbitron', sans-serif !important;
    transition: all var(--transition) !important;
  }

  .nav-links.mobile-open a:hover,
  .nav-links.mobile-open a.active {
    color: var(--accent) !important; /* Highlight with cyber cyan */
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.4) !important;
  }

  .nav-links.mobile-open a.nav-cta {
    border: 2px solid var(--accent) !important;
    border-radius: 8px !important;
    color: var(--accent) !important;
    background: rgba(100, 255, 218, 0.05) !important;
  }
}

@media (max-width: 600px) {
  section { padding: 72px 16px; }
  .hero-stats { gap: 24px; }
  .stat-divider { display: none; }
  .guru-grid { grid-template-columns: repeat(2, 1fr); }
  .games-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
}

/* ── Utility ── */
.text-accent { color: var(--accent); }
.fw-mono { font-family: monospace; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─────────────────────────────────────────────
   KEPEGAWAIAN META INFO & FILTERING
───────────────────────────────────────────── */
.guru-meta-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 8px 0 10px;
  font-size: 0.72rem;
  color: var(--accent-2);
  background: rgba(0, 180, 216, 0.06);
  padding: 6px 10px;
  border-radius: 6px;
  border-left: 2px solid var(--accent-2);
}

.guru-card {
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition);
}
.guru-card.hidden {
  display: none !important;
}

/* ─────────────────────────────────────────────
   SURVEI KEPUASAN MASYARAKAT (SKM) DIGITAL
───────────────────────────────────────────── */
#skm {
  background: linear-gradient(180deg, var(--bg-deep) 0%, #081326 100%);
  position: relative;
  overflow: hidden;
}

.skm-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 868px) {
  .skm-container {
    grid-template-columns: 1fr;
  }
}

.skm-score-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.skm-score-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  background: var(--glow);
  filter: blur(50px);
  border-radius: 50%;
  pointer-events: none;
}

.skm-score-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(100, 255, 218, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(100, 255, 218, 0.3);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.skm-score-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.6rem;
  font-weight: 900;
  color: #FFFFFF;
  text-shadow: 0 0 20px var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.skm-score-scale {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.skm-meta-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-bottom: 24px;
}

.skm-tag {
  font-size: 0.8rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
}

.skm-cta-wrap {
  width: 100%;
}

.skm-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 20px;
}

/* SKM Chart Breakdown Card */
.skm-chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.skm-chart-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  color: var(--accent-2);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.skm-metric-item {
  margin-bottom: 16px;
}
.skm-metric-item:last-child {
  margin-bottom: 0;
}

.skm-metric-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.skm-metric-value {
  color: var(--accent);
  font-family: 'Orbitron', sans-serif;
}

.skm-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.skm-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-2) 0%, var(--accent) 100%);
  border-radius: 4px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px var(--accent);
}

/* ─────────────────────────────────────────────
   SP4N-LAPOR! BANNER / WIDGET
───────────────────────────────────────────── */
#lapor {
  background: var(--bg-deep);
}

.lapor-card {
  max-width: 1000px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(17, 34, 64, 0.9) 0%, rgba(13, 27, 54, 0.95) 100%);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.lapor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #E63946 0%, #FFB703 50%, var(--accent-2) 100%);
}

.lapor-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #FFB703;
  background: rgba(255, 183, 3, 0.1);
  border: 1px solid rgba(255, 183, 3, 0.25);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.lapor-banner-wrap {
  width: 100%;
  margin-bottom: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0, 180, 216, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all var(--transition);
}
.lapor-banner-wrap:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(0, 180, 216, 0.3);
  transform: translateY(-2px);
}
.lapor-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.lapor-dot {
  width: 8px;
  height: 8px;
  background: #FFB703;
  border-radius: 50%;
  box-shadow: 0 0 8px #FFB703;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.lapor-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.35rem;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.lapor-desc {
  font-size: 0.92rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 840px;
}

.lapor-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .lapor-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .lapor-steps {
    grid-template-columns: 1fr;
  }
}

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

.step-num {
  width: 28px;
  height: 28px;
  background: var(--accent-2);
  color: #FFFFFF;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-txt {
  font-size: 0.8rem;
  color: var(--text);
  line-height: 1.4;
}

.step-txt small {
  color: var(--text-dim);
  font-size: 0.72rem;
}

.lapor-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.lapor-btn {
  padding: 12px 24px;
  font-size: 0.88rem;
}

.lapor-btn-outline {
  padding: 12px 24px;
  font-size: 0.88rem;
}

/* ─────────────────────────────────────────────
   FAQ ACCORDION
───────────────────────────────────────────── */
#faq {
  background: linear-gradient(180deg, #081326 0%, var(--bg-deep) 100%);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item:hover, .faq-item.active {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(100, 255, 218, 0.08);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}

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

.faq-icon {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  transition: transform var(--transition);
  line-height: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #FF5370;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding: 0 24px 20px 24px;
  max-height: 500px;
}

.faq-answer p {
  margin-bottom: 10px;
}

.faq-answer ul {
  padding-left: 20px;
  margin-top: 6px;
}

.faq-answer li {
  margin-bottom: 4px;
}

.faq-answer a {
  color: var(--accent);
  text-decoration: underline;
}

/* ─────────────────────────────────────────────
   ADUAN DASHBOARD & TABLE
───────────────────────────────────────────── */
.aduan-dashboard-wrap {
  margin-top: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}

.aduan-dashboard-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.15rem;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.aduan-dashboard-subtitle {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.aduan-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .aduan-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.aduan-stat-card {
  background: rgba(10, 25, 47, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}

.aduan-stat-card .stat-num {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.aduan-stat-card .stat-lbl {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.aduan-table-container {
  overflow-x: auto;
}

.aduan-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  text-align: left;
}

.aduan-table th {
  background: rgba(10, 25, 47, 0.9);
  color: var(--accent);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  padding: 12px 14px;
  border-bottom: 2px solid var(--border);
  letter-spacing: 0.5px;
}

.aduan-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
}

.td-date {
  color: var(--text-dim);
  font-family: monospace;
  white-space: nowrap;
}

.aduan-cat-badge {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--accent-2);
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.3);
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.td-desc {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 4px;
  line-height: 1.4;
}

.status-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 4px;
}
.status-selesai {
  color: #64FFDA;
  background: rgba(100, 255, 218, 0.12);
  border: 1px solid rgba(100, 255, 218, 0.3);
}
.status-proses {
  color: #FFB703;
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid rgba(255, 183, 3, 0.3);
}
.status-verifikasi {
  color: #00B4D8;
  background: rgba(0, 180, 216, 0.12);
  border: 1px solid rgba(0, 180, 216, 0.3);
}

.td-note {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  font-style: italic;
  margin-top: 4px;
}

/* ─────────────────────────────────────────────
   PAGINATION CONTROLS
───────────────────────────────────────────── */
.table-pagination-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pagination-info {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.pagination-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.page-btn {
  background: rgba(10, 25, 47, 0.9);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0 2px;
}

.page-btn:hover:not(:disabled) {
  background: rgba(100, 255, 218, 0.15);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}

.page-btn.active {
  background: var(--accent) !important;
  color: #0A192F !important;
  font-weight: 700 !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 12px rgba(100, 255, 218, 0.5) !important;
}

.page-btn:disabled {
  opacity: 0.3;
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-dim);
  cursor: not-allowed;
}



