/* ===================================================================
   style.combined.css
   Digabung dari seluruh file CSS folder css/, urutan sama persis
   dengan urutan <link> asli di index.html agar cascade/override tidak berubah.
   =================================================================== */

/* ===== SUMBER: css/style.css ===== */

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

:root {
  --navy-deep: #071c3a;
  --navy: #0b2545;
  --navy-steel: #1e5fcc;
  --blue-light: #4a90e2;
  --sky: #eaf2ff;

  --gold: #d4a94c;
  --gold-soft: #f0ddb0;
  --gold-deep: #ad8330;

  --nav-category-bg: #ff6b00;
  --nav-category-bg-hover: rgba(255,255,255,0.16);

  --paper: #ffffff;
  --ink: #152238;
  --ink-muted: #5a6b85;
  --white: #ffffff;
  --card-border: rgba(11,37,69,0.08);
  --hairline: rgba(11,37,69,0.08);
  --grid-line: rgba(255,255,255,0.08);
  --surface: #ffffff;
  --surface-alt: #f5f8fc;
  --on-dark: #ffffff;

  --navy-steel-fixed: #1e5fcc;

  --primary: var(--navy-steel);
  --primary-dark: var(--navy);
  --primary-light: var(--blue-light);
  --accent: var(--gold);
  --text-dark: var(--ink);
  --text-muted: var(--ink-muted);
  --bg-light: var(--paper);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 8px 24px -12px rgba(11, 37, 69, 0.18);
  --shadow-lg: 0 20px 50px -20px rgba(11, 37, 69, 0.28);
  --transition: all 0.25s cubic-bezier(.16,.84,.44,1);
  --ease: cubic-bezier(.16,.84,.44,1);
  --header-h: 0px;

  --font-display: 'Sora', 'Segoe UI', Roboto, Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --navy-deep: #050f22;
    --navy: #0b1e3c;
    --navy-steel: #4a90e2;
    --blue-light: #6ea8ec;
    --sky: #142a4a;

    --gold: #e0bd6c;
    --gold-soft: #f0e0ae;
    --gold-deep: #b3903a;

    --paper: #0c1424;
    --ink: #eef1f6;
    --ink-muted: #93a5c4;
    --white: #101c30;
    --card-border: rgba(255,255,255,0.08);
    --hairline: rgba(255,255,255,0.08);
    --grid-line: rgba(255,255,255,0.06);
    --surface: #101c30;
    --surface-alt: #0c1424;
    --on-dark: #f7f5ef;
    --navy-steel-fixed: #1558c2;

    --shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.65);

    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --navy-deep: #050f22;
  --navy: #0b1e3c;
  --navy-steel: #4a90e2;
  --blue-light: #6ea8ec;
  --sky: #142a4a;

  --gold: #e0bd6c;
  --gold-soft: #f0e0ae;
  --gold-deep: #b3903a;

  --paper: #0c1424;
  --ink: #eef1f6;
  --ink-muted: #93a5c4;
  --white: #101c30;
  --card-border: rgba(255,255,255,0.08);
  --hairline: rgba(255,255,255,0.08);
  --grid-line: rgba(255,255,255,0.06);
  --surface: #101c30;
  --surface-alt: #0c1424;
  --on-dark: #f7f5ef;
  --navy-steel-fixed: #1558c2;

  --shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.65);

  color-scheme: dark;
}

body {
  transition: background-color 0.35s ease, color 0.35s ease;
}

*::selection {
  background: var(--gold-soft);
  color: var(--navy-deep);
}

html {
  scroll-behavior: smooth;
  touch-action: pan-x pan-y;
  -ms-touch-action: pan-x pan-y;
  overflow-x: hidden;
  max-width: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  touch-action: pan-x pan-y;
  -ms-touch-action: pan-x pan-y;
  position: relative;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body::before {
    content: "";
    position: fixed;
    inset: -10%;
    z-index: 0;
    pointer-events: none;
    background:
      radial-gradient(1000px 560px at 12% -8%, rgba(74,144,226,0.16), transparent 60%),
      radial-gradient(900px 620px at 96% 18%, rgba(224,189,108,0.08), transparent 55%),
      radial-gradient(1200px 700px at 50% 108%, rgba(74,144,226,0.10), transparent 60%);
    animation: glossyDrift 26s ease-in-out infinite;
    will-change: transform;
  }
}
:root[data-theme="dark"] body::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1000px 560px at 12% -8%, rgba(74,144,226,0.16), transparent 60%),
    radial-gradient(900px 620px at 96% 18%, rgba(224,189,108,0.08), transparent 55%),
    radial-gradient(1200px 700px at 50% 108%, rgba(74,144,226,0.10), transparent 60%);
  animation: glossyDrift 26s ease-in-out infinite;
  will-change: transform;
}

@keyframes glossyDrift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-1.5%, 1.5%) scale(1.04); }
  100% { transform: translate(0, 0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  :root:not([data-theme="light"]) body::before,
  :root[data-theme="dark"] body::before {
    animation: none;
  }
}

body > main,
body > footer {
  position: relative;
  z-index: 1;
}

.live-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.live-bg-dark,
.live-bg-light {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.live-bg-light { opacity: 1; }
.live-bg-dark { opacity: 0; }

:root[data-theme="dark"] .live-bg-dark { opacity: 1; }
:root[data-theme="dark"] .live-bg-light { opacity: 0; }
:root[data-theme="light"] .live-bg-dark { opacity: 0; }
:root[data-theme="light"] .live-bg-light { opacity: 1; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .live-bg-dark { opacity: 1; }
  :root:not([data-theme="light"]) .live-bg-light { opacity: 0; }
}

.bubble {
  position: absolute;
  bottom: -80px;
  border-radius: 50%;
  display: block;
  animation: bubbleFloat linear infinite;
  will-change: transform, opacity;
}

.bubble--gold {
  background: radial-gradient(circle at 32% 28%, rgba(240, 221, 176, 0.85), rgba(212, 169, 76, 0.32) 60%, transparent 78%);
  box-shadow: 0 0 18px rgba(212, 169, 76, 0.35);
}

.bubble--blue {
  background: radial-gradient(circle at 32% 28%, rgba(160, 200, 245, 0.7), rgba(74, 144, 226, 0.25) 60%, transparent 78%);
  box-shadow: 0 0 16px rgba(74, 144, 226, 0.3);
}

@keyframes bubbleFloat {
  0% { transform: translate(0, 0) scale(0.9); opacity: 0; }
  8% { opacity: 0.9; }
  92% { opacity: 0.7; }
  100% { transform: translate(var(--drift, 40px), -112vh) scale(1.05); opacity: 0; }
}

.b1  { left: 4%;  width: 22px; height: 22px; --drift: 30px;  animation-duration: 17s; animation-delay: 0s; }
.b2  { left: 16%; width: 14px; height: 14px; --drift: -20px; animation-duration: 13s; animation-delay: 2s; }
.b3  { left: 27%; width: 30px; height: 30px; --drift: 45px;  animation-duration: 22s; animation-delay: 1s; }
.b4  { left: 39%; width: 10px; height: 10px; --drift: -15px; animation-duration: 11s; animation-delay: 4s; }
.b5  { left: 51%; width: 26px; height: 26px; --drift: 25px;  animation-duration: 19s; animation-delay: 3s; }
.b6  { left: 62%; width: 18px; height: 18px; --drift: -35px; animation-duration: 15s; animation-delay: 6s; }
.b7  { left: 71%; width: 12px; height: 12px; --drift: 20px;  animation-duration: 12s; animation-delay: 0.5s; }
.b8  { left: 82%; width: 24px; height: 24px; --drift: -25px; animation-duration: 20s; animation-delay: 5s; }
.b9  { left: 91%; width: 16px; height: 16px; --drift: 30px;  animation-duration: 14s; animation-delay: 7s; }
.b10 { left: 8%;  width: 20px; height: 20px; --drift: -40px; animation-duration: 18s; animation-delay: 9s; }

.sun-glow {
  position: absolute;
  top: -18%;
  right: -12%;
  width: 60vw;
  height: 60vw;
  max-width: 620px;
  max-height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 244, 200, 0.55), rgba(255, 224, 130, 0.18) 45%, transparent 72%);
  animation: sunPulse 9s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes sunPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}

.wind-streak {
  position: absolute;
  height: 2px;
  width: 160px;
  left: -220px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.28), rgba(255, 255, 255, 0.55), transparent);
  animation: windBlow linear infinite;
  will-change: transform, opacity;
}

@keyframes windBlow {
  0%   { transform: translateX(0) scaleX(0.8); opacity: 0; }
  10%  { opacity: 0.8; }
  85%  { opacity: 0.5; }
  100% { transform: translateX(calc(100vw + 400px)) scaleX(1.3); opacity: 0; }
}

.w1 { top: 18%; width: 180px; animation-duration: 7s;  animation-delay: 0s; }
.w2 { top: 34%; width: 120px; animation-duration: 9s;  animation-delay: 2.2s; }
.w3 { top: 52%; width: 200px; animation-duration: 6.5s; animation-delay: 1.1s; }
.w4 { top: 68%; width: 140px; animation-duration: 8.4s; animation-delay: 3.5s; }
.w5 { top: 82%; width: 170px; animation-duration: 7.6s; animation-delay: 4.6s; }

@media (prefers-reduced-motion: reduce) {
  .bubble, .sun-glow, .wind-streak { animation: none; }
  .live-bg-dark .bubble { opacity: 0.5; }
  .sun-glow { opacity: 0.85; }
  .wind-streak { display: none; }
}

@media (max-width: 600px) {
  .sun-glow { width: 80vw; height: 80vw; }
}


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

html.menu-open-lock { overflow-y: scroll; }
body.menu-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}
body.menu-open .menu-panel-list { touch-action: pan-y; }

body.menu-open { padding-top: var(--menu-hdr-h, 0px); }
body.menu-open header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 0 20px !important;
  width: 100%;
}

.container.narrow {
  max-width: 800px;
}

@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
  .container.narrow {
    max-width: 860px;
  }
  nav.primary-menu ul > li > a {
    padding: 10px 18px;
  }
}

@media (max-width: 1200px) and (min-width: 993px) {
  nav.primary-menu ul > li > a {
    padding: 10px 12px;
    font-size: 13.5px;
  }
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--navy-steel-fixed);
  color: var(--on-dark);
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 12px 26px -10px rgba(30, 95, 204, 0.55);
}

.btn-primary:hover {
  background: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -10px rgba(11, 37, 69, 0.5);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s var(--ease);
  pointer-events: none;
}

.btn-primary:hover::after {
  left: 130%;
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
}

.btn-primary .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: rippleGrow 0.6s ease-out forwards;
  pointer-events: none;
  z-index: -1;
}

@keyframes rippleGrow {
  to {
    transform: scale(2.8);
    opacity: 0;
  }
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background:
    radial-gradient(circle at 50% 40%, rgba(212,169,76,0.10), transparent 60%),
    var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.6s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-mark {
  display: flex;
  gap: 10px;
}

.loader-mark span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--gold-soft), var(--gold-deep));
  box-shadow: 0 0 14px rgba(212,169,76,0.45);
  animation: loaderBounce 0.9s ease-in-out infinite;
}

.loader-mark span:nth-child(2) { animation-delay: 0.12s; }
.loader-mark span:nth-child(3) { animation-delay: 0.24s; }

html.splash-active,
html.splash-active body {
  overflow: hidden;
  height: 100%;
}

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.7s ease;
}

.splash-screen.splash-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(212,169,76,0.16), transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(74,144,226,0.18), transparent 55%),
    linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, var(--navy-steel));
}

.splash-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  margin: auto;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  text-align: center;
  color: var(--on-dark);
  box-shadow: var(--shadow-lg);
  animation: splashCardIn 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes splashCardIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.splash-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 14px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
}

.splash-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 6px;
}

.splash-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0 0 14px;
  color: var(--on-dark);
}

.splash-greeting {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin: 0 0 20px;
}

.splash-weather {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  text-align: left;
  min-height: 40px;
}

.splash-weather-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  text-align: center;
}

.splash-spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  border-top-color: var(--gold-soft);
  animation: splashSpin 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes splashSpin {
  to { transform: rotate(360deg); }
}

.splash-weather-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.splash-weather-emoji {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.splash-weather-main {
  flex: 1;
  min-width: 0;
}

.splash-weather-loc {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 2px;
}

.splash-weather-desc {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--on-dark);
  margin: 0 0 2px;
}

.splash-weather-detail {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

.splash-weather-temp {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--on-dark);
  flex-shrink: 0;
}

.splash-weather-error {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  text-align: center;
}

.splash-datetime {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 22px;
}

.splash-actions {
  display: flex;
  justify-content: center;
}

.splash-skip {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-deep);
  background: linear-gradient(150deg, var(--gold-soft), var(--gold-deep));
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.splash-skip:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -8px rgba(212,169,76,0.55);
}

.splash-progress {
  margin-top: 16px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}

.splash-progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold-deep));
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform 10s linear;
}

@media (prefers-reduced-motion: reduce) {
  .splash-progress-bar { transition: none; }
  .splash-card { animation: none; }
}

@keyframes loaderBounce {
  0%, 80%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  40% { transform: translateY(-14px) scale(1.08); opacity: 1; }
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--paper);
  box-shadow: none;
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow 0.3s var(--ease);
}

header.scrolled {
  box-shadow: 0 10px 30px -18px rgba(11, 37, 69, 0.25);
}

.top-bar {
  background: var(--navy-deep);
  color: var(--on-dark);
  font-size: 13px;
  padding: 8px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 161, 59, 0.25);
}

.top-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(201,161,59,0.10) 50%, transparent 70%);
  background-size: 250% 100%;
  animation: topbarSheen 7s linear infinite;
  pointer-events: none;
}

@keyframes topbarSheen {
  0% { background-position: 200% 0; }
  100% { background-position: -50% 0; }
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.top-bar .contact-info span {
  margin-right: 18px;
  transition: var(--transition);
}

.top-bar .contact-info span:hover {
  color: var(--accent);
}

.top-bar .contact-info i {
  margin-right: 6px;
}

.top-bar .socials a {
  margin-left: 10px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: var(--transition);
}

.top-bar .socials a:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px) rotate(8deg);
}

.main-nav {
  padding: 14px 0;
}

.main-nav .flex {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.logo-wrap .logo-media {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 50%;
  transition: var(--transition);
  animation: logoIdlePulse 5s ease-in-out infinite;
}

.logo-wrap:hover .logo-media {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 0 0 4px rgba(212,169,76,0.18);
  animation-play-state: paused;
}

@keyframes logoIdlePulse {
  0%, 88%, 100% { box-shadow: 0 0 0 0 rgba(212,169,76,0); }
  92% { box-shadow: 0 0 0 5px rgba(212,169,76,0.18); }
  96% { box-shadow: 0 0 0 2px rgba(212,169,76,0.12); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-wrap .logo-media { animation: none; }
}

.logo-text .school-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.logo-text small {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.nav-search {
  margin-left: auto;
  display: flex;
}

.nav-search input {
  border: 1px solid var(--card-border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 8px 14px;
  font-size: 14px;
  outline: none;
  width: 150px;
  transition: var(--transition);
}

.nav-search input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(21,101,192,0.12);
}

.nav-search button {
  border: none;
  background: var(--navy-steel-fixed);
  color: var(--on-dark);
  padding: 0 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  transition: var(--transition);
}

.nav-search button:hover {
  background: var(--navy);
}

.theme-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--surface-alt);
  color: var(--primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 8px;
  transition: var(--transition);
}

.theme-toggle:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 31, 68, 0.18);
}

.theme-toggle i {
  position: absolute;
  font-size: 16px;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle .icon-sun {
  opacity: 0;
  transform: scale(0.4) rotate(-90deg);
}

.theme-toggle .icon-moon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon {
    opacity: 0;
    transform: scale(0.4) rotate(90deg);
  }
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: scale(1) rotate(0);
}

:root[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: scale(0.4) rotate(90deg);
}

.lang-toggle {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
}

.lang-toggle-track {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 62px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--surface-alt);
  transition: var(--transition);
  overflow: hidden;
}

.lang-toggle:hover .lang-toggle-track {
  border-color: var(--gold);
  box-shadow: 0 6px 16px rgba(10, 31, 68, 0.18);
}

.lang-toggle-opt {
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  transition: color 0.3s ease;
  pointer-events: none;
}

.lang-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 28px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  box-shadow: 0 3px 8px -2px rgba(11, 37, 69, 0.4);
  transition: transform 0.35s var(--ease);
  z-index: 1;
}

.lang-toggle[aria-pressed="true"] .lang-toggle-thumb {
  transform: translateX(30px);
}

.lang-toggle[aria-pressed="true"] .lang-opt-en {
  color: var(--navy-deep);
  font-weight: 800;
}

.lang-toggle[aria-pressed="false"] .lang-opt-id {
  color: var(--navy-deep);
  font-weight: 800;
}

@media (max-width: 600px) {
  .lang-toggle-track { width: 54px; height: 26px; }
  .lang-toggle-thumb { width: 24px; height: 20px; }
  .lang-toggle[aria-pressed="true"] .lang-toggle-thumb { transform: translateX(26px); }
  .lang-toggle-opt { font-size: 13px; }
}

.nav-more {
  margin-left: 2px;
}

.nav-more-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  transition: var(--transition);
}

.nav-more-trigger:hover,
.nav-more.dropdown:hover .nav-more-trigger,
.nav-more.dropdown:focus-within .nav-more-trigger {
  background: rgba(255, 255, 255, 0.12);
  color: var(--on-dark);
}

.dropdown-content--right {
  left: auto;
  right: 0;
  transform: translateY(8px);
  min-width: 220px;
  padding: 8px;
}

.dropdown.dropdown-open .dropdown-content--right,
.dropdown:focus-within .dropdown-content--right {
  transform: translateY(0);
}

.nav-more-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}

.nav-more-panel > a {
  display: block;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.nav-more-panel > a:hover {
  background: var(--sky);
  color: var(--navy-steel);
}

.nav-more-panel .lang-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  margin: 0;
}

.nav-more-panel .lang-toggle:hover {
  background: var(--sky);
}

.nav-more-lang-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.elearning-modal {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s ease;
}

.elearning-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.elearning-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 28, 58, 0.68);
  backdrop-filter: blur(3px);
}

.elearning-modal-card {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-lg);
  padding: 28px 24px 24px;
  text-align: center;
  transform: translateY(16px) scale(0.96);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.elearning-modal.is-open .elearning-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.elearning-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.elearning-modal-close:hover {
  background: var(--sky);
  color: var(--primary);
}

.elearning-modal-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  box-shadow: 0 0 0 4px rgba(212,169,76,0.18), 0 8px 20px -8px rgba(11,37,69,0.35);
}

.elearning-modal-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 6px;
}

.elearning-modal-title {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.elearning-modal-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.elearning-modal-countdown {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}

.elearning-modal-goto {
  width: 100%;
  justify-content: center;
}

.menu-panel-lang {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-panel-lang .lang-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 4px;
}

.menu-panel-lang .nav-more-lang-label {
  color: #fff;
}

@media (max-width: 768px) {
  .nav-more { display: none; }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
  margin-left: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.6,0.1,0.3,1), opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

nav.primary-menu {
  background: var(--nav-category-bg, var(--navy));
  border-top: 1px solid rgba(255,255,255,0.08);
}

nav.primary-menu > .container {
  max-width: none !important;
  padding: 0 20px !important;
}

@media (min-width: 1440px) {
  nav.primary-menu > .container {
    padding: 0 32px !important;
  }
}

nav.primary-menu ul {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  gap: 2px;
  padding: 6px 0;
}

nav.primary-menu ul > li {
  position: relative;
}

nav.primary-menu ul > li > a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  color: rgba(255,255,255,0.88);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border-bottom: none;
  text-align: left;
}

nav.primary-menu ul > li > a:hover,
nav.primary-menu ul > li.active > a {
  background: rgba(255,255,255,0.12);
  color: var(--on-dark);
  border-bottom-color: transparent;
}

.dropdown {
  position: relative;
  z-index: 1;
}

.dropdown:hover,
.dropdown.dropdown-open,
.dropdown:focus-within {
  z-index: 50;
}

.dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 290px;
  height: 14px;
  z-index: 99;
}

.dropdown-content {
  display: block;
  position: absolute;
  top: 100%;
  left: 50%;
  margin-top: 10px;
  transform: translate(-50%, 4px);
  background: var(--surface);
  min-width: 280px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md, 14px);
  overflow: hidden;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s;
  pointer-events: none;
}

.dropdown:hover .dropdown-content,
.dropdown.dropdown-open .dropdown-content,
.dropdown:focus-within .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s;
}

.dropdown-content a {
  display: block;
  padding: 12px 18px;
  font-size: 14.5px;
  color: var(--text-dark);
  border-bottom: none;
  border-radius: 10px;
  margin: 2px 0;
  transition: var(--transition);
}

.dropdown-content a:hover {
  background: var(--sky);
  color: var(--navy-steel);
  padding-left: 24px;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  overscroll-behavior: contain;
  touch-action: none;
  background: rgba(8, 48, 107, 0.55);
  backdrop-filter: blur(2px);
  z-index: 1998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.menu-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  height: 100dvh;
  max-width: 100vw;
  overflow: hidden;
  overscroll-behavior: contain;
  width: min(360px, 88vw);
  background: #2b2f36;
  color: #fff;
  z-index: 1999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0,0,0,0.25);
  will-change: transform;
}

.menu-panel.open {
  transform: translateX(0);
}

.menu-panel-head {
  background: var(--white);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
}

.menu-panel-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-panel-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}

.menu-panel-logo .school-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.menu-panel-logo small {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.menu-panel-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-light);
  color: var(--primary);
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

@media (hover: hover) {
  .menu-panel-close:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: rotate(90deg);
  }
}

.menu-panel-head-aksi {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.menu-notif-toggle {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-light);
  color: var(--primary);
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

@media (hover: hover) {
  .menu-notif-toggle:hover {
    background: var(--accent);
    color: var(--primary-dark);
  }
}

.menu-notif-toggle[aria-expanded='true'] {
  background: var(--primary);
  color: #fff;
}

.menu-notif-dot {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5484d;
  border: 1.5px solid var(--white);
}

.menu-notif-panel {
  position: absolute;
  top: 74px;
  right: 16px;
  left: 16px;
  z-index: 15;
  max-height: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 280ms ease, opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}

.menu-notif-panel.is-open {
  max-height: min(70vh, 520px);
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  overflow-y: auto;
}

.menu-notif-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border-color, #eee);
  position: sticky;
  top: 0;
  background: var(--white);
}

.menu-notif-head strong {
  font-size: 14.5px;
  color: var(--primary);
}

.menu-notif-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.menu-notif-body {
  padding: 6px 8px 10px;
}

.menu-notif-loading,
.menu-notif-empty,
.menu-notif-error {
  padding: 16px 10px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.menu-notif-item {
  display: flex;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  align-items: flex-start;
}

.menu-notif-item:hover {
  background: var(--bg-light);
}

.menu-notif-tabs {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.menu-notif-tab {
  flex: 1;
  padding: 7px 10px;
  border: 0;
  border-radius: 999px;
  background: var(--bg-light);
  color: var(--text-muted);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.menu-notif-tab.is-active {
  background: var(--primary);
  color: #fff;
}

.menu-notif-count:not(:empty) {
  display: inline-block;
  min-width: 18px;
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  font-size: 11px;
  line-height: 1.4;
}

.menu-notif-tab:not(.is-active) .menu-notif-count:not(:empty) {
  background: rgba(0, 0, 0, 0.1);
}

.swipe-row {
  --sr-h: 72px;
  --sr-a: 84px;
  --sr-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --sr-action: var(--primary);
  position: relative;
  height: var(--sr-h);
  margin-bottom: 4px;
  overflow: hidden;
  opacity: 1;
  transition: height 220ms var(--sr-ease), margin-bottom 220ms var(--sr-ease), opacity 220ms var(--sr-ease);
}

.swipe-row.is-restore { --sr-action: var(--gold-deep, #ad8330); }

.swipe-row.is-collapsing {
  margin-bottom: 0;
  opacity: 0;
}

.swipe-row__clip {
  position: relative;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--sr-action);
}

.swipe-row__rail {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 0;
  overflow: hidden;
  background: var(--sr-action);
}

.swipe-row__action {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: var(--sr-a);
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  cursor: pointer;
  outline: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: width 260ms var(--sr-ease);
}

.swipe-row.is-armed .swipe-row__action { width: 100%; }

.swipe-row__glyph {
  display: grid;
  justify-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.swipe-row__glyph .fa { font-size: 17px; }

.swipe-row__surface {
  position: relative;
  z-index: 1;
  height: 100%;
  box-sizing: border-box;
  align-items: center;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--white);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

.swipe-row.is-anim .swipe-row__surface {
  transition: transform 320ms var(--sr-ease);
}

.swipe-row.is-anim .swipe-row__rail {
  transition: width 320ms var(--sr-ease);
}

.swipe-row__surface:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

@media (hover: hover) and (pointer: fine) {
  .swipe-row__surface { cursor: grab; }
  .swipe-row.is-dragging .swipe-row__surface { cursor: grabbing; }
}

@media (prefers-reduced-motion: reduce) {
  .swipe-row,
  .swipe-row.is-anim .swipe-row__surface,
  .swipe-row.is-anim .swipe-row__rail,
  .swipe-row__action { transition-duration: 1ms; }
}

.menu-notif-ikon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
  background: var(--primary);
}

.menu-notif-ikon.tipe-pamflet { background: #c9a13b; }
.menu-notif-ikon.tipe-sosmed { background: #2563eb; }

.menu-notif-teks {
  min-width: 0;
  flex: 1;
}

.menu-notif-judul {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-notif-meta {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.menu-panel-search {
  margin: 18px 20px 6px;
  display: flex;
}

.menu-panel-search input {
  flex: 1;
  min-width: 0;
  border: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  outline: none;
}

.menu-panel-search button {
  border: none;
  background: var(--primary-light);
  color: var(--on-dark);
  padding: 0 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
}

.menu-panel-list {
  list-style: none;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
  padding: 8px 0 24px;
  flex: 1;
}

.menu-panel-list > li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateX(24px);
}

.menu-panel.open .menu-panel-list > li {
  animation: menuItemIn 0.5s cubic-bezier(0.22,1,0.36,1) forwards;
}

.menu-panel.open .menu-panel-list > li:nth-child(1) { animation-delay: 0.08s; }
.menu-panel.open .menu-panel-list > li:nth-child(2) { animation-delay: 0.13s; }
.menu-panel.open .menu-panel-list > li:nth-child(3) { animation-delay: 0.18s; }
.menu-panel.open .menu-panel-list > li:nth-child(4) { animation-delay: 0.23s; }
.menu-panel.open .menu-panel-list > li:nth-child(5) { animation-delay: 0.28s; }
.menu-panel.open .menu-panel-list > li:nth-child(6) { animation-delay: 0.33s; }
.menu-panel.open .menu-panel-list > li:nth-child(7) { animation-delay: 0.38s; }
.menu-panel.open .menu-panel-list > li:nth-child(8) { animation-delay: 0.43s; }

@keyframes menuItemIn {
  to { opacity: 1; transform: translateX(0); }
}

.menu-panel-list > li > a,
.menu-panel-list .sub-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  padding: 16px 22px;
  font-size: 16px;
  color: #fff;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, padding-left 0.2s ease, color 0.2s ease;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.menu-panel-list .sub-toggle {
  justify-content: space-between;
}

@media (hover: hover) {
  .menu-panel-list > li > a:hover,
  .menu-panel-list .sub-toggle:hover {
    background: rgba(255,255,255,0.06);
    padding-left: 28px;
    color: var(--accent);
  }
}
.menu-panel-list > li > a:active,
.menu-panel-list .sub-toggle:active {
  background: rgba(255,255,255,0.1);
}

.menu-panel-list > li > a.active {
  color: var(--accent);
  font-weight: 700;
}

.menu-panel-list .sub-toggle i {
  transition: transform 0.3s ease;
  font-size: 12px;
  opacity: 0.7;
}

.menu-panel-list li.has-sub.open .sub-toggle i {
  transform: rotate(180deg);
}

.menu-panel-list .sub-list {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(0,0,0,0.18);
  will-change: max-height;
  transition: max-height 0.28s cubic-bezier(0.22,1,0.36,1);
}

.menu-panel-list li.has-sub.open .sub-list {
  max-height: 400px;
}

.menu-panel-list .sub-list a {
  display: block;
  padding: 12px 22px 12px 36px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  .menu-panel-list .sub-list a:hover {
    color: var(--accent);
  }
}

.menu-panel-list .sub-list .elearning-link-btn {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  cursor: pointer;
  padding: 12px 22px 12px 36px;
  font-size: 14px;
  font-family: inherit;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}

.menu-panel-list .sub-list .elearning-link-btn:hover {
  color: var(--accent);
  padding-left: 42px;
}

.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(1100px 600px at 82% -10%, rgba(74,144,226,0.22), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--on-dark);
  overflow: hidden;
  padding: 72px 0 88px;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.34;
  mix-blend-mode: luminosity;
  z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../assets/hero-video-poster.jpg') center/cover;
    opacity: 0.16;
    mix-blend-mode: luminosity;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,31,68,0.1) 0%, var(--navy-deep) 96%);
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,144,226,0.35), transparent 68%);
  top: -200px;
  right: -140px;
  filter: blur(10px);
  z-index: 0;
  animation: heroFloat 9s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(24px); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  height: 100%;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 46px 46px;
  animation: heroGridFall 6s linear infinite;
  pointer-events: none;
  z-index: 1;
  will-change: background-position;
  transform: translateZ(0);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.9) 22%, transparent 58%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.9) 22%, transparent 58%);
}

@keyframes heroGridFall {
  0% { background-position: 0 0; }
  100% { background-position: 0 46px; }
}

.hero-grid-blur {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  z-index: 1;
  pointer-events: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.95) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-soft);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  padding-bottom: 0;
  border-bottom: none;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 50px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(234, 242, 255, 0.82);
  margin-bottom: 32px;
  max-width: 52ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 26px;
  margin-top: 40px;
  max-width: 520px;
}

.hero-stats div {
  padding-right: 18px;
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--on-dark);
}

.hero-stats div > span {
  font-size: 12px;
  color: rgba(234, 242, 255, 0.65);
  font-weight: 500;
}

@media (min-width: 993px) {
  .hero {
    padding: 96px 0 108px;
  }
  .hero-content {
    max-width: 680px;
  }
  .hero-content h1 {
    margin-bottom: 24px;
  }
  .hero-content p {
    margin-bottom: 40px;
  }
  .hero-stats {
    gap: 8px;
    padding-top: 30px;
    margin-top: 48px;
    max-width: 560px;
  }
  .hero-stats strong {
    font-size: 27px;
  }
  .hero-stats div > span {
    font-size: 12.5px;
  }
}

.page-banner {
  position: relative;
  padding: 68px 0 54px;
  background:
    radial-gradient(900px 500px at 85% -20%, rgba(74,144,226,0.2), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--on-dark);
  overflow: hidden;
}

.page-banner-grid-blur {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  z-index: 1;
  pointer-events: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.95) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.95) 100%);
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  height: 100%;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 42px 42px;
  animation: pageGridFall 5.5s linear infinite;
  will-change: background-position;
  transform: translateZ(0);
  mask-image: linear-gradient(180deg,
    rgba(0,0,0,0.85) 0,
    rgba(0,0,0,0.85) 40px,
    rgba(0,0,0,0.3) 96px,
    transparent 150px);
  -webkit-mask-image: linear-gradient(180deg,
    rgba(0,0,0,0.85) 0,
    rgba(0,0,0,0.85) 40px,
    rgba(0,0,0,0.3) 96px,
    transparent 150px);
}

@keyframes pageGridFall {
  0% { background-position: 0 0; }
  100% { background-position: 0 42px; }
}

.page-banner .container {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.page-banner .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-soft);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  padding-bottom: 0;
  border-bottom: none;
}

.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.page-banner p {
  color: rgba(234, 242, 255, 0.8);
  max-width: 560px;
  line-height: 1.6;
}

.page-body {
  padding: 56px 0 70px;
}

.page-body .container.narrow {
  background: var(--surface, #fff);
  border: 1px solid rgba(11,37,69,0.12);
  border-radius: 16px;
  padding: 40px 44px;
  box-shadow: 0 12px 32px rgba(11,37,69,0.08);
}

@media (min-width: 993px) {
  .page-body {
    padding: 64px 0 80px;
  }
  .page-body .container.narrow {
    padding: 48px 56px;
  }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .page-body .container.narrow {
    border-color: var(--card-border);
    box-shadow: 0 12px 32px rgba(0,0,0,0.28);
  }
}
:root[data-theme="dark"] .page-body .container.narrow {
  border-color: var(--card-border);
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
}

.page-body h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin: 32px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--card-border);
}

.page-body h2:first-child {
  margin-top: 0;
}

.page-body p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 14px;
  text-align: left;
}

.page-body p:last-child {
  margin-bottom: 0;
}

.bullet-list {
  list-style: none;
  margin-top: 10px;
}

.bullet-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--text-dark);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bullet-list li i {
  color: var(--primary);
  width: 18px;
}

.kompetensi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.kompetensi-card.feature-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(7,28,58,0) 55%, rgba(7,28,58,0.55) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 1;
}

.gallery-item:hover {
  transform: scale(1.04) rotate(-1deg);
  box-shadow: 0 16px 34px rgba(7,28,58,0.28);
  border-color: transparent;
}

.gallery-item:hover::after,
.gallery-item:hover::before {
  opacity: 1;
  transform: scale(1);
}

.features {
  padding: 64px 0;
  background: var(--paper);
}

.features .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.feature-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s var(--ease);
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(160deg, rgba(30,95,204,0.06), transparent 60%);
  transition: opacity 0.3s ease;
  width: auto;
  height: auto;
  left: 0;
  top: 0;
  transform: none;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card .icon {
  width: 52px;
  height: 52px;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--sky);
  border: none;
  color: var(--navy-steel);
  font-size: 21px;
  transition: transform 0.3s var(--ease), background 0.3s ease, color 0.3s ease;
  position: relative;
  z-index: 1;
  animation: featureIconFloat 3.6s ease-in-out infinite;
}

.feature-card:nth-child(2) .icon { animation-delay: 0.4s; }
.feature-card:nth-child(3) .icon { animation-delay: 0.8s; }
.feature-card:nth-child(4) .icon { animation-delay: 1.2s; }

.feature-card:hover .icon {
  background: var(--navy);
  color: var(--on-dark);
  transform: rotate(-6deg) scale(1.06);
  animation-play-state: paused;
}

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

@media (prefers-reduced-motion: reduce) {
  .feature-card .icon { animation: none; }
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.section-heading {
  margin-bottom: 44px;
  max-width: 640px;
}

.section-heading .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-steel);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 0;
  border-bottom: none;
}

.section-heading h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  margin: 14px 0 10px;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.profile-section {
  padding: 70px 0;
}

.profile-section .flex {
  display: flex;
  gap: 40px;
  align-items: center;
}

.profile-section .img-wrap {
  flex: 0 0 42%;
  position: relative;
}

.profile-section .img-wrap::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1.5px solid var(--gold);
  border-radius: calc(var(--radius) + 8px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.profile-section .img-wrap img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.profile-section .img-wrap:hover img {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.profile-section .content {
  flex: 1;
}

.profile-section .content .tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
}

.profile-section .content h3 {
  font-size: 24px;
  margin-bottom: 14px;
  color: var(--primary);
}

.profile-section .content p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 15.5px;
  line-height: 1.7;
}

.stats {
  background:
    radial-gradient(circle at 85% 15%, rgba(212,169,76,0.08), transparent 55%),
    var(--navy-deep);
  color: #f7f5ef;
  padding: 54px 0;
  border-top: 1px solid rgba(201, 161, 59, 0.3);
  border-bottom: 1px solid rgba(201, 161, 59, 0.3);
  position: relative;
  overflow: visible;
}

.stats::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 90px;
  transform: translateY(100%);
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(180deg, var(--navy-deep) 0%, transparent 100%);
  filter: blur(22px);
  opacity: 0.55;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .stats::after { opacity: 0.85; }
}
:root[data-theme="dark"] .stats::after { opacity: 0.85; }

.stats .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 20px;
}

.stats .grid > div {
  position: relative;
  padding: 8px;
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease);
}

.stats .grid > div:hover {
  transform: translateY(-4px);
}

.stats .grid > div:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(201, 161, 59, 0.25);
}

.stats .num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--gold-soft);
  text-shadow: 0 0 24px rgba(212,169,76,0.25);
  animation: statGlow 3.2s ease-in-out 1;
}

@keyframes statGlow {
  0%, 100% { text-shadow: 0 0 24px rgba(212,169,76,0.25); }
  50% { text-shadow: 0 0 34px rgba(212,169,76,0.5); }
}

.stats .label {
  font-size: 12.5px;
  color: rgba(247, 245, 239, 0.7);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.news-section {
  padding: 70px 0;
  background: var(--bg-light);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-grid-scroll {
  max-height: 1180px;
  overflow-y: auto;
  padding-right: 6px;
  margin-right: -6px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-deep) transparent;
}

.news-grid-scroll::-webkit-scrollbar {
  width: 8px;
}

.news-grid-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.news-grid-scroll::-webkit-scrollbar-thumb {
  background: var(--gold-deep);
  border-radius: 20px;
}

.news-grid-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

.news-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.news-toolbar-field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-toolbar-field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.news-toolbar-field select {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-dark);
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  cursor: pointer;
  transition: var(--transition);
}

.news-toolbar-field select:hover,
.news-toolbar-field select:focus {
  border-color: var(--gold);
  outline: none;
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.news-card .thumb {
  height: 190px;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  position: relative;
  transition: transform 0.5s var(--ease);
}

.kategori-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px -4px rgba(11, 37, 69, 0.4);
}

.kategori-badge-detail {
  position: static;
  display: inline-block;
  margin-bottom: 14px;
}

.news-card .thumb::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.news-card:hover .thumb::after {
  transform: scaleX(1);
}

.news-card:hover .thumb {
  transform: scale(1.03);
}

.news-card {
  position: relative;
  isolation: isolate;
}

.news-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1.5px;
  background: conic-gradient(
    from var(--orbit-angle, 0deg),
    transparent 0%,
    transparent 78%,
    var(--gold-soft) 88%,
    var(--gold) 92%,
    var(--gold-soft) 96%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: orbitLine 5.5s linear infinite;
  pointer-events: none;
  z-index: 3;
}

.news-card.reveal-visible::before {
  opacity: 1;
}

.news-card:hover::before {
  animation-duration: 2.6s;
}

@property --orbit-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes orbitLine {
  from { --orbit-angle: 0deg; }
  to { --orbit-angle: 360deg; }
}

.news-card .kategori-badge {
  animation: cardGlowPulse 2.8s ease-in-out infinite;
}

.news-card .meta .fa-medal {
  color: var(--gold-deep);
  animation: cardGlowPulse 2.8s ease-in-out infinite;
  animation-delay: 0.4s;
}

@keyframes cardGlowPulse {
  0%, 100% { box-shadow: 0 4px 12px -4px rgba(11, 37, 69, 0.4); }
  50% { box-shadow: 0 4px 16px -2px rgba(212, 169, 76, 0.65); }
}

.news-card .body {
  padding: 22px;
  flex: 1;
}

.news-card .meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.news-card .meta i {
  margin-right: 4px;
  color: var(--navy-steel);
}

.news-card h5 {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.01em;
}

.news-card h5 a:hover {
  color: var(--navy-steel);
}

.news-card .footer {
  padding: 14px 22px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.news-card .share a {
  margin-left: 8px;
  color: var(--primary);
  transition: var(--transition);
}

.news-card .share a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.pencarian-keterangan {
  background: rgba(212, 169, 76, 0.12);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-size: 14px;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.berita-internet-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 4px 0 14px;
}

.berita-internet-label i {
  color: var(--primary);
}

.btn-reset-pencarian {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  background: var(--surface);
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}

.btn-reset-pencarian:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

.berita-internet-card .thumb {
  cursor: pointer;
}

.berita-internet-card .kategori-badge {
  max-width: calc(100% - 24px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.berita-internet-card .footer {
  justify-content: flex-start;
}

.berita-internet-card .footer a {
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
}

.berita-internet-card .footer a:hover {
  color: var(--accent);
}

.news-actions {
  display: flex;
  gap: 10px;
}

.btn-like,
.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 6px 13px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-like:hover,
.btn-share:hover {
  border-color: var(--gold);
  color: var(--navy-steel);
  transform: translateY(-2px);
}

.btn-like:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.btn-like.liked {
  color: #e0456b;
  border-color: #e0456b;
  background: rgba(224, 69, 107, 0.08);
}

.btn-like.liked i {
  color: #e0456b;
}

.btn-like i,
.btn-share i {
  font-size: 13px;
}

.news-actions-detail {
  margin: 22px 0 30px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}

.news-actions-detail .btn-like,
.news-actions-detail .btn-share {
  font-size: 13.5px;
  padding: 9px 18px;
}

.view-all {
  text-align: center;
  margin-top: 36px;
}

.location-section {
  padding: 70px 0 90px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.location-wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.map-embed.home-map {
  position: relative;
  border-radius: var(--radius-lg);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.map-embed.home-map:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(212,169,76,0.25);
}

.map-embed.home-map iframe {
  min-height: 380px;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.loc-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
}

.loc-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
  border-color: rgba(212,169,76,0.35);
}

.loc-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sky);
  color: var(--navy-steel);
  font-size: 18px;
  transition: transform 0.35s var(--ease), background 0.35s ease, color 0.35s ease;
}

.loc-item:hover .loc-icon {
  background: var(--navy);
  color: var(--gold-soft);
  transform: rotate(-8deg) scale(1.08);
}

.loc-item h4 {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.loc-item p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .location-wrap {
    grid-template-columns: 1fr;
  }
}

.loading-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 14px;
  position: relative;
}

.loading-msg:not(.error)::after {
  content: "...";
  display: inline-block;
  width: 1.4em;
  overflow: hidden;
  white-space: nowrap;
  text-align: left;
  vertical-align: bottom;
  animation: loadingDots 1.3s steps(4, jump-none) infinite;
}

@keyframes loadingDots {
  0% { width: 0; }
  100% { width: 1.4em; }
}

@media (prefers-reduced-motion: reduce) {
  .loading-msg:not(.error)::after { animation: none; width: 1.4em; }
}

.loading-msg.error {
  color: #c0392b;
}

.news-card .excerpt {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.thumb-pamflet {
  display: block;
  cursor: pointer;
}

.pamflet-card .kategori-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pamflet-card[data-pamflet-id] .kategori-badge i {
  font-size: 12px;
}

#pamfletDetailView {
  padding-top: 8px;
}

#pamfletDetailView .meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

#pamfletDetailView .detail-content {
  white-space: pre-line;
}


#beritaDetailView {
  padding-top: 8px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.back-link:hover {
  gap: 12px;
  color: var(--primary-dark);
}

.detail-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}

.detail-title i {
  color: var(--primary);
  margin-right: 10px;
}

#beritaDetailView .meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.detail-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.detail-content {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.8;
}

.detail-content p {
  margin-bottom: 14px;
}

.detail-content,
.detail-content * {
  color: var(--text-dark) !important;
  background-color: transparent !important;
}
.detail-content a {
  color: var(--primary) !important;
  text-decoration: underline;
}
.detail-content .struktur-item h5 {
  color: var(--ink) !important;
}
.detail-content .struktur-item p {
  color: var(--primary) !important;
}

:root {
  --spmb-illus-bg: rgba(74,144,226,0.14);
  --spmb-illus-body: var(--navy-steel);
  --spmb-illus-skin: var(--gold-soft);
  --spmb-illus-hair: var(--navy-deep);
  --spmb-illus-x: #e0554a;
}
:root[data-theme="dark"],
:root:not([data-theme="light"]) {
  --spmb-illus-bg: rgba(74,144,226,0.12);
}

.spmb-hero {
  position: relative;
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(1100px 600px at 82% -10%, rgba(74,144,226,0.22), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--on-dark);
  overflow: hidden;
  padding: 64px 0;
  text-align: center;
}

.spmb-grid {
  position: absolute;
  inset: 0;
  height: 100%;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 46px 46px;
  animation: heroGridFall 6s linear infinite;
  pointer-events: none;
  z-index: 0;
  will-change: background-position;
  transform: translateZ(0);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, rgba(0,0,0,0.85) 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, rgba(0,0,0,0.85) 0%, transparent 72%);
}

.spmb-grid-blur {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  z-index: 0;
  pointer-events: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.95) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.95) 100%);
}

.spmb-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.spmb-state .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-soft);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.spmb-state h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4.2vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.spmb-illustration {
  max-width: 260px;
  margin: 0 auto 30px;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,0.25));
  animation: spmbIllusBreathe 3.4s ease-in-out infinite;
  transform-origin: 50% 85%;
}
.spmb-illustration svg { display: block; width: 100%; height: auto; }

@keyframes spmbIllusBreathe {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-6px) rotate(-1.2deg) scale(1.015); }
}

@media (prefers-reduced-motion: reduce) {
  .spmb-illustration { animation: none; }
}

.spmb-text {
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(234, 242, 255, 0.82);
  max-width: 52ch;
  margin: 0 auto 14px;
}
.spmb-text strong { color: var(--on-dark); }

.spmb-thanks {
  margin-bottom: 28px;
  font-weight: 600;
  color: rgba(234, 242, 255, 0.92);
}

.spmb-text-small {
  font-size: 13px;
  color: rgba(234, 242, 255, 0.6);
  margin-top: 14px;
}
.spmb-text-small a { color: var(--gold-soft); text-decoration: underline; }

.spmb-countdown {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 84px);
  font-weight: 800;
  color: var(--gold-soft);
  line-height: 1;
  margin: 8px 0 6px;
  animation: spmbPulse 1s ease-in-out infinite;
}

@keyframes spmbPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.82; }
}

.spmb-countdown-long {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 800;
  color: var(--gold-soft);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  margin: 18px 0 14px;
}

.spmb-state[hidden] { display: none !important; }

.spmb-state-loading .loading-msg {
  color: rgba(234, 242, 255, 0.75);
}

@media (max-width: 640px) {
  .spmb-hero { min-height: calc(100vh - 110px); padding: 48px 0; }
  .spmb-illustration { max-width: 210px; }
}

.gallery-item {
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.galeri-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.galeri-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.galeri-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 28, 58, 0.72);
  backdrop-filter: blur(3px);
}

.galeri-modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg-light, #fff);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--card-border);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s var(--ease);
}

.galeri-modal.open .galeri-modal-box {
  transform: translateY(0) scale(1);
}

:root[data-theme="dark"] .galeri-modal-box {
  background: var(--paper);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .galeri-modal-box {
    background: var(--paper);
  }
}

.galeri-modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(7, 28, 58, 0.55);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.galeri-modal-x:hover {
  background: rgba(7, 28, 58, 0.8);
}

.galeri-modal-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--navy-deep);
}

.galeri-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.galeri-modal-body {
  padding: 20px 22px 24px;
}

.galeri-modal-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

body.modal-open {
  position: fixed;
  top: calc(var(--scroll-lock-y, 0px) * -1);
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}
body.modal-open .sosmed-modal-box {
  touch-action: pan-y;
  overscroll-behavior: contain;
}


.contact-socials {
  display: flex;
  gap: 12px;
  margin: 26px 0 34px;
}

.contact-socials a {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--on-dark);
  background: var(--navy-deep);
  border: 1px solid var(--card-border);
  transition: var(--transition);
}

.contact-socials a:hover {
  animation: contactSocialBounce 0.5s var(--ease);
  box-shadow: var(--shadow);
}

@keyframes contactSocialBounce {
  0% { transform: translateY(0) scale(1); }
  35% { transform: translateY(-7px) scale(1.08); }
  60% { transform: translateY(-2px) scale(0.98); }
  100% { transform: translateY(-4px) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .contact-socials a:hover { animation: none; transform: translateY(-4px); }
}

.contact-socials .cs-youtube:hover { background: #ff0000; }
.contact-socials .cs-instagram:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.contact-socials .cs-tiktok:hover { background: #010101; }

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

.map-embed iframe {
  display: block;
  filter: grayscale(0.15) contrast(1.02);
}

:root[data-theme="dark"] .map-embed iframe {
  filter: grayscale(0.3) invert(0.92) contrast(0.9) hue-rotate(180deg);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .map-embed iframe {
    filter: grayscale(0.3) invert(0.92) contrast(0.9) hue-rotate(180deg);
  }
}

.map-embed-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: var(--navy-deep);
  color: var(--on-dark);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.map-embed-cta i {
  transition: transform 0.35s var(--ease);
}

.map-embed-cta:hover {
  background: var(--gold-deep);
}

.map-embed-cta:hover i {
  animation: mapPinNudge 0.7s ease-in-out infinite;
}

@keyframes mapPinNudge {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .map-embed-cta:hover i { animation: none; }
}

footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 20px;
}

footer .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 30px;
  margin-bottom: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

footer h4 {
  color: var(--on-dark);
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 18px;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 10px;
  font-size: 13.5px;
}

footer ul li a {
  transition: var(--transition);
  color: rgba(255,255,255,0.65);
}

footer ul li a:hover {
  color: var(--on-dark);
  padding-left: 4px;
}

footer .about img {
  width: 55px;
  margin-bottom: 12px;
}

footer .about p {
  font-size: 13.5px;
  line-height: 1.7;
  opacity: 0.75;
  max-width: 300px;
}

footer .socials a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  margin-right: 8px;
  margin-top: 10px;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
}

footer .socials a:hover {
  background: var(--navy-steel-fixed);
  color: var(--on-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: left;
  padding-top: 22px;
  font-size: 12.5px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-bottom p {
  margin: 0;
  max-width: 620px;
}

.footer-copyright {
  opacity: 0.65;
}

.footer-copyright-legal {
  line-height: 1.7;
  opacity: 0.72;
}

.footer-credits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
  max-width: 620px;
}

@media (min-width: 640px) {
  .footer-credits-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 680px;
  }
}

.footer-credit-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 12px 16px;
}

.footer-credit-box-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 6px;
}

.footer-credit-box-title i {
  font-size: 12px;
}

.footer-credit-box--thanks .footer-credit-box-title i {
  color: var(--gold);
}

.footer-credit-ref {
  font-size: 12px;
  font-style: italic;
  line-height: 1.6;
  opacity: 0.75;
  margin: 0;
}

.footer-credit-ref strong {
  font-style: normal;
  font-weight: 600;
  opacity: 1;
  color: rgba(255,255,255,0.85);
}

.footer-maker {
  font-size: 12px;
  opacity: 0.75;
  margin: 0;
}

.footer-bottom a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--gold);
  opacity: 1;
}

.footer-maker-message {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.6;
  opacity: 0.55;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 560px;
}

.footer-maker-message i {
  flex: 0 0 auto;
  font-size: 14px;
  color: var(--gold-deep);
  opacity: 0.9;
}

.footer-presented-by {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-presented-by-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  opacity: 0.6;
  transition: var(--transition);
  cursor: pointer;
  width: fit-content;
}

.footer-presented-by-link img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.footer-presented-by-link:hover,
.footer-presented-by-link:focus-visible {
  opacity: 1;
  color: var(--gold-soft, #d4a94c);
}

.footer-presented-by-link:focus-visible {
  outline: 2px solid var(--gold-soft, #d4a94c);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (max-width: 480px) {
  .footer-maker-message {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

.totop {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  background: linear-gradient(150deg, var(--navy-steel), var(--navy));
  color: var(--gold-soft);
  border: 1px solid rgba(212,169,76,0.35);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow), 0 0 0 rgba(212,169,76,0);
  z-index: 999;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s ease;
}

.totop:hover {
  background: linear-gradient(150deg, var(--gold), var(--gold-deep));
  color: var(--navy-deep);
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-lg), 0 0 18px rgba(212,169,76,0.35);
}

.totop.show {
  display: flex;
  animation: totopIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes totopIn {
  from { opacity: 0; transform: translateY(14px) scale(0.85); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.totop.is-scrolling-up {
  animation: totopBoost 0.5s var(--ease);
}

@keyframes totopBoost {
  0% { transform: translateY(0) scale(1); filter: blur(0); }
  35% { transform: translateY(6px) scale(0.94); filter: blur(2.5px); }
  100% { transform: translateY(0) scale(1); filter: blur(0); }
}

body.is-scroll-top-blurring #app,
body.is-scroll-top-blurring header,
body.is-scroll-top-blurring footer {
  animation: scrollTopMotionBlur 0.5s var(--ease);
}

@keyframes scrollTopMotionBlur {
  0% { filter: blur(0); }
  30% { filter: blur(3px); }
  100% { filter: blur(0); }
}

@media (prefers-reduced-motion: reduce) {
  .totop.is-scrolling-up { animation: none; }
  body.is-scroll-top-blurring #app,
  body.is-scroll-top-blurring header,
  body.is-scroll-top-blurring footer { animation: none; }
}

.section-transition {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  background:
    radial-gradient(circle at 50% 45%, rgba(30, 95, 204, 0.10), transparent 62%),
    linear-gradient(160deg, #ffffff, #e8f1fb 130%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  touch-action: none;
  overscroll-behavior: contain;
  user-select: none;
  -webkit-user-select: none;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition:
    opacity 0.6s var(--ease),
    visibility 0.6s ease,
    backdrop-filter 0.6s var(--ease);
}

:root[data-theme="dark"] .section-transition {
  background-color: #0b1a2e;
  background:
    radial-gradient(circle at 50% 45%, rgba(74, 144, 226, 0.35), transparent 62%),
    linear-gradient(160deg, #0b1a2e, #14304f 130%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .section-transition {
    background-color: #0b1a2e;
    background:
      radial-gradient(circle at 50% 45%, rgba(74, 144, 226, 0.35), transparent 62%),
      linear-gradient(160deg, #0b1a2e, #14304f 130%);
  }
}

.section-transition.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.section-transition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.6s var(--ease) 0.05s, opacity 0.6s var(--ease) 0.05s;
}

.section-transition.is-active .section-transition-grid {
  transform: scale(1);
  opacity: 1;
}

.section-transition-grid span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-soft), var(--gold-deep) 75%);
  box-shadow: 0 0 16px rgba(212, 169, 76, 0.55);
  animation: sectionGridPulse 1.3s ease-in-out infinite;
}

.section-transition-grid span:nth-child(1) { animation-delay: 0s; }
.section-transition-grid span:nth-child(2) { animation-delay: 0.1s; }
.section-transition-grid span:nth-child(3) { animation-delay: 0.2s; }
.section-transition-grid span:nth-child(4) { animation-delay: 0.1s; }
.section-transition-grid span:nth-child(5) { animation-delay: 0.2s; }
.section-transition-grid span:nth-child(6) { animation-delay: 0.3s; }
.section-transition-grid span:nth-child(7) { animation-delay: 0.2s; }
.section-transition-grid span:nth-child(8) { animation-delay: 0.3s; }
.section-transition-grid span:nth-child(9) { animation-delay: 0.4s; }

@keyframes sectionGridPulse {
  0%, 100% { transform: scale(0.55); opacity: 0.35; }
  50% { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .section-transition-grid span { animation: none; opacity: 0.9; }
  .section-transition-grid { transition: none; transform: none; opacity: 1; }
  .section-transition { transition: opacity 0.2s ease, visibility 0.2s ease; backdrop-filter: none !important; }
}

#app {
  position: relative;
}

.page {
  display: none;
}

.page.page-active {
  display: block;
  animation: pageIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-zoom.reveal-visible {
  opacity: 1;
  transform: scale(1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.reveal-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.reveal-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--stagger-i, 0) * 70ms);
}

.reveal-stagger.reveal-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.reveal-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.reveal-visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.reveal-visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.reveal-visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.reveal-visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.reveal-visible > *:nth-child(6) { transition-delay: 0.4s; }

.reveal-scale-fade {
  opacity: 0;
  transform: translateY(22px) scale(0.93);
  filter: blur(4px);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.5s ease;
  transition-delay: calc(var(--stagger-i, 0) * 80ms);
}

.reveal-scale-fade.reveal-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.stats-pop {
  opacity: 0;
  transform: translateY(18px) scale(0.85);
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(var(--stagger-i, 0) * 90ms);
}

.reveal-visible .stats-pop,
.stats-pop-group.reveal-visible .stats-pop {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stats-pop::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 169, 76, 0.55);
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}

.reveal-visible .stats-pop::before,
.stats-pop-group.reveal-visible .stats-pop::before {
  animation: statsPopRing 0.9s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--stagger-i, 0) * 90ms + 0.15s) 1;
}

@keyframes statsPopRing {
  0% { opacity: 0.9; transform: scale(0.9); }
  70% { opacity: 0; transform: scale(1.12); }
  100% { opacity: 0; transform: scale(1.12); }
}

:root[data-perf="low"] .stats-pop {
  transition: opacity 0.4s ease, transform 0.4s ease;
}
:root[data-perf="low"] .stats-pop::before {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .stats-pop {
    opacity: 1 !important;
    transform: none !important;
  }
  .stats-pop::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-zoom, .reveal-left, .reveal-right, .reveal-stagger > *, .reveal-scale-fade,
  .page.page-active, .menu-panel-list > li, .img-fade {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }
  .hero, .top-bar, .hero::after, .page-banner, .page-banner::after,
  .hero-shapes .shape, .totop.show, .loader-mark span {
    animation: none !important;
  }
  .news-card::before, .news-card .kategori-badge, .news-card .meta .fa-medal {
    animation: none !important;
    opacity: 0 !important;
  }
}

.click-burst {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.click-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  border: 2px solid var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: clickRingExpand 0.7s cubic-bezier(0.25, 0.8, 0.35, 1) forwards;
}

@keyframes clickRingExpand {
  0% { width: 0; height: 0; opacity: 1; }
  100% { width: 140px; height: 140px; opacity: 0; }
}

.click-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: particleFly 0.8s ease-out forwards;
}

@keyframes particleFly {
  0% { opacity: 1; transform: translate(-50%, -50%) translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) translate(var(--dx), var(--dy)) scale(0.2); }
}

.aiga-banner .eyebrow i {
  color: var(--gold);
  margin-right: 4px;
}

.aiga-shell {
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.aiga-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--on-dark);
  border-bottom: 2px solid var(--gold-deep);
}

.aiga-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  background: linear-gradient(150deg, var(--gold-soft), var(--gold-deep));
  color: var(--navy-deep);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  overflow: hidden;
}

.aiga-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  max-width: none;
}

.aiga-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.01em;
}

.aiga-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
}

.aiga-status .dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ddb8a;
  box-shadow: 0 0 0 3px rgba(77,219,138,0.2);
  flex-shrink: 0;
}

.aiga-status .dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #4ddb8a;
  animation: aigaDotPulse 1.8s ease-out infinite;
}

@keyframes aigaDotPulse {
  0% { transform: scale(1); opacity: 0.65; }
  100% { transform: scale(3.2); opacity: 0; }
}

:root[data-perf="low"] .aiga-status .dot::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .aiga-status .dot::after { animation: none !important; }
}

@media (max-width: 560px) {
  .aiga-head {
    flex-wrap: wrap;
  }
}

.aiga-chat {
  padding: 22px 24px;
  min-height: 320px;
  max-height: 480px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  isolation: isolate;
  background: var(--surface-alt);
  scrollbar-width: thin;
  scrollbar-color: var(--gold-deep) transparent;
}

.aiga-chat::-webkit-scrollbar { width: 6px; }
.aiga-chat::-webkit-scrollbar-thumb {
  background: var(--gold-deep);
  border-radius: 10px;
}

.aiga-chat-fx {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
}

.aiga-blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.16;
  will-change: transform;
}

.aiga-blob--1 {
  width: 220px;
  height: 220px;
  left: -40px;
  top: -60px;
  background: radial-gradient(circle, var(--navy) 0%, transparent 72%);
  animation: aigaBlobFloat1 17s ease-in-out infinite;
}

.aiga-blob--2 {
  width: 180px;
  height: 180px;
  right: -30px;
  top: 30%;
  background: radial-gradient(circle, var(--gold-deep) 0%, transparent 72%);
  animation: aigaBlobFloat2 21s ease-in-out infinite;
}

.aiga-blob--3 {
  width: 200px;
  height: 200px;
  left: 20%;
  bottom: -70px;
  background: radial-gradient(circle, var(--gold-soft) 0%, transparent 72%);
  animation: aigaBlobFloat3 19s ease-in-out infinite;
}

:root[data-theme="dark"] .aiga-blob,
:root:not([data-theme="light"]) .aiga-blob { opacity: 0.22; }

@keyframes aigaBlobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(26px, 22px) scale(1.12); }
}
@keyframes aigaBlobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-22px, -18px) scale(1.08); }
}
@keyframes aigaBlobFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, -24px) scale(1.1); }
}

:root[data-perf="low"] .aiga-blob { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .aiga-blob { animation: none !important; }
}
@media (max-width: 480px) {
  .aiga-blob { filter: blur(26px); }
  .aiga-blob--1, .aiga-blob--3 { width: 150px; height: 150px; }
  .aiga-blob--2 { width: 130px; height: 130px; }
}

.aiga-msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 82%;
}

.aiga-msg--bot { align-self: flex-start; }
.aiga-msg--user { align-self: flex-end; }

.aiga-msg-avatar {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  flex-shrink: 0;
  border: 1px solid var(--card-border);
}

.aiga-msg .bubble {
  position: static;
  bottom: auto;
  display: block;
  animation: none;
  will-change: auto;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
  min-width: 0;
}

.aiga-msg--bot .bubble {
  background: var(--surface);
  border: 1px solid var(--card-border);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}

.aiga-msg--user .bubble {
  background: linear-gradient(135deg, var(--navy-steel), var(--navy));
  color: var(--on-dark);
  border-bottom-right-radius: 4px;
}

.aiga-msg--in {
  animation: aigaMsgIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes aigaMsgIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.aiga-typing,
.aiga-typing-bubble {
  position: static;
  bottom: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  width: fit-content;
}

.aiga-typing span,
.aiga-typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-deep);
  opacity: 0.5;
  animation: aigaTypingBounce 1s ease-in-out infinite;
}

.aiga-typing span:nth-child(2),
.aiga-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.aiga-typing span:nth-child(3),
.aiga-typing-dot:nth-child(3) { animation-delay: 0.3s; }

.aiga-msg--typing {
  animation: aigaMsgIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes aigaTypingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.aiga-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 24px 16px;
  background: var(--surface-alt);
  transition: opacity 0.25s ease, max-height 0.25s ease;
}

.aiga-suggestions--hidden {
  display: none;
}

.aiga-chip {
  border: 1px solid var(--card-border);
  background: var(--surface);
  color: var(--navy-steel);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.aiga-chip:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold-soft);
  transform: translateY(-2px);
}

.aiga-input-row {
  display: flex;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--card-border);
  background: var(--surface);
}

.aiga-input-row input {
  flex: 1;
  border: 1px solid var(--card-border);
  background: var(--surface-alt);
  color: var(--ink);
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14.5px;
  font-family: var(--font-body);
  transition: var(--transition);
}

.aiga-input-row input:focus {
  outline: none;
  border-color: var(--navy-steel);
  box-shadow: 0 0 0 3px rgba(30,95,204,0.12);
}

.aiga-input-row input:disabled {
  opacity: 0.6;
}

.aiga-input-row button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(150deg, var(--gold), var(--gold-deep));
  color: var(--navy-deep);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.aiga-input-row button:hover {
  transform: scale(1.06) rotate(6deg);
  box-shadow: 0 6px 18px rgba(212,169,76,0.35);
}

.aiga-input-row button:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.aiga-mode-switch {
  display: flex;
  gap: 6px;
  padding: 12px 24px 0;
  background: var(--surface);
}

.aiga-mode-btn {
  flex: 1;
  border: 1px solid var(--card-border);
  background: var(--surface-alt);
  color: var(--ink-muted);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 13px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.aiga-mode-btn:hover:not(:disabled) {
  border-color: var(--navy-steel);
  color: var(--ink);
}

.aiga-mode-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold-soft);
}

.aiga-mode-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.aiga-play-btn {
  margin-top: 8px;
  border: 1px solid var(--card-border);
  background: var(--surface);
  color: var(--navy);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-family: var(--font-body);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.aiga-play-btn:hover:not(:disabled) {
  background: var(--navy);
  color: var(--gold-soft);
}

.aiga-play-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.aiga-play-btn.is-playing {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.aiga-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--ink-muted);
  padding: 12px 24px 20px;
  background: var(--surface);
}

.aiga-msg--bot .aiga-voice-bubble {
  background: var(--surface);
  border: 1px solid var(--card-border);
  color: var(--ink);
  border-bottom-left-radius: 4px;
  padding: 14px 18px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 128px;
}
.aiga-voice-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 26px;
}
.aiga-voice-bars span {
  display: block;
  width: 3.5px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  transform: scaleY(1) scaleX(1);
  animation: aigaVoiceBar 1.1s ease-in-out infinite;
  animation-play-state: paused;
}
@keyframes aigaVoiceBar {
  0%, 100% { height: 6px;  transform: scaleX(1); opacity: 0.7; }
  25%      { height: 22px; transform: scaleX(1.35); opacity: 1; }
  50%      { height: 11px; transform: scaleX(0.85); opacity: 0.85; }
  75%      { height: 26px; transform: scaleX(1.2); opacity: 1; }
}
.aiga-voice-bars span:nth-child(1) { animation-delay: 0s; }
.aiga-voice-bars span:nth-child(2) { animation-delay: 0.12s; }
.aiga-voice-bars span:nth-child(3) { animation-delay: 0.24s; }
.aiga-voice-bars span:nth-child(4) { animation-delay: 0.36s; }
.aiga-voice-bars span:nth-child(5) { animation-delay: 0.18s; }
.aiga-voice-bubble.is-speaking .aiga-voice-bars span { animation-play-state: running; }
.aiga-voice-bubble:not(.is-speaking) .aiga-voice-bars span { height: 6px; transform: scaleX(1); opacity: 0.4; }

.aiga-voice-status {
  font-size: 12.5px;
  color: var(--ink-muted);
  white-space: nowrap;
}
.aiga-voice-bubble.is-loading .aiga-voice-status i { animation: aigaVoiceSpin 0.8s linear infinite; }
@keyframes aigaVoiceSpin { to { transform: rotate(360deg); } }
.aiga-voice-replay {
  margin-left: 2px;
  border: 1px solid var(--card-border);
  background: var(--surface-alt);
  color: var(--navy);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}
.aiga-voice-replay:hover:not(:disabled) { background: var(--navy); color: var(--gold-soft); }
.aiga-voice-replay:disabled { opacity: 0.5; cursor: wait; }

@media (prefers-reduced-motion: reduce) {
  .aiga-voice-bars span { animation: none !important; }
}

@media (max-width: 640px) {
  .aiga-chat { min-height: 260px; max-height: 60vh; padding: 18px 16px; }
  .aiga-head { padding: 16px 18px; }
  .aiga-input-row { padding: 12px 16px; }
  .aiga-suggestions { padding: 0 16px 14px; }
  .aiga-disclaimer { padding: 10px 16px 16px; }
  .aiga-msg { max-width: 90%; }
}

.img-fade {
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.img-fade.img-fade-in {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 992px) {
  .features .grid,
  .stats .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  footer .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-section .flex {
    flex-direction: column;
  }
  .profile-section .img-wrap {
    flex: 0 0 100%;
  }
  .kompetensi-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-search { display: none; }
  .menu-toggle { display: flex; }
  nav.primary-menu { display: none; }

  .hero-content h1 { font-size: clamp(26px, 7.5vw, 32px); }
  .page-banner h1 { font-size: clamp(22px, 6.5vw, 28px); }
  .hero-content p { font-size: clamp(14px, 3.6vw, 15.5px); max-width: 100%; }
  .hero-content .eyebrow { font-size: 13px; }
  .page-banner { padding: 48px 0 36px; }
  .page-banner p { font-size: 14px; max-width: 100%; }
  .section-heading h2 { font-size: clamp(20px, 6vw, 26px) !important; }
  .section-heading p { font-size: 14px !important; }

  .features .grid,
  .stats .grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  footer .grid {
    grid-template-columns: 1fr;
  }
  .kompetensi-grid {
    grid-template-columns: 1fr !important;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid-scroll {
    max-height: 70vh;
  }
}

@media (max-width: 480px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .page-body .container.narrow { padding: 28px 22px; border-radius: 12px; }
  .hero-content h1 { font-size: clamp(24px, 8vw, 28px); }
  .page-banner h1 { font-size: clamp(20px, 7vw, 24px); }
  .page-banner { padding: 40px 0 30px; }
  .hero-content .eyebrow,
  .page-banner .eyebrow { font-size: 13px; letter-spacing: 0.06em; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2 { font-size: clamp(19px, 6.5vw, 22px) !important; margin: 10px 0 8px; }
  .section-heading .tag { font-size: 13px; }
  .section-heading p,
  .hero-content p,
  .page-banner p { font-size: 13.5px; line-height: 1.6; }
  .btn-primary, .btn-secondary, .btn { font-size: 13.5px; padding: 12px 20px; }
}

.guru-grid,
.osis-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.prestasi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.person-card {
  padding: 22px 18px;
  text-align: center;
}

.person-photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background-size: cover;
  background-position: center;
  background-color: var(--sky);
  border: 2px solid var(--card-border);
}

.person-card h5 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--navy);
  position: relative;
  z-index: 1;
}

.person-role {
  font-size: 13px;
  color: var(--gold, #b8860b);
  font-weight: 600;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.person-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .guru-grid,
  .osis-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .prestasi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .guru-grid,
  .osis-grid,
  .prestasi-grid {
    grid-template-columns: 1fr;
  }
}

.ekskul-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.ekskul-card.feature-card {
  padding: 22px 20px;
}

.ekskul-card .icon {
  width: 44px;
  height: 44px;
  font-size: 18px;
  margin-bottom: 14px;
}

.ekskul-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.35;
}

.badge-baru {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #fff;
  background: var(--gold, #b8860b);
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 6px;
  vertical-align: middle;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .ekskul-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (max-width: 480px) {
  .ekskul-grid {
    grid-template-columns: 1fr;
  }
}

.sosmed-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.sosmed-filter button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--surface);
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: var(--transition);
}

.sosmed-filter button i { font-size: 15px; }

.sosmed-filter button.active,
.sosmed-filter button:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.sosmed-filter button[data-platform="youtube"].active { background: #ff0000; border-color: #ff0000; }
.sosmed-filter button[data-platform="instagram"].active { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4); border-color: transparent; }
.sosmed-filter button[data-platform="tiktok"].active { background: #111; border-color: #111; }

.sosmed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.sosmed-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.sosmed-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.sosmed-thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--paper);
  overflow: hidden;
}

.sosmed-card[data-platform="instagram"] .sosmed-thumb-wrap,
.sosmed-card[data-platform="tiktok"] .sosmed-thumb-wrap {
  aspect-ratio: 4/5;
}

.sosmed-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.sosmed-card:hover .sosmed-thumb-wrap img { transform: scale(1.06); }

.sosmed-platform-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
}

.sosmed-platform-badge.youtube i { color: #ff4b4b; }
.sosmed-platform-badge.instagram i { color: #e1306c; }
.sosmed-platform-badge.tiktok i { color: #fff; }

.sosmed-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.sosmed-play-btn span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  transition: transform 0.3s var(--ease);
}

.sosmed-card:hover .sosmed-play-btn span { transform: scale(1.12); }

.sosmed-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.sosmed-judul {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sosmed-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--card-border);
}

.sosmed-meta span { display: inline-flex; align-items: center; gap: 5px; }

.sosmed-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 40px 20px;
  color: var(--ink-muted);
}

.sosmed-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sosmed-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.sosmed-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,15,30,0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.sosmed-modal-box {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: min(880px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s var(--ease);
}

.sosmed-modal.open .sosmed-modal-box {
  transform: translateY(0) scale(1);
}

.sosmed-modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sosmed-modal-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}

.sosmed-modal-player.is-vertical {
  aspect-ratio: 9/16;
  max-height: 70vh;
  margin: 0 auto;
}

.sosmed-modal-player iframe,
.sosmed-modal-player video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sosmed-modal-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.sosmed-modal-body {
  padding: 20px 24px 26px;
}

.sosmed-modal-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--ink);
}

.sosmed-modal-desc {
  color: var(--ink-muted);
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 14px;
}

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

@media (max-width: 560px) {
  .sosmed-grid { grid-template-columns: 1fr; gap: 16px; }
  .sosmed-filter button { padding: 8px 14px; font-size: 13px; }
}

.profil-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--card-border);
}

.profil-subnav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--surface-alt);
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  transition: var(--transition);
}

.profil-subnav a:hover {
  color: var(--primary);
  border-color: var(--primary-light);
}

.profil-subnav a.active {
  background: linear-gradient(135deg, var(--navy-steel), var(--blue-light));
  border-color: transparent;
  color: var(--on-dark);
  animation: subnavActivePop 0.35s var(--ease);
}

@keyframes subnavActivePop {
  0% { transform: scale(0.92); }
  60% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .profil-subnav a.active { animation: none; }
}

.profil-bagian h2:first-child { margin-top: 0; }

.profil-bagian:not([hidden]) {
  animation: profilBagianIn 0.45s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  .profil-bagian:not([hidden]) { animation: none; }
}

.tour360-wrap {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.tour360-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  color: var(--navy);
}
:root[data-theme="dark"] .tour360-title,
:root:not([data-theme="light"]) .tour360-title { color: var(--sky); }
.tour360-title i { color: var(--gold); }
.tour360-desc {
  color: var(--text-muted);
  margin: 0 0 16px;
  font-size: 0.95rem;
}
.tour360-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #05070d;
  box-shadow: var(--shadow-lg);
}
.tour360-box #tour360Viewer {
  width: 100%;
  height: 100%;
}
.tour360-box canvas { pointer-events: auto; }
.tour360-loading,
.tour360-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #e7ecf5;
  font-size: 0.95rem;
  background: radial-gradient(circle at center, rgba(30,95,204,0.18), rgba(5,7,13,0.92));
  pointer-events: none;
}
.tour360-loading.hidden { display: none; }
.tour360-fullscreen {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: rgba(7, 28, 58, 0.65);
  color: #fff;
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: var(--transition);
}
.tour360-fullscreen:hover { background: var(--navy-steel); }
.tour360-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.tour360-nav button {
  border: 1px solid var(--card-border);
  background: var(--surface-alt);
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.tour360-nav button:hover { border-color: var(--navy-steel-fixed); }
.tour360-nav button.active {
  background: var(--navy-steel-fixed);
  border-color: var(--navy-steel-fixed);
  color: #fff;
}
@media (max-width: 640px) {
  .tour360-box { aspect-ratio: 4 / 3; max-height: 420px; }
}

.struktur-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.struktur-item {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--navy-steel);
  transition: var(--transition);
}

.struktur-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-left-color: var(--gold);
}

.struktur-item h5 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.4;
}

.struktur-item p {
  font-size: 12.5px;
  color: var(--primary);
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.01em;
}

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

@media (max-width: 560px) {
  .profil-subnav { gap: 8px; }
  .profil-subnav a { padding: 9px 13px; font-size: 12.5px; }
  .struktur-grid { grid-template-columns: 1fr; }
}


.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1201;
  background: transparent;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-soft));
  box-shadow: 0 0 8px rgba(212,169,76,0.55);
  transition: width 0.12s linear;
}

.touch-ripple {
  position: fixed;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  border: 1.5px solid rgba(212,169,76,0.55);
  background: radial-gradient(circle, rgba(212,169,76,0.22) 0%, rgba(212,169,76,0) 70%);
  pointer-events: none;
  z-index: 1200;
  will-change: transform, opacity;
  animation: touchRippleFade 0.65s var(--ease) forwards;
}

@keyframes touchRippleFade {
  0% {
    opacity: 0.9;
    transform: translate(var(--rx, 0), var(--ry, 0)) scale(0.4);
  }
  100% {
    opacity: 0;
    transform: translate(var(--rx, 0), var(--ry, 0)) scale(1.6);
  }
}

.magnetic-hover {
  --mx: 0px;
  --my: 0px;
}

.magnetic-hover:hover {
  transform: translateY(-8px) translate(var(--mx), var(--my));
}

nav.primary-menu ul > li[data-route="aiga"] > a i.fa-sparkles,
#menuPanel a[data-route-link="aiga"] i.fa-sparkles {
  display: inline-block;
  color: var(--gold-soft);
  animation: aigaSparklePulse 2.4s ease-in-out infinite;
}

@keyframes aigaSparklePulse {
  0%, 100% {
    opacity: 0.75;
    transform: scale(1);
    text-shadow: 0 0 0 rgba(212,169,76,0);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
    text-shadow: 0 0 10px rgba(212,169,76,0.85);
  }
}

nav.primary-menu ul > li > a {
  position: relative;
}

nav.primary-menu ul > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

nav.primary-menu ul > li > a:hover::after,
nav.primary-menu ul > li.active > a::after {
  width: 60%;
}

.reveal-visible .icon-pop,
.reveal-scale-fade.reveal-visible .icon-pop {
  animation: iconPopBounce 0.55s var(--ease) 0.15s both;
}

@keyframes iconPopBounce {
  0% { transform: scale(0.4); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .touch-ripple,
  nav.primary-menu ul > li[data-route="aiga"] > a i.fa-sparkles,
  #menuPanel a[data-route-link="aiga"] i.fa-sparkles,
  .reveal-visible .icon-pop {
    animation: none !important;
  }
  .magnetic-hover {
    transform: none !important;
  }
}

@media (max-width: 900px) {
  .magnetic-hover:hover { transform: none; }
}



:root {
  --gb-blur-soft: 6px;
  --gb-blur-strong: 16px;
}

.hero-grid-blur,
.page-banner-grid-blur,
.spmb-grid-blur {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  -webkit-backdrop-filter: blur(var(--gb-blur-strong)) saturate(115%);
          backdrop-filter: blur(var(--gb-blur-strong)) saturate(115%);
  background: linear-gradient(
    180deg,
    rgba(7, 28, 58, 0)    0%,
    rgba(7, 28, 58, 0.10) 40%,
    rgba(7, 28, 58, 0.38) 75%,
    rgba(7, 28, 58, 0.62) 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0,0,0,0.04) 14%,
    rgba(0,0,0,0.14) 28%,
    rgba(0,0,0,0.32) 44%,
    rgba(0,0,0,0.56) 60%,
    rgba(0,0,0,0.80) 78%,
    #000 100%
  );
          mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0,0,0,0.04) 14%,
    rgba(0,0,0,0.14) 28%,
    rgba(0,0,0,0.32) 44%,
    rgba(0,0,0,0.56) 60%,
    rgba(0,0,0,0.80) 78%,
    #000 100%
  );
}

.hero-grid-blur::before,
.page-banner-grid-blur::before,
.spmb-grid-blur::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 165%;
  pointer-events: none;
  -webkit-backdrop-filter: blur(var(--gb-blur-soft));
          backdrop-filter: blur(var(--gb-blur-soft));
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0,0,0,0.10) 30%,
    rgba(0,0,0,0.35) 60%,
    rgba(0,0,0,0.70) 85%,
    #000 100%
  );
          mask-image: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0,0,0,0.10) 30%,
    rgba(0,0,0,0.35) 60%,
    rgba(0,0,0,0.70) 85%,
    #000 100%
  );
}

.hero-grid-blur        { height: 46%; }
.page-banner-grid-blur { height: 52%; }
.spmb-grid-blur        { height: 46%; z-index: 0; }

:root[data-theme="dark"] .hero-grid-blur,
:root[data-theme="dark"] .page-banner-grid-blur,
:root[data-theme="dark"] .spmb-grid-blur {
  background: linear-gradient(
    180deg,
    rgba(5, 15, 34, 0)    0%,
    rgba(5, 15, 34, 0.12) 40%,
    rgba(5, 15, 34, 0.42) 75%,
    rgba(5, 15, 34, 0.68) 100%
  );
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-grid-blur,
  :root:not([data-theme="light"]) .page-banner-grid-blur,
  :root:not([data-theme="light"]) .spmb-grid-blur {
    background: linear-gradient(
      180deg,
      rgba(5, 15, 34, 0)    0%,
      rgba(5, 15, 34, 0.12) 40%,
      rgba(5, 15, 34, 0.42) 75%,
      rgba(5, 15, 34, 0.68) 100%
    );
  }
}

@media (max-width: 768px) {
  :root { --gb-blur-soft: 4px; --gb-blur-strong: 11px; }
  .hero-grid-blur        { height: 42%; }
  .page-banner-grid-blur { height: 55%; }
  .spmb-grid-blur        { height: 42%; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-grid-blur,
  .page-banner-grid-blur,
  .spmb-grid-blur {
    background: linear-gradient(
      180deg,
      rgba(7, 28, 58, 0)    0%,
      rgba(7, 28, 58, 0.35) 55%,
      rgba(7, 28, 58, 0.80) 100%
    );
  }
  .hero-grid-blur::before,
  .page-banner-grid-blur::before,
  .spmb-grid-blur::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-grid, .spmb-grid, .page-banner::after { animation: none !important; }
}



.main-nav { padding: 10px 0; }
.main-nav .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
.logo-wrap .logo-media {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}
.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  line-height: 1.15;
}
.logo-text .school-name {
  font-size: 16px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.logo-text small {
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-top: 2px;
  white-space: nowrap;
}
.main-nav .theme-toggle,
.main-nav .menu-toggle {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  margin: 0;
}
.main-nav .menu-toggle { margin-left: 0; align-items: center; }
.main-nav .nav-search { margin-left: auto; }

@media (max-width: 768px) {
  .main-nav { padding: 8px 0; }
  .main-nav .container.flex { padding: 0 14px !important; gap: 10px; }
  .logo-wrap .logo-media { width: 42px; height: 42px; }
  .logo-text .school-name { font-size: 15px; }
  .logo-text small { font-size: 13px; letter-spacing: 0.01em; font-weight: 500; margin-top: 1px; }
}
@media (max-width: 380px) {
  .logo-text .school-name { font-size: 14px; }
  .logo-text small { font-size: 13px; white-space: normal; line-height: 1.15; }
}

.hero-grid-blur,
.page-banner-grid-blur,
.spmb-grid-blur {
  -webkit-backdrop-filter: blur(20px) saturate(115%) !important;
          backdrop-filter: blur(20px) saturate(115%) !important;
  background: linear-gradient(
    180deg,
    rgba(7, 28, 58, 0)    0%,
    rgba(7, 28, 58, 0.22) 35%,
    rgba(7, 28, 58, 0.55) 65%,
    rgba(7, 28, 58, 0.82) 88%,
    rgba(7, 28, 58, 0.95) 100%
  ) !important;
}
:root[data-theme="dark"] .hero-grid-blur,
:root[data-theme="dark"] .page-banner-grid-blur,
:root[data-theme="dark"] .spmb-grid-blur {
  background: linear-gradient(
    180deg,
    rgba(5, 15, 34, 0)    0%,
    rgba(5, 15, 34, 0.26) 35%,
    rgba(5, 15, 34, 0.60) 65%,
    rgba(5, 15, 34, 0.88) 88%,
    rgba(5, 15, 34, 0.97) 100%
  ) !important;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-grid-blur,
  :root:not([data-theme="light"]) .page-banner-grid-blur,
  :root:not([data-theme="light"]) .spmb-grid-blur {
    background: linear-gradient(
      180deg,
      rgba(5, 15, 34, 0)    0%,
      rgba(5, 15, 34, 0.26) 35%,
      rgba(5, 15, 34, 0.60) 65%,
      rgba(5, 15, 34, 0.88) 88%,
      rgba(5, 15, 34, 0.97) 100%
    ) !important;
  }
}
.hero-grid-blur::before,
.page-banner-grid-blur::before,
.spmb-grid-blur::before {
  -webkit-backdrop-filter: blur(9px) !important;
          backdrop-filter: blur(9px) !important;
}
.hero-grid-blur        { height: 58%; }
.page-banner-grid-blur { height: 62%; }
.spmb-grid-blur        { height: 58%; }

.hero-stats,
.hero-stats.reveal-stagger {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: start !important;
  gap: 0 !important;
  max-width: 560px;
}
.hero-stats div { padding: 0 10px 0 0; min-width: 0; }
.hero-stats strong {
  font-size: clamp(18px, 5.2vw, 26px);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.hero-stats div > span {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  margin-top: 4px;
}
@media (max-width: 480px) {
  .hero-stats div { padding-right: 6px; }
  .hero-stats strong { font-size: clamp(16px, 5.6vw, 20px); }
}

.scramble { font-variant-numeric: tabular-nums; }
.scr-ch { display: inline-block; min-width: 0; font: inherit; color: inherit; letter-spacing: inherit; }
.scr-ch.scr-spin { opacity: 0.72; filter: blur(0.4px); transition: opacity .2s ease; }
.hero-stats .scr-ch:not(.scr-spin),
.stats .num .scr-ch:not(.scr-spin) { opacity: 1; transition: opacity .35s cubic-bezier(.4,0,.2,1); }

@media (prefers-reduced-motion: reduce) {
  .scr-ch.scr-spin { filter: none; }
}



:root {
  --orange:        #ff6b00;
  --orange-hover:  #e85d00;
  --orange-soft:   rgba(255, 107, 0, 0.16);
  --orange-glow:   rgba(255, 107, 0, 0.45);

  --section-bg:     #dceefa;
  --section-bg-rgb: 220, 238, 250;
  --hero-fade:      170px;
  --banner-fade:    130px;
  --footer-fade:    150px;

  --footer-bg:     #080d24;
  --footer-bg-rgb: 8, 13, 36;
}

:root[data-theme="dark"] {
  --section-bg:     #0c1424;
  --section-bg-rgb: 12, 20, 36;
  --footer-bg:     #141f3d;
  --footer-bg-rgb: 20, 31, 61;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --section-bg:     #0c1424;
    --section-bg-rgb: 12, 20, 36;
    --footer-bg:     #141f3d;
    --footer-bg-rgb: 20, 31, 61;
  }
}

body { background-color: var(--section-bg); }

.live-bg { opacity: 0.35; }
:root[data-theme="dark"] .live-bg { opacity: 0.6; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .live-bg { opacity: 0.6; }
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 12px 26px -10px var(--orange-glow);
}
.btn-primary:hover {
  background: var(--orange-hover);
  color: #fff;
  box-shadow: 0 16px 32px -10px var(--orange-glow);
}
.btn-primary:focus-visible { outline: 3px solid rgba(255,107,0,.32); outline-offset: 3px; }
.btn-primary .ripple { background: rgba(255,255,255,.42); }

.hero {
  background:
    radial-gradient(1100px 600px at 82% -10%, rgba(74,144,226,.28), transparent 60%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 50%, #143b73 100%);
  padding-bottom: calc(var(--hero-fade) - 30px);
  margin-bottom: -1px;
}
.hero::after {
  background: linear-gradient(
    180deg,
    rgba(var(--section-bg-rgb), 0)    calc(100% - var(--hero-fade)),
    rgba(var(--section-bg-rgb), .06)  calc(100% - var(--hero-fade) * .80),
    rgba(var(--section-bg-rgb), .22)  calc(100% - var(--hero-fade) * .60),
    rgba(var(--section-bg-rgb), .50)  calc(100% - var(--hero-fade) * .40),
    rgba(var(--section-bg-rgb), .82)  calc(100% - var(--hero-fade) * .20),
    rgba(var(--section-bg-rgb), 1)    100%
  );
  pointer-events: none;
}
.hero .container { position: relative; z-index: 5; }
.hero-content .eyebrow { color: var(--orange); }
.hero + section,
.hero + .profile-section,
.hero + .features { border-top: 0; box-shadow: none; }

.page-banner {
  padding-bottom: calc(var(--banner-fade) - 20px);
  margin-bottom: -1px;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(var(--section-bg-rgb), 0)    calc(100% - var(--banner-fade)),
    rgba(var(--section-bg-rgb), .06)  calc(100% - var(--banner-fade) * .80),
    rgba(var(--section-bg-rgb), .22)  calc(100% - var(--banner-fade) * .60),
    rgba(var(--section-bg-rgb), .50)  calc(100% - var(--banner-fade) * .40),
    rgba(var(--section-bg-rgb), .82)  calc(100% - var(--banner-fade) * .20),
    rgba(var(--section-bg-rgb), 1)    100%
  );
}
.page-banner + section,
.page-banner + .page-body { border-top: 0; box-shadow: none; }

.features,
.profile-section,
.news-section { background-color: transparent; }
.features { background: rgba(var(--section-bg-rgb), 1); }

.section-heading h2::after,
.page-body h2::after,
footer h4::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--orange);
}
.section-heading h2::after { margin-left: 0; }
.section-heading .tag { color: var(--orange); }
.profile-section .content .tag { color: var(--orange); }

.feature-card:hover .icon { background: var(--orange); color: #fff; }

.page-banner .eyebrow { color: var(--orange); }

.menu-panel-list > li > a:hover,
.menu-panel-list > li > a.active,
.menu-panel-list .sub-toggle:hover { color: var(--orange); }

footer {
  position: relative;
  overflow: hidden;
  background: var(--footer-bg);
  color: rgba(255,255,255,.75);
  margin-top: -1px;
  padding-top: 28px;
}
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 85% 40%, rgba(255,115,0,.10), transparent 40%);
}
footer > * { position: relative; z-index: 1; }

footer h4 { color: #fff; }
footer .about p { color: rgba(255,255,255,.68); opacity: 1; }
footer ul li a { color: rgba(255,255,255,.68); }
footer ul li a:hover { color: var(--orange); padding-left: 4px; }
footer ul li i { color: var(--orange); }
footer .grid { border-bottom-color: rgba(255,255,255,.09); }

footer .socials a {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #fff;
}
footer .socials a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-3px);
}
.footer-bottom { border-top-color: rgba(255,255,255,.09); }
.footer-bottom a:hover { color: var(--orange); }
.footer-credit-box-title { color: var(--orange); }
.footer-credit-box--thanks .footer-credit-box-title i { color: var(--orange); }

@media (max-width: 768px) { :root { --hero-fade: 120px; --footer-fade: 110px; } }
@media (max-width: 480px) { :root { --hero-fade: 90px;  --footer-fade: 90px;  } }

.hero-content { text-align: left; margin-left: 0; margin-right: auto; align-items: flex-start; }
@media (min-width: 901px) {
  .hero .container { padding-left: 56px; padding-right: 56px; }
  .hero-content { max-width: 900px; }
  .hero-content h1 { max-width: 650px; }
  .hero-content p  { max-width: 900px; }
}
@media (max-width: 900px) { .hero .container { padding-left: 32px; padding-right: 32px; } }
@media (max-width: 600px) {
  .hero .container { padding-left: 22px; padding-right: 22px; }
  .hero-content h1 { font-size: clamp(32px, 9vw, 40px); line-height: 1.1; }
  .hero-content p  { font-size: 15px; line-height: 1.7; }
}

.location-section {
  background: var(--footer-bg);
  color: #fff;
  padding: 70px 0 75px;
}
.location-section .section-heading .tag { color: var(--orange); }
.location-section .section-heading h2 { color: #fff; }
.location-section .section-heading p { color: rgba(255,255,255,.90); }

.location-section .map-embed.home-map {
  border-radius: 18px;
  overflow: hidden;
  background: #11162e;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.location-section .map-embed.home-map:hover {
  box-shadow: 0 14px 36px rgba(0,0,0,.28), 0 0 0 1px rgba(255,114,0,.30);
}

.location-section .loc-item {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.12);
}
.location-section .loc-item:hover {
  border-color: rgba(255,114,0,.45);
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}
.location-section .loc-icon { background: var(--orange-soft); color: var(--orange); }
.location-section .loc-item:hover .loc-icon { background: var(--orange); color: #fff; }
.location-section .loc-item h4 { color: #fff; }
.location-section .loc-item p { color: rgba(255,255,255,.72); }


@media (max-width: 600px) {
  .location-section { padding: 45px 0 50px; }
  .location-section .map-embed.home-map iframe { min-height: 300px; }
}

.news-card h5 a { color: var(--navy-steel); }
.news-card h5 a:hover { color: var(--orange); }

@media (max-width: 768px) {
  .splash-eyebrow,
.splash-weather-loc,
.splash-weather-detail,
.splash-weather-error,
.splash-datetime,
.elearning-modal-eyebrow,
.kategori-badge,
.hero-stats div > span,
.page-banner .eyebrow,
.hero-content .eyebrow,
.section-heading .tag,
.profile-section .content .tag,
.stats .label,
.news-toolbar-field label,
.news-card .meta,
.news-card .meta span,
.news-card .footer,
.btn-like,
.btn-share,
.spmb-state .eyebrow,
.spmb-tahun,
.footer-bottom,
.footer-copyright,
.footer-maker,
.footer-maker a,
.footer-maker strong,
.footer-maker-message,
.footer-credit-ref,
.footer-credit-ref strong,
.footer-credit-box-title,
.footer-presented-by,
.aiga-status,
.aiga-disclaimer,
.person-sub,
.sosmed-platform-badge,
.sosmed-meta,
.struktur-item p,
.profil-subnav a,
.menu-panel-logo small,
.lang-toggle-opt {
    font-size: 13px;
  }
}



:root {
  --gs-a: #0d5bd1;
  --gs-b: #1a6de0;
  --gs-c: #2b80ec;
  --gs-glow: rgba(150, 205, 255, 0.45);
  --gb-rgb: 26, 109, 224;
  --grid-line: rgba(255, 255, 255, 0.17);
  --eyebrow-on-grid: #ffe6c2;

  --heading-strong: var(--navy);

  --hdr-cycle: 7s;
  --ring-c1: rgba(47, 134, 240, 0.9);
  --ring-c2: #ff8a1f;
  --fx-sweep: block;
  --fx-spark: none;
  --logo-img-anim: logoGlowLight var(--hdr-cycle) ease-in-out infinite;
}
:root[data-theme="dark"] {
  --gs-a: #050f22;
  --gs-b: #0b1e3c;
  --gs-c: #0f2a55;
  --gs-glow: rgba(74, 144, 226, 0.28);
  --gb-rgb: 5, 15, 34;
  --grid-line: rgba(255, 255, 255, 0.06);
  --eyebrow-on-grid: var(--orange);
  --heading-strong: #ffffff;
  --ring-c1: rgba(74, 144, 226, 0.9);
  --ring-c2: #f3d27a;
  --fx-sweep: none;
  --fx-spark: block;
  --logo-img-anim: logoBlinkDark var(--hdr-cycle) ease-in-out infinite;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --gs-a: #050f22;
    --gs-b: #0b1e3c;
    --gs-c: #0f2a55;
    --gs-glow: rgba(74, 144, 226, 0.28);
    --gb-rgb: 5, 15, 34;
    --grid-line: rgba(255, 255, 255, 0.06);
    --eyebrow-on-grid: var(--orange);
    --heading-strong: #ffffff;
    --ring-c1: rgba(74, 144, 226, 0.9);
    --ring-c2: #f3d27a;
    --fx-sweep: none;
    --fx-spark: block;
    --logo-img-anim: logoBlinkDark var(--hdr-cycle) ease-in-out infinite;
  }
}

.logo-wrap { position: relative; --logo-size: 46px; }
@media (max-width: 768px) { .logo-wrap { --logo-size: 42px; } }
.logo-wrap .logo-media {
  animation: var(--logo-img-anim);
}
.logo-wrap:hover .logo-media { animation-play-state: paused; }

.logo-wrap::before {
  content: "";
  display: var(--fx-sweep);
  position: absolute;
  left: 0;
  top: 50%;
  width: var(--logo-size);
  height: var(--logo-size);
  margin-top: calc(var(--logo-size) / -2);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(135deg,
    transparent 40%,
    rgba(255, 255, 255, 0.0) 43%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 255, 255, 0.0) 57%,
    transparent 60%) 80% 80% / 320% 320% no-repeat;
  opacity: 0;
  animation: logoSweep var(--hdr-cycle) linear infinite;
}
@keyframes logoSweep {
  0%   { background-position: 80% 80%; opacity: 0; }
  2%   { opacity: 1; }
  15%  { background-position: 20% 20%; opacity: 1; }
  17%, 100% { background-position: 20% 20%; opacity: 0; }
}
@keyframes logoGlowLight {
  0%, 2%, 22%, 100% { filter: none; }
  9%  { filter: brightness(1.16) saturate(1.2) drop-shadow(0 0 7px rgba(74, 144, 226, 0.7)); }
}

@keyframes logoBlinkDark {
  0%, 26%, 100% { filter: none; }
  4%  { filter: brightness(1.7) drop-shadow(0 0 10px rgba(243, 210, 122, 0.95)); }
  7%  { filter: brightness(1.0); }
  11% { filter: brightness(1.9) drop-shadow(0 0 14px rgba(243, 210, 122, 1)); }
  15% { filter: brightness(1.05); }
  19% { filter: brightness(1.5) drop-shadow(0 0 9px rgba(243, 210, 122, 0.85)); }
  23% { filter: brightness(1.0); }
}
.logo-wrap::after {
  content: "";
  display: var(--fx-spark);
  position: absolute;
  left: calc(var(--logo-size) * 0.66);
  top: calc(50% - var(--logo-size) * 0.5 - 4px);
  width: 18px;
  height: 18px;
  pointer-events: none;
  z-index: 3;
  background:
    radial-gradient(circle, #fff 0 2px, rgba(255, 255, 255, 0) 5px),
    linear-gradient(90deg, transparent 0, rgba(255, 240, 190, 0.95) 50%, transparent 100%) center / 100% 2px no-repeat,
    linear-gradient(0deg,  transparent 0, rgba(255, 240, 190, 0.95) 50%, transparent 100%) center / 2px 100% no-repeat;
  filter: drop-shadow(0 0 4px #ffd76a);
  opacity: 0;
  transform: scale(0) rotate(0deg);
  animation: sparkTwinkle var(--hdr-cycle) ease-in-out infinite;
}
@keyframes sparkTwinkle {
  0%, 26%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  4%  { opacity: 1; transform: scale(1)   rotate(30deg); }
  8%  { opacity: 0; transform: scale(0.2) rotate(60deg); }
  11% { opacity: 1; transform: scale(1.15) rotate(90deg); }
  15% { opacity: 0; transform: scale(0.2) rotate(120deg); }
  19% { opacity: 1; transform: scale(0.9) rotate(150deg); }
  23% { opacity: 0; transform: scale(0) rotate(180deg); }
}

header::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background-image:
    linear-gradient(to right,  transparent 38%, var(--ring-c1) 52%, var(--ring-c2) 56%, transparent 57%),
    linear-gradient(to bottom, transparent 38%, var(--ring-c1) 52%, var(--ring-c2) 56%, transparent 57%),
    linear-gradient(to left,   transparent 38%, var(--ring-c1) 52%, var(--ring-c2) 56%, transparent 57%),
    linear-gradient(to top,    transparent 38%, var(--ring-c1) 52%, var(--ring-c2) 56%, transparent 57%);
  background-size: 300% 2px, 2px 300%, 300% 2px, 2px 300%;
  background-repeat: no-repeat;
  background-position: 83% 0, 100% 83%, 17% 100%, 0 17%;
  filter: drop-shadow(0 0 3px var(--ring-c2));
  opacity: 0;
  animation: hdrRing var(--hdr-cycle) linear infinite;
}
@keyframes hdrRing {
  0%   { background-position: 83% 0, 100% 83%, 17% 100%, 0 17%; opacity: 1; }
  23%  { background-position: 17% 0, 100% 83%, 17% 100%, 0 17%; }
  26%  { background-position: 17% 0, 100% 17%, 17% 100%, 0 17%; }
  49%  { background-position: 17% 0, 100% 17%, 83% 100%, 0 17%; }
  53%  { background-position: 17% 0, 100% 17%, 83% 100%, 0 83%; opacity: 1; }
  55%, 100% { background-position: 17% 0, 100% 17%, 83% 100%, 0 83%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  header::after,
  .logo-wrap::before,
  .logo-wrap::after,
  .logo-wrap .logo-media { animation: none !important; }
  header::after, .logo-wrap::before, .logo-wrap::after { display: none; }
}

.hero {
  background:
    radial-gradient(1100px 600px at 82% -10%, var(--gs-glow), transparent 60%),
    linear-gradient(180deg, var(--gs-a) 0%, var(--gs-b) 50%, var(--gs-c) 100%);
}
.page-banner {
  background:
    radial-gradient(900px 500px at 85% -20%, var(--gs-glow), transparent 60%),
    linear-gradient(180deg, var(--gs-b) 0%, var(--gs-a) 100%);
}
.spmb-hero {
  background:
    radial-gradient(1100px 600px at 82% -10%, var(--gs-glow), transparent 60%),
    linear-gradient(180deg, var(--gs-b) 0%, var(--gs-a) 100%);
}
.hero-grid-blur,
.page-banner-grid-blur,
.spmb-grid-blur {
  background: linear-gradient(180deg,
    rgba(var(--gb-rgb), 0)    0%,
    rgba(var(--gb-rgb), 0.10) 40%,
    rgba(var(--gb-rgb), 0.38) 75%,
    rgba(var(--gb-rgb), 0.62) 100%);
}
.hero-content .eyebrow,
.page-banner .eyebrow { color: var(--eyebrow-on-grid); }

.section-heading h2,
.page-body h2,
.person-card h5,
.loc-item h4,
.berita-internet-label,
.back-link:hover { color: var(--heading-strong); }

.tfx {
  position: fixed;
  inset: 0;
  z-index: 100000;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  touch-action: none;
}
.tfx.is-on {
  visibility: visible;
  pointer-events: auto;
  animation: tfxOverlay 2.05s linear both;
}
@keyframes tfxOverlay {
  0%   { opacity: 0; }
  12%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; }
}
.tfx > * { will-change: transform, opacity; }
.tfx-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    #4aa8ff 0%, #8fd0ff 12%, #cfe9ff 22%, #ffd9a0 34%, #ff9d5c 44%,
    #ff6f61 52%, #b04a8f 62%, #4b2f7a 72%, #1a2350 84%, #050f22 100%);
  background-size: 100% 420%;
  background-position: 0 0;
  animation: tfxSky 1.3s 0.25s ease-in-out both;
}
@keyframes tfxSky { from { background-position: 0 0; } to { background-position: 0 100%; } }

.tfx-stars {
  position: absolute;
  inset: 0 0 38% 0;
  opacity: 0;
  animation: tfxStars 1.3s 0.25s ease-in both;
}
@keyframes tfxStars { 0%, 40% { opacity: 0; } 100% { opacity: 1; } }
.tfx-star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
  animation: tfxTwinkle 1.6s ease-in-out infinite;
}
@keyframes tfxTwinkle { 0%, 100% { opacity: 0.35; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.25); } }

.tfx-moon {
  position: absolute;
  right: 14vw;
  top: 13vh;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: inset -18px -6px 0 0 #f6f1d5;
  filter: drop-shadow(0 0 14px rgba(246, 241, 213, 0.55));
  opacity: 0;
  animation: tfxMoon 1.3s 0.25s ease-out both;
}
@keyframes tfxMoon {
  0%, 45% { opacity: 0; transform: translateY(70px) scale(0.8); }
  100%    { opacity: 1; transform: translateY(0) scale(1); }
}

.tfx-sun {
  --S: min(30vmin, 220px);
  position: absolute;
  left: 50%;
  top: 22vh;
  width: var(--S);
  height: var(--S);
  margin-left: calc(var(--S) / -2);
  animation: tfxSun 1.3s 0.25s ease-in-out both;
}
@keyframes tfxSun { from { transform: translateY(0); } to { transform: translateY(66vh); } }
.tfx-rays {
  position: absolute;
  inset: -70%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 230, 140, 0.55) 0 6deg, transparent 6deg 18deg);
  -webkit-mask: radial-gradient(circle, transparent 0 22%, #000 27%, transparent 70%);
          mask: radial-gradient(circle, transparent 0 22%, #000 27%, transparent 70%);
  animation: tfxSpin 9s linear infinite;
}
@keyframes tfxSpin { to { transform: rotate(360deg); } }
.tfx-disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #fffbe0 0%, #ffe066 38%, #ffb020 72%, #ff8a00 100%);
  box-shadow: 0 0 40px 16px rgba(255, 190, 60, 0.65), 0 0 120px 60px rgba(255, 150, 40, 0.35);
  animation: tfxDisc 1.3s 0.25s ease-in-out both;
}
@keyframes tfxDisc { from { filter: none; } to { filter: hue-rotate(-28deg) saturate(1.5) brightness(0.92); } }

.tfx-hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 30vh;
}
.tfx-hills .h1 { fill: #2a6fb0; animation: tfxHill1 1.3s 0.25s ease-in-out both; }
.tfx-hills .h2 { fill: #12467f; animation: tfxHill2 1.3s 0.25s ease-in-out both; }
@keyframes tfxHill1 { from { fill: #2a6fb0; } to { fill: #0a1a38; } }
@keyframes tfxHill2 { from { fill: #12467f; } to { fill: #030a18; } }

.tfx.is-sunrise .tfx-sky,
.tfx.is-sunrise .tfx-stars,
.tfx.is-sunrise .tfx-moon,
.tfx.is-sunrise .tfx-sun,
.tfx.is-sunrise .tfx-disc,
.tfx.is-sunrise .tfx-hills .h1,
.tfx.is-sunrise .tfx-hills .h2 { animation-direction: reverse; }

@media (prefers-reduced-motion: reduce) { .tfx { display: none !important; } }

:root[data-perf="low"] * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

:root[data-perf="low"] .hero-grid,
:root[data-perf="low"] .page-grid-blur,
:root[data-perf="low"] .hero-grid-blur,
:root[data-perf="low"] .spmb-grid,
:root[data-perf="low"] .top-bar::after,
:root[data-perf="low"] .logo-wrap .logo-media,
:root[data-perf="low"] .hero-glow,
:root[data-perf="low"] .news-card::before,
:root[data-perf="low"] .news-card .kategori-badge,
:root[data-perf="low"] .news-card .meta .fa-medal,
:root[data-perf="low"] .bubble--gold,
:root[data-perf="low"] .bubble--blue,
:root[data-perf="low"] .section-grid-pulse {
  animation: none !important;
}

:root[data-perf="low"] .hero-glow,
:root[data-perf="low"] .stats::after {
  filter: none !important;
}

:root[data-perf="low"] .ripple,
:root[data-perf="low"] .click-burst,
:root[data-perf="low"] .bubble--gold,
:root[data-perf="low"] .bubble--blue {
  display: none !important;
}

:root[data-perf="low"] .reveal-scale-fade {
  filter: none !important;
  transition-duration: 0.35s !important;
}
:root[data-perf="low"] .reveal,
:root[data-perf="low"] .reveal-zoom,
:root[data-perf="low"] .reveal-left,
:root[data-perf="low"] .reveal-right,
:root[data-perf="low"] .reveal-stagger > * {
  transition-duration: 0.3s !important;
}



@media (min-width: 769px) {

  .main-nav { padding: 8px 0; }
  .main-nav .flex { min-height: 0; gap: 14px; justify-content: flex-start; }
  .logo-wrap {
    flex: 1 1 auto;
    justify-content: flex-start;
    text-align: left;
  }
  .logo-text { align-items: flex-start; text-align: left; }
  .main-nav .nav-search { margin-left: auto; }

  nav.primary-menu ul {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    padding: 5px 0;
  }
  nav.primary-menu ul > li { flex: 0 1 auto; }
  nav.primary-menu ul > li > a {
    white-space: nowrap;
    justify-content: center;
    gap: 6px;
    padding: 9px clamp(7px, 0.85vw, 15px);
    font-size: clamp(12.5px, 1.05vw, 14.5px);
    color: rgba(255, 255, 255, 0.92);
  }

  nav.primary-menu ul > li > a:hover {
    background: var(--blue-soft-desktop, rgba(74, 144, 226, 0.22));
    color: #fff;
  }
  nav.primary-menu ul > li.active > a,
  nav.primary-menu ul > li.active > a:hover {
    background: var(--accent-desktop, var(--navy-steel));
    color: #fff;
    box-shadow: 0 6px 14px -8px var(--blue-glow-desktop, rgba(30, 95, 204, 0.55));
  }
  nav.primary-menu ul > li > a::after { background: #fff; bottom: 3px; }

  .nav-more { margin-left: 0; }
  .nav-more-trigger:hover,
  .nav-more.dropdown:hover .nav-more-trigger,
  .nav-more.dropdown:focus-within .nav-more-trigger {
    background: var(--blue-soft-desktop, rgba(74, 144, 226, 0.22));
  }

  .hero {
    min-height: 0;
    padding: 56px 0 calc(var(--hero-fade, 170px) - 70px);
  }
  .hero .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .hero-content {
    max-width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    align-items: flex-start;
  }
  .hero-content .eyebrow { margin-bottom: 14px; }
  .hero-content h1 {
    max-width: none;
    margin: 0 0 14px;
    text-align: left;
  }
  .hero-content p {
    max-width: 62ch;
    margin: 0 0 24px;
    text-align: left;
  }
}


@media (min-width: 769px) {

  :root {
    --section-pad: 64px;
    --gap: 24px;
    --accent-desktop: var(--navy-steel, #ffffff);
    --blue-soft-desktop: rgba(74, 144, 226, 0.22);
    --blue-glow-desktop: rgba(30, 95, 204, 0.55);
  }

  .container { max-width: 1240px; padding: 0 24px !important; }
  .container.narrow { max-width: 860px; }
  .hero .container { padding-left: 24px !important; padding-right: 24px !important; }

  .main-nav { padding: 8px 0; }
  .logo-wrap .logo-media { width: 50px; height: 50px; }
  .logo-text .school-name { font-size: 18px; }
  .logo-text small { font-size: 12px; letter-spacing: 0.1em; }
  .nav-search input { width: 190px; }
  .nav-search button { background: var(--navy-steel); }
  .nav-search button:hover { background: var(--accent-desktop); }

  .hero-content .eyebrow { color: #ffffff, var(--accent-desktop); letter-spacing: 0.1em; }
  .hero-content h1 { font-size: clamp(36px, 3.6vw, 52px); }
  .hero-content p { color: rgba(255, 255, 255, 0.88); font-size: 17px; }
  .hero-stats { margin-top: 28px; padding-top: 20px; }

  .features,
  .profile-section,
  .news-section { padding: var(--section-pad) 0; }
  .stats { padding: 44px 0; }

  .section-heading {
    max-width: 720px;
    margin: 0 0 36px;
    text-align: left;
  }
  .section-heading .tag { color: var(--accent-desktop); }
  .section-heading h2 { margin: 10px 0 8px; color: var(--navy); }
  .section-heading p { font-size: 16px; }

  .features .grid { gap: var(--gap); margin-top: 0; align-items: stretch; }
  .feature-card {
    padding: 28px 26px;
    height: 100%;
    border-radius: var(--radius);
    box-shadow: 0 6px 18px -12px rgba(11, 37, 69, 0.18);
  }
  .feature-card:hover { transform: translateY(-5px); }
  .feature-card p { line-height: 1.65; }

  .news-grid { gap: var(--gap); align-items: stretch; }
  .news-card { border-radius: var(--radius); }

  .profile-section .flex { gap: 48px; align-items: center; }
  .profile-section .img-wrap { flex: 0 0 44%; }
  .profile-section .content { text-align: left; }
  .profile-section .content .tag { color: var(--accent-desktop); }
  .profile-section .content h3 { font-size: 26px; color: #ff6b00; }
  .profile-section .content p { margin-bottom: 16px; }

  .stats {
    background:
      radial-gradient(circle at 85% 15%, rgba(74, 144, 226, 0.16), transparent 55%),
      var(--navy-deep);
  }
  .stats .num {
    color: #fff;
    text-shadow: 0 0 24px rgba(74, 144, 226, 0.45);
    font-weight: 700;
  }
  .stats .label { color: rgba(255, 255, 255, 0.78); }
  .stats .grid > div:not(:last-child)::after { background: rgba(255, 255, 255, 0.14); }

  footer { padding: 52px 0 18px; }
  footer .grid { gap: 36px; align-items: start; }
  footer h4 { color: #fff; }
  footer ul li a:hover { color: var(--blue-light, var(--accent-desktop)); }
  footer .socials a:hover { background: var(--accent-desktop); color: #fff; }

  nav.primary-menu ul > li[data-route="aiga"] > a i.fa-sparkles { color: #9cc3ff; }
}


@media (min-width: 769px) {

  .page-body { padding: 48px 0 72px; }

  .page-body .container.narrow {
    max-width: 940px;
    padding: 40px 48px 44px !important;
    border-radius: 20px;
    box-sizing: border-box;
  }

  .profil-subnav {
    gap: 12px;
    margin: 0 0 32px;
    padding: 0 0 24px;
    border-bottom: 1px solid var(--hairline);
  }
  .profil-subnav a {
    padding: 11px 20px;
    font-size: 14px;
  }

  .page-body h2 {
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--hairline);
  }
  .page-body h2:first-child { margin-top: 0; }
  .page-body h2:not(:first-child) { margin-top: 40px; }
  .page-body h2::after { margin-top: 12px; }

  .page-body p {
    line-height: 1.85;
    margin-bottom: 18px;
  }
  .page-body p:last-child { margin-bottom: 0; }

  .bullet-list { margin-top: 16px; }
  .struktur-grid { gap: 20px; margin-top: 24px; }
  .struktur-item { padding: 20px 22px; }
}


@media (min-width: 769px) {

  :root {
    --bar-bg: linear-gradient(180deg, #0f3d8c 0%, #0a2552 100%);
    --bar-line: rgba(255, 255, 255, 0.12);
  }

  nav.primary-menu {
    background: var(--bar-bg);
    border-top: 1px solid var(--bar-line);
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
    box-shadow: 0 8px 20px -14px rgba(5, 20, 50, 0.55);
  }

  :is(header, nav.primary-menu, .hero, .stats, .location-section) {
    --font-display: 'Poppins', 'Segoe UI', Roboto, Arial, sans-serif;
    --font-body: 'Poppins', 'Segoe UI', Roboto, Arial, sans-serif;
    font-family: 'Poppins', 'Segoe UI', Roboto, Arial, sans-serif;
  }
  :is(header, nav.primary-menu, .hero, .stats, .location-section)
  :is(h1, h2, h3, h4, h5, p, a, span, strong, small, div, label, input, textarea, button, li) {
    font-family: 'Poppins', 'Segoe UI', Roboto, Arial, sans-serif;
  }

  nav.primary-menu ul > li > a {
    font-weight: 500;
    font-size: clamp(11.5px, 0.9vw, 12.5px);
    padding: 9px clamp(5px, 0.5vw, 8px);
    gap: 5px;
  }
  .logo-text .school-name { font-weight: 700; letter-spacing: 0; }
  .logo-text small { font-weight: 500; }

  .hero-content h1 {
    font-weight: 700;
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.12;
    letter-spacing: -0.01em;
    max-width: 9em;
  }
  .hero-content p { font-weight: 400; line-height: 1.75; }
  .hero-content .eyebrow { font-weight: 600; }
  .hero-stats strong { font-weight: 700; }

  .stats {
    background: var(--bar-bg);
    border-top: 1px solid var(--bar-line);
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  }
  .stats .num {
    color: #fff;
    font-weight: 700;
  }
  .stats .label {
    color: #fff;
    font-weight: 500;
    font-size: 13.5px;
    letter-spacing: 0.02em;
    opacity: 0.95;
  }
  .stats .grid > div:not(:last-child)::after { background: rgba(255, 255, 255, 0.18); }

  .location-section { padding: 44px 0 48px; }
  .location-section .section-heading { margin-bottom: 24px; max-width: 620px; }
  .location-section .section-heading .tag { font-size: 11.5px; }
  .location-section .section-heading h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 8px 0 6px; }
  .location-section .section-heading h2::after { width: 40px; height: 3px; margin-top: 8px; }
  .location-section .section-heading p { font-size: 14px; line-height: 1.6; }

  .location-wrap { grid-template-columns: 1.35fr 1fr; gap: 22px; align-items: stretch; }
  .location-section .map-embed.home-map { border-radius: 16px; }
  .location-section .map-embed.home-map iframe { min-height: 300px; height: 300px; }
  .location-section .map-embed-cta { padding: 11px; font-size: 13px; }

  .location-section .hubungi-kami {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 22px 24px 24px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
  }
  .hubungi-kami h3 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
  }
  .hubungi-kami .hubungi-sub {
    margin: 0 0 16px;
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.70);
  }
  .hubungi-kami form { display: flex; flex-direction: column; gap: 12px; flex: 1; }
  .hubungi-kami .field { display: flex; flex-direction: column; gap: 5px; }
  .hubungi-kami label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
  }
  .hubungi-kami input,
  .hubungi-kami textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    font-size: 13.5px;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  }
  .hubungi-kami textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
  .hubungi-kami input::placeholder,
  .hubungi-kami textarea::placeholder { color: rgba(255, 255, 255, 0.40); }
  .hubungi-kami input:focus,
  .hubungi-kami textarea:focus {
    border-color: var(--blue-light, #4a90e2);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.25);
  }
  .hubungi-kami .btn-kirim {
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--navy-steel, #1e5fcc);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 10px 22px -12px rgba(30, 95, 204, 0.5);
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .hubungi-kami .btn-kirim:hover { background: #164a9e; transform: translateY(-2px); }
  .hubungi-kami .form-status { min-height: 16px; margin: 0; font-size: 12px; color: #bcd6ff; }

  footer::before,
  body[data-route="beranda"] footer::before { background: none !important; }
  footer,
  body[data-route="beranda"] footer {
    margin-top: 0;
    padding-top: 52px;
    border-top: 0;
  }
}


@keyframes statNumberPopIn {
  0%   { transform: scale(0.82); opacity: 0; }
  60%  { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes statNumberGlowPulse {
  0%, 100% { text-shadow: 0 0 0 rgba(74, 144, 226, 0); }
  50%      { text-shadow: 0 0 22px rgba(74, 144, 226, 0.55); }
}

.hero-stats strong.scramble,
.stats .num.scramble {
  display: inline-block;
}

.hero-stats strong.scramble {
  animation:
    statNumberPopIn 0.5s ease both,
    statNumberGlowPulse 1.1s ease-in-out 1.6s 2;
}

.stats .num.scramble {
  animation:
    statNumberPopIn 0.5s ease both,
    statNumberGlowPulse 1.1s ease-in-out 1.8s 2;
}

.hero-stats > div {
  position: relative;
}
.hero-stats > div::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--blue-light, #4a90e2), transparent);
  transform: scaleX(0);
  transform-origin: left;
  animation: heroStatUnderline 1.1s ease-out 0.15s both;
}
@keyframes heroStatUnderline {
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stats strong.scramble,
  .stats .num.scramble,
  .hero-stats > div::before {
    animation: none !important;
  }
}

section.page[data-page="profil"] .page-body .container.narrow {
  max-width: 1060px;
  padding: 32px 24px;
}

@media (min-width: 769px) {
  section.page[data-page="profil"] .page-body .container.narrow {
    max-width: 1100px;
    padding: 48px 64px 52px !important;
  }
}

@media (min-width: 1440px) {
  section.page[data-page="profil"] .page-body .container.narrow {
    max-width: 1180px;
  }
}


section.page[data-page="profil"] .page-body .container.narrow {
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 28px 24px !important;
  border-radius: 18px !important;
  border: 1px solid var(--card-border) !important;
  box-shadow: 0 12px 32px rgba(11,37,69,0.08) !important;
  background: var(--surface, #fff) !important;
}
@media (max-width: 480px) {
  section.page[data-page="profil"] .page-body .container.narrow {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    padding: 24px 20px !important;
    border-radius: 16px !important;
  }
}
@media (min-width: 993px) {
  section.page[data-page="profil"] .page-body .container.narrow {
    padding: 44px 52px !important;
  }
}

section.page[data-page="aiga"] .page-body .container.narrow {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  position: relative;
}

section.page[data-page="aiga"] .page-body .container.narrow::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  height: calc(100% + 20px);
  max-width: 620px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(11, 37, 69, 0.10);
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

section.page[data-page="aiga"] .page-body .aiga-shell {
  position: relative;
  z-index: 1;
}

@media (min-width: 769px) {
  section.page[data-page="aiga"] .page-body .container.narrow::before {
    top: 26px;
    width: calc(100% - 36px);
    height: calc(100% + 32px);
    max-width: 680px;
    border-radius: 26px;
  }
}

@media (min-width: 1200px) {
  section.page[data-page="aiga"] .page-body .container.narrow::before {
    top: 32px;
    height: calc(100% + 40px);
    max-width: 720px;
    border-radius: 28px;
  }
}

@media (max-width: 480px) {
  section.page[data-page="aiga"] .page-body .container.narrow::before {
    top: 12px;
    width: calc(100% - 14px);
    height: calc(100% + 14px);
    border-radius: 18px;
  }
}

.profil-bagian.detail-content,
.detail-content {
  padding: 0;
}
.profil-subnav {
  margin-bottom: 26px;
  padding-bottom: 22px;
}
.profil-bagian h2 {
  margin-top: 28px;
}
.profil-bagian h2:first-child {
  margin-top: 0;
}
.profil-bagian p,
.profil-bagian li {
  margin-bottom: 14px;
}
.profil-bagian ul.bullet-list {
  padding-left: 22px;
  margin: 0 0 14px;
}

.aiga-shell {
  margin-left: auto;
  margin-right: auto;
  border-radius: 18px;
}
@media (max-width: 480px) {
  .aiga-shell {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
  }
}

.search-fab {
  position: fixed;
  left: 20px;
  bottom: 86px;
  z-index: 420;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--navy-steel-fixed);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition);
}
.search-fab:hover {
  background: var(--navy);
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .search-fab {
    left: 16px;
    bottom: 76px;
    width: 46px;
    height: 46px;
    font-size: 16px;
  }
}

.site-search {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 72px 20px 20px;
  opacity: 0;
  pointer-events: none;
  background: rgba(7, 28, 58, 0.55);
  backdrop-filter: blur(3px);
  transition: opacity 0.25s ease;
}
.site-search.open {
  opacity: 1;
  pointer-events: auto;
}

.site-search-box {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 78vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--card-border);
  overflow: hidden;
  transform: translateY(-12px);
  transition: transform 0.3s var(--ease);
}
.site-search.open .site-search-box {
  transform: translateY(0);
}
:root[data-theme="dark"] .site-search-box {
  background: var(--paper);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-search-box {
    background: var(--paper);
  }
}

.site-search-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--card-border);
  color: var(--text-muted);
}
.site-search-head #siteSearchInput {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: var(--text-dark);
  font-family: var(--font-body);
}
.site-search-close {
  border: none;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 8px;
  transition: var(--transition);
}
.site-search-close:hover {
  background: var(--surface-alt);
  color: var(--text-dark);
}

.site-search-results {
  overflow-y: auto;
  padding: 8px;
}
.site-search-hint {
  padding: 18px 12px;
  margin: 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 13.5px;
}
.site-search-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-dark);
  transition: background 0.15s ease;
}
.site-search-item:hover {
  background: var(--surface-alt);
}
.site-search-item .sr-tipe {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy-steel);
}
.site-search-item strong {
  font-size: 14.5px;
  font-weight: 600;
}
.site-search-item small {
  font-size: 12.5px;
  color: var(--text-muted);
}

.ekskul-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  background: rgba(7, 28, 58, 0.72);
  backdrop-filter: blur(3px);
  transition: opacity 0.3s ease;
}
.ekskul-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.ekskul-modal-box {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 86vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--card-border);
  padding: 24px 22px;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s var(--ease);
}
.ekskul-modal.open .ekskul-modal-box {
  transform: translateY(0) scale(1);
}
:root[data-theme="dark"] .ekskul-modal-box {
  background: var(--paper);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ekskul-modal-box {
    background: var(--paper);
  }
}

.ekskul-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--surface-alt);
  color: var(--text-dark);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.ekskul-close:hover {
  background: var(--card-border);
}

.ekskul-modal-body {
  padding-right: 6px;
  color: var(--text-dark);
}
.ekskul-modal-body h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 19px;
  padding-right: 32px;
}
.ekskul-modal-body h4 {
  margin: 16px 0 6px;
  font-size: 14px;
  color: var(--navy-steel);
}
.ekskul-modal-body p,
.ekskul-modal-body li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}
.ekskul-modal-body ul {
  padding-left: 20px;
  margin: 0;
}

.ekskul-foto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.ekskul-foto-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
@media (max-width: 480px) {
  .ekskul-foto-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 10px 0 0;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  transition: var(--transition);
  min-width: 0;
}

a.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

.contact-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-steel), var(--blue-light));
  color: #fff;
  font-size: 16px;
}

.contact-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-card-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  font-weight: 600;
}

.contact-card-value {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  .contact-cards { grid-template-columns: 1fr; }
}

@property --aiga-c1 { syntax: "<color>"; inherits: true; initial-value: #1e5fcc; }
@property --aiga-c2 { syntax: "<color>"; inherits: true; initial-value: #e0bd6c; }
@property --aiga-c3 { syntax: "<color>"; inherits: true; initial-value: #4a90e2; }

section.page[data-page="aiga"] .page-body .container.narrow.aiga-stage {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 40px 28px !important;
  position: relative;
}

@media (max-width: 480px) {
  section.page[data-page="aiga"] .page-body .container.narrow.aiga-stage {
    padding: 24px 12px !important;
  }
}

.aiga-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  animation: aigaShellGlow 16s ease-in-out infinite;
  --aiga-c1: #1e5fcc;
  --aiga-c2: #e0bd6c;
  --aiga-c3: #4a90e2;
}

.aiga-fx {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--surface-alt);
}

.aiga-aurora {
  position: absolute;
  inset: -25%;
  opacity: 0.22;
  filter: blur(34px);
  background:
    radial-gradient(40% 36% at 14% 18%, var(--aiga-c1), transparent 72%),
    radial-gradient(36% 32% at 88% 26%, var(--aiga-c2), transparent 72%),
    radial-gradient(52% 42% at 52% 96%, var(--aiga-c3), transparent 75%);
  animation: aigaHueShift 16s ease-in-out infinite, aigaDrift 20s ease-in-out infinite alternate;
}

.aiga-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,95,204,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,95,204,0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 50% 35%, #000 35%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 35%, transparent 90%);
  animation: aigaGridDrift 12s linear infinite;
}

.aiga-scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 40%;
  background: linear-gradient(100deg,
    transparent,
    color-mix(in srgb, var(--aiga-c2) 26%, transparent),
    color-mix(in srgb, var(--aiga-c1) 18%, transparent),
    transparent);
  filter: blur(4px);
  animation: aigaSweep 6.5s ease-in-out infinite;
}

:root[data-theme="dark"] .aiga-fx,
:root:not([data-theme="light"]) .aiga-fx {
  background: var(--paper);
}
:root[data-theme="dark"] .aiga-aurora,
:root:not([data-theme="light"]) .aiga-aurora { opacity: 0.32; }
:root[data-theme="dark"] .aiga-grid,
:root:not([data-theme="light"]) .aiga-grid {
  background-image:
    linear-gradient(rgba(120,170,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,170,255,0.10) 1px, transparent 1px);
}

.aiga-shell .aiga-chat {
  background: transparent;
}

@keyframes aigaHueShift {
  0%   { --aiga-c1: #1e5fcc; --aiga-c2: #e0bd6c; --aiga-c3: #4a90e2; }
  25%  { --aiga-c1: #7c3aed; --aiga-c2: #22d3ee; --aiga-c3: #1e5fcc; }
  50%  { --aiga-c1: #0ea5e9; --aiga-c2: #f472b6; --aiga-c3: #e0bd6c; }
  75%  { --aiga-c1: #22c55e; --aiga-c2: #60a5fa; --aiga-c3: #7c3aed; }
  100% { --aiga-c1: #1e5fcc; --aiga-c2: #e0bd6c; --aiga-c3: #4a90e2; }
}

@keyframes aigaDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(5%, -4%) scale(1.08); }
}

@keyframes aigaGridDrift {
  from { background-position: 0 0; }
  to   { background-position: 28px 28px; }
}

@keyframes aigaSweep {
  0%   { transform: translateX(0); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateX(360%); opacity: 0; }
}

@keyframes aigaShellGlow {
  0%, 100% {
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--aiga-c1) 35%, transparent),
      0 22px 50px -18px color-mix(in srgb, var(--aiga-c2) 45%, transparent);
  }
  50% {
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--aiga-c3) 45%, transparent),
      0 22px 56px -16px color-mix(in srgb, var(--aiga-c1) 50%, transparent);
  }
}

.aiga-msg--bot .bubble {
  box-shadow: 0 6px 18px -10px color-mix(in srgb, var(--aiga-c1) 55%, transparent);
}

:root[data-perf="low"] .aiga-aurora,
:root[data-perf="low"] .aiga-grid,
:root[data-perf="low"] .aiga-scan,
:root[data-perf="low"] .aiga-shell {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .aiga-aurora, .aiga-grid, .aiga-scan, .aiga-shell { animation: none !important; }
}

@media (max-width: 768px) {
  .aiga-shell,
  .aiga-aurora,
  .aiga-grid,
  .aiga-scan {
    animation: none !important;
  }
  .aiga-aurora,
  .aiga-scan {
    filter: none !important;
  }
  .aiga-aurora { opacity: 0.14; }
  :root[data-theme="dark"] .aiga-aurora,
  :root:not([data-theme="light"]) .aiga-aurora { opacity: 0.2; }
  .aiga-scan { display: none; }
}

.page-body > .container.konten-card {
  max-width: 800px;
  padding: 40px 44px !important;
  background: var(--surface, #fff);
  border: 1px solid rgba(11,37,69,0.12);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(11,37,69,0.08);
}

@media (min-width: 1440px) {
  .page-body > .container.konten-card { max-width: 860px; }
}

@media (min-width: 993px) {
  .page-body > .container.konten-card { padding: 48px 56px !important; }
}

:root[data-theme="dark"] .page-body > .container.konten-card,
:root:not([data-theme="light"]) .page-body > .container.konten-card {
  background: var(--paper, #0f1f36);
  border-color: var(--card-border);
}

#kompetensiDetailView.container.narrow {
  background: var(--surface, #fff);
  border: 1px solid rgba(11,37,69,0.12);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(11,37,69,0.08);
  padding: 36px 40px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

:root[data-theme="dark"] #kompetensiDetailView.container.narrow,
:root:not([data-theme="light"]) #kompetensiDetailView.container.narrow {
  background: var(--paper, #0f1f36);
  border-color: var(--card-border);
}

@media (max-width: 640px) {
  .page-body {
    padding-left: 14px;
    padding-right: 14px;
  }
  #kompetensiDetailView.container.narrow {
    padding: 24px 20px !important;
  }
  .page-body > .container.konten-card {
    padding: 24px 18px !important;
  }
}



.push-berita {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--paper, #f4f8ff);
  border: 1px solid var(--card-border);
}
.push-berita-teks {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
  min-width: 0;
}
.push-berita-teks i { color: var(--primary); }
.push-berita-btn {
  min-height: 44px;
  padding: 10px 20px;
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.push-berita-btn:disabled { opacity: .6; cursor: not-allowed; }
.push-berita-btn.is-on { background: #16a34a; }
.push-berita-btn.is-denied { background: #d64550; }
@media (max-width: 560px) {
  .push-berita { flex-direction: column; align-items: stretch; }
  .push-berita-btn { width: 100%; min-height: 50px; font-size: 15px; }
}

.aiga-input-row {
  position: relative;
  z-index: 1001;
  align-items: center;
}
.aiga-input-row input {
  min-height: 50px;
  font-size: 15.5px;
}
.aiga-input-row button {
  width: 52px;
  height: 52px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
@media (max-width: 640px) {
  .aiga-input-row { padding: 12px 14px 14px; }
  .aiga-input-row button { width: 54px; height: 54px; font-size: 18px; }
}

@media (min-width: 769px) {
  nav.primary-menu ul {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 2px;
    padding: 6px 0;
    overflow: visible;
  }
  nav.primary-menu ul > li {
    flex: 0 0 auto;
  }
  nav.primary-menu ul > li > a {
    white-space: nowrap;
    font-size: clamp(12px, 0.9vw, 14px);
    padding: 8px clamp(6px, 0.7vw, 12px);
  }
  nav.primary-menu ul > li > .nav-links-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.92);
    font: inherit;
    font-size: clamp(12px, 0.9vw, 14px);
    font-weight: 600;
    padding: 8px clamp(6px, 0.7vw, 12px);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
  }
  nav.primary-menu ul > li > .nav-links-trigger:hover,
  nav.primary-menu ul > li.dropdown-open > .nav-links-trigger {
    background: var(--blue-soft-desktop, rgba(74, 144, 226, 0.22));
    color: #fff;
  }
  nav.primary-menu ul > li.nav-lang-item {
    display: flex;
    align-items: center;
    padding-left: 6px;
    margin-left: 2px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }
  nav.primary-menu .nav-lang-item .lang-toggle {
    margin: 0;
  }
}

.search-fab {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 420;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-steel), var(--navy));
  color: var(--gold-soft, #e0bd6c);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -12px rgba(7, 28, 58, 0.6), 0 0 0 4px rgba(212, 169, 76, 0.08);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px) scale(0.9);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.35s ease, box-shadow 0.25s ease;
}
.search-fab.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.search-fab i {
  margin: 0;
  font-size: 18px;
  line-height: 1;
}
.search-fab:hover {
  box-shadow: 0 18px 36px -12px rgba(7, 28, 58, 0.7), 0 0 0 5px rgba(212, 169, 76, 0.14);
}
.search-fab:focus-visible {
  outline: 2px solid var(--gold-soft, #e0bd6c);
  outline-offset: 3px;
}
@media (max-width: 640px) {
  .search-fab {
    left: 14px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }
  .search-fab i { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .search-fab { transition: none; transform: none; }
}

.lang-notice {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(92vw, 460px);
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--navy, #0b2545);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  box-shadow: 0 16px 36px -14px rgba(7, 28, 58, 0.7), 0 0 0 1px rgba(212, 169, 76, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s ease;
}
.lang-notice.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.lang-notice i { color: var(--gold-soft, #e0bd6c); flex-shrink: 0; }
@media (max-width: 640px) {
  .lang-notice { bottom: 16px; font-size: 13px; padding: 11px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .lang-notice { transition: none; }
}

.pamflet-sorotan {
  position: relative;
  margin: 0 0 26px;
  border-radius: var(--radius-lg, 22px);
  overflow: hidden;
  background: var(--navy, #0b2545);
  box-shadow: 0 18px 40px -22px rgba(7, 28, 58, 0.55);
}
.pamflet-sorotan[hidden] { display: none; }
.ps-viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  cursor: grab;
}
.ps-viewport::-webkit-scrollbar { display: none; }
.ps-viewport.ps-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.ps-slide {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 16 / 9;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: block;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}
.ps-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.ps-judul {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 18px 14px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  background: linear-gradient(to top, rgba(7, 28, 58, 0.78), rgba(7, 28, 58, 0));
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
.ps-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy, #0b2545);
  font-size: 15px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.5);
  transition: background 0.2s ease, transform 0.2s ease;
}
.ps-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.ps-prev { left: 12px; }
.ps-next { right: 12px; }
.ps-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 7px;
  pointer-events: none;
}
.ps-dot {
  pointer-events: auto;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.ps-dot.active { width: 22px; background: var(--gold, #d4a94c); }
.pamflet-sorotan.ps-single .ps-nav,
.pamflet-sorotan.ps-single .ps-dots { display: none; }
.pamflet-sorotan:has(.ps-judul) .ps-dots { bottom: 8px; justify-content: flex-end; padding-right: 16px; }
@media (max-width: 640px) {
  .pamflet-sorotan { margin-bottom: 20px; border-radius: var(--radius, 16px); }
  .ps-nav { width: 34px; height: 34px; font-size: 13px; }
  .ps-prev { left: 8px; }
  .ps-next { right: 8px; }
  .ps-judul { font-size: 13px; padding: 28px 14px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ps-viewport { scroll-behavior: auto; }
}

.news-actions-top {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}
.news-actions-top .btn-like,
.news-actions-top .btn-share {
  font-size: 13.5px;
  padding: 9px 18px;
  color: var(--text-dark);
  border-color: var(--gold);
}


html[data-motion="reduced"] :root:not([data-theme="light"]) body::before,
html[data-motion="reduced"] :root[data-theme="dark"] body::before {
  animation: none;
}

html[data-motion="reduced"] .bubble,
html[data-motion="reduced"] .sun-glow,
html[data-motion="reduced"] .wind-streak { animation: none; }
html[data-motion="reduced"] .live-bg-dark .bubble { opacity: 0.5; }
html[data-motion="reduced"] .sun-glow { opacity: 0.85; }
html[data-motion="reduced"] .wind-streak { display: none; }

html[data-motion="reduced"] .splash-progress-bar { transition: none; }
html[data-motion="reduced"] .splash-card { animation: none; }

html[data-motion="reduced"] .logo-wrap .logo-media { animation: none; }

html[data-motion="reduced"] .feature-card .icon { animation: none; }

html[data-motion="reduced"] .loading-msg:not(.error)::after { animation: none; width: 1.4em; }

html[data-motion="reduced"] .spmb-illustration { animation: none; }

html[data-motion="reduced"] .contact-socials a:hover { animation: none; transform: translateY(-4px); }

html[data-motion="reduced"] .map-embed-cta:hover i { animation: none; }

html[data-motion="reduced"] .totop.is-scrolling-up { animation: none; }
html[data-motion="reduced"] body.is-scroll-top-blurring #app,
html[data-motion="reduced"] body.is-scroll-top-blurring header,
html[data-motion="reduced"] body.is-scroll-top-blurring footer { animation: none; }

html[data-motion="reduced"] .section-transition-grid span { animation: none; opacity: 0.9; }
html[data-motion="reduced"] .section-transition-grid { transition: none; transform: none; opacity: 1; }
html[data-motion="reduced"] .section-transition { transition: opacity 0.2s ease, visibility 0.2s ease; backdrop-filter: none !important; }

html[data-motion="reduced"] .stats-pop {
  opacity: 1 !important;
  transform: none !important;
}
html[data-motion="reduced"] .stats-pop::before { display: none; }

html[data-motion="reduced"] .reveal,
html[data-motion="reduced"] .reveal-zoom,
html[data-motion="reduced"] .reveal-left,
html[data-motion="reduced"] .reveal-right,
html[data-motion="reduced"] .reveal-stagger > *,
html[data-motion="reduced"] .reveal-scale-fade,
html[data-motion="reduced"] .page.page-active,
html[data-motion="reduced"] .menu-panel-list > li,
html[data-motion="reduced"] .img-fade {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
  animation: none !important;
}
html[data-motion="reduced"] .hero,
html[data-motion="reduced"] .top-bar,
html[data-motion="reduced"] .hero::after,
html[data-motion="reduced"] .page-banner,
html[data-motion="reduced"] .page-banner::after,
html[data-motion="reduced"] .hero-shapes .shape,
html[data-motion="reduced"] .totop.show,
html[data-motion="reduced"] .loader-mark span {
  animation: none !important;
}
html[data-motion="reduced"] .news-card::before,
html[data-motion="reduced"] .news-card .kategori-badge,
html[data-motion="reduced"] .news-card .meta .fa-medal {
  animation: none !important;
  opacity: 0 !important;
}

html[data-motion="reduced"] .profil-subnav a.active { animation: none; }

html[data-motion="reduced"] .profil-bagian:not([hidden]) { animation: none; }

html[data-motion="reduced"] .touch-ripple,
html[data-motion="reduced"] nav.primary-menu ul > li[data-route="aiga"] > a i.fa-sparkles,
html[data-motion="reduced"] #menuPanel a[data-route-link="aiga"] i.fa-sparkles,
html[data-motion="reduced"] .reveal-visible .icon-pop {
  animation: none !important;
}
html[data-motion="reduced"] .magnetic-hover {
  transform: none !important;
}

html[data-motion="reduced"] .hero-grid,
html[data-motion="reduced"] .spmb-grid,
html[data-motion="reduced"] .page-banner::after { animation: none !important; }

html[data-motion="reduced"] .scr-ch.scr-spin { filter: none; }

html[data-motion="reduced"] header::after,
html[data-motion="reduced"] .logo-wrap::before,
html[data-motion="reduced"] .logo-wrap::after,
html[data-motion="reduced"] .logo-wrap .logo-media { animation: none !important; }
html[data-motion="reduced"] header::after,
html[data-motion="reduced"] .logo-wrap::before,
html[data-motion="reduced"] .logo-wrap::after { display: none; }

html[data-motion="reduced"] .tfx { display: none !important; }

html[data-motion="reduced"] .hero-stats strong.scramble,
html[data-motion="reduced"] .stats .num.scramble,
html[data-motion="reduced"] .hero-stats > div::before {
  animation: none !important;
}

html[data-motion="reduced"] .aiga-aurora,
html[data-motion="reduced"] .aiga-grid,
html[data-motion="reduced"] .aiga-scan,
html[data-motion="reduced"] .aiga-shell { animation: none !important; }

html[data-motion="reduced"] .search-fab { transition: none; transform: none; }

html[data-motion="reduced"] .lang-notice { transition: none; }

html[data-motion="reduced"] .ps-viewport { scroll-behavior: auto; }


.ekskul-card h5 { color: var(--heading-strong); }
section.page[data-page="beranda"] .container > h2 { color: var(--heading-strong); }

.map-route-cta { margin-left: 8px; }

.galeri-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.galeri-filter button {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.galeri-filter button:hover { border-color: var(--navy-steel); color: var(--navy-steel); }
.galeri-filter button.active {
  background: var(--navy-steel-fixed);
  border-color: transparent;
  color: #fff;
}

.aiga-head { position: relative; }
.aiga-reset {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.aiga-reset:hover { border-color: var(--navy-steel); color: var(--navy-steel); }
.aiga-reset:disabled { opacity: .5; cursor: not-allowed; }
.aiga-reset i { font-size: 12px; }
@media (max-width: 480px) {
  .aiga-reset span { display: none; }
  .aiga-reset { padding: 8px 10px; }
}










.program-section {
  padding: 72px 0;
  background: transparent;
  position: relative;
}
.prog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.prog-head .section-heading { margin-bottom: 0; max-width: 640px; }
.prog-head .section-heading h2 { color: var(--navy); }
.prog-accent { color: var(--orange, #ff6b00); }
.prog-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.prog-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 12px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.prog-btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--card-border); }
.prog-btn-ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--navy-steel); }
.prog-btn-solid { background: var(--orange, #ff6b00); color: #fff; box-shadow: 0 10px 22px -10px rgba(255,107,0,.6); }
.prog-btn-solid:hover { background: var(--orange-hover, #e85d00); transform: translateY(-3px); }

.prog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.prog-card {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 10px;
  min-height: 420px;
  padding: 26px 20px 24px;
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  color: #fff;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(7,28,58,.05) 0%, rgba(7,28,58,.55) 55%, rgba(7,28,58,.92) 100%),
    var(--prog-img) center / cover no-repeat,
    linear-gradient(160deg, var(--navy-steel-fixed) 0%, var(--navy) 100%);
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.prog-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: inherit;
  transition: transform .6s var(--ease);
}
.prog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.prog-card:hover::before { transform: scale(1.07); }
.prog-logo {
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--navy-steel-fixed);
  font-size: 1.5rem;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,.45);
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.prog-card:hover .prog-logo { transform: translateY(-4px) rotate(-8deg); background: var(--orange, #ff6b00); color: #fff; }
.prog-card h3 {
  font-family: var(--font-display);
  font-size: 1.28rem; line-height: 1.3; font-weight: 700;
  color: #fff; margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}
.prog-more {
  font-weight: 600; font-size: .95rem; color: var(--gold-soft);
  display: inline-flex; align-items: center; gap: 8px;
}
.prog-more i { font-size: .8rem; transition: transform .3s var(--ease); }
.prog-card:hover .prog-more i { transform: translateX(6px); }

@media (max-width: 1100px) {
  .prog-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (max-width: 820px) {
  .program-section { padding: 56px 0; }
  .prog-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .prog-card { min-height: 340px; padding: 20px 14px; }
  .prog-card h3 { font-size: 1.1rem; }
}
@media (max-width: 520px) {
  .program-section { padding: 44px 0; }
  .prog-head { margin-bottom: 24px; }
  .prog-actions { width: 100%; }
  .prog-btn { flex: 1; padding: 12px 14px; }
  .prog-grid { grid-template-columns: 1fr; }
  .prog-card { min-height: 300px; }
}

:root[data-theme="dark"] .prog-head .section-heading h2 { color: var(--ink); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .prog-head .section-heading h2 { color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  .prog-card, .prog-card::before, .prog-logo, .prog-btn, .prog-more i { transition: none !important; }
  .prog-card:hover, .prog-card:hover::before { transform: none; }
}

.stats-glass {
  position: relative;
  padding: 64px 0;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(160deg, var(--navy-steel-fixed) 0%, var(--navy) 100%);
}
.sg-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
  pointer-events: none;
}
.sg-orb-1 { width: 320px; height: 320px; top: -120px; left: -80px; background: var(--orange, #ff6b00); }
.sg-orb-2 { width: 280px; height: 280px; bottom: -110px; right: -60px; background: var(--gold-soft); }

.sg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 30px 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
  color: #fff;
  transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
.sg-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.14);
  box-shadow: var(--shadow-lg);
}
.sg-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  color: var(--gold-soft);
  font-size: 1.4rem;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.sg-card:hover .sg-icon { transform: translateY(-3px) scale(1.06); background: var(--orange, #ff6b00); color: #fff; }
.sg-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}
.sg-label {
  font-size: .98rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.sg-hint {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gold-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.sg-card:hover .sg-hint { opacity: 1; transform: translateY(0); }
.sg-hint i { font-size: .72rem; }

.sg-label .sg-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(70%);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: calc(var(--char-i, 0) * 35ms);
  will-change: transform, opacity;
}
.sg-card.reveal-visible .sg-label .sg-char {
  opacity: 1;
  transform: translateY(0);
}
.sg-label:not(:has(.sg-char)) {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s var(--ease) .2s, transform .5s var(--ease) .2s;
}
.sg-card.reveal-visible .sg-label:not(:has(.sg-char)) {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .sg-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 520px) {
  .stats-glass { padding: 48px 0; }
  .sg-card { padding: 24px 14px; }
  .sg-num { font-size: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sg-card, .sg-icon, .sg-hint { transition: none !important; }
  .sg-card:hover { transform: none; }
  .sg-label .sg-char { transition: none !important; opacity: 1; transform: none; }
}


body.kd-open .page:not(#kompetensiDetail) { display: none !important; }
body.kd-open #kompetensiDetail { display: block; animation: pageIn .5s cubic-bezier(.22,1,.36,1); }

.kd-r { opacity: 0; transform: translateY(30px);
  transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.kd-r.kd-left  { transform: translateX(-44px); }
.kd-r.kd-right { transform: translateX(44px); }
.kd-r.kd-in { opacity: 1; transform: none; }

.kd-hero { position: relative; overflow: hidden; padding: 72px 0 84px; }
.kd-wm {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: clamp(5rem, 17vw, 15rem); letter-spacing: -.02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 2px rgba(30,95,204,.13);
  pointer-events: none; user-select: none; animation: kdFloat 9s ease-in-out infinite;
}
@keyframes kdFloat { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(14px); } }
.kd-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.kd-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--orange-soft); color: var(--orange);
  font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  box-shadow: var(--shadow);
}
.kd-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); animation: kdPulse 1.8s ease-out infinite; }
@keyframes kdPulse { 0% { box-shadow: 0 0 0 0 var(--orange-glow); } 100% { box-shadow: 0 0 0 12px rgba(255,107,0,0); } }
.kd-title {
  margin: 22px 0 20px; font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 5.2vw, 4.2rem); line-height: 1.05; letter-spacing: -.02em; overflow-wrap: anywhere;
}
.kd-title span { color: var(--navy); }
.kd-title em { font-style: normal; color: var(--orange); }
.kd-lead { max-width: 56ch; font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.8; color: var(--ink-muted); margin: 0 0 28px; }
.kd-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.kd-photo { position: relative; margin: 0; }
.kd-photo::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; border-radius: var(--radius-lg);
  border: 2px solid var(--orange); opacity: .55; transition: transform .5s var(--ease);
}
.kd-kaprog::before { inset: 14px 14px -14px -14px; }
.kd-photo:hover::before { transform: translate(6px, 6px); }
.kd-kaprog:hover::before { transform: translate(-6px, 6px); }
.kd-img {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, var(--navy-steel-fixed), var(--navy));
}
.kd-img-main { aspect-ratio: 4 / 3.4; }
.kd-img-portrait { aspect-ratio: 3 / 3.8; }
.kd-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.kd-photo:hover .kd-img img { transform: scale(1.06); }
.kd-img-ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.28); font-size: clamp(3rem, 8vw, 5.5rem); }
.kd-chip {
  position: absolute; z-index: 3; left: -22px; bottom: 28px; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-lg);
  animation: kdBob 4.5s ease-in-out infinite;
}
.kd-chip span { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); font-size: 1.15rem; }
.kd-chip strong { display: block; font-family: var(--font-display); color: var(--ink); line-height: 1.2; }
.kd-chip small { color: var(--ink-muted); font-weight: 600; }
@keyframes kdBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.kd-visimisi { padding: 76px 0; }
.kd-vm-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.kd-name {
  position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 18px; padding: 14px 18px; border-radius: 14px;
  background: rgba(7,28,58,.82); backdrop-filter: blur(8px); color: #fff;
}
.kd-name strong { display: block; font-family: var(--font-display); }
.kd-name small { color: var(--gold-soft); font-weight: 600; }
.kd-vm-text .tag { color: var(--orange); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.kd-vm-text h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--navy); margin: 8px 0 22px; }
.kd-vm-text h2::after { content: ""; display: block; width: 50px; height: 3px; margin-top: 10px; border-radius: 999px; background: var(--orange); }
.kd-visi, .kd-misi { background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); margin-bottom: 18px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.kd-visi:hover, .kd-misi:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.kd-vm-text h4 { margin: 0 0 10px; font-family: var(--font-display); color: var(--navy-steel-fixed); display: flex; align-items: center; gap: 10px; }
.kd-vm-text h4 i { color: var(--orange); }
.kd-vm-text p, .kd-vm-text li { color: var(--ink-muted); line-height: 1.75; }
.kd-misi ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.kd-misi li::marker { color: var(--orange); font-weight: 700; }

.kd-journey { padding: 76px 0 96px; }
.kd-j-title { text-align: center; font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 2.5rem); color: var(--orange); margin: 0 0 44px; }
.kd-j-title span { overflow-wrap: anywhere; }
.kd-j-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.kd-card {
  background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--radius-lg);
  padding: 32px 28px 30px; text-align: center; box-shadow: var(--shadow);
  transition: opacity .8s var(--ease) var(--d,0ms), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.kd-card.kd-in:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.kd-card-ic { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font-size: 1.8rem; color: #fff; background: linear-gradient(145deg, #ff8a3d, var(--orange)); box-shadow: 0 12px 24px -10px var(--orange-glow); transition: transform .4s var(--ease); }
.kd-card:hover .kd-card-ic { transform: rotate(-10deg) scale(1.08); }
.kd-badge { display: inline-block; padding: 6px 18px; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 700; font-size: .85rem; }
.kd-card h3 { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); margin: 14px 0 16px; }
.kd-card ul { list-style: none; margin: 0; padding: 0; text-align: left; display: grid; gap: 11px; }
.kd-card li { position: relative; padding-left: 22px; color: var(--ink-muted); line-height: 1.5; }
.kd-card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }

@media (max-width: 1024px) {
  .kd-hero { padding: 56px 0 64px; }
  .kd-hero-grid { gap: 36px; }
  .kd-vm-grid { gap: 40px; }
  .kd-j-grid { grid-template-columns: repeat(2, 1fr); }
  .kd-j-grid .kd-card:last-child { grid-column: 1 / -1; max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 820px) {
  .kd-hero-grid, .kd-vm-grid { grid-template-columns: 1fr; }
  .kd-hero-text { order: 1; } .kd-photo.kd-right { order: 2; }
  .kd-kaprog { max-width: 420px; margin: 0 auto 8px; width: 100%; }
  .kd-photo { margin-right: 14px; }
  .kd-chip { left: 10px; bottom: 16px; }
  .kd-visimisi, .kd-journey { padding: 56px 0; }
  .kd-r.kd-left, .kd-r.kd-right { transform: translateY(30px); }
}
@media (max-width: 600px) {
  .kd-j-grid { grid-template-columns: 1fr; }
  .kd-j-grid .kd-card:last-child { max-width: none; }
  .kd-cta .prog-btn { flex: 1; }
  .kd-wm { -webkit-text-stroke-width: 1.5px; }
}

:root[data-theme="dark"] .kd-title span,
:root[data-theme="dark"] .kd-vm-text h2 { color: var(--ink); }
:root[data-theme="dark"] .kd-wm { -webkit-text-stroke-color: rgba(120,170,255,.14); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .kd-title span,
  :root:not([data-theme="light"]) .kd-vm-text h2 { color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  .kd-r, .kd-r.kd-left, .kd-r.kd-right { opacity: 1; transform: none; transition: none; }
  .kd-wm, .kd-chip, .kd-dot { animation: none; }
}
@property --pc-ang {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.pc-motion {
  opacity: 0;
  transform: translateY(80px) scale(.9) rotateX(14deg);
  transform-origin: 50% 100%;
  filter: blur(6px);
  transition:
    opacity .7s var(--ease),
    transform .9s cubic-bezier(.2,.8,.2,1),
    filter .7s var(--ease);
  will-change: transform, opacity;
}
.pc-motion.is-in {
  opacity: 1;
  transform: none;
  filter: none;
  transition-delay: calc(var(--i, 0) * 90ms);
}
.pc-motion.is-in:hover { transform: translateY(-8px); }

.pc-motion.is-out {
  opacity: 0;
  transform: translateY(-60px) scale(.94);
  filter: blur(4px);
  transition-duration: .55s, .6s, .5s;
  transition-delay: 0ms;
}


@media (prefers-reduced-motion: reduce) {
  .pc-motion { opacity: 1; transform: none; filter: none; transition: none; }
}

[hidden] { display: none !important; }

.spmb-home { padding: 88px 0; position: relative; }

.sh-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}
.sh-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(255,107,0,.1);
  color: var(--orange, #ff6b00);
  font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.sh-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange, #ff6b00);
  animation: shPulse 1.8s infinite;
}
@keyframes shPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,107,0,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(255,107,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,0,0); }
}
.sh-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  margin: 20px 0 16px;
  color: var(--ink);
}
.sh-accent { display: block; color: var(--orange, #ff6b00); }
.sh-lead {
  color: var(--muted, #5a6b85);
  font-size: 1.05rem; line-height: 1.7; max-width: 52ch;
}
.sh-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  margin-top: 26px;
}
.sh-link {
  color: var(--muted, #5a6b85); font-size: .82rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  transition: color .25s var(--ease);
}
.sh-link:hover { color: var(--orange, #ff6b00); }

.sh-photo {
  position: relative;
  justify-self: center;
  width: min(360px, 100%);
  aspect-ratio: 4 / 5;
  display: grid; place-items: center;
}
.sh-photo-ring {
  position: absolute; inset: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,.2), transparent 70%);
  animation: shFloat 6s ease-in-out infinite;
}
#shPhotoImg {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}
.sh-photo-fallback {
  position: relative; z-index: 1;
  font-size: 5rem; color: var(--orange, #ff6b00); opacity: .55;
}
@keyframes shFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.sh-syarat-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.sh-kicker {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange, #ff6b00);
}
.sh-syarat-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--ink); margin: 10px 0 8px;
}
.sh-syarat-head p { color: var(--muted, #5a6b85); margin: 0; }

.sh-syarat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.sh-card {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.sh-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.sh-card-ico {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(255,107,0,.12);
  color: var(--orange, #ff6b00);
  font-size: 1.3rem;
  margin-bottom: 18px;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.sh-card:hover .sh-card-ico { transform: rotate(-8deg); background: var(--orange, #ff6b00); color: #fff; }
.sh-card h4 {
  font-family: var(--font-display);
  font-size: 1.12rem; color: var(--ink); margin: 0 0 8px;
}
.sh-card p {
  color: var(--muted, #5a6b85); font-size: .92rem; line-height: 1.6; margin: 0 0 14px;
}
.sh-card-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--orange, #ff6b00);
}

.sh-help {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 32px;
  align-items: center;
  padding: 44px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-lg);
}
.sh-help h3 {
  font-family: var(--font-display);
  font-size: 1.85rem; color: var(--ink); margin: 10px 0 10px;
}
.sh-help p { color: var(--muted, #5a6b85); line-height: 1.7; margin: 0 0 22px; }
.sh-help-media { display: grid; place-items: center; }
.sh-help-avatar {
  width: 190px; height: 190px; border-radius: 50%; object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.sh-qris {
  padding: 16px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.sh-qris img { display: block; width: 220px; max-width: 100%; height: auto; }

.spmb-home .reveal-scale-fade {
  transition-delay: calc(var(--i, 0) * 90ms);
}

@media (max-width: 900px) {
  .sh-hero, .sh-help { grid-template-columns: 1fr; }
  .sh-photo { order: -1; width: 240px; }
  .sh-syarat-grid { grid-template-columns: repeat(2, 1fr); }
  .sh-help { padding: 28px; }
}
@media (max-width: 560px) {
  .spmb-home { padding: 60px 0; }
  .sh-hero { margin-bottom: 52px; }
  .sh-syarat-grid { grid-template-columns: 1fr; }
  .sh-help-avatar { width: 140px; height: 140px; }
  .sh-actions { width: 100%; }
  .sh-actions .prog-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .sh-dot, .sh-photo-ring { animation: none; }
}

.gempa-strip-wrap {
  padding: 0 0 28px;
  background: transparent;
}

.gempa-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 10px 16px;
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.4;
}

.gempa-strip[hidden] { display: none; }

.gempa-strip-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.gempa-strip-label i {
  color: var(--gold-deep, #b8862e);
  font-size: 12px;
}

.gempa-strip-mag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold-soft, #f1d890);
  font-weight: 700;
  font-size: 12px;
}

.gempa-strip-wilayah {
  flex: 1 1 260px;
  min-width: 0;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gempa-strip-meta {
  white-space: nowrap;
  color: var(--ink-muted);
}

.gempa-strip-link {
  margin-left: auto;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.gempa-strip-link:hover {
  color: var(--gold-deep, #b8862e);
  text-decoration: underline;
}

.gempa-strip-link i {
  font-size: 10px;
  margin-left: 2px;
}

@media (max-width: 640px) {
  .gempa-strip { padding: 9px 12px; gap: 6px 10px; font-size: 12px; }
  .gempa-strip-wilayah { flex-basis: 100%; order: 3; white-space: normal; }
  .gempa-strip-meta { order: 4; }
  .gempa-strip-link { margin-left: 0; }
}

.spmb-state-closed .spmb-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

#kdVisiMisi, #kdJourney { scroll-margin-top: 84px; }
.kd-vm-text h2 em { font-style: normal; color: var(--orange); }
.kd-misi ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.kd-visi p, .kd-misi p { margin: 0 0 8px; }
.kd-hero-text .back-link { margin-bottom: 18px; }
.kd-cta .prog-btn { cursor: pointer; font-family: inherit; }
.kd-hero, .kd-visimisi, .kd-journey { overflow-x: clip; }
@media (max-width: 820px) {
  .kd-photo.kd-right { max-width: 520px; width: calc(100% - 14px); margin-inline: auto; }
  .kd-chip { left: 12px; }
}
@media (max-width: 420px) {
  .kd-hero { padding: 40px 0 52px; }
  .kd-card { padding: 26px 20px 24px; }
  .kd-pill { font-size: .7rem; padding: 8px 14px; }
}

/* ===== SUMBER: css/update.css ===== */


main section.page:not([data-page="beranda"]) img,
main section.page:not([data-page="beranda"]) video,
main section.page:not([data-page="beranda"]) iframe {
  max-width: 100%;
}
main section.page:not([data-page="beranda"]) h1,
main section.page:not([data-page="beranda"]) h2,
main section.page:not([data-page="beranda"]) h3,
main section.page:not([data-page="beranda"]) p,
main section.page:not([data-page="beranda"]) li,
main section.page:not([data-page="beranda"]) a {
  overflow-wrap: anywhere;
}

main section.page:not([data-page="beranda"]) .container {
  padding-left: clamp(16px, 4vw, 48px) !important;
  padding-right: clamp(16px, 4vw, 48px) !important;
}
@media (min-width: 1600px) {
  main section.page:not([data-page="beranda"]) .container {
    max-width: 1360px;
  }
}

main section.page:not([data-page="beranda"]) .page-banner {
  padding: clamp(40px, 7vw, 84px) 0 clamp(34px, 5vw, 62px);
}
main section.page:not([data-page="beranda"]) .page-banner .container {
  max-width: min(760px, 100%);
}
main section.page:not([data-page="beranda"]) .page-banner h1 {
  font-size: clamp(24px, 5vw, 46px);
  line-height: 1.15;
}
main section.page:not([data-page="beranda"]) .page-banner p {
  font-size: clamp(14px, 1.5vw, 17.5px);
}
main section.page:not([data-page="beranda"]) h2 {
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.25;
}

main section.page:not([data-page="beranda"]) .news-grid,
main section.page:not([data-page="beranda"]) .prestasi-grid,
main section.page:not([data-page="beranda"]) .osis-grid,
main section.page:not([data-page="beranda"]) .kompetensi-grid,
main section.page:not([data-page="beranda"]) .guru-grid,
main section.page:not([data-page="beranda"]) .gallery-grid,
main section.page:not([data-page="beranda"]) .ekskul-grid,
main section.page:not([data-page="beranda"]) .sosmed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: clamp(14px, 2vw, 26px);
}
@media (min-width: 1200px) {
  main section.page:not([data-page="beranda"]) .news-grid,
  main section.page:not([data-page="beranda"]) .prestasi-grid,
  main section.page:not([data-page="beranda"]) .guru-grid,
    main section.page:not([data-page="beranda"]) .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

main section.page:not([data-page="beranda"]) .news-card .thumb {
  height: clamp(150px, 26vw, 240px);
}
main section.page:not([data-page="beranda"]) .news-grid-scroll {
  max-height: min(1180px, 80vh);
  max-height: min(1180px, 80dvh);
}
main section.page:not([data-page="beranda"]) .map-embed iframe {
  min-height: clamp(240px, 42vw, 440px);
  width: 100%;
}

@media (pointer: coarse) {
  main section.page:not([data-page="beranda"]) button,
  main section.page:not([data-page="beranda"]) .btn,
  main section.page:not([data-page="beranda"]) a.btn {
    min-height: 44px;
  }
}

@media (max-width: 360px) {
  main section.page:not([data-page="beranda"]) .page-banner h1 {
    font-size: 22px;
  }
  main section.page:not([data-page="beranda"]) .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

@media (min-width: 900px) {
  main section.page:not([data-page="beranda"]) .page-banner .container {
    max-width: min(900px, 100%);
  }
}


.main-nav .nav-search {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--surface-alt);
  overflow: hidden;
  flex-shrink: 0;
  transition: width .45s var(--ease), border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.main-nav .nav-search:hover { border-color: var(--gold); }
.main-nav .nav-search.is-open {
  width: min(300px, 42vw);
  background: var(--surface);
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, .14);
}
.main-nav .nav-search input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  height: 100%;
  margin: 0;
  padding: 0 4px 0 16px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.main-nav .nav-search input:focus { border: 0; box-shadow: none; }
.main-nav .nav-search input::placeholder { color: var(--text-muted); }
.main-nav .nav-search.is-open input { opacity: 1; pointer-events: auto; transition-delay: .15s; }
.main-nav .nav-search .nav-search-btn {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--primary);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 16px;
  transition: color .25s ease, transform .25s ease;
}
.main-nav .nav-search .nav-search-btn:hover { background: transparent; color: var(--orange, #ff6b00); }
.main-nav .nav-search.is-open .nav-search-btn { color: var(--orange, #ff6b00); }
.main-nav .nav-search .nav-search-btn:focus-visible { outline: 2px solid var(--orange, #ff6b00); outline-offset: -3px; }

@media (max-width: 768px) {
  .main-nav .nav-search { display: flex; margin-left: auto; }
  .main-nav .container.flex { position: relative; }
  .main-nav .nav-search.is-open {
    position: absolute;
    left: 14px; right: 14px; top: 50%;
    width: auto;
    transform: translateY(-50%);
    z-index: 8;
    animation: navSearchOpen .38s var(--ease);
  }
}
@keyframes navSearchOpen {
  from { clip-path: inset(0 0 0 calc(100% - 42px) round 999px); }
  to   { clip-path: inset(0 0 0 0 round 999px); }
}
@media (prefers-reduced-motion: reduce) {
  .main-nav .nav-search, .main-nav .nav-search input { transition: none; }
  .main-nav .nav-search.is-open { animation: none; }
}

.nav-game-link i { margin-right: 8px; color: var(--orange, #ff6b00); width: 1.1em; text-align: center; }

.sambutan-section { position: relative; padding: clamp(44px, 7vw, 80px) 0; }
.sambutan-wrap {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
}
.sambutan-figure { margin: 0; text-align: center; }
.sambutan-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(160deg, var(--navy-steel-fixed) 0%, var(--navy) 100%);
  box-shadow: var(--shadow-lg);
}
.sambutan-photo::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  border-radius: inherit;
  border: 2px solid rgba(255, 209, 102, .55);
  pointer-events: none;
}
.sambutan-photo img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.sambutan-photo-fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: clamp(4rem, 12vw, 6.5rem);
  color: rgba(255, 255, 255, .85);
}
.sambutan-figure figcaption { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; }
.sambutan-figure figcaption strong {
  font-family: var(--font-display);
  font-size: 1.05rem; line-height: 1.35;
  color: var(--navy);
}
.sambutan-figure figcaption span { font-size: .9rem; color: var(--text-muted); }
.sambutan-body .tag { display: inline-block; color: var(--orange, #ff6b00); }
.sambutan-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.25;
  color: var(--navy);
  margin: 8px 0 18px;
}
.sambutan-text p { margin: 0 0 14px; color: var(--ink); line-height: 1.8; max-width: 70ch; }
.sambutan-sign {
  margin: 20px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--orange, #ff6b00);
  font-style: italic;
  color: var(--text-muted);
}
:root[data-theme="dark"] .sambutan-figure figcaption strong,
:root[data-theme="dark"] .sambutan-body h2 { color: var(--ink); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sambutan-figure figcaption strong,
  :root:not([data-theme="light"]) .sambutan-body h2 { color: var(--ink); }
}
@media (max-width: 820px) {
  .sambutan-wrap { grid-template-columns: 1fr; }
  .sambutan-figure { max-width: 240px; margin: 0 auto; }
}

.page-body.program-section { padding-top: clamp(36px, 6vw, 64px); padding-bottom: clamp(44px, 7vw, 80px); }
main section.page[data-page="kompetensi"] .prog-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) { main section.page[data-page="kompetensi"] .prog-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (max-width: 820px) { main section.page[data-page="kompetensi"] .prog-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 520px) { main section.page[data-page="kompetensi"] .prog-grid { grid-template-columns: 1fr; } }
.prog-grid > .loading-msg { grid-column: 1 / -1; }

.ekskul-prog-grid { margin-top: 24px; }
.prog-card--ekskul { --prog-img: none; min-height: 280px; cursor: pointer; padding: 26px 18px 22px; }
.prog-card--ekskul h3 { font-size: 1.15rem; }
.prog-card--ekskul .badge-baru { font-size: 9px; margin-left: 4px; }
.prog-card .prog-pembina { margin: -2px 0 2px; font-size: .9rem; line-height: 1.4; color: rgba(255, 255, 255, .85); text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.prog-card--ekskul:focus-visible { outline: 3px solid var(--orange, #ff6b00); outline-offset: 3px; }
@media (max-width: 820px) { .prog-card--ekskul { min-height: 240px; padding: 20px 12px; } }
@media (max-width: 520px) { .prog-card--ekskul { min-height: 220px; } }

.ekskul-tema {
  --tema-a: #1c3f66; --tema-b: #0c1f38; --tema-glow: rgba(28, 63, 102, .55); --tema-acc: #a9cbf5;
  --tema-pola: none; --tema-ukuran: auto;
  background: linear-gradient(160deg, var(--tema-a) 0%, var(--tema-b) 100%) !important;
  box-shadow: inset 0 4px 0 var(--tema-acc), 0 18px 40px -22px var(--tema-glow), var(--shadow);
}
.ekskul-tema:hover { box-shadow: inset 0 4px 0 var(--tema-acc), 0 22px 48px -20px var(--tema-glow), var(--shadow-lg); }
.ekskul-tema .prog-logo { background: #fff; color: var(--tema-a); box-shadow: 0 0 0 4px rgba(255, 255, 255, .16), 0 6px 16px -6px rgba(0, 0, 0, .45); }
.ekskul-tema:hover .prog-logo { background: var(--tema-acc); color: var(--tema-b); }

.et-pattern {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--tema-pola); background-size: var(--tema-ukuran); background-position: 0 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .12) 78%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .12) 78%);
  transition: background-position .6s var(--ease, ease);
}
.ekskul-tema:hover .et-pattern { background-position: 12px 12px; }

.et-mark {
  position: absolute; z-index: -1; top: -22px; right: -18px; pointer-events: none;
  font-size: clamp(120px, 52%, 156px); line-height: 1; color: rgba(255, 255, 255, .11);
  transform: rotate(-14deg); transition: transform .5s var(--ease, ease), color .5s var(--ease, ease);
}
.ekskul-tema:hover .et-mark { transform: rotate(-8deg) scale(1.06); color: rgba(255, 255, 255, .17); }

.et-chip {
  display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; line-height: 1.5; letter-spacing: .01em;
  color: var(--tema-acc); background: rgba(255, 255, 255, .1); border: 1px solid var(--tema-acc);
}
.ekskul-tema .prog-more { color: var(--tema-acc); }

.ekskul-tema--pks { --tema-a: #1d3f72; --tema-b: #0a1a33; --tema-glow: rgba(29,63,114,.6); --tema-acc: #ffc83d; --tema-pola: repeating-linear-gradient(135deg, rgba(255,200,61,.2) 0 12px, transparent 12px 30px); --tema-ukuran: auto; }
.ekskul-tema--pmr { --tema-a: #c81e3a; --tema-b: #3f0a14; --tema-glow: rgba(200,30,58,.55); --tema-acc: #ffb3be; --tema-pola: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M20 12v16M12 20h16' stroke='%23fff' stroke-opacity='.17' stroke-width='3.5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E"); --tema-ukuran: 40px 40px; }
.ekskul-tema--paskibra { --tema-a: #b3122e; --tema-b: #2b0813; --tema-glow: rgba(179,18,46,.55); --tema-acc: #ffe3e8; --tema-pola: repeating-linear-gradient(90deg, rgba(255,255,255,.09) 0 9px, transparent 9px 22px); --tema-ukuran: auto; }
.ekskul-tema--pramuka { --tema-a: #5a7d2a; --tema-b: #1f300d; --tema-glow: rgba(90,125,42,.55); --tema-acc: #e6cb78; --tema-pola: repeating-linear-gradient(45deg, rgba(255,255,255,.07) 0 2px, transparent 2px 16px), repeating-linear-gradient(-45deg, rgba(255,255,255,.07) 0 2px, transparent 2px 16px); --tema-ukuran: auto; }
.ekskul-tema--beladiri { --tema-a: #7a1c1c; --tema-b: #230808; --tema-glow: rgba(122,28,28,.6); --tema-acc: #f0c36d; --tema-pola: repeating-linear-gradient(115deg, transparent 0 20px, rgba(240,195,109,.13) 20px 23px, transparent 23px 52px); --tema-ukuran: auto; }
.ekskul-tema--senam { --tema-a: #d9591f; --tema-b: #3e1708; --tema-glow: rgba(217,89,31,.55); --tema-acc: #ffd9a8; --tema-pola: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='24' viewBox='0 0 64 24'%3E%3Cpath d='M0 12Q16 0 32 12T64 12' stroke='%23fff' stroke-opacity='.2' stroke-width='2' fill='none'/%3E%3C/svg%3E"); --tema-ukuran: 64px 24px; }
.ekskul-tema--olahraga { --tema-a: #1668c9; --tema-b: #082647; --tema-glow: rgba(22,104,201,.55); --tema-acc: #8ed1ff; --tema-pola: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.16' stroke-width='2'%3E%3Ccircle cx='60' cy='60' r='26'/%3E%3Cpath d='M0 60h120M60 0v120'/%3E%3Ccircle cx='60' cy='60' r='3' fill='%23fff' fill-opacity='.2'/%3E%3C/g%3E%3C/svg%3E"); --tema-ukuran: 120px 120px; }
.ekskul-tema--sepakbola { --tema-a: #1f8f47; --tema-b: #0a2f18; --tema-glow: rgba(31,143,71,.55); --tema-acc: #d6f5a0; --tema-pola: radial-gradient(circle at 50% 0%, transparent 0 46px, rgba(255,255,255,.22) 46px 48px, transparent 48px), repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 28px, transparent 28px 56px); --tema-ukuran: auto; }
.ekskul-tema--basket { --tema-a: #e0661a; --tema-b: #3a1405; --tema-glow: rgba(224,102,26,.55); --tema-acc: #ffd3a0; --tema-pola: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='120' viewBox='0 0 140 120'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.2' stroke-width='2'%3E%3Cpath d='M10 0v50a60 60 0 0 0 120 0V0'/%3E%3Crect x='45' y='0' width='50' height='62'/%3E%3Ccircle cx='70' cy='62' r='20'/%3E%3C/g%3E%3C/svg%3E"); --tema-ukuran: 140px 120px; }
.ekskul-tema--voli { --tema-a: #0f9bd8; --tema-b: #06304d; --tema-glow: rgba(15,155,216,.55); --tema-acc: #fff2a8; --tema-pola: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Cpath d='M0 0l26 26M26 0L0 26' stroke='%23fff' stroke-opacity='.2' stroke-width='1.4' fill='none'/%3E%3C/svg%3E"); --tema-ukuran: 26px 26px; }
.ekskul-tema--takraw { --tema-a: #b9761f; --tema-b: #3a2108; --tema-glow: rgba(185,118,31,.55); --tema-acc: #ffe0a3; --tema-pola: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M0 6h12M12 18h12M6 0v12M18 12v12' stroke='%23fff' stroke-opacity='.22' stroke-width='2.2' fill='none'/%3E%3C/svg%3E"); --tema-ukuran: 24px 24px; }
.ekskul-tema--pecinta-alam { --tema-a: #2f7d4f; --tema-b: #0b2617; --tema-glow: rgba(47,125,79,.55); --tema-acc: #b4efb0; --tema-pola: repeating-radial-gradient(ellipse at 85% 12%, transparent 0 14px, rgba(255,255,255,.12) 14px 16px); --tema-ukuran: auto; }
.ekskul-tema--keagamaan { --tema-a: #1f8a6a; --tema-b: #082a20; --tema-glow: rgba(31,138,106,.55); --tema-acc: #f1db8d; --tema-pola: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.2' stroke-width='1.6'%3E%3Crect x='10' y='10' width='28' height='28'/%3E%3Crect x='10' y='10' width='28' height='28' transform='rotate(45 24 24)'/%3E%3C/g%3E%3C/svg%3E"); --tema-ukuran: 48px 48px; }
.ekskul-tema--penampilan { --tema-a: #c2328a; --tema-b: #35092a; --tema-glow: rgba(194,50,138,.55); --tema-acc: #ffc2e4; --tema-pola: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='36' viewBox='0 0 90 36'%3E%3Cpath d='M0 18Q22 0 45 18T90 18' stroke='%23fff' stroke-opacity='.2' stroke-width='2' fill='none'/%3E%3Cpath d='M0 30Q22 12 45 30T90 30' stroke='%23fff' stroke-opacity='.1' stroke-width='2' fill='none'/%3E%3C/svg%3E"); --tema-ukuran: 90px 36px; }
.ekskul-tema--musik { --tema-a: #7a3fc9; --tema-b: #1f0e3a; --tema-glow: rgba(122,63,201,.55); --tema-acc: #dcc7ff; --tema-pola: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='64' viewBox='0 0 100 64'%3E%3Cpath d='M0 12h100M0 19h100M0 26h100M0 33h100M0 40h100' stroke='%23fff' stroke-opacity='.2' stroke-width='1.2'/%3E%3C/svg%3E"); --tema-ukuran: 100px 64px; }
.ekskul-tema--teater { --tema-a: #a3471f; --tema-b: #2e1207; --tema-glow: rgba(163,71,31,.55); --tema-acc: #f4c885; --tema-pola: repeating-linear-gradient(90deg, rgba(0,0,0,.2) 0 12px, rgba(255,255,255,.08) 12px 24px, rgba(0,0,0,.08) 24px 36px); --tema-ukuran: auto; }
.ekskul-tema--jurnalistik { --tema-a: #4a5160; --tema-b: #12151a; --tema-glow: rgba(74,81,96,.6); --tema-acc: #ffd24d; --tema-pola: radial-gradient(circle, rgba(255,255,255,.2) 1.4px, transparent 1.9px); --tema-ukuran: 13px 13px; }
.ekskul-tema--sains { --tema-a: #0e7fa8; --tema-b: #052a3b; --tema-glow: rgba(14,127,168,.55); --tema-acc: #9be9ff; --tema-pola: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 4l22 13v26L30 56 8 43V17z' fill='none' stroke='%23fff' stroke-opacity='.17' stroke-width='1.6'/%3E%3C/svg%3E"); --tema-ukuran: 60px 60px; }
.ekskul-tema--matematika { --tema-a: #4a45c9; --tema-b: #15134f; --tema-glow: rgba(74,69,201,.55); --tema-acc: #ffe08a; --tema-pola: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); --tema-ukuran: 22px 22px; }
.ekskul-tema--komputer { --tema-a: #0d9488; --tema-b: #062b28; --tema-glow: rgba(13,148,136,.55); --tema-acc: #7ff5c9; --tema-pola: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.2' stroke-width='1.6'%3E%3Cpath d='M0 32h20l7-9h22M32 0v15l9 8M64 44H44l-7 9v11'/%3E%3Ccircle cx='49' cy='23' r='3'/%3E%3Ccircle cx='20' cy='32' r='2.5'/%3E%3C/g%3E%3C/svg%3E"); --tema-ukuran: 64px 64px; }
.ekskul-tema--bahasa { --tema-a: #2d6cdf; --tema-b: #0c1e4d; --tema-glow: rgba(45,108,223,.55); --tema-acc: #ffd56a; --tema-pola: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='66' viewBox='0 0 84 66'%3E%3Cpath d='M12 8h40a7 7 0 0 1 7 7v16a7 7 0 0 1-7 7H30l-10 9v-9h-8a7 7 0 0 1-7-7V15a7 7 0 0 1 7-7z' fill='none' stroke='%23fff' stroke-opacity='.17' stroke-width='1.6'/%3E%3C/svg%3E"); --tema-ukuran: 84px 66px; }
.ekskul-tema--karakter { --tema-a: #c68a14; --tema-b: #3d2705; --tema-glow: rgba(198,138,20,.55); --tema-acc: #fff0b8; --tema-pola: repeating-conic-gradient(from 0deg at 50% -10%, rgba(255,255,255,.1) 0 6deg, transparent 6deg 15deg); --tema-ukuran: auto; }
.ekskul-tema--organisasi { --tema-a: #12356a; --tema-b: #071c3a; --tema-glow: rgba(18,53,106,.65); --tema-acc: #ffb066; --tema-pola: repeating-radial-gradient(circle at 50% -8%, transparent 0 20px, rgba(255,255,255,.1) 20px 22px); --tema-ukuran: auto; }
.ekskul-tema--umum { --tema-a: #1c3f66; --tema-b: #0c1f38; --tema-glow: rgba(28,63,102,.55); --tema-acc: #a9cbf5; --tema-pola: radial-gradient(circle, rgba(255,255,255,.16) 1.5px, transparent 2px); --tema-ukuran: 18px 18px; }

@media (prefers-contrast: more) {
  .ekskul-tema { outline: 1px solid rgba(255, 255, 255, .25); }
  .et-mark { color: rgba(255, 255, 255, .06); }
}
@media (prefers-reduced-motion: reduce) {
  .et-pattern, .et-mark { transition: none; }
  .ekskul-tema:hover .et-pattern { background-position: 0 0; }
  .ekskul-tema:hover .et-mark { transform: rotate(-14deg); }
}

footer .location-section.footer-location {
  padding: 0 0 44px;
  margin-bottom: 44px;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
footer .footer-location .section-heading { margin-bottom: 26px; }
footer .footer-location .map-embed.home-map iframe { display: block; min-height: 320px; width: 100%; }
footer .footer-location .loc-item a { color: inherit; text-decoration: none; }
footer .footer-location .loc-item a:hover { color: var(--orange, #ff6b00); }
footer .footer-location .location-info { gap: 12px; }
footer .footer-location .loc-item h4::after { display: none; }
footer .footer-location .loc-item h4 { margin-bottom: 4px; }
footer .footer-location .loc-item { padding: 16px 18px; }
.footer-loc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.footer-loc-actions .footer-loc-btn { flex: 1 1 180px; padding: 12px 16px; font-size: .95rem; text-align: center; }
footer .prog-btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
}
footer .prog-btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }

footer .grid { grid-template-columns: 1.6fr 1fr 1.5fr; }
@media (max-width: 900px) {
  footer .grid { grid-template-columns: repeat(2, 1fr); }
  footer .grid > .about { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  footer .grid { grid-template-columns: 1fr; }
  footer .footer-location .map-embed.home-map iframe { min-height: 260px; }
  footer .location-section.footer-location { padding-bottom: 32px; margin-bottom: 32px; }
}

html, body { max-width: 100%; overflow-x: clip; }
img, video, iframe { max-width: 100%; }

@media (max-width: 480px) {
  .main-nav .container.flex { gap: 6px; }
  .main-nav .nav-search { width: 38px; height: 38px; }
  .main-nav .nav-search .nav-search-btn { flex-basis: 36px; width: 36px; height: 36px; font-size: 15px; }
  .main-nav .theme-toggle, .main-nav .menu-toggle { width: 38px; height: 38px; margin-left: 0; }
  .main-nav .logo-wrap { min-width: 0; flex: 1 1 auto; }
  .main-nav .logo-text { min-width: 0; }
  .logo-text .school-name { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .logo-text small { font-size: 10px; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
}
@media (max-width: 360px) {
  .logo-text .school-name { font-size: 12.5px; }
  .logo-wrap .logo-media { width: 36px; height: 36px; }
}


.main-nav .nav-search .nav-search-btn { order: -1; margin: 0; flex: 0 0 40px; }
.main-nav .nav-search input { padding: 0; width: 0; flex: 1 1 0; }
.main-nav .nav-search.is-open input { padding: 0 14px 0 2px; }
@keyframes navSearchOpenLeft {
  from { clip-path: inset(0 calc(100% - 42px) 0 0 round 999px); }
  to   { clip-path: inset(0 0 0 0 round 999px); }
}

@media (max-width: 768px) {
  .main-nav .nav-search { display: none !important; }
  .main-nav .theme-toggle { margin-left: auto; }
}

.menu-panel-search.anim-search {
  position: relative;
  display: flex;
  align-items: center;
  margin: 18px 20px 6px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--surface-alt);
  overflow: hidden;
  flex-shrink: 0;
  transition: width .45s var(--ease), border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.menu-panel-search.anim-search.is-open {
  width: calc(100% - 40px);
  background: var(--surface);
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, .14);
}
.menu-panel-search.anim-search .anim-search-btn {
  order: -1;
  flex: 0 0 42px;
  width: 42px; height: 42px;
  padding: 0; margin: 0;
  border: 0; border-radius: 50%;
  background: transparent;
  color: var(--primary);
  display: grid; place-items: center;
  cursor: pointer; font-size: 16px;
  transition: color .25s ease;
}
.menu-panel-search.anim-search.is-open .anim-search-btn,
.menu-panel-search.anim-search .anim-search-btn:hover { color: var(--orange, #ff6b00); background: transparent; }
.menu-panel-search.anim-search input {
  flex: 1 1 0; width: 0; min-width: 0; height: 100%;
  padding: 0; margin: 0;
  border: 0; border-radius: 0; outline: none; box-shadow: none;
  background: transparent; color: var(--ink); font-size: 15px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.menu-panel-search.anim-search.is-open input { opacity: 1; pointer-events: auto; padding: 0 14px 0 2px; transition-delay: .15s; }
.menu-panel-search.anim-search input::placeholder { color: var(--text-muted); }
@media (prefers-reduced-motion: reduce) {
  .menu-panel-search.anim-search, .menu-panel-search.anim-search input { transition: none; }
}

@media (max-width: 600px) {
  .stats-glass .sg-grid { grid-template-columns: 1fr !important; }
}
.sambutan-section + .features { padding-top: 0; }
@media (max-width: 768px) {
  .features .grid { grid-template-columns: 1fr !important; }
}

.dev-team-section { padding: clamp(36px, 6vw, 64px) 0 clamp(44px, 7vw, 80px); }
.dev-team-heading { text-align: center; margin-left: auto; margin-right: auto; }
.dev-team-heading h2 { margin: 0; }
.dev-team-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  margin-top: 22px;
}
.dev-team-card {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-sm, 0 4px 14px rgba(0,0,0,.06));
  transition: transform .25s ease, border-color .25s ease, color .25s ease;
}
.dev-team-card i { color: #0a66c2; font-size: 1.25rem; }
.dev-team-card:hover { transform: translateY(-3px); border-color: var(--orange, #ff6b00); color: var(--orange, #ff6b00); }
.dev-team-thanks {
  max-width: 620px; margin: 22px auto 0;
  text-align: center; font-size: .92rem; line-height: 1.6;
  color: var(--text-muted);
}
@media (max-width: 480px) {
  .dev-team-list { flex-direction: column; align-items: stretch; }
  .dev-team-card { justify-content: center; }
}

footer .footer-tanya {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  padding-bottom: 44px;
  margin-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
footer .footer-tanya-intro .tag { color: var(--orange, #ff6b00); }
footer .footer-tanya-intro h2 {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 8px 0 12px;
}
footer .footer-tanya-intro p { color: rgba(255, 255, 255, .7); line-height: 1.7; margin: 0; }
.tanya-box {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  border-radius: var(--radius-lg, 18px);
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
}
.tanya-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tanya-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tanya-field > span { font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .85); }
.tanya-field em { color: var(--orange, #ff6b00); font-style: normal; }
.tanya-field input,
.tanya-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(0, 0, 0, .18);
  color: #fff;
  font: inherit; font-size: .95rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.tanya-field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.tanya-field input::placeholder, .tanya-field textarea::placeholder { color: rgba(255, 255, 255, .4); }
.tanya-field input:focus, .tanya-field textarea:focus {
  border-color: var(--orange, #ff6b00);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, .18);
}
.tanya-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tanya-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tanya-status { margin: 0; font-size: .88rem; color: rgba(255, 255, 255, .7); min-height: 1.2em; flex: 1 1 200px; }
.tanya-status.is-ok { color: #6ee7a8; }
.tanya-status.is-error { color: #ffb4a0; }
.tanya-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border: 0; border-radius: 999px;
  background: var(--orange, #ff6b00);
  color: #fff; font-weight: 700; font-size: .95rem;
  cursor: pointer;
  transition: transform .2s ease, filter .2s ease;
}
.tanya-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.tanya-btn:disabled { opacity: .6; cursor: wait; transform: none; }

footer .footer-main-grid { grid-template-columns: 1.4fr 1.3fr 1fr; }
footer .footer-info-list li {
  display: flex; gap: 12px; align-items: flex-start;
  color: rgba(255, 255, 255, .68); line-height: 1.55;
}
footer .footer-info-list li i { flex: 0 0 18px; margin-top: 4px; text-align: center; }
footer .footer-info-list a { padding-left: 0 !important; }
footer .footer-menu-list { columns: 2; column-gap: 20px; }
footer .footer-menu-list li { break-inside: avoid; }
footer .footer-bottom { text-align: center; }
footer .footer-copyright { margin: 0; color: rgba(255, 255, 255, .6); font-size: .9rem; }

@media (max-width: 900px) {
  footer .footer-tanya { grid-template-columns: 1fr; }
  footer .footer-main-grid { grid-template-columns: repeat(2, 1fr); }
  footer .footer-main-grid > .about { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .tanya-row { grid-template-columns: 1fr; }
  footer .footer-main-grid { grid-template-columns: 1fr; }
  .tanya-btn { width: 100%; justify-content: center; }
}

@media (max-width: 768px) {
  footer::before,
  body[data-route="beranda"] footer::before { background: none !important; }
  footer,
  body[data-route="beranda"] footer {
    margin-top: 0;
    padding-top: 44px;
    border-top: 0;
    background: var(--footer-bg);
  }
  footer .footer-tanya,
  footer .grid { border-bottom: 1px solid rgba(255, 255, 255, .16); }
}

.dev-team-heading h2::after { margin-left: auto !important; margin-right: auto !important; }
footer .footer-main-grid { margin-bottom: 0; }
footer .footer-bottom { border-top: 0 !important; padding-top: 22px; margin-top: 0; }

:root {
  --credit-glass-bg: color-mix(in srgb, var(--surface) 64%, transparent);
  --credit-glass-border: color-mix(in srgb, var(--primary-light) 24%, var(--card-border));
  --credit-glass-highlight: color-mix(in srgb, var(--surface) 80%, transparent);
  --footer-map-border: color-mix(in srgb, var(--on-dark) 18%, transparent);
}
.dev-team-glass {
  max-width: 850px;
  margin: 0 auto;
  padding: 36px 32px;
  border: 1px solid var(--credit-glass-border);
  border-radius: var(--radius);
  background: var(--credit-glass-bg);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--credit-glass-highlight);
}
.dev-team-glass .dev-team-card { background: transparent; border: 0; box-shadow: none; border-radius: 8px; }
.dev-team-glass .dev-team-card i { color: var(--primary); }
.journalist-credit {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  max-width: 390px;
  margin: 28px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--credit-glass-border);
  color: var(--ink);
  text-decoration: none;
}
.journalist-credit img { width: 72px; height: 72px; object-fit: contain; }
.journalist-credit > span { min-width: 0; }
.journalist-credit small, .journalist-credit strong, .journalist-handle { display: block; }
.journalist-credit small { color: var(--text-muted); font-size: .8rem; }
.journalist-credit strong { font-family: var(--font-display); font-size: 1rem; margin: 4px 0 6px; }
.journalist-handle { color: var(--primary); font-size: .82rem; overflow-wrap: anywhere; }
.journalist-credit:hover .journalist-handle { color: var(--orange); }
.journalist-credit:focus-visible { outline: 2px solid var(--primary); outline-offset: 6px; }
footer .footer-tanya { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.footer-map-column, .footer-contact-column { min-width: 0; }
.footer-contact-column .tanya-box { margin-top: 24px; }
.footer-school-map { height: 320px; margin-top: 24px; border-radius: 8px; overflow: hidden; border: 1px solid var(--footer-map-border); background: var(--surface); }
.footer-school-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.footer-map-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--on-dark); font-size: .9rem; text-decoration: none; }
.footer-map-link:hover { color: var(--orange); }
footer .footer-contact-column .footer-tanya-intro h2, footer .footer-map-column .footer-tanya-intro h2 { font-size: 1.8rem; }
@media (max-width: 900px) {
  footer .footer-tanya { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .dev-team-glass { padding: 28px 18px; }
  .dev-team-glass h2 { font-size: 1.35rem; overflow-wrap: anywhere; }
  .footer-school-map { height: 280px; }
  .journalist-credit { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .dev-team-card { transition: none; }
  .dev-team-card:hover { transform: none; }
}

nav.primary-menu .dropdown-content .elearning-link-btn {
  display: block; width: 100%; padding: 12px 18px; border: 0;
  border-radius: var(--radius-sm); background: transparent;
  color: var(--text-dark); font: inherit; font-size: 14.5px;
  text-align: left; cursor: pointer;
}
nav.primary-menu .dropdown-content .elearning-link-btn:hover,
nav.primary-menu .dropdown-content .elearning-link-btn:focus-visible {
  background: var(--surface-alt); color: var(--primary);
}

.amga-opening {
  --background: oklch(0.17 0.06 258);
  --foreground: oklch(0.985 0.005 250);
  --primary: oklch(0.83 0.16 86);
  --primary-foreground: oklch(0.2 0.06 258);
  --secondary: oklch(0.3 0.09 258);
  --secondary-foreground: oklch(0.985 0.005 250);
  --muted-foreground: oklch(0.86 0.02 250);
  --accent: oklch(0.87 0.14 90);
  --accent-foreground: oklch(0.17 0.06 258);
  --border: oklch(1 0 0 / 0.18);
  --ring: oklch(0.83 0.16 86);
  --amga-blue: oklch(0.6 0.2 258);
  --amga-success: oklch(0.79 0.14 160);
  --amga-danger: oklch(0.78 0.14 25);
  --amga-photo-overlay: linear-gradient(180deg, oklch(0.17 0.06 258 / 0.55), oklch(0.17 0.06 258 / 0.72) 70%, var(--background));
  --amga-shadow: 0 12px 28px oklch(0.08 0.03 255 / 0.25);
  --amga-font: 'Poppins', 'Segoe UI', Arial, sans-serif;

  --amga-glass: oklch(0.98 0.01 250 / 0.08);
  --amga-glass-strong: oklch(0.22 0.06 258 / 0.78);
  --amga-glass-border: oklch(1 0 0 / 0.24);
  --amga-glass-highlight: oklch(1 0 0 / 0.14);
  --amga-blur: 24px;

  --slot-w: clamp(38px, 11.5vw, 48px);
  --slot-h: clamp(44px, 12.5vw, 52px);
  --space-x: clamp(16px, 4vw, 40px);
}

.amga-opening,
.amga-opening *,
.amga-opening *::before,
.amga-opening *::after { box-sizing: border-box; }

.amga-opening {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-bottom: calc(clamp(14px, 3vw, 32px) + env(safe-area-inset-bottom, 0px));
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  letter-spacing: 0;
  background: var(--background);
  color: var(--foreground);
  -webkit-text-size-adjust: 100%;
}

.amga-backdrop {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}

.amga-shade {
  position: absolute; inset: 0;
  background: var(--amga-photo-overlay);
  overflow: hidden;
}
.amga-shade::before,
.amga-shade::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .55; pointer-events: none;
}
.amga-shade::before {
  width: min(420px, 70vw); aspect-ratio: 1;
  top: 18%; left: 4%;
  background: var(--amga-blue); opacity: .6;
}
.amga-shade::after {
  width: min(380px, 65vw); aspect-ratio: 1;
  bottom: 10%; right: 6%;
  background: var(--primary); opacity: .22;
}

.amga-header {
  position: relative; z-index: 2;
  width: 100%; max-width: none; margin: 0;
  padding: calc(clamp(16px, 3vw, 28px) + env(safe-area-inset-top, 0px)) calc(var(--space-x) + env(safe-area-inset-right, 0px)) clamp(12px, 2vw, 20px) calc(var(--space-x) + env(safe-area-inset-left, 0px));
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  animation: amga-enter .7s both;
}
.amga-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.amga-brand img { width: 38px; height: 44px; object-fit: contain; flex-shrink: 0; }
.amga-brand strong { display: block; font-family: var(--amga-font); font-size: 13px; }
.amga-brand small { display: block; color: var(--muted-foreground); font-size: 11px; margin-top: 4px; }
.amga-location { display: flex; gap: 8px; align-items: center; color: var(--foreground); font-size: 13px; font-weight: 500; text-align: right; }
.amga-location i { color: var(--accent); font-size: 15px; }

.amga-welcome {
  position: relative; z-index: 1;
  width: min(690px, calc(100% - 2 * var(--space-x)));
  margin: auto;
  padding: clamp(24px, 5vw, 44px) clamp(18px, 5vw, 44px) clamp(26px, 4.5vw, 40px);
  text-align: center;

  background:
    linear-gradient(135deg, var(--amga-glass-highlight), transparent 45%),
    var(--amga-glass);
  border: 1px solid var(--amga-glass-border);
  border-radius: clamp(20px, 4vw, 28px);
  box-shadow:
    0 24px 60px oklch(0.05 0.04 258 / 0.4),
    inset 0 1px 0 oklch(1 0 0 / 0.25),
    inset 0 -1px 0 oklch(1 0 0 / 0.05);
  -webkit-backdrop-filter: blur(var(--amga-blur)) saturate(150%);
          backdrop-filter: blur(var(--amga-blur)) saturate(150%);
  animation: amga-enter .8s .05s both;
}
.amga-welcome::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, oklch(1 0 0 / 0.45), transparent 35%, transparent 65%, oklch(1 0 0 / 0.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .amga-welcome { background: var(--amga-glass-strong); }
}

.welcome-logo {
  display: block;
  width: clamp(56px, 14vw, 74px); height: auto; aspect-ratio: 74 / 82;
  margin: 0 auto clamp(14px, 3vw, 20px); object-fit: contain;
  filter: drop-shadow(0 8px 18px oklch(0.05 0.03 255 / 0.4));
  animation: amga-enter .7s .1s both, logo-breathe 4s 1s ease-in-out infinite;
}
.amga-eyebrow { font-size: 11px; text-transform: uppercase; font-weight: 600; color: var(--accent); margin: 0 0 14px; letter-spacing: .08em; }
.amga-welcome h1 {
  font-family: var(--amga-font);
  font-size: clamp(24px, 6.2vw, 36px); line-height: 1.3;
  margin: 0 auto 16px; font-weight: 700; text-wrap: balance;
  overflow-wrap: anywhere;
}
.amga-greeting {
  max-width: 490px; margin: 0 auto;
  font-size: clamp(12.5px, 3.2vw, 14px); line-height: 1.8;
  color: var(--muted-foreground);
}

.amga-reveal { animation: amga-enter .75s both; }
.amga-reveal:nth-child(3) { animation-delay: .2s; }
.amga-reveal:nth-child(4) { animation-delay: .3s; }
.amga-reveal:nth-child(5) { animation-delay: .4s; }

.amga-weather {
  margin: clamp(18px, 3vw, 24px) auto 14px; padding: 16px 0;
  display: flex; align-items: center; justify-content: center; flex-wrap: nowrap;
  gap: 8px 16px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-align: left;
}
.amga-weather-icon { font-size: 32px; line-height: 1; flex-shrink: 0; animation: logo-breathe 5s infinite; }
.weather-info { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; text-align: left; }
.weather-location { display: block; margin: 0 0 4px; color: var(--accent); font-size: 10px; font-weight: 600; text-transform: uppercase; }
.weather-detail { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; }
.weather-description { margin: 0; font-size: 12px; color: var(--muted-foreground); text-align: left; }
.weather-temp { font-family: var(--amga-font); font-size: clamp(22px, 5vw, 26px); margin-left: 0; }
.amga-datetime { color: var(--muted-foreground); font-size: 11px; margin: 12px 0 clamp(20px, 4vw, 28px); }

.amga-puzzle { animation: amga-enter .8s .5s both; }
.puzzle-heading {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 7px; margin: 0 0 14px; color: var(--foreground); font-size: 13px; font-weight: 500;
}
.puzzle-heading svg { width: 14px; color: var(--accent); }
.puzzle-heading strong { color: var(--accent); }

.letter-slots, .letter-bank { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(6px, 1.8vw, 8px); }
.letter-slot {
  width: var(--slot-w); height: var(--slot-h);
  position: relative; display: grid; place-items: center;
  border: 1px dashed var(--amga-glass-border); border-radius: 8px;
  font-family: var(--amga-font); font-size: clamp(17px, 4.6vw, 21px);
  color: var(--foreground);
  background: oklch(0.15 0.04 255 / 0.35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.letter-slot .letter-button { width: 100%; height: 100%; border: 1px solid var(--accent); }
.letter-slot.empty::after { content: ''; width: 12px; height: 2px; background: var(--border); }

.letter-bank { margin: 15px 0 12px; }
.letter-button {
  width: var(--slot-w); height: calc(var(--slot-h) - 4px); min-height: 44px; padding: 0;
  border: 1px solid var(--amga-glass-border); border-radius: 8px;
  background: oklch(0.35 0.09 258 / 0.55); color: var(--foreground);
  font: 600 clamp(16px, 4.4vw, 19px) var(--amga-font);
  box-shadow: var(--amga-shadow);
  transition: transform .2s, background .2s, border-color .2s;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.letter-button:active { transform: scale(.94); }
.letter-button:disabled { opacity: .22; }
.puzzle-tool {
  background: transparent; color: var(--muted-foreground); border: 0;
  width: 44px; height: 44px; min-height: 44px; padding: 10px; box-shadow: none;
}
.puzzle-feedback {
  min-height: 24px; margin: 0; display: flex; justify-content: center; align-items: center;
  gap: 6px; color: var(--muted-foreground); font-size: 11px; text-wrap: balance;
}
.puzzle-feedback.success { color: var(--amga-success); }
.puzzle-feedback.error { color: var(--amga-danger); }
.puzzle-controls { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 2px; }

.amga-button {
  background: var(--primary); color: var(--primary-foreground);
  border: 1px solid var(--primary); border-radius: 10px;
  font-weight: 600; min-height: 48px; padding: 0 25px;
  box-shadow: var(--amga-shadow), 0 0 0 0 transparent;
  transition: transform .2s, background .2s, box-shadow .2s;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.amga-button:active { transform: scale(.98); }
.amga-button:disabled { opacity: .3; }
.entry-button { margin-top: 15px; min-width: min(225px, 100%); }

@media (hover: hover) {
  .letter-button:hover:not(:disabled) { transform: translateY(-4px); border-color: var(--accent); background: var(--amga-blue); }
  .puzzle-tool:hover { color: var(--accent); background: oklch(1 0 0 / 0.08); }
  .amga-button:hover:not(:disabled) { transform: translateY(-2px); background: oklch(0.89 0.15 90); border-color: oklch(0.89 0.15 90); box-shadow: var(--amga-shadow), 0 8px 24px oklch(0.83 0.16 86 / 0.35); }
}

.amga-footer {
  position: relative; z-index: 1;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px;
  padding: 20px var(--space-x) calc(20px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  color: var(--muted-foreground); font-size: 10px; text-align: center;
  animation: amga-enter .9s .7s both;
}
.amga-footer span { display: flex; align-items: center; gap: 5px; }
.amga-footer svg { width: 12px; height: 12px; color: var(--accent); }

.loading-view {
  position: fixed; z-index: 30; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--background); text-align: center;
  padding: max(24px, env(safe-area-inset-top, 0px)) 24px max(24px, env(safe-area-inset-bottom, 0px));
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; color: var(--foreground);
  overflow-y: auto;
}
.loading-view .amga-eyebrow { margin-top: 36px; }
.loading-view h2 { font-family: var(--amga-font); font-size: clamp(17px, 4.6vw, 21px); line-height: 1.5; margin: 0 0 12px; text-wrap: balance; }
.loading-status { font-size: 12px; color: var(--muted-foreground); }

.orbit-scene { width: min(320px, 80vw); aspect-ratio: 1; height: auto; position: relative; display: grid; place-items: center; animation: amga-enter .7s both; }
.orbit-logo { width: 26%; height: auto; aspect-ratio: 83 / 94; object-fit: contain; animation: logo-breathe 2.5s ease-in-out infinite; }
.orbit-ring { position: absolute; border: 1px solid var(--border); border-radius: 50%; }
.orbit-ring.inner  { width: 44%; height: 44%; border-top: 2px solid var(--accent); border-bottom: 2px solid var(--accent); animation: orbit-spin 5s linear infinite; }
.orbit-ring.middle { width: 58%; height: 58%; border-right: 2px solid var(--amga-blue); border-left: 2px solid var(--primary); animation: orbit-spin 9s linear infinite reverse; }
.orbit-ring.outer  { width: 86%; height: 86%; border-style: dashed; opacity: .6; }

.department-orbit { position: absolute; inset: 0; animation: orbit-spin 32s linear infinite; }
.department-position { position: absolute; inset: 0; transform: rotate(var(--orbit-angle)); }
.department-icon {
  position: absolute; left: calc(50% - 22px); top: 2px; width: 44px; height: 44px;
  border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--amga-glass-border); background: oklch(0.28 0.055 252 / 0.7);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--accent); transform: rotate(calc(-1 * var(--orbit-angle)));
}
.department-icon svg { width: 21px; height: 21px; animation: orbit-spin 32s linear infinite reverse; }
.department-position:nth-child(3n+2) .department-icon { color: var(--amga-blue); }
.department-position:nth-child(3n) .department-icon { color: var(--primary); }
.department-position:nth-child(1) { --orbit-angle: 0deg; }
.department-position:nth-child(2) { --orbit-angle: 40deg; }
.department-position:nth-child(3) { --orbit-angle: 80deg; }
.department-position:nth-child(4) { --orbit-angle: 120deg; }
.department-position:nth-child(5) { --orbit-angle: 160deg; }
.department-position:nth-child(6) { --orbit-angle: 200deg; }
.department-position:nth-child(7) { --orbit-angle: 240deg; }
.department-position:nth-child(8) { --orbit-angle: 280deg; }
.department-position:nth-child(9) { --orbit-angle: 320deg; }

.loading-track { width: 160px; height: 2px; overflow: hidden; background: var(--border); margin: 24px auto; }
.loading-track::after { content: ''; display: block; width: 50%; height: 100%; background: var(--accent); animation: loading-slide 1.5s ease-in-out infinite; }

.loading-view .orbit-scene { width: 160px; }
.loading-view .orbit-logo { width: 42px; }
.loading-view .department-icon { width: 24px; height: 24px; left: calc(50% - 12px); }
.loading-view .department-icon svg { width: 12px; height: 12px; }
.loading-view .loading-status { margin-top: 22px; }

.legacy-site { display: block; width: 100%; height: 100vh; height: 100svh; border: 0; background: var(--background); }

@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes logo-breathe { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-5px) scale(1.04); } }
@keyframes amga-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes loading-slide { from { transform: translateX(-100%); } to { transform: translateX(300%); } }


@media (max-width: 600px) {
  .amga-location { font-size: 11px; max-width: 118px; line-height: 1.3; gap: 6px; }
  .amga-location i { font-size: 13px; }
  .amga-brand strong { font-size: 12px; }
  .amga-weather { gap: 8px 12px; }
  .weather-temp { margin-left: 0; }
  .weather-location { font-size: 9px; }
  .amga-datetime { font-size: 10px; }
  .amga-footer { font-size: 9px; gap: 6px 13px; }
  .entry-button { width: 100%; }
  :where(.amga-opening) { --amga-blur: 16px; }
}

@media (max-width: 360px) {
  .amga-welcome { width: calc(100% - 24px); padding-inline: 14px; }
  .amga-header { padding-inline: 14px; }
  .amga-weather { flex-direction: row; text-align: left; }
}

@media (max-height: 600px) {
  .amga-header { padding-block: 12px 8px; }
  .amga-welcome { margin-block: 8px 16px; padding-block: 18px; }
  .welcome-logo { width: 44px; margin-bottom: 8px; }
  .amga-greeting { display: none; }
  .amga-weather { margin-block: 12px 8px; padding-block: 10px; }
  .amga-datetime { margin-bottom: 14px; }
  .amga-footer { padding-block: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .amga-opening *, .loading-view * { animation: none !important; transition: none !important; }
  .loading-track::after { width: 100%; }
}

.amga-opening.portable-opening {
  position: fixed; inset: 0; z-index: 10001;
  overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transition: opacity .3s ease;
}
.portable-opening.splash-hidden { opacity: 0; pointer-events: none; }
.amga-opening button { cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.amga-opening button:disabled { cursor: default; }
.amga-opening button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.amga-opening .letter-slot button { font: 600 clamp(16px, 4.4vw, 19px) var(--amga-font); }
.amga-opening .welcome-logo { display: block; }

.amga-opening .amga-header { position: relative; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--foreground); }
.amga-opening .amga-header::before, .amga-opening .amga-header::after { content: none; }
.amga-opening .amga-footer { background: transparent; border: 0; border-top: 1px solid var(--border); box-shadow: none; margin: 0; }
.amga-opening .amga-footer::before, .amga-opening .amga-footer::after { content: none; }
.amga-opening .puzzle-heading i, .amga-opening .puzzle-tool i { color: var(--accent); }

.splash-countdown { --dial: min(240px, 62vw); display: flex; flex-direction: column; align-items: center; gap: clamp(12px, 2vw, 18px); width: 100%; }
.splash-countdown .puzzle-heading { margin: 0; text-align: center; }
.cd-dial { position: relative; width: var(--dial); aspect-ratio: 1; margin: clamp(10px, 2.4vw, 16px) 0; }
.cd-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.cd-track, .cd-bar { fill: none; stroke-width: 5; }
.cd-track { stroke: var(--border); }
.cd-bar { stroke: url(#cdGrad); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; filter: drop-shadow(0 0 8px oklch(0.87 0.14 90 / .55)); }
.splash-countdown.run .cd-bar { animation: cd-fill var(--cd-dur, 5s) linear forwards; }
.splash-countdown.is-done .cd-bar { animation: none; stroke-dashoffset: 0; }
.cd-dash { position: absolute; inset: -9%; border: 1px dashed var(--amga-glass-border); border-radius: 50%; animation: cd-spin 24s linear infinite; }
.cd-dash::after { content: ''; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.cd-center { position: absolute; inset: 9%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 50%; background: radial-gradient(circle, oklch(1 0 0 / .12), oklch(1 0 0 / .02) 72%); }
.cd-num { font: 700 calc(var(--dial) * .34) var(--amga-font); line-height: 1; color: var(--foreground); }
.cd-num.pop { animation: cd-pop .5s cubic-bezier(.3, 1.5, .5, 1); }
.cd-unit { font-size: clamp(10px, calc(var(--dial) * .055), 13px); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.splash-countdown.is-done .cd-num { color: var(--amga-success); }
.cd-message { width: 100%; min-height: 5.2em; display: flex; align-items: center; justify-content: center; text-align: center; font-size: clamp(12.5px, 3.3vw, 14px); line-height: 1.7; color: var(--foreground); }
.cd-message p { margin: 0; max-width: 42ch; text-wrap: balance; animation: amga-enter .7s both; }
.cd-message small { display: block; margin-bottom: 4px; color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.splash-countdown .entry-button { width: min(260px, 100%); }
.entry-button.is-ready { animation: cd-pulse 1.6s ease-in-out 2; }
@keyframes cd-fill { from { stroke-dashoffset: 326.7; } to { stroke-dashoffset: 0; } }
@keyframes cd-spin { to { transform: rotate(360deg); } }
@keyframes cd-pop { from { transform: scale(.6); opacity: .3; } to { transform: scale(1); opacity: 1; } }
@keyframes cd-pulse { 50% { box-shadow: var(--amga-shadow), 0 0 0 9px oklch(0.83 0.16 86 / .25); } }
@media (max-height: 560px) and (max-width: 899px) { .splash-countdown { --dial: min(190px, 52vw); } .cd-message { min-height: 4.4em; } }

.amga-opening .amga-header { display: none; }
.amga-welcome {
  margin-block: clamp(16px, 4vh, 40px);
  padding: clamp(22px, 4vh, 38px) clamp(18px, 5vw, 44px) clamp(22px, 3.6vh, 34px);
}
.welcome-logo { width: clamp(52px, 9vh, 72px); margin-bottom: clamp(10px, 2vh, 16px); }
.amga-eyebrow { margin-bottom: 8px; }
.amga-welcome h1 { font-size: clamp(24px, 4.4vw, 34px); margin-bottom: 12px; }
.amga-greeting { max-width: 520px; }
.amga-weather { margin: clamp(14px, 2.4vh, 20px) auto 10px; padding: 12px 0; justify-content: center; }
.amga-datetime { margin: 8px 0 clamp(12px, 2.4vh, 20px); }
.splash-countdown { --dial: clamp(116px, 22vh, 168px); gap: clamp(8px, 1.6vh, 14px); }
.cd-dial { margin: clamp(6px, 1.4vh, 12px) 0; }
.cd-message { min-height: 4.6em; }
.splash-countdown .entry-button { width: min(320px, 100%); margin-top: 4px; }
@media (max-width: 600px) {
  .amga-shade::before, .amga-shade::after { filter: none; opacity: .35; }
  .amga-shade::before { background: radial-gradient(circle, var(--amga-blue), transparent 68%); }
  .amga-shade::after { background: radial-gradient(circle, var(--primary), transparent 68%); opacity: .16; }
  .cd-dash { animation: none; }
  :where(.amga-opening) { --amga-blur: 12px; }
}
@media (max-height: 640px) {
  .amga-greeting { display: none; }
  .cd-message { min-height: 3.6em; }
}

@media (min-width: 601px) { .amga-welcome h1 br { display: none; } }
.amga-welcome { margin-block: clamp(8px, 2vh, 24px); padding-block: clamp(16px, 3vh, 34px); }
.welcome-logo { width: clamp(44px, 7.5vh, 68px); margin-bottom: clamp(6px, 1.4vh, 14px); }
.amga-weather { padding: clamp(6px, 1.2vh, 12px) 0; margin-block: clamp(10px, 1.8vh, 18px) 6px; }
.amga-datetime { margin-bottom: clamp(8px, 1.6vh, 16px); }
.splash-countdown { --dial: clamp(84px, 13vh, 118px); gap: clamp(6px, 1.2vh, 12px); }
.cd-message { min-height: 4.2em; }

.amga-button:disabled{opacity:1}


.amga-welcome {
  background-color: var(--amga-glass);
  background-image:
    radial-gradient(oklch(1 0 0 / 0.05) 1px, transparent 1.6px),
    linear-gradient(135deg, var(--amga-glass-highlight), transparent 45%);
  background-size: 15px 15px, auto;
  background-position: 0 0, 0 0;
  animation: amga-enter .8s .05s both, amga-pattern-drift 26s linear infinite;
}
@keyframes amga-pattern-drift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 90px 90px, 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .amga-welcome { animation: amga-enter .8s .05s both; }
}

:root { --orbit-surface:var(--surface); --orbit-ink:var(--ink); --orbit-gold:var(--gold-deep); --orbit-blue:var(--navy-steel); --orbit-border:var(--hairline); }
.section-transition,.section-transition.is-active { background:var(--orbit-surface); backdrop-filter:none; -webkit-backdrop-filter:none; transition:opacity .18s ease,visibility .18s ease; }
.amga-mini-orbit { width:160px; height:160px; position:relative; display:grid; place-items:center; }
.amga-mini-logo { width:42px; height:48px; object-fit:contain; animation:amgaMiniPulse 2s ease-in-out infinite; }
.amga-mini-ring { position:absolute; border:1px solid var(--orbit-border); border-radius:50%; }
.amga-mini-ring.inner { width:72px; height:72px; border-top:2px solid var(--orbit-gold); border-bottom:2px solid var(--orbit-gold); animation:amgaMiniSpin 4s linear infinite; }
.amga-mini-ring.middle { width:94px; height:94px; border-left:2px solid var(--orbit-blue); border-right:2px solid var(--orbit-gold); animation:amgaMiniSpin 7s linear infinite reverse; }
.amga-mini-ring.outer { width:138px; height:138px; border-style:dashed; }
.amga-mini-departments { position:absolute; inset:0; animation:amgaMiniSpin 18s linear infinite; }
.amga-mini-position { position:absolute; inset:0; transform:rotate(var(--angle)); }
.amga-mini-icon { position:absolute; top:0; left:calc(50% - 12px); width:24px; height:24px; display:grid; place-items:center; border:1px solid var(--orbit-border); border-radius:50%; background:var(--surface-alt); color:var(--orbit-gold); transform:rotate(calc(-1 * var(--angle))); }
.amga-mini-icon i { font-size:11px; animation:amgaMiniSpin 18s linear infinite reverse; }
.amga-mini-position:nth-child(3n+2) .amga-mini-icon { color:var(--orbit-blue); }
.amga-mini-position:nth-child(1) { --angle:0deg; }
.amga-mini-position:nth-child(2) { --angle:40deg; }
.amga-mini-position:nth-child(3) { --angle:80deg; }
.amga-mini-position:nth-child(4) { --angle:120deg; }
.amga-mini-position:nth-child(5) { --angle:160deg; }
.amga-mini-position:nth-child(6) { --angle:200deg; }
.amga-mini-position:nth-child(7) { --angle:240deg; }
.amga-mini-position:nth-child(8) { --angle:280deg; }
.amga-mini-position:nth-child(9) { --angle:320deg; }
@keyframes amgaMiniSpin { to { transform:rotate(360deg); } }
@keyframes amgaMiniPulse { 50% { transform:scale(1.06); } }
@media(prefers-reduced-motion:reduce) { .amga-mini-orbit * { animation:none; } }
html[data-motion="reduced"] .amga-mini-orbit * { animation:none; }


@media (min-width: 769px) {
  .main-nav > .container.flex { max-width: none !important; padding: 0 20px !important; }
  .main-nav .logo-wrap { margin-left: 0; padding-left: 0; }
}
@media (min-width: 1440px) {
  .main-nav > .container.flex { padding: 0 32px !important; }
}

@media (min-width: 769px) {
  nav.primary-menu ul > li > a,
  nav.primary-menu ul > li > .nav-links-trigger {
    font-size: clamp(13px, 1.12vw, 16px);
  }
  nav.primary-menu .dropdown-content a,
  nav.primary-menu .dropdown-content .elearning-link-btn {
    font-size: 16px;
    padding: 12px 18px;
  }
  nav.primary-menu .dropdown-content { min-width: 290px; }
  nav.primary-menu .dropdown-content--right { min-width: 230px; }
}
.nav-caret, nav.primary-menu .nav-links-trigger i {
  font-size: .62em; opacity: .85; transition: transform .2s ease;
}
nav.primary-menu .dropdown.dropdown-open > a .nav-caret,
nav.primary-menu .dropdown.dropdown-open > .nav-links-trigger i { transform: rotate(180deg); }

.hero-stats > div::before {
  background: #fff;
  opacity: .92;
}

:root .hero .hero-grid-blur,
:root:not([data-theme="light"]) .hero .hero-grid-blur,
:root[data-theme="dark"] .hero .hero-grid-blur,
:root .page-banner .page-banner-grid-blur,
:root:not([data-theme="light"]) .page-banner .page-banner-grid-blur,
:root[data-theme="dark"] .page-banner .page-banner-grid-blur,
:root .spmb-grid-blur,
:root:not([data-theme="light"]) .spmb-grid-blur,
:root[data-theme="dark"] .spmb-grid-blur {
  background: none !important;
  -webkit-backdrop-filter: blur(9px) saturate(110%) !important;
          backdrop-filter: blur(9px) saturate(110%) !important;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.04) 14%, rgba(0,0,0,.14) 30%, rgba(0,0,0,.34) 48%, rgba(0,0,0,.6) 66%, rgba(0,0,0,.86) 84%, #000 100%);
          mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.04) 14%, rgba(0,0,0,.14) 30%, rgba(0,0,0,.34) 48%, rgba(0,0,0,.6) 66%, rgba(0,0,0,.86) 84%, #000 100%);
}
.hero::after {
  background: linear-gradient(
    180deg,
    rgba(var(--section-bg-rgb), 0)    calc(100% - var(--hero-fade)),
    rgba(var(--section-bg-rgb), .02)  calc(100% - var(--hero-fade) * .90),
    rgba(var(--section-bg-rgb), .07)  calc(100% - var(--hero-fade) * .78),
    rgba(var(--section-bg-rgb), .16)  calc(100% - var(--hero-fade) * .66),
    rgba(var(--section-bg-rgb), .30)  calc(100% - var(--hero-fade) * .54),
    rgba(var(--section-bg-rgb), .48)  calc(100% - var(--hero-fade) * .42),
    rgba(var(--section-bg-rgb), .66)  calc(100% - var(--hero-fade) * .30),
    rgba(var(--section-bg-rgb), .84)  calc(100% - var(--hero-fade) * .18),
    rgba(var(--section-bg-rgb), .95)  calc(100% - var(--hero-fade) * .08),
    rgba(var(--section-bg-rgb), 1)    100%
  );
}

.features,
.stats-glass {
  background: rgba(var(--section-bg-rgb), 1);
  padding: var(--section-pad, 64px) 0;
  color: inherit;
}
.sambutan-section + .features { padding-top: 24px; }
.stats-glass { isolation: auto; }
.stats-glass .sg-orb { display: none; }

.features .section-heading,
.stats-glass .section-heading { margin-bottom: 28px; }

.sg-card {
  align-items: flex-start;
  text-align: left;
  gap: 8px;
  padding: 28px 26px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px -12px rgba(11, 37, 69, 0.18);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  color: var(--text-dark);
}
.sg-card:hover {
  transform: translateY(-5px);
  background: var(--surface);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.sg-icon {
  width: 52px; height: 52px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: var(--sky);
  color: var(--navy-steel);
  font-size: 21px;
}
.sg-card:hover .sg-icon { background: var(--orange); color: #fff; transform: rotate(-6deg) scale(1.06); }
.sg-num { color: var(--navy); font-size: 2rem; }
.sg-label { color: var(--text-muted); font-size: .98rem; font-weight: 600; }
.sg-hint { color: var(--navy-steel); }


.features, .stats-glass {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 64px 0;
  background: linear-gradient(160deg, var(--navy-steel-fixed, #1e4d8f) 0%, var(--navy) 100%);
  color: #fff;
}
.sambutan-section + .features { padding-top: 64px; }
.features .sg-orb, .stats-glass .sg-orb { display: block; }
.features .section-heading h2, .stats-glass .section-heading h2 { color: #fff; }
.features .section-heading p, .stats-glass .section-heading p { color: rgba(255,255,255,.82); }
.features .section-heading .tag, .stats-glass .section-heading .tag { color: var(--gold-soft, #ffd466); }
.features .section-heading, .stats-glass .section-heading { margin-bottom: 32px; }

.features .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; margin-top: 0; }
.sg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }

.feature-card, .sg-card {
  position: relative; display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 10px; height: 100%;
  padding: 30px 20px;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 14px 30px -18px rgba(0,0,0,.5);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
          backdrop-filter: blur(12px) saturate(140%);
  color: #fff; text-decoration: none; overflow: hidden;
}
.feature-card::before, .sg-card::before { display: none; }
.feature-card:hover, .sg-card:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.28); }
.feature-card .icon, .sg-icon {
  width: 44px; height: 44px; margin: 0 0 4px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--orange, #ff6b00); color: #fff; font-size: 18px;
  animation: none;
}
.feature-card:hover .icon, .sg-card:hover .sg-icon { background: var(--orange, #ff6b00); color: #fff; transform: none; }
.feature-card p { margin: 0; color: rgba(255,255,255,.92); font-size: 14.5px; font-weight: 500; line-height: 1.7; }
.sg-num { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 2rem; color: #fff; }
.sg-label { font-family: 'Poppins', sans-serif; font-size: .95rem; font-weight: 600; color: rgba(255,255,255,.9); }
.sg-hint { font-family: 'Poppins', sans-serif; font-size: .82rem; font-weight: 600; color: #fff; opacity: 1; transform: none; }

nav.primary-menu .dropdown > a,
nav.primary-menu .dropdown > .nav-links-trigger { cursor: pointer; }
nav.primary-menu .dropdown-content {
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
nav.primary-menu .dropdown.dropdown-open > a,
nav.primary-menu .dropdown.dropdown-open > .nav-links-trigger { background: rgba(255,255,255,.14); }

.hero-stats > div::before { width: calc(100% - 22px); }
.hero.hero-static::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/hero-video-poster.jpg") center / cover;
  opacity: .16; mix-blend-mode: luminosity;
}

@media (min-width: 769px) {
  nav.primary-menu ul > li > a,
  nav.primary-menu ul > li > .nav-links-trigger { font-size: clamp(12px, .9vw, 14px); }
  nav.primary-menu .dropdown-content a,
  nav.primary-menu .dropdown-content .elearning-link-btn { font-size: 14px; padding: 10px 16px; }
}
header { transition: box-shadow .3s ease; }

.search-fab { display: none !important; }
.footer-bottom { display: flex; justify-content: center; text-align: center; }
.footer-bottom .footer-copyright { width: 100%; margin: 0 auto; text-align: center; }

:root[data-theme="dark"] .news-section .section-heading .tag,
:root[data-theme="dark"] .news-section .section-heading h2,
:root[data-theme="dark"] .news-section .section-heading p,
:root[data-theme="dark"] [data-page="berita"] .eyebrow,
:root[data-theme="dark"] .dev-team-section h2,
:root[data-theme="dark"] .dev-team-heading h2,
:root[data-theme="dark"] .dev-team-thanks,
:root[data-theme="dark"] .dev-team-thanks strong { color: #fff !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .news-section .section-heading .tag,
  :root:not([data-theme="light"]) .news-section .section-heading h2,
  :root:not([data-theme="light"]) .news-section .section-heading p,
  :root:not([data-theme="light"]) [data-page="berita"] .eyebrow,
  :root:not([data-theme="light"]) .dev-team-section h2,
  :root:not([data-theme="light"]) .dev-team-heading h2,
  :root:not([data-theme="light"]) .dev-team-thanks,
  :root:not([data-theme="light"]) .dev-team-thanks strong { color: #fff !important; }
}

html { -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }
img, video, iframe { max-width: 100%; }

@media (max-width: 900px) {
  .features .grid { grid-template-columns: 1fr; gap: 14px; }
  .sg-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 768px) {
  .sg-card { padding: 20px 16px; }
  .sg-num { font-size: 1.6rem; }
  .feature-card { padding: 22px 18px; }
  .features, .stats-glass { padding: 48px 0; }
  .feature-card, .sg-card { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

  .live-bg *, .hero-glow { animation: none !important; }
  .hero-glow { display: none; }
  .hero-grid { animation: none !important; will-change: auto; }
  .hero { min-height: 0; }
  header, .main-nav { -webkit-backdrop-filter: none; backdrop-filter: none; }

  .profile-section, .news-section, .dev-team-section, .location-section {
    content-visibility: auto; contain-intrinsic-size: auto 560px;
  }
}
@media (max-width: 360px) {
  .sg-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce), (update: slow) {
  .hero-grid, .hero-glow { animation: none !important; }
}


.features, .stats-glass {
  background: transparent;
  color: inherit;
  overflow: visible;
  padding: 64px 0;
}
.features .sg-orb, .stats-glass .sg-orb { display: none; }

.features .section-heading h2, .stats-glass .section-heading h2 { color: var(--navy); }
.features .section-heading p,  .stats-glass .section-heading p  { color: var(--text-muted); }
.features .section-heading .tag, .stats-glass .section-heading .tag { color: var(--orange, #ff6b00); }
:root[data-theme="dark"] .features .section-heading h2,
:root[data-theme="dark"] .stats-glass .section-heading h2 { color: #fff; }
:root[data-theme="dark"] .features .section-heading p,
:root[data-theme="dark"] .stats-glass .section-heading p { color: var(--ink-muted); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .features .section-heading h2,
  :root:not([data-theme="light"]) .stats-glass .section-heading h2 { color: #fff; }
  :root:not([data-theme="light"]) .features .section-heading p,
  :root:not([data-theme="light"]) .stats-glass .section-heading p { color: var(--ink-muted); }
}

.features .grid, .stats-glass .sg-grid {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 28px;
  border-radius: 26px;
  background:
    radial-gradient(420px 260px at 8% 0%, rgba(255,107,0,.30), transparent 70%),
    radial-gradient(380px 240px at 100% 100%, rgba(255,212,102,.22), transparent 70%),
    linear-gradient(160deg, var(--navy-steel-fixed, #1e5fcc) 0%, var(--navy) 100%);
  box-shadow: 0 22px 44px -26px rgba(11,37,69,.55);
}

@media (max-width: 900px) {
  .features .grid, .stats-glass .sg-grid { padding: 18px; border-radius: 22px; }
}
@media (max-width: 768px) {
  .features, .stats-glass { padding: 40px 0; }
  .features .grid, .stats-glass .sg-grid {
    padding: 14px; border-radius: 20px; gap: 12px;
    background: linear-gradient(160deg, var(--navy-steel-fixed, #1e5fcc) 0%, var(--navy) 100%);
  }
  .feature-card, .sg-card {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: rgba(255,255,255,.12);
  }
  .features .section-heading, .stats-glass .section-heading { margin-bottom: 20px; }
}

.amga-opening.portable-opening {
  padding-top: clamp(24px, 7vh, 72px);
  padding-bottom: clamp(16px, 3vh, 32px);
}
.amga-welcome { margin-block: auto; }
@media (max-height: 640px) {
  .amga-opening.portable-opening { padding-top: 14px; padding-bottom: 14px; }
}
@media (max-width: 600px) {
  .amga-opening.portable-opening { padding-top: clamp(16px, 5vh, 40px); }
  .amga-welcome { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--amga-glass-strong, rgba(20,40,80,.55)); }
}

img, canvas, .gallery-item {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.galeri-modal-img-wrap { position: relative; }
.galeri-modal-img-wrap img { pointer-events: none; }
.galeri-modal-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
}


@media (min-width: 769px) {
  nav.primary-menu ul > li > a,
  nav.primary-menu ul > li > .nav-links-trigger {
    border-radius: var(--radius-sm, 10px);
  }
  nav.primary-menu ul > li.active > a,
  nav.primary-menu ul > li.active > .nav-links-trigger,
  nav.primary-menu ul > li.active > a:hover,
  nav.primary-menu ul > li.active > .nav-links-trigger:hover,
  nav.primary-menu ul > li.dropdown-open > a,
  nav.primary-menu ul > li.dropdown-open > .nav-links-trigger,
  nav.primary-menu ul > li > a:focus-visible,
  nav.primary-menu ul > li > .nav-links-trigger:focus-visible {
    background: var(--accent-desktop, var(--navy-steel, #1e5fcc));
    color: #fff;
    box-shadow: 0 6px 14px -8px var(--blue-glow-desktop, rgba(30, 95, 204, .55));
    outline: none;
  }
  nav.primary-menu ul > li:not(.active):not(.dropdown-open) > a:hover,
  nav.primary-menu ul > li:not(.active):not(.dropdown-open) > .nav-links-trigger:hover {
    background: var(--blue-soft-desktop, rgba(74, 144, 226, .22));
    color: #fff;
  }
  nav.primary-menu ul > li.active > a::after,
  nav.primary-menu ul > li.active > .nav-links-trigger::after { width: 60%; }
  nav.primary-menu ul > li > .nav-links-trigger { position: relative; }
  nav.primary-menu ul > li > .nav-links-trigger::after {
    content: ""; position: absolute; left: 50%; bottom: 3px; height: 2px; width: 0;
    background: #fff; border-radius: 2px; transform: translateX(-50%);
    transition: width .3s ease;
  }
  nav.primary-menu ul > li > .nav-links-trigger:hover::after { width: 60%; }
  nav.primary-menu .dropdown-content { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

.menu-panel-list > li > a.active,
.menu-panel-list > li.has-sub.active > .sub-toggle,
.menu-panel-list > li.has-sub.open > .sub-toggle {
  background: rgba(255, 255, 255, .12);
  color: var(--accent);
  font-weight: 700;
  border-radius: 10px;
}
.menu-panel-list .sub-list a.active { background: rgba(255, 255, 255, .10); border-radius: 8px; }

.aiga-fx, .aiga-aurora, .aiga-grid, .aiga-scan { display: none !important; animation: none !important; }

.aiga-shell {
  animation: none !important;
  isolation: auto;
  background: var(--surface);
  border: 1px solid var(--card-border);
  box-shadow: 0 6px 18px -10px rgba(11, 37, 69, .25);
}
.aiga-shell .aiga-chat { background: var(--surface-alt, transparent); }
.aiga-msg--bot .bubble { box-shadow: none; }
.aiga-msg--in { animation: none !important; }

nav.primary-menu ul > li[data-route="aiga"] > a i.fa-sparkles,
#menuPanel a[data-route-link="aiga"] i.fa-sparkles { animation: none !important; text-shadow: none; }

.aiga-shell *, .aiga-stage * { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

@media (max-width: 768px) {
  section.page[data-page="aiga"] .page-body .container.narrow.aiga-stage { padding: 16px 10px !important; }
  .aiga-shell { box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .aiga-typing-dot, .aiga-voice-bars span { animation: none !important; }
}


*, *::before, *::after {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
.reveal-scale-fade, .reveal-scale-fade.reveal-visible,
.pc-motion, .pc-motion.is-in, .pc-motion.is-out { filter: none !important; }
.reveal-scale-fade, .pc-motion { transition-property: opacity, transform !important; }
.amga-shade::before, .amga-shade::after,
.hero-glow, .stats::after, .sg-orb { filter: none !important; }
.amga-shade::before, .amga-shade::after, .hero-glow { display: none !important; }
@keyframes totopBoost {
  0% { transform: translateY(0) scale(1); }
  35% { transform: translateY(6px) scale(.94); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes scrollTopMotionBlur { 0%, 100% { filter: none; } }
.amga-welcome { background: linear-gradient(135deg, var(--amga-glass-highlight), transparent 45%), var(--amga-glass-strong, var(--amga-glass)); }

.logo-text .school-name { font-size: 23px !important; line-height: 1.15; }
.logo-text small { font-size: 13px !important; margin-top: 3px !important; }
.logo-wrap .logo-media { width: 64px !important; height: 64px !important; }
@media (max-width: 768px) {
  .logo-wrap .logo-media { width: 52px !important; height: 52px !important; }
  .logo-text .school-name { font-size: 17px !important; }
  .logo-text small { font-size: 12px !important; }
}
@media (max-width: 380px) {
  .logo-text .school-name { font-size: 15px !important; }
}

.hero-tagline {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  color: var(--gold-soft, #ffd466);
  margin: 0 0 10px;
}

.section-heading h2,
.page-body h2 { width: fit-content; max-width: 100%; }
.section-heading h2::after,
.page-body h2::after { width: calc(100% + 20px) !important; max-width: none; }

.profil-subnav { display: none !important; }

.stats-glass .sg-grid { padding: 18px; gap: 14px; border-radius: 22px; }
.sg-card { padding: 16px 14px !important; gap: 4px !important; border-radius: 16px; }
.sg-icon { width: 40px !important; height: 40px !important; margin-bottom: 4px !important; font-size: 17px !important; border-radius: 12px !important; }
.sg-num { font-size: 1.6rem !important; }
.sg-label { font-size: .88rem !important; }
.sg-hint { font-size: .76rem !important; }
@media (max-width: 768px) {
  .stats-glass .sg-grid { padding: 12px; gap: 10px; }
  .sg-card { padding: 14px 10px !important; }
}

.page-body > .container.konten-card {
  max-width: 1240px;
  width: calc(100% - 48px);
  margin-left: auto;
  margin-right: auto;
  padding: 32px 36px !important;
}
@media (min-width: 993px) {
  .page-body > .container.konten-card { padding: 36px 44px !important; }
}
@media (min-width: 1440px) {
  .page-body > .container.konten-card { max-width: 1240px; }
}
@media (max-width: 640px) {
  .page-body > .container.konten-card { width: 100%; padding: 22px 16px !important; }
}

@media (min-width: 769px) and (max-width: 1360px) {
  nav.primary-menu ul > li > a,
  nav.primary-menu ul > li > .nav-links-trigger { padding-left: 11px !important; padding-right: 11px !important; font-size: 13.5px; }
}


:root {
  --txt-heading: #0b2a5b;
  --txt-accent: #ff6b00;
  --txt-eyebrow: #1e5fcc;
  --txt-body: #4a5b75;
  --txt-role: #ff8a2b;
}
:root[data-theme="dark"] {
  --txt-heading: #eaf2ff;
  --txt-accent: #ff9a45;
  --txt-eyebrow: #7db4ff;
  --txt-body: #b4c3dc;
  --txt-role: #ffb066;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --txt-heading: #eaf2ff;
    --txt-accent: #ff9a45;
    --txt-eyebrow: #7db4ff;
    --txt-body: #b4c3dc;
    --txt-role: #ffb066;
  }
}

.page-body h2,
.page-body h3,
.sambutan-section h2,
.profile-section h2,
.profile-section h3 { color: var(--txt-heading); }
.section-heading .tag,
.section-tag,
.profile-section .tag,
.sambutan-section .tag { color: var(--txt-eyebrow) !important; letter-spacing: .1em; font-weight: 700; }
.profile-section h3,
#sejarahSingkatTeks ~ h3 { color: var(--txt-accent); }
.section-heading p,
.page-body p,
.profile-section p,
.sambutan-section p { color: var(--txt-body); }
.profile-section .profile-text h3,
.profile-section h3 { color: var(--txt-accent); }

@media (min-width: 769px) {
  nav.primary-menu ul > li > a,
  nav.primary-menu ul > li > .nav-links-trigger {
    font-size: clamp(11.5px, .84vw, 13.2px) !important;
    padding: 7px clamp(5px, .6vw, 10px) !important;
    font-weight: 600;
    letter-spacing: 0;
  }
  nav.primary-menu .nav-caret,
  nav.primary-menu .nav-links-trigger i { font-size: .7em; }
  
  
  nav.primary-menu .dropdown-content a,
  nav.primary-menu .dropdown-content button { font-size: 12.5px; }
}


.main-nav .nav-search {
  background: rgba(255, 107, 0, .10);
  border: 1px solid rgba(255, 107, 0, .35);
}
.main-nav .nav-search .nav-search-btn { color: #e85d00; }
.main-nav .nav-search:hover {
  border-color: #ff6b00;
  background: rgba(255, 107, 0, .16);
}
.main-nav .nav-search.is-open {
  background: var(--surface);
  border-color: #ff6b00;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, .18);
}
.main-nav .nav-search input { color: var(--txt-heading); }
.main-nav .nav-search input::placeholder { color: var(--txt-body); opacity: .8; }

.main-nav .theme-toggle {
  background: linear-gradient(145deg, #12366f, #0b2545);
  border: 1px solid rgba(255, 209, 102, .55);
  color: #ffd166;
  box-shadow: 0 4px 12px -6px rgba(11, 37, 69, .6);
}
.main-nav .theme-toggle:hover {
  border-color: #ffd166;
  box-shadow: 0 8px 18px -8px rgba(11, 37, 69, .75);
}
.main-nav .theme-toggle .icon-moon { color: #ffd166; }

:root[data-theme="dark"] .main-nav .nav-search {
  background: rgba(74, 144, 226, .16);
  border-color: rgba(125, 180, 255, .45);
}
:root[data-theme="dark"] .main-nav .nav-search .nav-search-btn { color: #9cc7ff; }
:root[data-theme="dark"] .main-nav .nav-search:hover { border-color: #7db4ff; background: rgba(74, 144, 226, .26); }
:root[data-theme="dark"] .main-nav .nav-search.is-open {
  background: var(--surface);
  border-color: #7db4ff;
  box-shadow: 0 0 0 3px rgba(125, 180, 255, .22);
}
:root[data-theme="dark"] .main-nav .theme-toggle {
  background: linear-gradient(145deg, #ffd166, #f0a93a);
  border-color: rgba(255, 224, 150, .8);
  color: #0b2545;
  box-shadow: 0 4px 14px -6px rgba(240, 169, 58, .7);
}
:root[data-theme="dark"] .main-nav .theme-toggle .icon-sun { color: #0b2545; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .main-nav .nav-search {
    background: rgba(74, 144, 226, .16);
    border-color: rgba(125, 180, 255, .45);
  }
  :root:not([data-theme="light"]) .main-nav .nav-search .nav-search-btn { color: #9cc7ff; }
  :root:not([data-theme="light"]) .main-nav .theme-toggle {
    background: linear-gradient(145deg, #ffd166, #f0a93a);
    border-color: rgba(255, 224, 150, .8);
    color: #0b2545;
  }
  :root:not([data-theme="light"]) .main-nav .theme-toggle .icon-sun { color: #0b2545; }
}

.hero { padding-top: 64px !important; }
.hero .hero-content {
  position: relative;
  top: -22px;
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left;
}
.hero-content .eyebrow { display: inline-flex !important; margin-bottom: 14px; }
@media (min-width: 901px) {
  .hero .hero-content {
    max-width: none !important;
    width: 100%;
    padding-left: clamp(24px, 7.5vw, 170px) !important;
    padding-right: 24px !important;
  }
  .hero-content h1 { max-width: none !important; font-size: clamp(30px, 3.7vw, 50px); white-space: nowrap; margin-bottom: 14px; }
  .hero-content p { max-width: 52ch !important; }
}
@media (min-width: 769px) and (max-width: 900px) {
  .hero .hero-content { max-width: 100% !important; padding-left: 32px !important; padding-right: 24px !important; }
  .hero-content h1 { font-size: clamp(28px, 4.4vw, 38px); white-space: nowrap; max-width: none !important; }
}
@media (max-width: 768px) {
  .hero { padding-top: 36px !important; }
  .hero .hero-content { top: -6px; max-width: 100% !important; padding-left: 22px !important; padding-right: 22px !important; }
  .hero-content h1 { font-size: clamp(24px, 7.4vw, 32px); overflow-wrap: anywhere; max-width: 100% !important; }
}

.prog-card--guru {
  min-height: 250px;
  justify-content: flex-end;
  gap: 6px;
  padding: 22px 16px 20px;
  cursor: default;
}
.prog-card--guru h3 {
  font-size: 1.08rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.prog-card--guru .guru-jabatan {
  margin: 2px 0 0;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--txt-role) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
}
.prog-card--guru .guru-mapel {
  margin: 0;
  font-size: .82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, .85) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
}
.prog-card--guru {
  background:
    linear-gradient(180deg, rgba(7, 28, 58, .15) 0%, rgba(7, 28, 58, .62) 50%, rgba(7, 28, 58, .94) 100%),
    var(--prog-img) center / cover no-repeat,
    linear-gradient(160deg, var(--navy-steel-fixed) 0%, var(--navy) 100%);
}
@media (max-width: 820px) {
  .prog-card--guru { min-height: 210px; padding: 18px 12px 16px; }
  .prog-card--guru h3 { font-size: 1rem; }
}
@media (max-width: 520px) {
  .prog-card--guru { min-height: 190px; }
}



@media (max-width: 768px) {
  .main-nav .nav-search,
  .main-nav .theme-toggle { width: 38px; height: 38px; }
  .menu-panel a,
  .menu-panel button { font-size: 14.5px; }
}


.sambutan-section h2,
.sambutan-body h2,
.news-section .section-heading h2 { color: var(--txt-accent) !important; }

.section-heading h2::after,
.page-body h2::after,
.dev-team-heading h2::after,
.page-banner h1::after,
footer h4::after { display: none !important; content: none !important; }
.heading-garis h2::after {
  display: block !important;
  content: "" !important;
  width: 56px !important;
  max-width: 56px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--orange, #ff6b00);
}

.dev-team-glass,
.dev-team-heading,
.dev-team-thanks { text-align: center; }
.dev-team-heading { max-width: none; margin-left: auto; margin-right: auto; }
.dev-team-heading h2 { margin-left: auto; margin-right: auto; }
.dev-team-list { justify-content: center; }
.dev-team-thanks { margin-left: auto; margin-right: auto; max-width: 62ch; }
.journalist-credit { margin-left: auto !important; margin-right: auto !important; justify-content: center; text-align: left; }

@media (max-width: 768px) {
  .section-heading h2,
  .sambutan-body h2,
  .dev-team-heading h2,
  .stats-glass .section-heading h2 {
    font-size: clamp(17px, 5.2vw, 22px) !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere;
    max-width: 100%;
  }
  .heading-garis h2::after { width: 48px !important; max-width: 48px; }
  .page-banner h1 { font-size: clamp(21px, 6.6vw, 28px) !important; overflow-wrap: anywhere; line-height: 1.2; }
  .section-heading .tag { font-size: 11.5px; letter-spacing: .08em; }
  .section-heading p { font-size: 13.5px !important; }
  .dev-team-glass h2 { font-size: clamp(17px, 5.2vw, 22px) !important; }
}

.bkk-body { padding: clamp(28px, 5vw, 56px) 0; }
.bkk-body > .container { max-width: 1100px; width: calc(100% - 32px); }
.bkk-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(16px, 2.4vw, 28px);
  align-items: stretch;
}
.bkk-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg, 22px);
  box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 34px);
  border-top: 4px solid var(--orange, #ff6b00);
  min-width: 0;
}
.bkk-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--orange-soft, rgba(255,107,0,.16));
  color: var(--orange, #ff6b00);
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.bkk-card h2 {
  margin: 0 0 10px;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--txt-accent) !important;
  width: auto;
}
.bkk-card p { margin: 0; color: var(--txt-body); line-height: 1.75; font-size: 15.5px; overflow-wrap: break-word; }
.bkk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bkk-list li {
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--txt-body); line-height: 1.55; font-size: 15.5px;
}
.bkk-list li i { color: var(--orange, #ff6b00); margin-top: 4px; flex: 0 0 auto; }
.bkk-list li span { min-width: 0; overflow-wrap: break-word; }
.bkk-cta { display: flex; justify-content: center; margin-top: clamp(20px, 3vw, 32px); }
@media (max-width: 820px) {
  .bkk-grid { grid-template-columns: 1fr; }
  .bkk-card { padding: 20px 18px; border-radius: 18px; }
  .bkk-card h2 { font-size: 18px; }
  .bkk-card p, .bkk-list li { font-size: 14.5px; }
  .bkk-cta .btn-primary { width: 100%; justify-content: center; }
}

.bkk-lowongan-section { margin-top: clamp(32px, 4vw, 48px); }
.bkk-lowongan-section > .eyebrow { display: block; margin-bottom: 6px; }
.bkk-lowongan-section > h2 { margin: 0 0 10px; font-size: clamp(20px, 2.4vw, 28px); color: var(--txt-accent); }
.bkk-lowongan-intro { margin: 0 0 22px; color: var(--txt-body); line-height: 1.7; font-size: 15px; max-width: 760px; }

.bkk-lowongan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.bkk-lowongan-grid .loading-msg { grid-column: 1 / -1; }

.bkk-lowongan-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg, 22px);
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bkk-lowongan-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px -14px rgba(11,37,69,0.28); }
.bkk-lowongan-card.unggulan { border-top: 3px solid var(--orange, #ff6b00); }

.bkk-lowongan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--orange, #ff6b00);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.bkk-lowongan-head { display: flex; align-items: center; gap: 12px; padding-right: 70px; }
.bkk-lowongan-logo {
  width: 48px; height: 48px; flex: 0 0 auto;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-color: var(--orange-soft, rgba(255,107,0,.16));
  border: 1px solid var(--card-border);
}
.bkk-lowongan-card h5 { margin: 0; font-size: 16.5px; color: var(--txt-accent); line-height: 1.3; }
.bkk-lowongan-perusahaan { margin: 2px 0 0; font-size: 13.5px; color: var(--ink-muted, var(--txt-body)); font-weight: 600; }

.bkk-lowongan-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.bkk-lowongan-meta span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--txt-body);
}
.bkk-lowongan-meta span i { color: var(--orange, #ff6b00); }

.bkk-lowongan-gaji { margin: 0; font-size: 14px; font-weight: 700; color: var(--txt-accent); display: flex; align-items: center; gap: 7px; }
.bkk-lowongan-gaji i { color: #16803c; }
.bkk-lowongan-tutup { margin: 0; font-size: 12.5px; color: var(--ink-muted, var(--txt-body)); }

.bkk-lowongan-detail {
  margin-top: auto;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--orange, #ff6b00);
  background: transparent;
  color: var(--orange, #ff6b00);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.bkk-lowongan-detail:hover { background: var(--orange, #ff6b00); color: #fff; }

.bkk-detail-wrap {
  margin-top: clamp(24px, 3vw, 36px);
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg, 22px);
  box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 32px);
  position: relative;
}
.bkk-detail-wrap[hidden] { display: none !important; }
.bkk-detail-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--orange-soft, rgba(255,107,0,.16));
  color: var(--orange, #ff6b00);
  border: none;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
#bkkDetailBody h3 { margin: 0 24px 4px 0; font-size: clamp(19px, 2.2vw, 24px); color: var(--txt-accent); }
#bkkDetailBody h4 { margin: 18px 0 6px; font-size: 14.5px; color: var(--txt-accent); }
#bkkDetailBody p { margin: 0; color: var(--txt-body); line-height: 1.7; font-size: 14.5px; }
#bkkDetailBody .bkk-lowongan-perusahaan { font-size: 14px; }
#bkkDetailBody .bkk-lowongan-meta { margin: 12px 0; }
#bkkDetailBody .bkk-lowongan-gaji { margin: 8px 0; }
#bkkDetailBody .btn-primary { margin-top: 18px; display: inline-flex; }
#bkkDetailBody a { color: var(--orange, #ff6b00); text-decoration: none; font-weight: 600; }
#bkkDetailBody a:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .bkk-lowongan-grid { grid-template-columns: 1fr; }
  .bkk-lowongan-head { padding-right: 0; flex-wrap: wrap; }
  .bkk-lowongan-badge { position: static; align-self: flex-start; margin-bottom: -4px; }
}


@media (min-width: 769px) {
  .hero .container.hero-content {
    padding-left: 20px !important;
    padding-right: 24px !important;
  }
}
@media (min-width: 1440px) {
  .hero .container.hero-content { padding-left: 32px !important; }
}

@media (min-width: 769px) and (max-width: 1180px) {
  nav.primary-menu ul > li > a,
  nav.primary-menu ul > li > .nav-links-trigger {
    font-size: 12px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
    gap: 4px;
  }
}
@media (min-width: 1181px) and (max-width: 1360px) {
  nav.primary-menu ul > li > a,
  nav.primary-menu ul > li > .nav-links-trigger {
    font-size: 13px !important;
    padding-left: 9px !important;
    padding-right: 9px !important;
  }
}

:root {
  --pg-card: #ffffff;
  --pg-card-soft: #f3f7fd;
  --pg-border: rgba(11, 42, 91, .14);
  --pg-shadow: 0 10px 30px rgba(11, 42, 91, .08);
  --pg-head: #0b2a5b;
  --pg-text: #34455f;
  --pg-muted: #62748f;
  --pg-input: #ffffff;
  --pg-input-border: rgba(11, 42, 91, .22);
  --pg-accent: #ff6b00;
  --pg-blue: #1e5fcc;
  --pg-ok: #137a4a;
  --pg-err: #c0392b;
}
:root[data-theme="dark"] {
  --pg-card: rgba(15, 27, 52, .92);
  --pg-card-soft: rgba(255, 255, 255, .05);
  --pg-border: rgba(255, 255, 255, .14);
  --pg-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --pg-head: #eaf2ff;
  --pg-text: #c3d0e6;
  --pg-muted: #9db0cf;
  --pg-input: rgba(255, 255, 255, .06);
  --pg-input-border: rgba(255, 255, 255, .22);
  --pg-accent: #ff9a45;
  --pg-blue: #7db4ff;
  --pg-ok: #6ee7a8;
  --pg-err: #ffb4a0;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --pg-card: rgba(15, 27, 52, .92);
    --pg-card-soft: rgba(255, 255, 255, .05);
    --pg-border: rgba(255, 255, 255, .14);
    --pg-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    --pg-head: #eaf2ff;
    --pg-text: #c3d0e6;
    --pg-muted: #9db0cf;
    --pg-input: rgba(255, 255, 255, .06);
    --pg-input-border: rgba(255, 255, 255, .22);
    --pg-accent: #ff9a45;
    --pg-blue: #7db4ff;
    --pg-ok: #6ee7a8;
    --pg-err: #ffb4a0;
  }
}

.pg-body .container > * + * { margin-top: 28px; }

.pg-block,
.pg-form,
.pg-sukses {
  background: var(--pg-card);
  border: 1px solid var(--pg-border);
  border-radius: 20px;
  box-shadow: var(--pg-shadow);
  padding: 28px 30px;
}
.pg-form[hidden], .pg-sukses[hidden] { display: none !important; }

.pg-kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pg-blue);
}
.pg-body .pg-title,
.pg-body .pg-form-title {
  margin: 6px 0 16px;
  color: var(--pg-head);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.25;
}
.pg-body .pg-block p,
.pg-body .pg-form p { color: var(--pg-text); line-height: 1.7; }

.pg-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}
.pg-channel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  background: var(--pg-card-soft);
  border: 1px solid var(--pg-border);
  border-radius: 16px;
  color: var(--pg-head);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
a.pg-channel:hover { transform: translateY(-3px); border-color: var(--pg-accent); box-shadow: var(--pg-shadow); }
.pg-channel--aktif { border-color: var(--pg-accent); }
.pg-channel-ico {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #ff8a2b, #ff6b00);
  color: #fff;
  font-size: 18px;
}
.pg-channel strong { font-size: 1rem; }
.pg-channel small { color: var(--pg-muted); font-size: .84rem; line-height: 1.5; }

.pg-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pg-steps li { display: flex; gap: 14px; align-items: flex-start; }
.pg-step-no {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--pg-blue);
  color: #fff;
  font-weight: 700;
}
:root[data-theme="dark"] .pg-step-no { color: #0b2a5b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pg-step-no { color: #0b2a5b; } }
.pg-steps strong { display: block; color: var(--pg-head); margin-bottom: 2px; }
.pg-steps p { margin: 0 !important; }
.pg-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.pg-form-head { text-align: center; margin-bottom: 18px; }
.pg-body .pg-form-title { text-transform: uppercase; letter-spacing: .02em; margin-bottom: 4px; }
.pg-body .pg-form-sub { margin: 0; font-weight: 700; color: var(--pg-accent) !important; text-transform: uppercase; font-size: .9rem; letter-spacing: .03em; }
.pg-body .pg-form-school { margin: 2px 0 0; font-weight: 600; color: var(--pg-head) !important; }

.pg-petunjuk {
  background: var(--pg-card-soft);
  border: 1px dashed var(--pg-border);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 22px;
  color: var(--pg-text);
}
.pg-petunjuk strong { color: var(--pg-head); }
.pg-petunjuk ol { margin: 8px 0 0; padding-left: 20px; line-height: 1.7; }

.pg-fs {
  border: 0;
  border-top: 1px solid var(--pg-border);
  margin: 0;
  padding: 20px 0 8px;
  min-width: 0;
}
.pg-fs legend {
  padding: 0 10px 0 0;
  font-weight: 800;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--pg-head);
}
.pg-rom { color: var(--pg-accent); margin-right: 4px; }
.pg-note { margin: 0 0 12px !important; font-size: .9rem; font-style: italic; color: var(--pg-muted) !important; }

.pg-group { margin: 14px 0; }
.pg-label { display: block; font-size: .86rem; font-weight: 700; color: var(--pg-head); margin-bottom: 6px; }
.pg-label small { font-weight: 500; color: var(--pg-muted); }
.pg-label em, .pg-check em { color: var(--pg-accent); font-style: normal; }
.pg-hint { display: block; color: var(--pg-muted); font-size: .82rem; margin: -2px 0 8px; }

.pg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; margin: 14px 0; }
.pg-field { display: block; min-width: 0; }
.pg-field--full { margin: 14px 0; }

.pg-form input[type="text"],
.pg-form input[type="tel"],
.pg-form input[type="email"],
.pg-form input[type="date"],
.pg-form input[type="time"],
.pg-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font: inherit;
  font-size: .95rem;
  color: var(--pg-head);
  background: var(--pg-input);
  border: 1px solid var(--pg-input-border);
  border-radius: 12px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.pg-form textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.pg-form input::placeholder, .pg-form textarea::placeholder { color: var(--pg-muted); opacity: .8; }
.pg-form input:focus, .pg-form textarea:focus {
  border-color: var(--pg-accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, .18);
}
.pg-form input:disabled { opacity: .5; cursor: not-allowed; }
.pg-form.is-anonim .pg-grid--identitas { opacity: .55; }

.pg-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.pg-options--col { grid-template-columns: 1fr; }
.pg-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--pg-text);
  line-height: 1.5;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.pg-check:hover { background: var(--pg-card-soft); border-color: var(--pg-border); }
.pg-check input[type="checkbox"],
.pg-check input[type="radio"] {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin: 3px 0 0;
  accent-color: var(--pg-accent);
}
.pg-check strong { color: var(--pg-head); }
.pg-check small { color: var(--pg-muted); font-size: .84rem; }
.pg-check--anonim { margin-bottom: 4px; background: var(--pg-card-soft); border-color: var(--pg-border); }
.pg-check--lain { align-items: center; flex-wrap: wrap; }
.pg-check--lain input[type="text"] { flex: 1 1 220px; width: auto; padding: 9px 12px; }
.pg-check--pernyataan { background: var(--pg-card-soft); border-color: var(--pg-border); }

.pg-grid--saksi { margin-top: 6px; }
.pg-form:not(.saksi-on) .pg-grid--saksi { display: none; }

.pg-ttd { margin-top: 16px; display: grid; justify-items: end; text-align: center; gap: 2px; }
.pg-ttd p { margin: 0 !important; }
.pg-ttd-nama { margin-top: 38px !important; font-weight: 700; color: var(--pg-head) !important; min-width: 200px; }
.pg-ttd small { color: var(--pg-muted); font-style: italic; }

.pg-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.pg-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--pg-border);
}
.pg-actions-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.pg-status { margin: 0 !important; flex: 1 1 220px; min-height: 1.3em; font-size: .92rem; color: var(--pg-muted) !important; }
.pg-status.is-error { color: var(--pg-err) !important; font-weight: 600; }
.pg-status.is-ok { color: var(--pg-ok) !important; font-weight: 600; }

.pg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  font: inherit; font-weight: 700; font-size: .95rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease, background .2s ease;
}
.pg-btn:hover { transform: translateY(-2px); }
.pg-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.pg-btn--utama { background: linear-gradient(145deg, #ff8a2b, #ff6b00); color: #fff; box-shadow: 0 8px 20px rgba(255, 107, 0, .3); }
.pg-btn--utama:hover { filter: brightness(1.07); color: #fff; }
.pg-btn--ghost { background: transparent; color: var(--pg-head); border-color: var(--pg-input-border); }
.pg-btn--ghost:hover { border-color: var(--pg-accent); color: var(--pg-accent); }

.pg-saluran {
  margin-top: 22px;
  padding: 16px 18px;
  background: var(--pg-card-soft);
  border: 1px solid var(--pg-border);
  border-radius: 14px;
  color: var(--pg-text);
  font-size: .92rem;
}
.pg-saluran strong { color: var(--pg-head); }
.pg-saluran ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.8; }
.pg-saluran li span { font-weight: 700; color: var(--pg-head); }
.pg-saluran a { color: var(--pg-blue); }

.pg-sukses { text-align: center; }
.pg-sukses-ico { font-size: 54px; color: var(--pg-ok); line-height: 1; }
.pg-body .pg-sukses h3 { margin: 12px 0 8px; color: var(--pg-head); }
.pg-sukses-kode { margin-top: 14px !important; }
.pg-sukses-kode strong { color: var(--pg-accent); letter-spacing: .04em; }
.pg-sukses .pg-btn { margin-top: 12px; }

.pengaduan-ask {
  margin-top: 24px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
}
.pengaduan-ask-q { margin: 0 0 16px; font-size: 1.08rem; font-weight: 700; color: #fff; }
.pengaduan-ask-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.pengaduan-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 150px;
  padding: 13px 26px;
  font: inherit; font-weight: 700; font-size: .98rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease, background .2s ease, border-color .2s ease;
}
.pengaduan-btn:hover { transform: translateY(-2px); }
.pengaduan-btn--ya { background: linear-gradient(145deg, #ff8a2b, #ff6b00); color: #fff; box-shadow: 0 8px 20px rgba(255, 107, 0, .35); }
.pengaduan-btn--ya:hover { filter: brightness(1.08); color: #fff; }
.pengaduan-btn--tidak { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.pengaduan-btn--tidak:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.pengaduan-ask-note { margin: 16px 0 0; min-height: 1.2em; font-size: .92rem; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.pengaduan-ask-note:empty { display: none; }
.pengaduan-ask-note a { color: #ffb066; }

@media (max-width: 720px) {
  .pg-block, .pg-form, .pg-sukses { padding: 20px 16px; border-radius: 16px; }
  .pg-grid, .pg-options { grid-template-columns: 1fr; }
  .pg-actions-btns { width: 100%; }
  .pg-actions-btns .pg-btn { flex: 1 1 100%; }
  .pg-ttd { justify-items: center; }
  .pengaduan-ask { padding: 18px; }
  .pengaduan-btn { flex: 1 1 100%; }
}

@media print {
  body * { visibility: hidden !important; }
  #pengaduanForm, #pengaduanForm * { visibility: visible !important; }
  #pengaduanForm {
    position: absolute; left: 0; top: 0; width: 100%;
    box-shadow: none !important; border: 0 !important; background: #fff !important;
    padding: 0 !important;
  }
  #pengaduanForm, #pengaduanForm * { color: #000 !important; background: transparent !important; }
  .pg-actions, .pg-hp, .pg-check--anonim { display: none !important; }
  .pg-form input[type="text"], .pg-form input[type="tel"], .pg-form input[type="email"],
  .pg-form input[type="date"], .pg-form input[type="time"], .pg-form textarea {
    border: 0 !important; border-bottom: 1px dotted #000 !important; border-radius: 0 !important; box-shadow: none !important;
  }
  .pg-form:not(.saksi-on) .pg-grid--saksi { display: grid !important; }
}

.kl-hero { min-height: 0; padding: 88px 0 80px; }
.kl-hero .spmb-state h1 { margin-bottom: 18px; }
.kl-hero .spmb-text { margin-left: auto; margin-right: auto; margin-bottom: 26px; }
.kl-home .sh-syarat-head { margin-bottom: 40px; }
.kl-home .sh-help { margin-top: 56px; }
.kl-help-ico {
  display: grid; place-items: center;
  width: 150px; height: 150px; border-radius: 50%;
  font-size: 4rem; color: var(--orange, #ff6b00);
  background: rgba(255, 107, 0, .12);
}
.kl-home .sh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
@media (max-width: 900px) {
  .kl-hero { padding: 64px 0 56px; }
  .kl-home .sh-help-media { order: -1; }
}
@media (max-width: 560px) {
  .kl-hero { padding: 48px 0 44px; }
  .kl-help-ico { width: 110px; height: 110px; font-size: 3rem; }
  .kl-home .sh-help { padding: 24px 20px; margin-top: 40px; }
  .kl-home .sh-actions .prog-btn { flex: 1 1 100%; }
}
.kl-home .sh-syarat-head h3 .sh-accent { display: inline; }


.logo-text .school-name,
.menu-panel-logo .school-name {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.12 !important;
}
.logo-text .school-name { font-size: clamp(17px, 2.1vw, 23px) !important; }
@media (max-width: 480px) { .logo-text .school-name { font-size: 16px !important; } }

.hero-content .eyebrow.eyebrow-rotator {
  display: inline-grid !important;
  grid-template-areas: "slot";
  align-items: center;
  justify-items: start;
}
.eyebrow-rotator .eyebrow-item {
  grid-area: slot;
  opacity: 0;
  animation: eyebrowFade 10s linear infinite;
  white-space: nowrap;
}
.eyebrow-rotator .eyebrow-item:nth-child(2) { animation-delay: 5s; }
@keyframes eyebrowFade {
  0%   { opacity: 0; transform: translateY(6px); }
  8%   { opacity: 1; transform: translateY(0); }
  42%  { opacity: 1; transform: translateY(0); }
  50%  { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 0; transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .eyebrow-rotator .eyebrow-item { animation: none; }
  .eyebrow-rotator .eyebrow-item:first-child { opacity: 1; }
}

.cd-dial {
  width: auto !important;
  aspect-ratio: auto !important;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin: clamp(6px, 1.6vw, 12px) 0 !important;
}
.cd-center {
  position: static !important;
  inset: auto !important;
  background: none !important;
  border-radius: 0 !important;
}
.cd-num { font-size: clamp(44px, 9vw, 64px) !important; }
.cd-ring, .cd-dash { display: none !important; }

.prog-card.guru-card {
  --guru-emas: var(--gold-soft, #ffd166);
  min-height: 0;
  aspect-ratio: 3 / 4.5;
  padding: 0;
  gap: 0;
  justify-content: flex-end;
  align-items: stretch;
  cursor: default;
  text-align: center;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(30, 95, 204, .55), transparent 70%),
    linear-gradient(160deg, var(--navy-steel-fixed, #1b3a73) 0%, var(--navy, #0b2447) 100%);
}
.guru-card .guru-foto { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; }
.guru-card .guru-foto img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center 12%;
  transition: transform .8s var(--ease, ease), filter .5s ease;
}
.guru-card:hover .guru-foto img { transform: scale(1.07); }
.guru-card .guru-foto::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 28, 58, .38) 0%, rgba(7, 28, 58, 0) 24%),
    linear-gradient(180deg, rgba(7, 28, 58, 0) 42%, rgba(7, 28, 58, .62) 70%, rgba(7, 28, 58, .94) 100%);
}
.guru-card .guru-foto::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-18deg); transition: left .9s var(--ease, ease);
}
.guru-card:hover .guru-foto::after { left: 130%; }
.guru-card.guru-nofoto .guru-foto {
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .16), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .04) 0 12px, transparent 12px 24px);
}
.guru-card.guru-nofoto .guru-foto img {
  object-fit: contain; object-position: center 36%; padding: 22% 22% 40%; opacity: .92;
}
.prog-card.guru-card::before {
  inset: 8px; z-index: 2; background: none;
  border: 1px solid rgba(255, 209, 102, .38);
  border-radius: calc(var(--radius, 16px) - 6px);
  transition: inset .35s var(--ease, ease), border-color .35s ease, box-shadow .35s ease;
}
.prog-card.guru-card:hover::before {
  transform: none; inset: 6px; border-color: rgba(255, 209, 102, .95);
  box-shadow: 0 0 22px rgba(255, 176, 30, .28) inset;
}
.guru-card .guru-chip {
  position: absolute; top: 16px; right: 16px; z-index: 4;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--navy-steel-fixed, #1b3a73);
  font-size: .95rem; box-shadow: 0 6px 14px -4px rgba(0, 0, 0, .5);
  transition: transform .35s var(--ease, ease), background .35s ease, color .35s ease;
}
.guru-card:hover .guru-chip { transform: rotate(-10deg) scale(1.08); background: var(--orange, #ff6b00); color: #fff; }

.guru-filter {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 18px 0 24px;
}
.guru-filter-btn {
  appearance: none; cursor: pointer;
  padding: 8px 18px; border-radius: 999px;
  font-size: .85rem; font-weight: 600; letter-spacing: .02em;
  border: 1px solid rgba(201, 161, 59, .4);
  background: rgba(255, 255, 255, .04);
  color: var(--navy-steel-fixed, #1b3a73);
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
}
.guru-filter-btn:hover { transform: translateY(-1px); border-color: var(--gold-soft, #c9a13b); }
.guru-filter-btn.is-active {
  background: var(--gold-soft, #c9a13b); border-color: var(--gold-soft, #c9a13b);
  color: var(--navy, #0b2447);
}

.guru-kepegawaian-badge {
  position: absolute; top: 16px; left: 16px; z-index: 4;
  padding: 4px 10px; border-radius: 999px;
  font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .45);
}
.guru-kepegawaian-badge.guru-kepegawaian-PNS { background: #1e8e4f; color: #fff; }
.guru-kepegawaian-badge.guru-kepegawaian-GTT { background: #c9a13b; color: #0b2447; }
.guru-kepegawaian-badge.guru-kepegawaian-PPPK { background: #2563c7; color: #fff; }

.guru-card .guru-info {
  position: relative; z-index: 4;
  margin: 0 14px 14px; padding: 18px 12px 14px;
  border-radius: calc(var(--radius, 16px) - 4px);
  background: rgba(7, 28, 58, .52);
  -webkit-backdrop-filter: blur(10px) saturate(1.25); backdrop-filter: blur(10px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.guru-card .guru-info::before {
  content: ""; position: absolute; top: 7px; left: 50%; width: 34px; height: 3px; margin-left: -17px;
  border-radius: 3px; background: linear-gradient(90deg, var(--orange, #ff6b00), var(--guru-emas));
  transition: width .35s var(--ease, ease), margin-left .35s var(--ease, ease);
}
.guru-card:hover .guru-info::before { width: 64px; margin-left: -32px; }
.guru-card h3 {
  margin: 0; font-size: 1.04rem; line-height: 1.3; font-weight: 700;
  color: #fff !important; overflow-wrap: anywhere; text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}
.guru-card .guru-jabatan {
  margin: 0; padding: 3px 11px; border-radius: 999px;
  font-size: .76rem; font-weight: 700; line-height: 1.35; letter-spacing: .02em;
  color: #fff !important; text-shadow: none;
  background: linear-gradient(135deg, #ff8a2b, #ff6b00);
  box-shadow: 0 4px 10px -3px rgba(255, 107, 0, .6);
}
.guru-card .guru-mapel {
  margin: 0; font-size: .8rem; line-height: 1.4;
  color: rgba(255, 255, 255, .88) !important; text-shadow: 0 1px 6px rgba(0, 0, 0, .55);
}
.guru-card .guru-mapel i { color: var(--guru-emas); margin-right: 5px; font-size: .72rem; }
@media (max-width: 820px) {
  .guru-card .guru-info { margin: 0 10px 10px; padding: 16px 8px 11px; }
  .guru-card h3 { font-size: .95rem; }
  .guru-card .guru-chip { top: 12px; right: 12px; width: 32px; height: 32px; font-size: .85rem; }
}
@media (max-width: 520px) {
  main section.page:not([data-page="beranda"]) .guru-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prog-card.guru-card { aspect-ratio: 3 / 4.7; }
  .prog-card.guru-card::before { inset: 6px; }
  .guru-card .guru-info { margin: 0 8px 8px; padding: 15px 6px 9px; }
  .guru-card h3 { font-size: .84rem; }
  .guru-card .guru-jabatan { font-size: .68rem; padding: 2px 8px; }
  .guru-card .guru-mapel { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .guru-card .guru-foto img, .guru-card .guru-foto::after, .guru-card .guru-chip { transition: none; }
}

.prog-card, .prog-card h3, .prog-card p, .prog-card .prog-more, .prog-card .prog-pembina {
  color: #fff !important;
}


.sosmed-like-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(220, 38, 38, .35);
  background: transparent; color: #dc2626;
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
  transition: background .2s, transform .15s;
}
.sosmed-like-btn:hover { background: rgba(220, 38, 38, .08); }
.sosmed-like-btn:active { transform: scale(.94); }
.sosmed-like-btn.liked { background: #dc2626; color: #fff; border-color: #dc2626; }
.sosmed-like-btn:disabled { opacity: .6; cursor: wait; }
.sosmed-like-wrap { margin-top: 14px; }
.sosmed-like-btn--modal { padding: 8px 18px; font-size: 1rem; }
.sosmed-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }

.push-berita { flex-wrap: wrap; }
@media (max-width: 520px) {
  .push-berita { flex-direction: column; align-items: stretch; text-align: center; }
  .push-berita-btn { width: 100%; }
}

@media (min-width: 901px) and (max-width: 1280px) {
  nav.primary-menu ul > li > a { padding-left: 9px !important; padding-right: 9px !important; font-size: 13px; }
}

.hero-content h1 .hero-line { display: block; }
.hero-content .eyebrow.eyebrow-rotator { font-size: clamp(15px, 1.6vw, 20px) !important; letter-spacing: .12em; }
.logo-text .school-name { white-space: nowrap !important; }
nav.primary-menu ul > li > a { font-size: 13.5px !important; padding-left: 10px !important; padding-right: 10px !important; }
@media (min-width: 1440px) { nav.primary-menu ul > li > a { font-size: 14px !important; } }


.logo-text small.header-rotator {
  display: inline-grid !important;
  grid-template-areas: "slot";
  align-items: center;
  justify-items: start;
  white-space: nowrap !important;
}
.header-rotator .hr-item {
  grid-area: slot;
  opacity: 0;
  white-space: nowrap;
  animation: eyebrowFade 10s linear infinite;
}
.header-rotator .hr-item:nth-child(2) { animation-delay: 5s; }
@media (prefers-reduced-motion: reduce) {
  .header-rotator .hr-item { animation: none; }
  .header-rotator .hr-item:first-child { opacity: 1; }
}

@media (max-width: 768px) {
  .sambutan-section,
  .features,
  .profile-section,
  .stats-glass,
  .news-section,
  .dev-team-section,
  .gempa-strip-wrap {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
  }
  .sambutan-section + .features { padding-top: 44px !important; }
  .page-body { padding-top: 44px !important; padding-bottom: 56px !important; }
  .page-banner { padding-bottom: 40px !important; }
  .page-body .section-heading,
  .news-section .section-heading,
  .stats-glass .section-heading { margin-bottom: 24px; }
}
@media (max-width: 768px) {
  .gempa-strip-wrap { padding-top: 12px !important; padding-bottom: 32px !important; }
}

.menu-panel-logo small.header-rotator {
  display: inline-grid !important;
  grid-template-areas: "slot";
  align-items: center;
  justify-items: start;
  white-space: nowrap !important;
}
.menu-panel-logo img {
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  object-fit: contain !important;
}

.sambutan-section .reveal-left,
.sambutan-section .reveal-right {
  transform: none !important;
  transition: opacity .6s ease !important;
}
.sambutan-wrap:has(.sambutan-photo:not(:has(img))) { grid-template-columns: 1fr; }
.sambutan-wrap:has(.sambutan-photo:not(:has(img))) .sambutan-figure { display: none; }
.sambutan-wrap:has(.sambutan-photo:not(:has(img))) .sambutan-body { max-width: 780px; margin: 0 auto; }

@media (max-width: 768px) {
  header {
    border-bottom: 0 !important;
    box-shadow: none !important;
    margin-bottom: -1px;
  }
  header.scrolled { box-shadow: 0 6px 16px -12px rgba(11, 37, 69, .35) !important; }
  .main-nav { padding: 8px 0 !important; }
  .main-nav .flex { min-height: 0 !important; }
  .logo-wrap .logo-media { width: 48px !important; height: 48px !important; }
  .logo-wrap { gap: 10px; }
}


:root {
  --txt-jingga: #ff7a1a;
  --txt-jingga-tua: #e25a00;
  --txt-langit: #bfe0ff;
  --txt-emas: #f2c75c;
}
:root[data-theme="dark"] { --txt-jingga-tua: #ffa45c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --txt-jingga-tua: #ffa45c; } }

.hero-content .eyebrow,
.hero-content .eyebrow.eyebrow-rotator,
.hero-content .eyebrow .eyebrow-item {
  color: var(--txt-jingga) !important;
  text-shadow: 0 1px 12px rgba(5, 20, 50, .55);
}
:root { --txt-header-abu: #6b7280; }
:root[data-theme="dark"] { --txt-header-abu: #9ca3af; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --txt-header-abu: #9ca3af; } }
.logo-text small.header-rotator,
.header-rotator .hr-item,
.menu-panel-logo small.header-rotator { color: var(--txt-header-abu) !important; font-weight: 600; }
.page-banner .eyebrow { color: var(--txt-jingga) !important; }
.hero-stats div > span { color: var(--txt-langit) !important; }
.profil-bagian h2 { color: var(--primary); }
.profil-bagian strong { color: var(--txt-jingga-tua); }
.profil-bagian .bullet-list li::marker { color: var(--txt-jingga-tua); }
.struktur-item h5 { color: var(--primary); }
:root[data-theme="dark"] .profil-bagian h2,
:root[data-theme="dark"] .struktur-item h5 { color: #9cc2ff; }
footer h4 { color: var(--txt-emas) !important; }


.pg-channel--hotline { cursor: default; }
.pg-hotline-opsi { display: grid; gap: 8px; margin-top: 8px; width: 100%; }
.pg-hotline-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px;
  border: 1px solid var(--pg-accent, #ff6b00);
  background: transparent; color: inherit; text-decoration: none;
  font-size: .88rem; line-height: 1.3;
  transition: background .2s, color .2s, transform .2s;
}
.pg-hotline-btn i { color: var(--pg-accent, #ff6b00); transition: color .2s; }
.pg-hotline-btn b { display: block; font-weight: 700; }
.pg-hotline-btn span { display: block; color: var(--pg-muted, #6b7280); font-size: .8rem; }
.pg-hotline-btn:hover, .pg-hotline-btn:focus-visible { background: var(--pg-accent, #ff6b00); color: #fff; transform: translateY(-2px); }
.pg-hotline-btn:hover i, .pg-hotline-btn:focus-visible i,
.pg-hotline-btn:hover span, .pg-hotline-btn:focus-visible span { color: #fff; }
.pg-saluran-tel { display: inline-flex; flex-direction: column; gap: 4px; vertical-align: top; }

@media (min-width: 993px) {
  nav.primary-menu ul { justify-content: space-between; gap: 0; }
  nav.primary-menu ul > li > a,
  nav.primary-menu ul > li > .nav-links-trigger {
    font-size: clamp(11px, .82vw, 12.5px);
    padding: 8px clamp(5px, .6vw, 10px);
    gap: 4px;
    white-space: nowrap;
    letter-spacing: 0;
  }
  nav.primary-menu .nav-caret,
  nav.primary-menu .nav-links-trigger i { font-size: .7em; }
  nav.primary-menu .dropdown-content a,
  nav.primary-menu .dropdown-content .elearning-link-btn {
    font-size: 13px;
    padding: 9px 14px;
  }
}

.kl-cek[hidden], .kl-cek [hidden], .kl-hasil[hidden], .kl-cek-closed[hidden], .kl-cek-form[hidden] { display: none !important; }
.kl-cek {
  margin-top: 40px;
  padding: clamp(22px, 4vw, 40px);
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-lg);
}
.kl-cek-head { text-align: center; max-width: 620px; margin: 0 auto 22px; }
.kl-cek-head h3 { margin: 6px 0 8px; color: var(--ink); font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.kl-cek-head p { margin: 0; color: var(--muted, #5a6b85); line-height: 1.7; }
.kl-cek-form { display: flex; gap: 12px; align-items: flex-end; justify-content: center; flex-wrap: wrap; max-width: 560px; margin: 0 auto; }
.kl-cek-field { flex: 1 1 240px; display: block; text-align: left; }
.kl-cek-field span { display: block; margin-bottom: 6px; font-size: .86rem; font-weight: 700; color: var(--ink); }
.kl-cek-field input {
  width: 100%; padding: 13px 16px; border-radius: 12px; font: inherit; font-size: 1.05rem;
  letter-spacing: .12em; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--card-border); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.kl-cek-field input:focus { border-color: var(--orange, #ff6b00); box-shadow: 0 0 0 3px rgba(255, 107, 0, .18); }
.kl-cek-btn { flex: 0 0 auto; border: 0; cursor: pointer; }
.kl-cek-btn:disabled { opacity: .6; cursor: wait; }
.kl-cek-msg { text-align: center; min-height: 1.3em; margin: 14px 0 0; font-size: .92rem; font-weight: 600; color: var(--muted, #5a6b85); }
.kl-cek-msg.is-error { color: #c62828; }
.kl-cek-msg:empty { display: none; }
.kl-cek-closed { display: flex; gap: 14px; align-items: center; justify-content: center; max-width: 560px; margin: 0 auto; padding: 18px 20px; border-radius: 14px; background: rgba(255, 107, 0, .1); border: 1px dashed rgba(255, 107, 0, .45); }
.kl-cek-closed i { font-size: 1.4rem; color: var(--orange, #ff6b00); }
.kl-cek-closed p { margin: 0; color: var(--ink); line-height: 1.6; }

.kl-hasil { display: flex; gap: 20px; align-items: flex-start; max-width: 620px; margin: 22px auto 0; padding: 22px; border-radius: 18px; border: 1.5px solid var(--card-border); animation: klMuncul .4s ease both; }
.kl-hasil.is-lulus { background: rgba(21, 138, 75, .1); border-color: rgba(21, 138, 75, .5); }
.kl-hasil.is-tidak { background: rgba(198, 40, 40, .08); border-color: rgba(198, 40, 40, .4); }
.kl-hasil-ico { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; color: #fff; }
.kl-hasil.is-lulus .kl-hasil-ico { background: #158a4b; }
.kl-hasil.is-tidak .kl-hasil-ico { background: #c62828; }
.kl-hasil-body { min-width: 0; flex: 1; }
.kl-hasil-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #5a6b85); }
.kl-hasil-status { display: block; margin: 2px 0 12px; font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--ink); }
.kl-hasil.is-lulus .kl-hasil-status { color: #158a4b; }
.kl-hasil.is-tidak .kl-hasil-status { color: #c62828; }
.kl-hasil-data { margin: 0; display: grid; gap: 8px; }
.kl-hasil-data > div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; }
.kl-hasil-data dt { font-weight: 600; color: var(--muted, #5a6b85); }
.kl-hasil-data dd { margin: 0; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.kl-hasil-ket { margin: 12px 0 0; color: var(--ink); line-height: 1.6; }
.kl-hasil-ket:empty { display: none; }
@keyframes klMuncul { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .kl-cek-btn { width: 100%; justify-content: center; }
  .kl-hasil { flex-direction: column; align-items: center; text-align: center; padding: 20px 16px; }
  .kl-hasil-data > div { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { .kl-hasil { animation: none; } }

.visitor-box {
  margin-top: 24px;
  padding: clamp(14px, 2.4vw, 20px);
  border-radius: var(--radius-lg, 18px);
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
}
.visitor-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.visitor-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 4px; border-radius: 10px; text-align: center;
  background: rgba(255, 255, 255, .06);
}
.visitor-label { font-size: .68rem; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .7); white-space: nowrap; }
.visitor-num { font-size: 1.05rem; font-weight: 800; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.visitor-total {
  margin: 14px 0 0; padding-top: 12px; text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .8);
}
.visitor-total strong { color: var(--orange, #ff6b00); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
@media (max-width: 420px) {
  .visitor-grid { gap: 5px; }
  .visitor-label { font-size: .6rem; }
  .visitor-num { font-size: .95rem; }
}



html.no-splash #splashScreen { display: none !important; }

.amga-welcome {
  background: linear-gradient(145deg, rgba(255,255,255,.20), rgba(255,255,255,.07) 55%, rgba(255,255,255,.12)) !important;
  border: 1px solid rgba(255,255,255,.34) !important;
  box-shadow: 0 24px 64px rgba(3,12,35,.45), inset 0 1px 0 rgba(255,255,255,.4) !important;
  -webkit-backdrop-filter: blur(22px) saturate(160%) !important;
          backdrop-filter: blur(22px) saturate(160%) !important;
}
.amga-welcome .amga-weather,
.amga-welcome .amga-puzzle,
.amga-welcome .splash-countdown,
.amga-welcome .cd-message {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
          backdrop-filter: none !important;
  border-radius: 0 !important;
}
.amga-welcome .amga-weather {
  padding: 4px 0 !important;
  margin: clamp(14px, 2.4vh, 20px) auto 6px !important;
  gap: 12px 14px !important;
  color: #fff;
}
.amga-welcome .amga-weather-icon { font-size: 40px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.amga-welcome .weather-location {
  color: #ffd869 !important; font-size: 12px !important; font-weight: 700; letter-spacing: .06em;
  text-shadow: 0 1px 6px rgba(0,0,0,.55);
}
.amga-welcome .weather-temp { color: #fff !important; font-size: clamp(26px, 6vw, 32px) !important; text-shadow: 0 2px 8px rgba(0,0,0,.45); }
.amga-welcome .weather-description {
  color: #fff !important; font-size: 14px !important; font-weight: 500;
  text-shadow: 0 1px 6px rgba(0,0,0,.55);
}
.amga-welcome #splashWeather { color: #fff; font-size: 14px; font-weight: 500; text-shadow: 0 1px 6px rgba(0,0,0,.55); }
.amga-welcome .amga-datetime { color: rgba(255,255,255,.92) !important; font-size: 12.5px !important; text-shadow: 0 1px 5px rgba(0,0,0,.5); }
.amga-welcome .amga-greeting { color: rgba(255,255,255,.95) !important; text-shadow: 0 1px 5px rgba(0,0,0,.45); }
.amga-welcome .cd-message { color: #fff !important; text-shadow: 0 1px 5px rgba(0,0,0,.45); }
.amga-welcome .cd-dial { background: none !important; }
@media (max-width: 600px) {
  .amga-welcome .weather-description { font-size: 13px !important; }
  .amga-welcome .weather-location { font-size: 11px !important; }
}

@media (min-width: 769px) {
  .main-nav { padding: 4px 0 !important; }
  .main-nav .container.flex { min-height: 52px; }
  .logo-wrap .logo-media { width: 44px !important; height: 44px !important; }
  .logo-text .school-name { font-size: 17px !important; line-height: 1.15; }
  .main-nav .theme-toggle { width: 36px !important; height: 36px !important; }
  .main-nav .nav-search { height: 36px !important; }
  .main-nav .nav-search:not(.is-open) { width: 36px; }
  .main-nav .nav-search .nav-search-btn { width: 34px !important; height: 34px !important; flex-basis: 34px !important; font-size: 14px; }
  nav.primary-menu ul > li > a, nav.primary-menu ul > li > .nav-links-trigger { padding-top: 5px !important; padding-bottom: 5px !important; font-size: 13px !important; }
  nav.primary-menu { min-height: 0; }
  nav.primary-menu > .container > ul { min-height: 0; }
}
@media (max-width: 768px) {
  .main-nav { padding: 8px 0 !important; }
  .main-nav .container.flex { min-height: 58px; }
  .logo-wrap .logo-media { width: 54px !important; height: 54px !important; }
  .logo-text .school-name { font-size: 16.5px !important; }
  .main-nav .theme-toggle, .main-nav .menu-toggle, .main-nav .nav-search { width: 42px !important; height: 42px !important; }
}
@media (max-width: 380px) {
  .logo-wrap .logo-media { width: 48px !important; height: 48px !important; }
  .logo-text .school-name { font-size: 15px !important; }
}
.logo-text small.header-tagline,
.menu-panel-logo small.header-tagline {
  display: block !important;
  font-size: 10.5px !important;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: none !important;
  margin-top: 1px !important;
  line-height: 1.25;
  color: var(--txt-header-abu, #6b7280) !important;
  animation: none !important;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .logo-text small.header-tagline { font-size: 11.5px !important; }
}

:root { --blend-h: clamp(70px, 9vw, 120px); }

main section.page:not([data-page="beranda"]) .page-banner {
  padding: clamp(26px, 3.6vw, 44px) 0 calc(var(--blend-h) + 8px) !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
}
.page-banner-grid-blur,
.spmb-grid-blur { display: none !important; }

main section.page:not([data-page="beranda"]) .page-banner::before {
  content: "" !important;
  position: absolute; left: 0; right: 0; bottom: -1px; top: auto; inset-inline: 0;
  height: var(--blend-h);
  z-index: 2; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(var(--section-bg-rgb), 0)     0%,
    rgba(var(--section-bg-rgb), .008) 8%,
    rgba(var(--section-bg-rgb), .04)  18%,
    rgba(var(--section-bg-rgb), .10)  28%,
    rgba(var(--section-bg-rgb), .20)  38%,
    rgba(var(--section-bg-rgb), .34)  48%,
    rgba(var(--section-bg-rgb), .50)  58%,
    rgba(var(--section-bg-rgb), .66)  68%,
    rgba(var(--section-bg-rgb), .80)  78%,
    rgba(var(--section-bg-rgb), .91)  88%,
    rgba(var(--section-bg-rgb), .97)  95%,
    rgba(var(--section-bg-rgb), 1)   100%) !important;
}
main section.page:not([data-page="beranda"]) .page-banner::after {
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.7) 0, rgba(0,0,0,.35) 45%, transparent 85%) !important;
          mask-image: linear-gradient(180deg, rgba(0,0,0,.7) 0, rgba(0,0,0,.35) 45%, transparent 85%) !important;
}
.page-banner + section, .page-banner + .page-body { border-top: 0 !important; box-shadow: none !important; }

main section.page:not([data-page="beranda"]) .page-banner .container,
main section.page:not([data-page="beranda"]) .page-body > .container {
  max-width: min(1180px, 100%);
}
main section.page:not([data-page="beranda"]) .page-banner .container { text-align: left; }
main section.page:not([data-page="beranda"]) .page-banner .eyebrow { font-size: 12px !important; margin-bottom: 8px !important; }
main section.page:not([data-page="beranda"]) .page-banner h1 {
  font-size: clamp(25px, 3.6vw, 38px) !important; margin-bottom: 8px !important; line-height: 1.15;
}
main section.page:not([data-page="beranda"]) .page-banner p {
  font-size: clamp(13.5px, 1.3vw, 16px) !important; max-width: 640px; line-height: 1.55; margin: 0;
}

main section.page:not([data-page="beranda"]) .page-body {
  padding-top: 0 !important;
  padding-bottom: clamp(36px, 5vw, 60px) !important;
  margin-top: calc(var(--blend-h) * -0.55);
  position: relative; z-index: 3;
}
.page-body > .container.konten-card {
  max-width: 1180px !important;
  width: calc(100% - 2 * clamp(14px, 3vw, 40px));
  margin-left: auto !important; margin-right: auto !important;
  padding: clamp(20px, 2.6vw, 34px) clamp(16px, 3vw, 40px) !important;
}
@media (max-width: 640px) {
  .page-body > .container.konten-card { width: calc(100% - 24px); padding: 18px 14px !important; }
  main section.page:not([data-page="beranda"]) .page-body { padding-left: 0 !important; padding-right: 0 !important; }
  main section.page:not([data-page="beranda"]) .page-banner { padding-top: 24px !important; }
}
main section.page:not([data-page="beranda"]) .page-body .container.narrow,
#kompetensiDetailView.container.narrow {
  max-width: min(1180px, calc(100% - 2 * clamp(14px, 3vw, 40px))) !important;
}
.amga-welcome .cd-num { color: #fff !important; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.amga-welcome .cd-unit { color: #ffd869 !important; }

main section.page[data-page="pengaduan"] .page-banner p { max-width: 760px; }

main section.page:not([data-page="beranda"]) .page-body {
  margin-top: calc(var(--blend-h) * -0.30);
  padding-top: clamp(10px, 1.6vw, 18px) !important;
}
main section.page:not([data-page="beranda"]) .page-body:has(> .container.konten-card),
main section.page:not([data-page="beranda"]) .page-body:has(> .container.narrow) {
  margin-top: calc(var(--blend-h) * -0.55);
  padding-top: 0 !important;
}

main section.page[data-page="kelulusan"] .spmb-hero {
  min-height: 0 !important;
  padding: clamp(40px, 5vw, 64px) 0 calc(var(--blend-h) + 12px) !important;
}
main section.page[data-page="spmb"] .spmb-hero { min-height: min(62vh, 520px) !important; padding-bottom: calc(var(--blend-h) + 12px) !important; }
.spmb-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: var(--blend-h);
  z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(var(--section-bg-rgb), 0)     0%,
    rgba(var(--section-bg-rgb), .008) 8%,
    rgba(var(--section-bg-rgb), .04)  18%,
    rgba(var(--section-bg-rgb), .10)  28%,
    rgba(var(--section-bg-rgb), .20)  38%,
    rgba(var(--section-bg-rgb), .34)  48%,
    rgba(var(--section-bg-rgb), .50)  58%,
    rgba(var(--section-bg-rgb), .66)  68%,
    rgba(var(--section-bg-rgb), .80)  78%,
    rgba(var(--section-bg-rgb), .91)  88%,
    rgba(var(--section-bg-rgb), .97)  95%,
    rgba(var(--section-bg-rgb), 1)   100%);
}
.spmb-hero .container { position: relative; z-index: 2; }
.spmb-hero + section { border-top: 0 !important; box-shadow: none !important; }

main section.page:not([data-page="beranda"]) .page-banner .eyebrow,
.page-banner .eyebrow,
.spmb-hero .eyebrow,
.spmb-state .eyebrow {
  display: block !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase;
  line-height: 1.3;
  color: #ffffff !important;
  padding: 0 !important;
  margin: 0 0 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
@media (max-width: 640px) {
  main section.page:not([data-page="beranda"]) .page-banner .eyebrow,
  .page-banner .eyebrow, .spmb-hero .eyebrow, .spmb-state .eyebrow { font-size: 12px !important; }
}

.kompetensi-card { overflow: hidden; }
.kompetensi-card .kompetensi-thumb { margin: -2px -2px 14px; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: rgba(255,255,255,.08); }
.kompetensi-card .kompetensi-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.kompetensi-card:hover .kompetensi-thumb img { transform: scale(1.06); }


.kompetensi-banner-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.kompetensi-banner-text { flex: 1 1 420px; min-width: 0; }
.kompetensi-banner-cta { flex: 0 0 auto; white-space: nowrap; }
main section.page[data-page="kompetensi"] .page-body.program-section { padding-top: clamp(24px, 4vw, 40px); }
@media (max-width: 640px) {
  .kompetensi-banner-row { align-items: flex-start; gap: 16px; }
  .kompetensi-banner-cta { width: 100%; text-align: center; }
}


.journalist-credit {
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: center; justify-content: center;
  gap: 12px !important; text-align: center !important;
}
.journalist-credit > span { display: block; text-align: center; }
.journalist-credit small, .journalist-credit strong, .journalist-handle { text-align: center; }

.site-uptime {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
}
.site-uptime-title { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .8); }
.site-uptime-title i { color: var(--orange, #ff6b00); }
.uptime-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.uptime-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 4px; border-radius: 10px; background: rgba(255, 255, 255, .06);
}
.uptime-item strong { font-size: 1.25rem; font-weight: 800; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.uptime-item span { font-size: .68rem; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .7); }
.uptime-item:first-child strong { color: var(--orange, #ff6b00); }
@media (max-width: 420px) {
  .uptime-item strong { font-size: 1.05rem; }
  .uptime-item span { font-size: .6rem; }
}

main section.page[data-page="kompetensi"] .prog-grid,
main section.page .ekskul-prog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
main section.page .ekskul-prog-grid .prog-card {
  min-height: 420px; padding: 26px 20px 24px;
}
main section.page[data-page="kompetensi"] .prog-card {
  min-height: 420px; padding: 26px 20px 24px;
}
main section.page[data-page="kompetensi"] .prog-card h3,
main section.page .ekskul-prog-grid .prog-card h3 { font-size: 1.28rem; }
main section.page[data-page="kompetensi"] .prog-logo,
main section.page .ekskul-prog-grid .prog-logo { width: 62px; height: 62px; font-size: 1.5rem; }
@media (max-width: 1100px) {
  main section.page[data-page="kompetensi"] .prog-grid,
  main section.page .ekskul-prog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 820px) {
  main section.page[data-page="kompetensi"] .prog-grid,
  main section.page .ekskul-prog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  main section.page .ekskul-prog-grid .prog-card { min-height: 340px; padding: 20px 14px; }
  main section.page[data-page="kompetensi"] .prog-card { min-height: 480px; padding: 20px 14px; }
  main section.page[data-page="kompetensi"] .prog-card h3,
  main section.page .ekskul-prog-grid .prog-card h3 { font-size: 1.1rem; }
}
@media (max-width: 520px) {
  main section.page[data-page="kompetensi"] .prog-grid,
  main section.page .ekskul-prog-grid { grid-template-columns: minmax(0, 1fr); }
  main section.page .ekskul-prog-grid .prog-card { min-height: 300px; }
  main section.page[data-page="kompetensi"] .prog-card { min-height: 420px; }
}

main section.page[data-page="guru"] .guru-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
main section.page[data-page="guru"] .prog-card.guru-card { aspect-ratio: 3 / 4.3; }
main section.page[data-page="guru"] .guru-card .guru-info { margin: 0 8px 8px; padding: 15px 8px 10px; }
main section.page[data-page="guru"] .guru-card h3 { font-size: .9rem; }
main section.page[data-page="guru"] .guru-card .guru-jabatan { font-size: .68rem; padding: 2px 9px; }
main section.page[data-page="guru"] .guru-card .guru-mapel { font-size: .72rem; }
main section.page[data-page="guru"] .guru-card .guru-chip { top: 10px; right: 10px; width: 28px; height: 28px; font-size: .78rem; }
@media (max-width: 1100px) { main section.page[data-page="guru"] .guru-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 820px) { main section.page[data-page="guru"] .guru-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  main section.page[data-page="guru"] .guru-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  main section.page[data-page="guru"] .prog-card.guru-card { aspect-ratio: 3 / 4.6; }
}


.main-nav .nav-search {
  --ns-w: min(300px, 42vw);
  transition: width .5s cubic-bezier(.22, 1, .36, 1), background .25s ease, border-color .25s ease, box-shadow .3s ease;
  will-change: width;
}
.main-nav .nav-search.is-open { width: var(--ns-w) !important; }
.main-nav .nav-search .nav-search-btn { transition: color .25s ease, transform .45s cubic-bezier(.22, 1, .36, 1), background .2s ease; }
.main-nav .nav-search .nav-search-btn i { transition: transform .45s cubic-bezier(.22, 1, .36, 1); }
.main-nav .nav-search:hover:not(.is-open) .nav-search-btn i { transform: scale(1.18) rotate(-8deg); }
.main-nav .nav-search.is-open .nav-search-btn i { transform: scale(1.05) rotate(90deg); }
.main-nav .nav-search input {
  transform: translateX(10px);
  transition: opacity .25s ease, transform .4s cubic-bezier(.22, 1, .36, 1), padding .3s ease;
}
.main-nav .nav-search.is-open input { transform: translateX(0); transition-delay: .12s; }
.main-nav .nav-search.is-open { animation: navSearchGlow .7s ease-out 1; }
@keyframes navSearchGlow {
  0%   { box-shadow: 0 0 0 0 rgba(255, 107, 0, .45); }
  100% { box-shadow: 0 0 0 7px rgba(255, 107, 0, 0); }
}
:root[data-theme="dark"] .main-nav .nav-search.is-open { animation-name: navSearchGlowDark; }
@keyframes navSearchGlowDark {
  0%   { box-shadow: 0 0 0 0 rgba(125, 180, 255, .5); }
  100% { box-shadow: 0 0 0 7px rgba(125, 180, 255, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .main-nav .nav-search, .main-nav .nav-search input, .main-nav .nav-search .nav-search-btn i { transition: none !important; animation: none !important; }
}

.aiga-unduh { display:flex; flex-direction:column; gap:8px; width:340px; max-width:100%; white-space:normal; }
.aiga-unduh-thumb { width:100%; max-height:180px; object-fit:cover; border-radius:10px; display:block; }
.aiga-unduh-video { width:100%; max-height:380px; border-radius:10px; background:#000; display:block; }
.aiga-unduh-audio { width:100%; display:block; }
.aiga-unduh-status { font-size:.8rem; line-height:1.4; opacity:.8; }
.aiga-unduh-status[hidden] { display:none; }
.aiga-unduh-galeri { display:grid; grid-template-columns:repeat(3, 1fr); gap:4px; max-height:340px; overflow-y:auto; border-radius:10px; }
.aiga-unduh-foto { display:block; aspect-ratio:1 / 1; overflow:hidden; border-radius:6px; background:rgba(127,127,127,.18); font-size:.7rem; text-align:center; line-height:1.2; padding:2px; }
.aiga-unduh-foto img { width:100%; height:100%; object-fit:cover; display:block; }
.aiga-unduh-foto.is-rusak { display:flex; align-items:center; justify-content:center; }
.aiga-unduh-galeri--satu { grid-template-columns:1fr; max-height:none; overflow:visible; }
.aiga-unduh-foto--besar { aspect-ratio:4 / 3; border-radius:10px; min-height:120px; }
.aiga-unduh-btn--lain { align-self:flex-start; border:0; cursor:pointer; font-family:inherit; }
.aiga-unduh-btn--lain:disabled { opacity:.65; cursor:wait; }
.aiga-unduh-btn[hidden] { display:none; }
.aiga-unduh-judul { font-weight:600; line-height:1.35; word-break:break-word; }
.aiga-unduh-meta { font-size:.78rem; line-height:1.4; opacity:.7; }
.aiga-unduh-grup { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
.aiga-unduh-grup-judul { width:100%; font-size:.76rem; line-height:1.3; opacity:.7; }
.aiga-unduh-btn { display:inline-block; padding:6px 11px; border-radius:999px; background:#c9a13b; color:#0a1f44 !important; font-size:.82rem; font-weight:600; text-decoration:none !important; }
.aiga-unduh-btn:hover { filter:brightness(1.08); }
.aiga-unduh-btn--alt { background:transparent; border:1px solid #c9a13b; color:inherit !important; padding:5px 10px; }
.aiga-unduh-btn.is-busy { opacity:.65; pointer-events:none; }

.cswap-wrap { width:100%; }
.cswap { --cw:460px; --ch:340px; --dx:0px; --dy:56px; --dz:100px; --spread:1;
  position:relative; width:100%; max-width:100%; margin:0 auto; outline:none; }
.cswap.is-hover { --spread:1.12; }
.cswap:focus-visible { box-shadow:0 0 0 2px #c9a13b; border-radius:16px; }
.cswap-stage { position:absolute; left:50%; width:var(--cw); height:var(--ch);
  margin-left:calc(var(--cw) / -2); perspective:900px; transform-style:preserve-3d; }
.cswap-card { position:absolute; inset:0; display:flex; flex-direction:column; overflow:hidden;
  border-radius:18px; color:#fff; background:linear-gradient(180deg,#13315c 0%,#0a1f44 100%);
  border:1px solid rgba(201,161,59,.35);
  box-shadow:0 30px 60px -24px rgba(0,0,0,.65), 0 10px 24px -12px rgba(0,0,0,.45);
  transform:translate3d(calc(var(--q,0) * var(--dx) * var(--spread)),
                        calc(var(--q,0) * var(--dy) * var(--spread) * -1),
                        calc(var(--q,0) * var(--dz) * -1));
  filter:brightness(calc(1 - var(--q,0) * .13));
  transition:transform .6s cubic-bezier(.34,1.4,.64,1), opacity .4s ease, filter .4s ease;
  touch-action:pan-y; user-select:none; -webkit-user-select:none; cursor:pointer;
  will-change:transform; }
.cswap-card.is-front { cursor:grab; }
.cswap-card.is-drag { transition:none; cursor:grabbing; }
.cswap-card.is-out { opacity:0; transition:transform .45s cubic-bezier(.5,0,.75,.4), opacity .45s ease;
  transform:translate3d(var(--ox,0px), var(--oy,0px), 0) rotate(var(--rot,0deg)); }
.cswap-card.is-hidden { opacity:0; pointer-events:none; }

.cswap-card .pcs-media { position:relative; flex:1 1 auto; min-height:0; background:#0a1f44; }
.cswap-card .pcs-media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block;
  -webkit-user-drag:none; pointer-events:none; }
.cswap-card .kategori-badge { position:absolute; left:12px; top:12px; z-index:2; }
.cswap-card .pcs-body { flex:0 0 auto; padding:12px 14px 12px; background:linear-gradient(180deg,#13315c,#0a1f44); }
.cswap-card .pcs-meta { display:flex; gap:12px; margin:0 0 4px; font-size:.75rem; color:rgba(255,255,255,.7); }
.cswap-card .pcs-meta i { margin-right:4px; color:#c9a13b; }
.cswap-card .pcs-judul { margin:0 0 8px; font-size:1.02rem; line-height:1.3; color:#fff;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.cswap-card .news-actions { display:flex; gap:8px; margin:0; padding:0; border:0; background:none; }
.cswap-card .btn-like, .cswap-card .btn-share { background:rgba(255,255,255,.1); color:#fff; border:1px solid rgba(255,255,255,.18);
  border-radius:999px; padding:4px 11px; font-size:.78rem; cursor:pointer; }
.cswap-card .btn-like[aria-pressed="true"] { color:#ff7a8a; border-color:#ff7a8a; }

.cswap-nav { position:absolute; left:0; right:0; bottom:0; display:flex; align-items:center; justify-content:center; gap:14px; }
.cswap-btn { width:36px; height:36px; border-radius:50%; border:1px solid #c9a13b; background:transparent; color:#c9a13b;
  cursor:pointer; display:inline-flex; align-items:center; justify-content:center; transition:background .2s,color .2s; }
.cswap-btn:hover, .cswap-btn:focus-visible { background:#c9a13b; color:#0a1f44; outline:none; }
.cswap-counter { min-width:52px; text-align:center; font-size:.85rem; font-weight:600; letter-spacing:.04em; color:#0a1f44; }

@media (max-width:559px) {
  .cswap-card { border-radius:14px; }
  .cswap-card .pcs-body { padding:10px 12px; }
  .cswap-card .pcs-judul { font-size:.92rem; }
  .cswap-card .pcs-meta { font-size:.7rem; }
  .cswap-card .kategori-badge { left:8px; top:8px; font-size:.7rem; }
  .cswap-btn { width:42px; height:42px; }
}
@media (prefers-reduced-motion:reduce) {
  .cswap-card, .cswap-card.is-out { transition:none; }
}

.ccar { --ccar-cw:520px; --ccar-ch:420px; position:relative; width:100%; outline:none; }
.ccar:focus-visible { box-shadow:0 0 0 2px #c9a13b; border-radius:16px; }
.ccar-viewport { position:relative; overflow:hidden; touch-action:pan-y; cursor:grab;
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 7%,#000 93%,transparent 100%);
          mask-image:linear-gradient(to right,transparent 0,#000 7%,#000 93%,transparent 100%); }
.ccar-viewport[data-dragging="true"] { cursor:grabbing; }
.ccar-stage { position:absolute; inset:0; }
.ccar-card { position:absolute; top:18px; left:50%; width:var(--ccar-cw); height:var(--ccar-ch);
  margin-left:calc(var(--ccar-cw) / -2); display:flex; flex-direction:column; overflow:hidden;
  border-radius:16px; color:#fff; background:linear-gradient(180deg,#13315c 0%,#0a1f44 100%);
  border:1px solid rgba(201,161,59,.35);
  box-shadow:0 22px 44px -22px rgba(0,0,0,.6), 0 6px 16px -8px rgba(0,0,0,.4);
  user-select:none; -webkit-user-select:none; will-change:transform,opacity; }
.ccar-card:not(.is-active) { cursor:pointer; }

.ccar-card .bc-media { position:relative; flex:1 1 auto; min-height:0; background:#0a1f44; }
.ccar-card .bc-media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block;
  -webkit-user-drag:none; pointer-events:none; }
.ccar-card .kategori-badge { position:absolute; left:12px; top:12px; z-index:2; }
.ccar-card .bc-body { flex:0 0 auto; padding:14px 16px 14px; background:linear-gradient(180deg,#13315c,#0a1f44); }
.ccar-card .bc-meta { display:flex; flex-wrap:wrap; gap:6px 14px; margin:0 0 6px; font-size:.76rem; color:rgba(255,255,255,.7); }
.ccar-card .bc-meta i { margin-right:4px; color:#c9a13b; }
.ccar-card .bc-judul { margin:0 0 6px; font-size:1.1rem; line-height:1.3;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ccar-card .bc-judul a { color:#fff; text-decoration:none; }
.ccar-card .bc-judul a:hover { color:#c9a13b; }
.ccar-card .bc-excerpt { margin:0 0 10px; font-size:.86rem; line-height:1.45; color:rgba(255,255,255,.78);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ccar-card .news-actions { display:flex; gap:8px; margin:0; padding:0; border:0; background:none; }
.ccar-card .btn-like, .ccar-card .btn-share { background:rgba(255,255,255,.1); color:#fff; border:1px solid rgba(255,255,255,.18);
  border-radius:999px; padding:4px 11px; font-size:.78rem; cursor:pointer; }
.ccar-card .btn-like.liked, .ccar-card .btn-like[aria-pressed="true"] { color:#ff7a8a; border-color:#ff7a8a; }

.ccar-bar { display:flex; align-items:center; justify-content:center; gap:16px; margin-top:6px; }
.ccar-dots { display:flex; align-items:center; gap:8px; }
.ccar-dot { width:8px; height:8px; padding:0; border:0; border-radius:999px; background:rgba(10,31,68,.25);
  cursor:pointer; transition:width .3s ease, background .3s ease; }
.ccar-dot.is-on { width:24px; background:#c9a13b; }
.ccar-arrow { width:36px; height:36px; border-radius:50%; border:1px solid #c9a13b; background:transparent; color:#c9a13b;
  cursor:pointer; display:inline-flex; align-items:center; justify-content:center; transition:background .2s,color .2s,opacity .2s; }
.ccar-arrow:hover:not(:disabled), .ccar-arrow:focus-visible { background:#c9a13b; color:#0a1f44; outline:none; }
.ccar-arrow:disabled { opacity:.35; cursor:default; }
.ccar--no-arrows .ccar-arrow { display:none; }

@media (max-width:559px) {
  .ccar-viewport { -webkit-mask-image:none; mask-image:none; }
  .ccar-card { border-radius:14px; }
  .ccar-card .bc-body { padding:11px 13px; }
  .ccar-card .bc-judul { font-size:.98rem; margin-bottom:8px; }
  .ccar-card .bc-excerpt { display:none; }
  .ccar-card .bc-meta { font-size:.7rem; }
  .ccar-card .kategori-badge { left:8px; top:8px; font-size:.7rem; }
  .ccar-dot { width:10px; height:10px; }
  .ccar-dot.is-on { width:28px; }
}



.uploader-chip {
  display: inline-flex; align-items: center; gap: 8px;
  max-width: 100%; min-width: 0;
  padding: 4px 13px 4px 4px; border-radius: 999px;
  font-family: var(--font-body); font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: .01em;
  border: 1px solid transparent; vertical-align: middle;
}
.uploader-chip img {
  width: 22px; height: 22px; flex: none; border-radius: 50%;
  object-fit: contain; background: #fff; padding: 2px;
  box-shadow: 0 0 0 1px rgba(11, 37, 69, .14);
}
.uploader-nama { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uploader-jurnalistik   { background: rgba(255, 107, 0, .12); color: #b84a00; border-color: rgba(255, 107, 0, .30); }
.uploader-admin_sekolah { background: rgba(30, 95, 204, .10); color: #1e5fcc; border-color: rgba(30, 95, 204, .28); }
:root[data-theme="dark"] .uploader-jurnalistik   { background: rgba(255, 138, 43, .16); color: #ffb272; border-color: rgba(255, 138, 43, .38); }
:root[data-theme="dark"] .uploader-admin_sekolah { background: rgba(110, 168, 236, .16); color: #9cc6ff; border-color: rgba(110, 168, 236, .38); }
.uploader-chip--sm { gap: 6px; padding: 3px 10px 3px 3px; font-size: 11px; }
.uploader-chip--sm img { width: 18px; height: 18px; padding: 1.5px; }
.uploader-chip--lg { gap: 10px; padding: 5px 16px 5px 5px; font-size: 13.5px; }
.uploader-chip--lg img { width: 30px; height: 30px; padding: 3px; }
.ccar-card .uploader-chip, .cswap-card .uploader-chip {
  background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .26);
}
.byline { display: flex; min-width: 0; margin: 0; }
.detail-byline { display: flex; flex-wrap: wrap; min-width: 0; margin: 0 0 14px; }

.kategori-badge { padding: 6px 14px; line-height: 1.2; }
.news-card .kategori-badge, .sosmed-platform-badge { top: 14px; left: 14px; }
.kategori-badge-detail { margin: 0 0 14px; }

.news-card { border-radius: 20px; }
.news-card .body {
  display: flex; flex-direction: column; align-items: stretch; gap: 12px;
  padding: 20px 22px 18px;
}
.news-card .meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  margin: 0; font-size: 12.5px; line-height: 1.4;
}
.news-card .meta span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.news-card .meta i { margin: 0; }
.news-card h5 { margin: 0; font-size: 16.5px; line-height: 1.42; overflow-wrap: anywhere; }
.news-card .excerpt {
  margin: 0; font-size: 13.5px; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card .footer { padding: 14px 22px 16px; gap: 10px; }
.news-card .footer .news-actions { margin: 0; }
.btn-like, .btn-share { padding: 7px 15px; line-height: 1.2; }

.ccar-card .bc-meta, .cswap-card .pcs-meta { align-items: center; gap: 8px 12px; }
.ccar-card .bc-meta span, .cswap-card .pcs-meta span { display: inline-flex; align-items: center; }

.sosmed-card { border-radius: 20px; }
.sosmed-body { padding: 18px 20px 16px; gap: 12px; }
.sosmed-judul { line-height: 1.45; overflow-wrap: anywhere; }
.sosmed-meta { padding-top: 12px; gap: 10px; }
.sosmed-meta span { gap: 7px; }
.sosmed-like-btn { padding: 6px 13px; line-height: 1.2; }
.sosmed-platform-badge { padding: 6px 13px; line-height: 1.2; }
.sosmed-thumb-wrap img[src$="assets/logo.png"] {
  object-fit: contain; padding: 14%;
  background: linear-gradient(155deg, #12356a, #0b2545);
}
.sosmed-modal-box { overflow-x: hidden; }
.sosmed-modal-body { padding: 22px clamp(20px, 4vw, 30px) 28px; }
.sosmed-modal-body h3 { line-height: 1.4; margin: 0 0 10px; overflow-wrap: anywhere; }
.sosmed-modal-desc { line-height: 1.7; margin: 0 0 16px; }
.sosmed-modal-desc:empty { display: none; }

#beritaDetailView.container.narrow,
#pamfletDetailView.container.narrow {
  box-sizing: border-box;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: clamp(20px, 3.6vw, 40px) !important;
}
#beritaDetailView .back-link, #pamfletDetailView .back-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; margin: 0 0 20px; border-radius: 999px;
  background: var(--surface-alt); border: 1px solid var(--card-border);
  font-size: 13.5px; line-height: 1.3;
}
#beritaDetailView .detail-title, #pamfletDetailView .detail-title {
  margin: 0 0 14px; font-size: clamp(22px, 3.6vw, 32px); line-height: 1.3; overflow-wrap: anywhere;
}
#beritaDetailView .meta, #pamfletDetailView .meta {
  display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 22px;
}
#beritaDetailView .meta span, #pamfletDetailView .meta span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 999px;
  background: var(--surface-alt); border: 1px solid var(--card-border);
  font-size: 12.5px; line-height: 1.3; color: var(--text-muted);
}
#beritaDetailView .detail-image { display: block; border-radius: 18px; margin: 0 0 26px; }
#beritaDetailView .detail-content { padding: 0 2px; }

.pamflet-detail { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.pamflet-detail-head { display: flex; flex-direction: column; align-items: flex-start; gap: 0; min-width: 0; }
.pamflet-detail-head .kategori-badge-detail { margin: 0 0 14px; }
.pamflet-detail-head .detail-title { margin: 0 0 14px; }
.pamflet-detail-head .meta { margin: 0; }
.pamflet-poster {
  position: relative; margin: 0; overflow: hidden;
  padding: clamp(12px, 2.4vw, 22px);
  border-radius: 22px;
  background: radial-gradient(520px 320px at 15% 0%, rgba(74, 144, 226, .35), transparent 70%), linear-gradient(160deg, #12356a, #071c3a);
  box-shadow: var(--shadow);
}
.pamflet-poster .detail-image {
  display: block; width: auto; max-width: 100%; max-height: 80vh; height: auto; margin: 0 auto;
  border-radius: 14px; box-shadow: 0 18px 44px -14px rgba(0, 0, 0, .6);
}
.pamflet-poster-buka {
  position: absolute; right: clamp(18px, 3vw, 30px); bottom: clamp(18px, 3vw, 30px);
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.2;
  color: #fff; text-decoration: none;
  background: rgba(7, 28, 58, .72); border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .2s, transform .2s;
}
.pamflet-poster-buka:hover { background: rgba(7, 28, 58, .92); transform: translateY(-2px); }
.pamflet-caption-card {
  padding: 20px clamp(18px, 3vw, 26px) 22px;
  border-radius: 18px; background: var(--surface-alt);
  border: 1px solid var(--card-border); border-left: 4px solid var(--gold);
}
.pamflet-caption-judul {
  display: flex; align-items: center; gap: 9px; margin: 0 0 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--text-muted);
}
.pamflet-caption-judul i { color: var(--gold-deep); }
.pamflet-caption-card .detail-content { padding: 0; font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; }
.pamflet-detail .news-actions-detail { margin: 0; padding-top: 20px; flex-wrap: wrap; }


.nf { padding: clamp(36px, 7vw, 88px) 0 clamp(36px, 6vw, 72px); }
.nf .nf-wrap {
  box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  width: calc(100% - 2 * clamp(14px, 3vw, 40px)); max-width: 1040px; margin: 0 auto;
  padding: 0 !important; overflow: hidden; border-radius: 32px;
  background: var(--surface); border: 1px solid var(--card-border); box-shadow: var(--shadow-lg);
}
.nf-visual {
  position: relative; isolation: isolate; overflow: hidden; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  padding: clamp(40px, 6vw, 68px) clamp(22px, 3.5vw, 40px);
  color: #fff; text-align: center;
  background:
    radial-gradient(420px 300px at 20% 0%, rgba(74, 144, 226, .45), transparent 70%),
    radial-gradient(360px 280px at 100% 100%, rgba(255, 107, 0, .35), transparent 70%),
    linear-gradient(155deg, #12356a 0%, #0b2545 55%, #071c3a 100%);
}
.nf-ring {
  position: absolute; z-index: -1; left: 50%; top: 50%; width: 150%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .16);
  box-shadow: inset 0 0 0 60px rgba(255, 255, 255, .015), 0 0 0 60px rgba(255, 255, 255, .015);
}
.nf-dot { position: absolute; z-index: -1; border-radius: 50%; animation: nfDrift 7s ease-in-out infinite; }
.nf-d1 { width: 12px; height: 12px; background: #d4a94c; top: 14%; left: 14%; }
.nf-d2 { width: 8px; height: 8px; background: #ff6b00; top: 22%; right: 16%; animation-delay: -2s; }
.nf-d3 { width: 10px; height: 10px; border: 2px solid #f0ddb0; bottom: 14%; left: 12%; animation-delay: -4s; }
.nf-digits { --s: clamp(80px, 11vw, 124px); display: flex; align-items: center; justify-content: center; gap: clamp(4px, 1vw, 10px); line-height: 1; }
.nf-digit {
  font-family: var(--font-display); font-size: var(--s); font-weight: 800; line-height: 1; letter-spacing: -.04em; padding: 0 .02em;
  background: linear-gradient(180deg, #fff 25%, #f0ddb0 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35));
}
.nf-zero {
  position: relative; isolation: isolate; flex: none; display: grid; place-items: center;
  width: calc(var(--s) * .92); height: calc(var(--s) * .92);
  border-radius: 50%; background: radial-gradient(circle at 35% 28%, #fff 0%, #f4f7fd 100%);
  box-shadow: 0 0 0 5px rgba(212, 169, 76, .9), 0 0 0 11px rgba(212, 169, 76, .22), 0 14px 34px rgba(0, 0, 0, .45);
  animation: nfFloat 5s ease-in-out infinite;
}
.nf-zero::before {
  content: ""; position: absolute; inset: -9px; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, transparent 0 60%, rgba(240, 221, 176, .95) 80%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: nfSpin 3.2s linear infinite;
}
.nf-zero::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: -1;
  box-shadow: 0 0 0 0 rgba(212, 169, 76, .55); animation: nfPulse 2.6s ease-out infinite;
}
.nf-logo-wrap { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; display: grid; place-items: center; }
.nf-logo-wrap::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 38%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent);
  transform: skewX(-18deg); animation: nfShine 4.5s ease-in-out infinite;
}
.nf-zero img { width: 86%; height: 86%; object-fit: contain; display: block; animation: nfLogoTurn 6s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes nfSpin { to { transform: rotate(360deg); } }
@keyframes nfPulse { 0% { box-shadow: 0 0 0 0 rgba(212, 169, 76, .55); } 70%, 100% { box-shadow: 0 0 0 24px rgba(212, 169, 76, 0); } }
@keyframes nfShine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
@keyframes nfLogoTurn { 0%, 55% { transform: rotateY(0); } 80%, 100% { transform: rotateY(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .nf-zero, .nf-zero::before, .nf-zero::after, .nf-logo-wrap::after, .nf-zero img { animation: none; }
}
.nf-school { display: flex; flex-direction: column; gap: 3px; margin: 0; }
.nf-school b { font-size: 14px; font-weight: 700; letter-spacing: .05em; color: #fff; }
.nf-school small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .74); }
.nf-body {
  min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  padding: clamp(28px, 5vw, 54px) clamp(22px, 4vw, 50px);
}
.nf-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px;
  background: rgba(255, 107, 0, .12); color: #c2540a;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2;
}
.nf-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff6b00; }
:root[data-theme="dark"] .nf-eyebrow { color: #ffa566; background: rgba(255, 107, 0, .18); }
.nf .nf-body h1 { margin: 0; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; font-weight: 700; color: var(--ink); }
.nf .nf-body .nf-lead { margin: 0; max-width: 46ch; color: var(--ink-muted); font-size: 15px; line-height: 1.75; }
.nf-path {
  display: flex; align-items: flex-start; gap: 11px; box-sizing: border-box; width: 100%; min-width: 0;
  padding: 13px 16px; border-radius: 14px; background: var(--surface-alt); border: 1px dashed var(--card-border);
}
.nf-path i { flex: none; margin-top: 2px; color: #ff6b00; }
.nf-path code {
  min-width: 0; font: 12.5px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink-muted);
  overflow-wrap: anywhere; word-break: break-all;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nf-actions { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; }
.nf-btn {
  flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 14px; border: 0; cursor: pointer;
  font: 600 14px/1.2 var(--font-body); text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.nf-btn:hover { transform: translateY(-2px); }
.nf-btn-main { background: linear-gradient(135deg, #ff8a2b, #e65f00); color: #fff; box-shadow: 0 10px 24px -6px rgba(255, 107, 0, .6); }
.nf-btn-main:hover { box-shadow: 0 14px 28px -6px rgba(255, 107, 0, .7); }
.nf-btn-ghost { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--card-border); }
.nf-btn-ghost:hover { background: var(--surface-alt); box-shadow: inset 0 0 0 1.5px var(--primary); }
.nf-quick { width: 100%; margin-top: 4px; padding-top: 24px; border-top: 1px solid var(--card-border); }
.nf-quick h2 { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.nf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nf-grid a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  min-height: 84px; padding: 14px 10px; border-radius: 16px; text-decoration: none;
  background: var(--surface-alt); border: 1px solid var(--card-border); color: var(--ink);
  font-size: 13px; font-weight: 500; line-height: 1.25;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.nf-grid a i { font-size: 20px; color: var(--primary); }
.nf-grid a:hover { transform: translateY(-2px); border-color: var(--primary-light); background: var(--sky); }
@keyframes nfFloat { 50% { transform: translateY(-9px); } }
@keyframes nfDrift { 50% { transform: translate(6px, -10px); } }
@media (max-width: 820px) {
  .nf .nf-wrap { grid-template-columns: minmax(0, 1fr); max-width: 560px; border-radius: 28px; }
  .nf-visual { gap: 20px; padding: 36px 24px 32px; }
  .nf-body { padding: 30px 22px 34px; gap: 16px; }
  .nf-d3 { display: none; }
}
@media (max-width: 480px) { .nf-btn { flex: 1 1 100%; } .nf-grid { gap: 8px; } .nf-grid a { min-height: 78px; font-size: 12.5px; } }
@media (max-width: 340px) { .nf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .nf-zero, .nf-dot { animation: none; } .nf-btn, .nf-grid a { transition: none; } }

@media (max-width: 640px) {
  .news-card .body { padding: 18px 18px 16px; }
  .news-card .footer { padding: 12px 18px 14px; }
  .sosmed-body { padding: 16px 18px 14px; }
  #beritaDetailView.container.narrow, #pamfletDetailView.container.narrow { border-radius: 22px; }
  
  
  .pamflet-poster { border-radius: 18px; }
  .pamflet-poster-buka { position: static; margin: 12px auto 0; width: fit-content; }
}

main section.page:not([data-page="beranda"]) .container.nf-wrap { padding: 0 !important; }
main section.page:not([data-page="beranda"]) .nf-quick h2,
main section.page:not([data-page="beranda"]) .pamflet-detail h2.pamflet-caption-judul {
  width: auto; max-width: none; padding: 0; border: 0;
  font-family: var(--font-body); font-size: 12px; font-weight: 700; line-height: 1.4;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted);
}
main section.page:not([data-page="beranda"]) .nf-quick h2 { margin: 0 0 14px; }
main section.page:not([data-page="beranda"]) .pamflet-detail h2.pamflet-caption-judul { margin: 0 0 12px; }
.nf-quick h2::after, .pamflet-caption-judul::after { content: none !important; display: none !important; }

.pamflet-detail-head::before, .pamflet-detail-head::after { content: none !important; display: none !important; }

#beritaDetailView.container.narrow,
#pamfletDetailView.container.narrow {
  width: calc(100% - 2 * clamp(14px, 3vw, 40px));
  max-width: 880px;
  margin-left: auto; margin-right: auto;
  margin-bottom: clamp(28px, 5vw, 56px);
  padding: clamp(22px, 4vw, 44px) !important;
}
#beritaDetailView > *, #pamfletDetailView > * { min-width: 0; max-width: 100%; }

#beritaDetailView .back-link, #pamfletDetailView .back-link { margin: 0 0 24px; padding: 9px 18px; }
#beritaDetailView .kategori-badge-detail, #pamfletDetailView .kategori-badge-detail {
  display: inline-flex; align-items: center; gap: 8px;
  position: static; margin: 0 0 16px; padding: 7px 16px;
}
#beritaDetailView .detail-title, #pamfletDetailView .detail-title { margin: 0 0 18px; line-height: 1.35; }
#beritaDetailView .detail-byline, #pamfletDetailView .detail-byline { margin: 0 0 16px; }
#beritaDetailView .meta, #pamfletDetailView .meta { gap: 10px; margin: 0 0 24px; }
#pamfletDetailView .pamflet-detail-head .meta { margin: 0; }
#beritaDetailView .meta span, #pamfletDetailView .meta span { padding: 7px 14px; gap: 8px; }

#beritaDetailView .news-actions, #pamfletDetailView .news-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
}
#beritaDetailView .news-actions-top { margin: 0 0 26px; padding: 0 0 22px; border-bottom: 1px solid var(--card-border); }
#beritaDetailView .news-actions-detail, #pamfletDetailView .news-actions-detail {
  margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--card-border);
}
#pamfletDetailView .pamflet-detail .news-actions-detail { margin: 0; }
#beritaDetailView .btn-like, #beritaDetailView .btn-share,
#pamfletDetailView .btn-like, #pamfletDetailView .btn-share {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 9px 20px; line-height: 1.2;
}

#beritaDetailView .detail-image { width: 100%; height: auto; margin: 0 0 28px; }
#beritaDetailView .detail-content { padding: 0; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
#beritaDetailView .detail-content > *:first-child { margin-top: 0; }
#beritaDetailView .detail-content p { margin: 0 0 1.1em; }
#beritaDetailView .detail-content h2, #beritaDetailView .detail-content h3, #beritaDetailView .detail-content h4 {
  margin: 1.6em 0 .6em; line-height: 1.35;
}
#beritaDetailView .detail-content ul, #beritaDetailView .detail-content ol { margin: 0 0 1.1em; padding-left: 1.5em; }
#beritaDetailView .detail-content li { margin: 0 0 .4em; padding-left: .25em; }
#beritaDetailView .detail-content img, #beritaDetailView .detail-content video, #beritaDetailView .detail-content iframe {
  max-width: 100%; height: auto; border-radius: 14px;
}
#beritaDetailView .detail-content blockquote { margin: 1.2em 0; padding: 14px 20px; border-radius: 14px; }
#beritaDetailView .detail-content table { display: block; max-width: 100%; overflow-x: auto; }

#pamfletDetailView .pamflet-detail { gap: 26px; }
#pamfletDetailView .pamflet-poster { padding: clamp(14px, 3vw, 26px); }
#pamfletDetailView .pamflet-poster-buka { right: clamp(22px, 4vw, 38px); bottom: clamp(22px, 4vw, 38px); padding: 9px 16px; gap: 8px; }
#pamfletDetailView .pamflet-caption-card {
  padding: 22px clamp(20px, 3.4vw, 30px) 24px;
  border-left: 1px solid var(--card-border);
  box-shadow: inset 5px 0 0 var(--gold);
}
#pamfletDetailView .pamflet-caption-card h2.pamflet-caption-judul { gap: 10px; margin: 0 0 14px; }
#pamfletDetailView .pamflet-caption-card .detail-content { font-size: 15.5px; line-height: 1.85; }
#pamfletDetailView .pamflet-detail .news-actions-detail { padding: 22px 0 0; }

@media (max-width: 640px) {
  #beritaDetailView.container.narrow, #pamfletDetailView.container.narrow {
    width: calc(100% - 24px); padding: 20px 18px 24px !important; border-radius: 22px;
  }
  #beritaDetailView .back-link, #pamfletDetailView .back-link { margin-bottom: 20px; }
  #beritaDetailView .detail-title, #pamfletDetailView .detail-title { font-size: 22px; margin-bottom: 16px; }
  #beritaDetailView .detail-image { border-radius: 16px; margin-bottom: 22px; }
  #beritaDetailView .detail-content { font-size: 15.5px; line-height: 1.8; }
  #pamfletDetailView .pamflet-detail { gap: 22px; }
  #pamfletDetailView .pamflet-poster { padding: 12px 12px 14px; }
  #pamfletDetailView .pamflet-poster-buka { position: static; margin: 12px auto 0; }
  #pamfletDetailView .pamflet-caption-card { padding: 18px 18px 20px; }
  #beritaDetailView .btn-like, #beritaDetailView .btn-share,
  #pamfletDetailView .btn-like, #pamfletDetailView .btn-share { flex: 1 1 calc(50% - 6px); padding: 9px 14px; }
}

#beritaDetailView .back-link, #pamfletDetailView .back-link { display: flex; width: fit-content; max-width: 100%; }
#beritaDetailView .kategori-badge-detail, #pamfletDetailView .kategori-badge-detail { display: flex; width: fit-content; max-width: 100%; }

#pamfletDetailView .pamflet-detail-head {
  position: static; background: transparent !important; border: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; margin: 0; height: auto;
}





main section.page .ekskul-prog-grid .prog-card.ekskul-jp {
  position: relative; justify-content: flex-end; align-items: center; text-align: center;
  padding-top: 176px;
  color: #fff;
  background: linear-gradient(165deg, #12060d 0%, #3b0b1c 48%, #8f1230 100%);
  box-shadow: 0 18px 44px -24px rgba(143, 18, 48, .8), 0 2px 0 rgba(255, 255, 255, .06) inset;
  isolation: isolate; overflow: hidden;
}
.ekskul-jp::before { content: none !important; }
.ekskul-jp::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit; padding: 2px;
  background: linear-gradient(110deg, rgba(240, 221, 176, .15) 0%, #f0ddb0 18%, #d4a94c 34%, rgba(240, 221, 176, .15) 52%, rgba(240, 221, 176, .15) 100%);
  background-size: 260% 100%;
  animation: jpBorder 7s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.ekskul-jp:hover { box-shadow: 0 28px 60px -24px rgba(230, 0, 51, .7), 0 2px 0 rgba(255, 255, 255, .06) inset; }
.ekskul-jp:focus-visible { outline: 3px solid #f0ddb0; outline-offset: 4px; }

.jp-sun, .jp-kanji {
  position: absolute; z-index: -1; top: 28px; right: 50%;
  width: clamp(112px, 46%, 140px); aspect-ratio: 1; transform: translateX(50%);
  animation: jpSunHp 6s ease-in-out infinite;
}
.jp-sun {
  border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #ff3c5f 0%, #e60033 48%, #b3122e 100%);
  box-shadow: 0 0 0 10px rgba(230, 0, 51, .16), 0 0 70px 8px rgba(230, 0, 51, .45);
}
.jp-kanji {
  display: grid; place-items: center;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-weight: 800; font-size: 2rem; line-height: 1; letter-spacing: .05em; white-space: nowrap;
  color: #fff; text-shadow: 0 4px 18px rgba(120, 0, 25, .75); user-select: none;
}
.jp-wave {
  position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 40%;
  background-image:
    radial-gradient(circle at 50% 100%, transparent 0 28%, rgba(255, 255, 255, .09) 29% 33%, transparent 34% 48%, rgba(255, 255, 255, .09) 49% 53%, transparent 54% 68%, rgba(255, 255, 255, .09) 69% 73%, transparent 74%);
  background-size: 56px 28px; background-position: 0 100%;
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
  mask-image: linear-gradient(to top, #000, transparent);
}
.jp-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 25%), rgba(255, 255, 255, .16), transparent 62%);
}
.ekskul-jp:hover .jp-glow { opacity: 1; }

.jp-petals { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.jp-petal {
  position: absolute; top: -12%; left: var(--x); width: var(--s); height: calc(var(--s) * .72);
  border-radius: 150% 0 150% 0;
  background: linear-gradient(135deg, #ffd9e4 0%, #ff9fb8 100%);
  opacity: 0; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25));
  animation: jpPetal var(--d) linear var(--w) infinite;
}

.jp-body { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.jp-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  color: #f0ddb0; background: rgba(240, 221, 176, .12); border: 1px solid rgba(240, 221, 176, .4);
}
.jp-eyebrow i { font-size: .72rem; }
.ekskul-jp h3 {
  margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px;
  color: #fff; text-shadow: 0 4px 20px rgba(0, 0, 0, .5);
}
.jp-badge {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-shadow: none;
  color: #3b0b1c;
  background: linear-gradient(110deg, #d4a94c 0%, #fff3cf 40%, #d4a94c 70%);
  background-size: 220% 100%; animation: jpShine 3.6s linear infinite;
}
.ekskul-jp .prog-pembina { margin: 0; }

.jp-pengurus {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(240, 221, 176, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.jp-avatar {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display, inherit); font-weight: 800; font-size: 1rem; letter-spacing: .02em; color: #3b0b1c;
  background: linear-gradient(135deg, #fff3cf 0%, #d4a94c 100%);
  box-shadow: 0 0 0 3px rgba(240, 221, 176, .35), 0 8px 18px -8px rgba(0, 0, 0, .6);
}
.jp-pengurus-teks { display: flex; flex-direction: column; gap: 1px; min-width: 0; text-align: left; line-height: 1.25; }
.jp-pengurus-teks small { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #f0ddb0; }
.jp-pengurus-teks strong { font-size: .98rem; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.jp-pengurus-teks em { font-style: normal; font-size: .8rem; font-weight: 600; color: #ffc9d5; }
.jp-pengurus-teks em i { font-size: .72rem; margin-right: 3px; }

@keyframes jpBorder { to { background-position: -260% 0; } }
@keyframes jpShine { to { background-position: -220% 0; } }
@keyframes jpSunHp { 0%, 100% { transform: translateX(50%) scale(1); } 50% { transform: translateX(50%) scale(1.05); } }
@keyframes jpPetal {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) rotate(0deg); }
  10%  { opacity: .95; }
  85%  { opacity: .85; }
  100% { opacity: 0; transform: translate3d(calc(var(--r) * 50px), 460px, 0) rotate(calc(var(--r) * 420deg)); }
}
@media (max-width: 820px) {
  main section.page .ekskul-prog-grid .prog-card.ekskul-jp { padding-top: 160px; }
  .jp-sun, .jp-kanji { top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ekskul-jp::after, .jp-sun, .jp-kanji, .jp-badge, .jp-petal { animation: none !important; }
  .jp-petals { display: none; }
}

.ekskul-modal-box--jp { border-color: rgba(212, 169, 76, .7); box-shadow: 0 30px 80px -30px rgba(143, 18, 48, .8); }
.ekskul-modal-box--jp .ekskul-close { color: #fff; background: rgba(0, 0, 0, .3); }
.jp-modal-hero {
  position: relative; overflow: hidden; height: 128px; margin: -24px -22px 18px;
  display: grid; place-items: center;
  background: linear-gradient(120deg, #12060d 0%, #3b0b1c 50%, #8f1230 100%);
}
.jp-modal-hero::before {
  content: ""; position: absolute; right: 8%; top: 50%; width: 120px; aspect-ratio: 1; border-radius: 50%; transform: translateY(-50%);
  background: radial-gradient(circle at 36% 32%, #ff3c5f, #e60033 55%, #b3122e); box-shadow: 0 0 60px 6px rgba(230, 0, 51, .5);
}
.jp-modal-kanji {
  position: relative; z-index: 1;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 800; font-size: 3.2rem; letter-spacing: .12em; color: #fff; text-shadow: 0 6px 24px rgba(0, 0, 0, .55);
}
.jp-modal-hero .jp-petal { animation-name: jpPetalModal; }
@keyframes jpPetalModal {
  0%   { opacity: 0; transform: translate3d(0, 0, 0) rotate(0deg); }
  15%  { opacity: .95; }
  100% { opacity: 0; transform: translate3d(calc(var(--r) * 40px), 150px, 0) rotate(calc(var(--r) * 360deg)); }
}
.ekskul-modal-body .jp-pengurus { margin: 6px 0 4px; background: linear-gradient(120deg, #3b0b1c, #8f1230); }
@media (prefers-reduced-motion: reduce) { .jp-modal-hero .jp-petal { animation: none !important; } }


.visitor-chart {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.vc-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.vc-title { font-weight: 700; font-size: .95rem; color: #fff; }
.vc-title i { margin-right: 6px; color: var(--orange, #ff6b00); }
.vc-online {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px;
  font-size: .8rem; color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .06);
}
.vc-online strong { color: #fff; font-variant-numeric: tabular-nums; }
.vc-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: vcPing 1.8s ease-out infinite; }
@keyframes vcPing { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .65); } 80%, 100% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } }

.vc-tabs { display: flex; gap: 4px; width: fit-content; max-width: 100%; margin-top: 10px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .06); }
.vc-tab {
  border: 0; background: transparent; cursor: pointer;
  padding: 8px 14px; border-radius: 999px; font: 600 .8rem/1 inherit; font-family: inherit;
  color: rgba(255, 255, 255, .75); transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.vc-tab:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.vc-tab.is-active { background: var(--orange, #ff6b00); color: #fff; box-shadow: 0 6px 14px -6px rgba(255, 107, 0, .8); }
.vc-tab:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.vc-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.vc-sum-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0;
  padding: 10px 4px; border-radius: 10px; text-align: center; background: rgba(255, 255, 255, .06);
}
.vc-sum-item span { font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .7); white-space: nowrap; }
.vc-sum-item strong { font-size: 1.05rem; font-weight: 800; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }

.vc-plot { position: relative; margin-top: 10px; min-height: 190px; }
.vc-skeleton {
  height: 190px; border-radius: 10px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .13), rgba(255, 255, 255, .05));
  background-size: 200% 100%; animation: vcShimmer 1.4s linear infinite;
}
@keyframes vcShimmer { to { background-position: -200% 0; } }
.visitor-chart[data-state="error"] .vc-plot { min-height: 0; }
.vc-svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; outline: none; -webkit-tap-highlight-color: transparent; }
.vc-svg:focus-visible { outline: 2px solid rgba(255, 255, 255, .75); outline-offset: 4px; border-radius: 8px; }
.vc-grid { stroke: rgba(255, 255, 255, .1); stroke-width: 1; stroke-dasharray: 3 4; }
.vc-grid--dasar { stroke: rgba(255, 255, 255, .24); stroke-dasharray: none; }
.vc-ylabel, .vc-xlabel { fill: rgba(255, 255, 255, .68); font-size: 12px; font-family: inherit; font-variant-numeric: tabular-nums; }
.vc-line { filter: drop-shadow(0 4px 8px rgba(255, 107, 0, .45)); }
.vc-pt { fill: #ff8a3d; stroke: none; }
.vc-live { fill: #ff6b00; stroke: #fff; stroke-width: 2; }
.vc-live-ring { fill: rgba(255, 107, 0, .38); transform-box: fill-box; transform-origin: center; animation: vcPulse 2s ease-out infinite; }
@keyframes vcPulse { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.vc-guide { stroke: rgba(255, 255, 255, .38); stroke-width: 1; stroke-dasharray: 3 3; }
.vc-hover { fill: #fff; stroke: #ff6b00; stroke-width: 3; pointer-events: none; }

.vc-svg.is-prep .vc-area, .vc-svg.is-prep .vc-pt, .vc-svg.is-prep .vc-live, .vc-svg.is-prep .vc-live-ring { opacity: 0; }
.vc-svg.is-prep.is-draw .vc-line { transition: stroke-dashoffset 1.1s cubic-bezier(.4, .1, .2, 1); }
.vc-svg.is-prep.is-draw .vc-area { opacity: 1; transition: opacity .9s ease .35s; }
.vc-svg.is-prep.is-draw .vc-pt, .vc-svg.is-prep.is-draw .vc-live, .vc-svg.is-prep.is-draw .vc-live-ring { opacity: 1; transition: opacity .5s ease .9s; }

.vc-tip {
  position: absolute; z-index: 3; left: 0; top: 0; display: flex; flex-direction: column; gap: 2px;
  padding: 7px 11px; border-radius: 10px; white-space: nowrap; pointer-events: none;
  font-size: .8rem; color: #fff; background: #1f2338; border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .7);
  transform: translate(-50%, -100%); opacity: 0; transition: opacity .15s ease;
}
.vc-tip.is-below { transform: translate(-50%, 0); }
.vc-tip.is-on { opacity: 1; }
.vc-tip b { font-weight: 700; }
.vc-tip span { color: #ff9a4d; font-weight: 700; }
.vc-note { margin: 8px 0 0; font-size: .8rem; text-align: center; color: rgba(255, 255, 255, .72); }

@media (max-width: 640px) {
  .vc-ylabel, .vc-xlabel { font-size: 13px; }
  .vc-tab { padding: 9px 13px; font-size: .85rem; }
  .vc-sum-item span { font-size: .82rem; }
  .vc-sum-item strong { font-size: 1rem; }
}
@media (max-width: 340px) {
  .vc-summary { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .vc-dot, .vc-live-ring, .vc-skeleton { animation: none !important; }
}

.aiga-retry-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 18px;
  border: 0; border-radius: 999px; cursor: pointer;
  font: 600 .9rem/1 inherit; font-family: inherit; color: #fff; background: var(--orange, #ff6b00);
  box-shadow: 0 10px 22px -12px rgba(255, 107, 0, .8);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.aiga-retry-btn i { transition: transform .45s ease; }
.aiga-retry-btn:hover { background: var(--orange-hover, #e85d00); transform: translateY(-2px); }
.aiga-retry-btn:hover i { transform: rotate(180deg); }
.aiga-retry-btn:active { transform: translateY(0); }
.aiga-retry-btn:disabled { opacity: .6; cursor: default; transform: none; }
.aiga-retry-btn:focus-visible { outline: 3px solid #4a90e2; outline-offset: 2px; }

.kd-wm { font-size: clamp(2.6rem, 13vw, 13rem); top: 12px; }
@media (min-width: 821px) { .kd-wm { top: 18px; } }


.visitor-box {
  --vb-bg:     var(--footer-bg, #141f3d);
  --vb-card:   rgba(255, 255, 255, .04);
  --vb-tile:   rgba(255, 255, 255, .10);
  --vb-line:   rgba(255, 255, 255, .14);
  isolation: isolate;
  contain: paint;
  overflow: hidden;
  background: var(--vb-card);
  border-color: var(--vb-line);
}
@supports (background: color-mix(in srgb, red 50%, blue)) {
  .visitor-box {
    --vb-card:  color-mix(in srgb, var(--vb-bg) 96%, #fff);
    --vb-tile:  color-mix(in srgb, var(--vb-bg) 90%, #fff);
    --vb-line:  color-mix(in srgb, var(--vb-bg) 84%, #fff);
  }
}
.visitor-box .visitor-item,
.visitor-box .vc-tabs,
.visitor-box .vc-online,
.visitor-box .vc-sum-item,
.visitor-box .uptime-item { background: var(--vb-tile); }

.visitor-box .visitor-chart,
.visitor-box .vc-head,
.visitor-box .vc-plot,
.visitor-box .visitor-total {
  background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
}
.visitor-box .visitor-chart { border-top: 1px solid var(--vb-line); }
.visitor-box .visitor-total {
  margin: 14px 0 0; padding: 12px 0 0;
  border-top: 1px solid var(--vb-line);
}
.visitor-box .site-uptime { border-top-color: var(--vb-line); }

.visitor-box .vc-line { filter: none; }
.visitor-box .vc-skeleton { background: var(--vb-tile); animation: none; }
.visitor-box .vc-tip { background: var(--vb-bg); border-color: var(--vb-line); }


.logo-wrap { --logo-size: 44px; --sweep-size: var(--logo-size); }
@media (max-width: 768px) { .logo-wrap { --logo-size: 54px; } }
@media (max-width: 380px) { .logo-wrap { --logo-size: 48px; } }
.logo-wrap::before {
  left: calc(var(--logo-size) / 2 - var(--sweep-size) / 2);
  top: 50%;
  width: var(--sweep-size);
  height: var(--sweep-size);
  margin-top: calc(var(--sweep-size) / -2);
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg,
    transparent 40%,
    rgba(255, 255, 255, 0) 44%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 255, 255, 0) 56%,
    transparent 60%) 88% 88% / 300% 300% no-repeat;
  filter: none;
  animation: logoSweepBig var(--hdr-cycle) linear infinite;
}
@keyframes logoSweepBig {
  0%   { background-position: 88% 88%; opacity: 0; }
  2%   { opacity: 1; }
  15%  { background-position: 12% 12%; opacity: 1; }
  17%, 100% { background-position: 12% 12%; opacity: 0; }
}

.aiga-head { gap: 16px; padding: 22px 24px 20px; }
@media (max-width: 640px) { .aiga-head { gap: 12px; padding: 16px 16px 14px !important; } }
.aiga-avatar {
  position: relative;
  width: 52px; height: 52px;
  overflow: visible;
  background: none;
  box-shadow: none;
  margin: 4px;
}
.aiga-avatar img {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  border: 3px solid var(--navy-deep, #0b2545) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}
.aiga-avatar::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #4a90e2, #7be0ff, #e0bd6c, #ff8a1f, #a78bfa, #4a90e2);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  filter: drop-shadow(0 0 6px rgba(123, 224, 255, .55));
  animation: aigaOrbSpin 3.6s linear infinite;
  will-change: transform;
}
.aiga-avatar::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(123, 224, 255, .55);
  animation: aigaOrbPulse 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes aigaOrbSpin { to { transform: rotate(360deg); } }
@keyframes aigaOrbPulse {
  0%   { transform: scale(1);    opacity: .85; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}
.aiga-shell:has(.is-sending) .aiga-avatar::before { animation-duration: 1.1s; }
.aiga-shell:has(.is-sending) .aiga-avatar::after  { animation-duration: 1.4s; }
:root[data-perf="low"] .aiga-avatar::before,
:root[data-perf="low"] .aiga-avatar::after,
html[data-motion="reduced"] .aiga-avatar::before,
html[data-motion="reduced"] .aiga-avatar::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .aiga-avatar::before, .aiga-avatar::after { animation: none !important; }
}

section.page[data-page="aiga"] .page-body .container.narrow.aiga-stage {
  --aiga-pad-top: 40px; --aiga-pad-x: 28px; --aiga-lift: 11px;
}
@media (max-width: 768px) {
  section.page[data-page="aiga"] .page-body .container.narrow.aiga-stage {
    --aiga-pad-top: 16px; --aiga-pad-x: 10px; --aiga-lift: 8px;
  }
}
@media (max-width: 640px) {
  section.page[data-page="aiga"] .page-body .container.narrow.aiga-stage { --aiga-pad-x: 8px; }
}
section.page[data-page="aiga"] .page-body .container.narrow.aiga-stage::before,
section.page[data-page="aiga"] .page-body .container.narrow.aiga-stage::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  height: 60px;
  transform: none;
  max-width: none;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  pointer-events: none;
  z-index: 0;
}
section.page[data-page="aiga"] .page-body .container.narrow.aiga-stage::before {
  top: calc(var(--aiga-pad-top) - var(--aiga-lift));
  left: calc(var(--aiga-pad-x) + 16px);
  right: calc(var(--aiga-pad-x) + 16px);
  width: auto;
  box-shadow: 0 -6px 18px -10px rgba(11, 37, 69, .28);
  opacity: .95;
}
section.page[data-page="aiga"] .page-body .container.narrow.aiga-stage::after {
  top: calc(var(--aiga-pad-top) - var(--aiga-lift) * 1.9);
  left: calc(var(--aiga-pad-x) + 34px);
  right: calc(var(--aiga-pad-x) + 34px);
  width: auto;
  opacity: .55;
}
section.page[data-page="aiga"] .page-body .aiga-shell { position: relative; z-index: 1; }

.kf-overlay {
  position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center;
  padding: 18px; background: rgba(8, 20, 44, .55); opacity: 0; transition: opacity .18s ease;
}
.kf-overlay.is-in { opacity: 1; }
.kf-box {
  width: 100%; max-width: 380px; text-align: center; padding: 26px 22px 20px;
  background: var(--surface, #fff); color: var(--text, #14223a);
  border: 1px solid var(--card-border, rgba(11, 37, 69, .1)); border-radius: 22px;
  box-shadow: 0 24px 60px -14px rgba(8, 24, 56, .5);
  transform: translateY(14px) scale(.95); transition: transform .22s cubic-bezier(.22, 1, .36, 1);
}
.kf-overlay.is-in .kf-box { transform: none; }
.kf-icon {
  width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center;
  font-size: 24px; color: #fff; background: linear-gradient(135deg, #4a90e2, #1e5fcc);
  box-shadow: 0 8px 20px -6px rgba(30, 95, 204, .6);
}
.kf-title { font-size: 18px; font-weight: 700; margin: 0 0 8px; line-height: 1.3; }
.kf-text { font-size: 14px; line-height: 1.6; margin: 0; opacity: .75; }
.kf-actions { display: flex; gap: 10px; margin-top: 20px; }
.kf-btn {
  flex: 1; border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; border: 1px solid var(--card-border, rgba(11, 37, 69, .15)); transition: transform .12s ease, filter .15s ease;
}
.kf-btn:active { transform: scale(.97); }
.kf-btn:focus-visible { outline: 3px solid rgba(74, 144, 226, .5); outline-offset: 2px; }
.kf-cancel { background: transparent; color: inherit; }
.kf-ok { background: linear-gradient(135deg, #e0504a, #c0392b); color: #fff; border-color: transparent; }
@media (prefers-reduced-motion: reduce) { .kf-overlay, .kf-box { transition: none; } }

@media (min-width: 769px) {
  .logo-wrap { --sweep-size: var(--logo-size); }

  .aiga-head { gap: 18px; padding: 24px 32px 22px; }
  .aiga-avatar { width: 60px; height: 60px; margin: 5px; }
  .aiga-avatar::before, .aiga-avatar::after { inset: -6px; }
  .aiga-name { font-size: 20px; }
  .aiga-status { font-size: 13.5px; margin-top: 3px; }
  .aiga-reset { padding: 9px 16px; font-size: 13.5px; }

  section.page[data-page="aiga"] .page-body .container.narrow.aiga-stage {
    --aiga-lift: 14px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
  section.page[data-page="aiga"] .page-body .container.narrow.aiga-stage::before {
    left: calc(var(--aiga-pad-x) + 22px);
    right: calc(var(--aiga-pad-x) + 22px);
    border-radius: 24px 24px 0 0;
  }
  section.page[data-page="aiga"] .page-body .container.narrow.aiga-stage::after {
    left: calc(var(--aiga-pad-x) + 46px);
    right: calc(var(--aiga-pad-x) + 46px);
    border-radius: 24px 24px 0 0;
  }
}
@media (min-width: 1200px) {
  .aiga-avatar { width: 64px; height: 64px; }
  section.page[data-page="aiga"] .page-body .container.narrow.aiga-stage { --aiga-lift: 16px; }
}

.aiga-foto-chip { position:relative; display:inline-flex; margin:0 0 8px 4px; }
.aiga-foto-chip[hidden] { display:none; }
.aiga-foto-chip img { width:64px; height:64px; object-fit:cover; border-radius:12px; display:block; box-shadow:0 1px 6px rgba(0,0,0,.25); }
.aiga-foto-chip button { position:absolute; top:-8px; right:-8px; width:24px; height:24px; border-radius:50%; border:2px solid #fff; background:#e5484d; color:#fff; display:flex; align-items:center; justify-content:center; padding:0; cursor:pointer; box-shadow:0 2px 6px rgba(0,0,0,.35); transition:transform .15s ease, background .15s ease; -webkit-tap-highlight-color:transparent; }
.aiga-foto-chip button svg { display:block; pointer-events:none; }
.aiga-foto-chip button:hover { background:#d13438; }
.aiga-foto-chip button:active { transform:scale(.9); }
.aiga-foto-chip button:focus-visible { outline:2px solid #ff6b00; outline-offset:2px; }
.aiga-foto-kiriman { display:block; max-width:220px; max-height:220px; width:100%; object-fit:cover; border-radius:10px; margin-bottom:6px; }

.kl-mode-tabs { display: flex; gap: 8px; justify-content: center; max-width: 560px; margin: 0 auto 18px; }
.kl-mode-tab {
  flex: 1 1 0;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--card-border);
  background: var(--surface);
  color: var(--muted, #5a6b85);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.kl-mode-tab.is-active { background: var(--navy-steel, #13315c); border-color: var(--navy-steel, #13315c); color: #fff; }
.kl-mode-tab:not(.is-active):hover { border-color: var(--navy-steel, #13315c); color: var(--ink); }
.kl-mode-tabs[hidden] { display: none !important; }

.kl-cek-field[hidden] { display: none !important; }

.kl-hasil-top { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 0 0 auto; }
.kl-hasil-congrats {
  font-family: var(--font-display, serif);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .02em;
  background: linear-gradient(90deg, #1456c9, #2f7bff, #1456c9);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: klShine 2.6s linear infinite;
  white-space: nowrap;
}
.kl-hasil-congrats[hidden] { display: none !important; }
@keyframes klShine { to { background-position: -200% center; } }

.kl-hasil { position: relative; overflow: hidden; }
.kl-hasil.is-lulus { background: rgba(20, 86, 201, .08); border-color: rgba(20, 86, 201, .45); }
.kl-hasil.is-tidak { background: rgba(198, 40, 40, .08); border-color: rgba(198, 40, 40, .4); }
.kl-hasil.is-lulus .kl-hasil-ico { background: linear-gradient(135deg, #1456c9, #2f7bff); box-shadow: 0 0 0 5px rgba(20, 86, 201, .14); }
.kl-hasil.is-tidak .kl-hasil-ico { background: #c62828; }
.kl-hasil.is-lulus .kl-hasil-status { color: #1456c9; }
.kl-hasil.is-tidak .kl-hasil-status { color: #c62828; }
.kl-hasil.is-lulus { animation: klMuncul .4s ease both, klGlow 1.8s ease 1; }
@keyframes klGlow {
  0% { box-shadow: 0 0 0 0 rgba(20, 86, 201, .35); }
  60% { box-shadow: 0 0 0 14px rgba(20, 86, 201, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 86, 201, 0); }
}

.kl-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.kl-confetti-piece {
  position: absolute;
  top: -10%;
  line-height: 1;
  animation-name: klJatuh;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
  will-change: transform, opacity;
}
@keyframes klJatuh {
  0% { transform: translateY(-10%) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(420%) rotate(280deg); opacity: 0; }
}
.kl-hasil-top, .kl-hasil-body { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .kl-hasil-congrats { animation: none; }
  .kl-hasil.is-lulus { animation: none; }
  .kl-confetti-piece { animation: none; opacity: 0; }
}
@media (max-width: 640px) {
  .kl-mode-tabs { max-width: 100%; }
}

.spmb-tahap-list {
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.spmb-tahap-item {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 0 0 28px 0;
  opacity: 0;
  transform: translateY(14px);
  animation: klMuncul .5s ease both;
  animation-delay: calc(var(--i, 0) * .08s);
}
.spmb-tahap-item:last-child { padding-bottom: 0; }
.spmb-tahap-dot {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .92rem;
  background: var(--surface);
  border: 2px solid var(--card-border);
  color: var(--muted, #5a6b85);
  position: relative;
  z-index: 1;
}
.spmb-tahap-item:not(:last-child) .spmb-tahap-dot::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 2px;
  height: 28px;
  margin-top: 6px;
  background: var(--card-border);
  transform: translateX(-50%);
}
.spmb-tahap-body { flex: 1; min-width: 0; padding-top: 2px; }
.spmb-tahap-status {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted, #5a6b85);
  margin-bottom: 2px;
}
.spmb-tahap-body h4 { margin: 0 0 4px; font-size: 1.02rem; color: var(--ink); }
.spmb-tahap-tgl { display: block; font-size: .86rem; font-weight: 600; color: var(--muted, #5a6b85); margin-bottom: 4px; }
.spmb-tahap-body p { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--muted, #5a6b85); }

.spmb-tahap-item.is-selesai .spmb-tahap-dot { background: #158a4b; border-color: #158a4b; color: #fff; }
.spmb-tahap-item.is-selesai .spmb-tahap-dot::after { background: #158a4b; opacity: .5; }
.spmb-tahap-item.is-selesai .spmb-tahap-status { color: #158a4b; }

.spmb-tahap-item.is-aktif .spmb-tahap-dot {
  background: linear-gradient(135deg, #1456c9, #2f7bff);
  border-color: #1456c9;
  color: #fff;
  box-shadow: 0 0 0 5px rgba(20, 86, 201, .16);
}
.spmb-tahap-item.is-aktif .spmb-tahap-status { color: #1456c9; }
.spmb-tahap-item.is-aktif .spmb-tahap-body h4 { color: #1456c9; }
.spmb-tahap-item.is-aktif .spmb-tahap-body {
  background: rgba(20, 86, 201, .06);
  border: 1px solid rgba(20, 86, 201, .25);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: -4px;
}

.spmb-tahap-item.is-akan-datang .spmb-tahap-dot { opacity: .7; }
.spmb-tahap-item.is-akan-datang .spmb-tahap-body h4,
.spmb-tahap-item.is-akan-datang .spmb-tahap-tgl,
.spmb-tahap-item.is-akan-datang .spmb-tahap-status { opacity: .65; }

@media (prefers-reduced-motion: reduce) { .spmb-tahap-item { animation: none; opacity: 1; transform: none; } }

/* ===== SUMBER: css/sholat.css ===== */
.sholat-section { padding: clamp(36px, 6vw, 72px) 0 clamp(8px, 2vw, 24px); }

.sholat-card {
  --sh-900: #04201a; --sh-800: #06352b; --sh-700: #0a4a3b; --sh-600: #0f6150;
  --sh-gold: #e6c36a; --sh-gold-soft: #f3d98c; --sh-cream: #f8efd6; --sh-muted: rgba(248, 239, 214, .72);
  --sh-line: rgba(230, 195, 106, .22);
  position: relative; isolation: isolate; overflow: hidden; contain: paint;
  width: 100%; margin: 0;
  border-radius: 28px; border: 1px solid rgba(230, 195, 106, .34);
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(230, 195, 106, .16), transparent 55%),
    linear-gradient(165deg, var(--sh-700) 0%, var(--sh-800) 52%, var(--sh-900) 100%);
  color: var(--sh-cream);
  box-shadow: 0 30px 60px -28px rgba(2, 22, 17, .75), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.sholat-card::after {
  content: ""; position: absolute; inset: 8px; z-index: 0; pointer-events: none;
  border-radius: 21px; border: 1px solid rgba(230, 195, 106, .18);
}

.sholat-sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.sholat-pattern {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23e6c36a' stroke-opacity='.11' stroke-width='1'%3E%3Crect x='14' y='14' width='36' height='36'/%3E%3Crect x='14' y='14' width='36' height='36' transform='rotate(45 32 32)'/%3E%3Ccircle cx='32' cy='32' r='6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 60%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 60%, transparent 100%);
}
.sholat-moon {
  position: absolute; top: 18px; right: clamp(16px, 4vw, 44px); width: clamp(64px, 10vw, 104px); height: auto;
  filter: drop-shadow(0 0 18px rgba(243, 217, 140, .55)); animation: shFloat 7s ease-in-out infinite;
}
.sholat-moon-star { transform-box: fill-box; transform-origin: center; animation: shTwinkle 3.2s ease-in-out infinite; }
.sholat-twinkle {
  position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--sh-gold-soft);
  box-shadow: 0 0 8px 2px rgba(243, 217, 140, .6); animation: shTwinkle 3.6s ease-in-out infinite;
}
.sholat-twinkle.t1 { top: 14%; left: 8%;  animation-delay: .2s; }
.sholat-twinkle.t2 { top: 30%; left: 30%; animation-delay: 1.1s; width: 3px; height: 3px; }
.sholat-twinkle.t3 { top: 9%;  right: 24%; animation-delay: .7s; width: 4px; height: 4px; }
.sholat-twinkle.t4 { top: 42%; right: 7%;  animation-delay: 1.8s; width: 3px; height: 3px; }
.sholat-twinkle.t5 { top: 22%; left: 55%; animation-delay: 2.4s; width: 3px; height: 3px; }
.sholat-mosque { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(90px, 16vw, 160px); }
@keyframes shFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes shTwinkle { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }

.sholat-inner { position: relative; z-index: 1; padding: clamp(22px, 4vw, 44px); padding-bottom: clamp(70px, 12vw, 120px); }
.sholat-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-right: clamp(72px, 12vw, 130px); }
.sholat-date { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sholat-date strong { font-size: clamp(1rem, 2.4vw, 1.25rem); font-weight: 700; color: #fff; }
.sholat-date span { font-size: .88rem; color: var(--sh-gold-soft); font-weight: 500; }
.sholat-loc {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: var(--sh-gold-soft);
  background: rgba(4, 32, 26, .72); border: 1px solid var(--sh-line);
}

.sholat-hero { display: flex; align-items: center; gap: clamp(16px, 4vw, 40px); margin-top: clamp(20px, 3.4vw, 32px); }
.sholat-ring { position: relative; flex: 0 0 auto; width: clamp(122px, 22vw, 176px); aspect-ratio: 1; }
.sholat-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); display: block; }
.sholat-ring circle { fill: none; stroke-width: 7; }
.sholat-ring-bg { stroke: rgba(230, 195, 106, .16); }
.sholat-ring-fg {
  stroke: var(--sh-gold); stroke-linecap: round;
  stroke-dasharray: 326.7; stroke-dashoffset: 326.7;
  filter: drop-shadow(0 0 6px rgba(230, 195, 106, .7)); transition: stroke-dashoffset .9s linear;
}
.sholat-ring-core {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.sholat-ring-core b { font-size: clamp(1.05rem, 3.2vw, 1.6rem); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.sholat-ring-core small { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sh-muted); }

.sholat-next { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.sholat-next-label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sh-gold); }
.sholat-next-name { font-size: clamp(2rem, 6.4vw, 3.4rem); font-weight: 800; line-height: 1.05; color: #fff; }
.sholat-next-ar { font-family: "Amiri", "Noto Naskh Arabic", "Traditional Arabic", serif; font-size: clamp(1.4rem, 4vw, 2.1rem); line-height: 1.3; color: var(--sh-gold-soft); }
.sholat-next-time { margin-top: 6px; font-size: .95rem; color: var(--sh-muted); }
.sholat-next-time i { margin-right: 4px; color: var(--sh-gold); }
.sholat-next-time b { color: #fff; font-size: 1.15em; font-variant-numeric: tabular-nums; }

.sholat-extras { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(18px, 3vw, 26px); }
.sholat-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font-size: .85rem; color: var(--sh-muted); background: rgba(4, 32, 26, .6); border: 1px dashed var(--sh-line);
}
.sholat-chip i { color: var(--sh-gold); }
.sholat-chip b { color: #fff; font-variant-numeric: tabular-nums; }

.sholat-grid { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
.sholat-item {
  position: relative; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 4px 14px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(4, 32, 26, .62); border: 1px solid var(--sh-line);
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.sholat-ico {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--sh-gold); font-size: 1.05rem;
  background: radial-gradient(circle at 30% 25%, rgba(243, 217, 140, .26), rgba(230, 195, 106, .08));
  border: 1px solid var(--sh-line);
}
.sholat-name { display: flex; flex-direction: column; min-width: 0; }
.sholat-name b { font-size: 1.05rem; font-weight: 700; color: #fff; }
.sholat-name em { font-style: normal; font-family: "Amiri", "Noto Naskh Arabic", "Traditional Arabic", serif; font-size: 1.15rem; line-height: 1.3; color: var(--sh-gold-soft); text-align: left; }
.sholat-time { font-size: 1.45rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.sholat-state {
  position: absolute; top: -9px; right: 14px; padding: 2px 10px; border-radius: 999px;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--sh-900); background: var(--sh-gold); opacity: 0; transform: translateY(3px); transition: opacity .25s ease, transform .25s ease;
}
.sholat-state:empty { display: none; }

.sholat-item.is-past { opacity: .6; }
.sholat-item.is-past .sholat-time { color: var(--sh-muted); }
.sholat-item.is-past .sholat-state { opacity: 1; transform: none; background: rgba(248, 239, 214, .16); color: var(--sh-cream); }
.sholat-item.is-now {
  background: linear-gradient(135deg, rgba(15, 97, 80, .95), rgba(10, 74, 59, .95));
  border-color: rgba(230, 195, 106, .6);
}
.sholat-item.is-now .sholat-state { opacity: 1; transform: none; background: #3ddc97; color: #04201a; }
.sholat-item.is-next {
  border-color: var(--sh-gold); background: linear-gradient(135deg, rgba(230, 195, 106, .2), rgba(4, 32, 26, .7));
  box-shadow: 0 0 0 1px rgba(230, 195, 106, .35), 0 12px 28px -14px rgba(230, 195, 106, .55);
}
.sholat-item.is-next .sholat-ico { background: var(--sh-gold); color: var(--sh-900); }
.sholat-item.is-next .sholat-state { opacity: 1; transform: none; }

.sholat-ayat { margin: clamp(22px, 4vw, 34px) 0 0; text-align: center; }
.sholat-ayat blockquote {
  margin: 0; font-family: "Amiri", "Noto Naskh Arabic", "Traditional Arabic", serif;
  font-size: clamp(1.35rem, 3.6vw, 1.95rem); line-height: 1.9; color: var(--sh-gold-soft);
}
.sholat-ayat figcaption { margin-top: 6px; font-size: .9rem; line-height: 1.6; color: var(--sh-muted); }
.sholat-ayat cite { display: block; margin-top: 2px; font-style: normal; font-weight: 700; color: var(--sh-gold); }
.sholat-foot { margin: 14px 0 0; text-align: center; font-size: .78rem; color: rgba(248, 239, 214, .55); }

.sholat-error { margin: 16px 0 0; padding: 12px 16px; border-radius: 14px; text-align: center; font-size: .92rem; background: rgba(4, 32, 26, .7); border: 1px solid var(--sh-line); }
.sholat-retry {
  margin-left: 8px; padding: 6px 14px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 .85rem/1 inherit; font-family: inherit; color: #04201a; background: var(--sh-gold);
}
.sholat-retry:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.sholat-section[data-state="loading"] .sholat-time,
.sholat-section[data-state="loading"] .sholat-next-name,
.sholat-section[data-state="loading"] .sholat-ring-core b { animation: shPulse 1.4s ease-in-out infinite; }
@keyframes shPulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.sholat-section[data-state="error"] .sholat-hero,
.sholat-section[data-state="error"] .sholat-extras,
.sholat-section[data-state="error"] .sholat-grid { opacity: .35; }

@media (min-width: 760px) {
  .sholat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
  .sholat-item { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 20px 8px 16px; gap: 6px; }
  .sholat-name { align-items: center; }
  .sholat-name em { text-align: center; }
  .sholat-time { font-size: 1.5rem; }
  .sholat-state { right: 50%; transform: translate(50%, 3px); }
  .sholat-item.is-past .sholat-state, .sholat-item.is-now .sholat-state, .sholat-item.is-next .sholat-state { transform: translate(50%, 0); }
  .sholat-item.is-next { transform: translateY(-4px); }
}
@media (max-width: 420px) {
  .sholat-card { border-radius: 22px; }
  .sholat-card::after { border-radius: 15px; }
  .sholat-hero { gap: 14px; }
  .sholat-next-name { font-size: 1.9rem; }
  .sholat-top { padding-right: 70px; }
}

:root[data-perf="low"] .sholat-moon,
:root[data-perf="low"] .sholat-moon-star,
:root[data-perf="low"] .sholat-twinkle { animation: none; }
:root[data-perf="low"] .sholat-moon, :root[data-perf="low"] .sholat-ring-fg { filter: none; }
@media (prefers-reduced-motion: reduce) {
  .sholat-moon, .sholat-moon-star, .sholat-twinkle, .sholat-section[data-state="loading"] * { animation: none !important; }
  .sholat-ring-fg, .sholat-item { transition: none; }
}

@media (min-width: 760px) {
  .sholat-hero { justify-content: center; }
  .sholat-extras { justify-content: center; }
}

.sholat-section .section-heading h2 { color: var(--navy); }
:root[data-theme="dark"] .sholat-section .section-heading .tag,
:root[data-theme="dark"] .sholat-section .section-heading h2,
:root[data-theme="dark"] .sholat-section .section-heading p { color: #fff !important; }
:root[data-theme="dark"] .sholat-section .section-heading .tag { color: var(--sh-gold, #e6c36a) !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sholat-section .section-heading h2,
  :root:not([data-theme="light"]) .sholat-section .section-heading p { color: #fff !important; }
  :root:not([data-theme="light"]) .sholat-section .section-heading .tag { color: #e6c36a !important; }
}

/* ===== SUMBER: css/pulse-heart.css ===== */
.pulse-heart {
  --ph-size: 24px;
  --ph-corner: 32px;
  --ph-pill: #eaf0fa;
  --ph-idle: #7b8aa3;
  --ph-liked: #ff4d6d;
  --ph-text: #0b2545;
  --ph-roll: 350ms;
  --ph-stroke: 1.5px;
  --ph-ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--ph-corner);
  background: none;
  color: var(--ph-text);
  font-family: inherit;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  outline: none;
  transition: transform 160ms var(--ph-ease-out);
}
:root[data-theme="dark"] .pulse-heart,
.cswap-card .pulse-heart,
.ccar-card .pulse-heart {
  --ph-pill: #232326;
  --ph-idle: #8b8b93;
  --ph-text: #f5f5f5;
}
.pulse-heart[data-pressed] { transform: scale(0.97); }
.pulse-heart:focus-visible { outline: 2px solid color-mix(in srgb, var(--ph-liked) 60%, transparent); outline-offset: 3px; }
.pulse-heart:disabled { opacity: 0.55; cursor: default; }

.pulse-heart__pill {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--ph-size) * 0.25);
  padding: calc(var(--ph-size) * 0.3);
  padding-inline-end: calc(var(--ph-size) * 0.4);
  border-radius: var(--ph-corner);
  background: var(--ph-pill);
  transform-origin: center;
}

.pulse-heart__heart {
  display: block;
  width: var(--ph-size);
  height: var(--ph-size);
  color: var(--ph-idle);
  transform-origin: center;
  transition: color 160ms ease;
}
.pulse-heart__heart svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: var(--ph-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pulse-heart[data-liked="true"] .pulse-heart__heart svg { fill: currentColor; }
.pulse-heart[data-liked="true"] .pulse-heart__heart { color: var(--ph-liked); }
.pulse-heart[data-running] .pulse-heart__heart,
.pulse-heart[data-instant] .pulse-heart__heart { transition: none; }

@media (hover: hover) and (pointer: fine) {
  .pulse-heart:not([data-liked="true"]):not(:disabled):hover .pulse-heart__heart {
    color: color-mix(in srgb, var(--ph-idle) 45%, var(--ph-liked));
  }
}

.pulse-heart__count {
  display: inline-flex;
  font-family: var(--font-body, inherit);
  font-size: max(12px, calc(var(--ph-size) * 0.5));
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.1px;
  font-variant-numeric: tabular-nums;
  color: var(--ph-text);
}
.pulse-heart__count > span { display: block; height: 1em; }
.pulse-heart__slot { position: relative; overflow: hidden; }
.pulse-heart__roll { display: flex; flex-direction: column; transition: transform var(--ph-roll) var(--ph-ease-out); }
.pulse-heart__roll > span { display: block; height: 1em; line-height: 1; }

.pulse-heart__sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

@media (pointer: coarse) { .pulse-heart { min-width: 44px; min-height: 44px; } }
@media (prefers-contrast: more) {
  .pulse-heart__pill { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ph-text) 25%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .pulse-heart { transition: none; }
  .pulse-heart__heart { transition: color 200ms ease; }
  .pulse-heart__roll { transition: none; }
}

.sosmed-meta .pulse-heart { margin: -4px -4px -4px 0; }
.sosmed-like-wrap .pulse-heart { margin-left: -2px; }

/* ===== SUMBER: css/berita-badges.css ===== */

.badge-hot {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #ff5d7a, #ff4d6d 55%, #e8375a);
  box-shadow: 0 2px 10px rgba(232, 55, 90, 0.35);
  overflow: hidden;
  white-space: nowrap;
}
.badge-hot .badge-hot__icon {
  position: relative;
  display: inline-flex;
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}
.badge-hot .badge-hot__icon svg {
  width: 100%;
  height: 100%;
  fill: #fff;
  animation: badgeHotBeat 1.15s ease-in-out infinite;
  transform-origin: center;
}
.badge-hot::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: badgeHotShine 2.6s ease-in-out infinite;
}
.badge-hot__sparkle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 4px 1px rgba(255, 255, 255, 0.9);
  opacity: 0;
  pointer-events: none;
}
.badge-hot__sparkle:nth-child(1) { top: -2px; left: 1px; animation: badgeHotSparkle 1.8s ease-in-out infinite; animation-delay: 0s; }
.badge-hot__sparkle:nth-child(2) { top: 8px; left: -1px; animation: badgeHotSparkle 1.8s ease-in-out infinite; animation-delay: 0.5s; }
.badge-hot__sparkle:nth-child(3) { top: 2px; left: 11px; animation: badgeHotSparkle 1.8s ease-in-out infinite; animation-delay: 1s; }

@keyframes badgeHotBeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.22); }
  40% { transform: scale(0.95); }
  55% { transform: scale(1.1); }
}
@keyframes badgeHotShine {
  0% { left: -60%; }
  55%, 100% { left: 130%; }
}
@keyframes badgeHotSparkle {
  0%, 100% { opacity: 0; transform: scale(0.4); }
  50% { opacity: 1; transform: scale(1); }
}

.badge-foryou {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #3a2305;
  background: linear-gradient(135deg, var(--gold-soft, #f0ddb0), var(--gold, #d4a94c) 60%, var(--gold-deep, #ad8330));
  box-shadow: 0 2px 10px rgba(173, 131, 48, 0.4);
  overflow: hidden;
  white-space: nowrap;
}
.badge-foryou .badge-foryou__icon {
  position: relative;
  display: inline-flex;
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}
.badge-foryou .badge-foryou__icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.badge-foryou .flame-core,
.badge-foryou .flame-inner {
  transform-origin: 50% 90%;
  animation: badgeFlameFlicker 900ms ease-in-out infinite;
}
.badge-foryou .flame-inner {
  animation-duration: 760ms;
  animation-direction: alternate;
}

@keyframes badgeFlameFlicker {
  0%   { transform: scale(1, 1) translateY(0) skewX(0deg); }
  20%  { transform: scale(0.94, 1.05) translateY(-0.3px) skewX(-2deg); }
  40%  { transform: scale(1.06, 0.92) translateY(0.2px) skewX(2deg); }
  60%  { transform: scale(0.97, 1.04) translateY(-0.2px) skewX(-1deg); }
  80%  { transform: scale(1.04, 0.96) translateY(0.1px) skewX(1.5deg); }
  100% { transform: scale(1, 1) translateY(0) skewX(0deg); }
}

.news-card .badge-hot,
.news-card .badge-foryou,
.bc-media .badge-hot,
.bc-media .badge-foryou {
  position: absolute;
  top: 10px;
  z-index: 2;
}
.news-card .badge-hot,
.bc-media .badge-hot { left: 10px; }
.news-card .badge-foryou,
.bc-media .badge-foryou { left: 10px; }
.news-card .badge-hot + .badge-foryou,
.news-card .badge-foryou + .badge-hot,
.bc-media .badge-hot + .badge-foryou,
.bc-media .badge-foryou + .badge-hot { top: 40px; }
.news-card .thumb { position: relative; }

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 10px;
}

@media (prefers-reduced-motion: reduce) {
  .badge-hot .badge-hot__icon svg,
  .badge-hot::after,
  .badge-hot__sparkle,
  .badge-foryou .flame-core,
  .badge-foryou .flame-inner {
    animation: none !important;
  }
}

/* ===== SUMBER: css/prompt-bar.css ===== */
.prompt-bar {
  --pb-bg: #27272a;
  --pb-ink: #f5f5f5;
  --pb-menu: #323236;
  --pb-w: 400px;
  --pb-radius: 16px;
  --pb-press: 0.96;
  --pb-spark: #b39dff;
  --pb-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --pb-muted: color-mix(in srgb, var(--pb-ink) 55%, transparent);
  --pb-hover: color-mix(in srgb, var(--pb-ink) 8%, transparent);

  position: relative;
  width: min(var(--pb-w), 100%);
  color: var(--pb-ink);
  font-family: inherit;
  font-size: 14px;
  line-height: 22px;
}

.prompt-bar__menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  left: 0;
  z-index: 2;
  padding: 4px;
  border-radius: 12px;
  background: var(--pb-menu);
  box-shadow:
    0 10px 30px -10px rgba(0, 0, 0, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.08);
  transform-origin: bottom center;
  animation: prompt-bar-pop 180ms var(--pb-ease-out) both;
}

.prompt-bar__menu[data-kind='model'] {
  right: auto;
  width: 220px;
  transform-origin: bottom left;
}

@keyframes prompt-bar-pop {
  from {
    opacity: 0;
    transform: translateY(4px) scale(0.98);
  }
}

.prompt-bar__glow {
  position: absolute;
  right: 4px;
  left: 4px;
  border-radius: 8px;
  background: var(--pb-hover);
  opacity: 0;
  pointer-events: none;
  transition:
    top 220ms var(--pb-ease-out),
    height 220ms var(--pb-ease-out),
    opacity 150ms ease;
}

.prompt-bar__row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 36px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.prompt-bar__row-icon {
  display: inline-flex;
  flex: none;
  justify-content: center;
  width: 20px;
  color: color-mix(in srgb, var(--pb-ink) 70%, transparent);
}

.prompt-bar__row-name {
  flex: none;
  font-size: 13px;
  font-weight: 500;
}

.prompt-bar__row-desc {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: var(--pb-muted);
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.prompt-bar__row-tag {
  flex: none;
  margin-left: auto;
  color: var(--pb-muted);
  font-size: 11px;
}

.prompt-bar__row-check {
  display: inline-flex;
  flex: none;
  justify-content: center;
  width: 16px;
  opacity: 0;
}

.prompt-bar__row-check[data-on] {
  opacity: 1;
}

.prompt-bar__empty {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 8px;
  color: var(--pb-muted);
  font-size: 12px;
}

.prompt-bar__field {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: var(--pb-radius);
  background: var(--pb-bg);
  cursor: text;
}

.prompt-bar__field::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(
    140% 120% at 0% 100%,
    color-mix(in srgb, var(--pb-spark) 26%, transparent),
    transparent 62%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.prompt-bar__field[data-max]::before {
  opacity: 1;
}

.prompt-bar__sparks {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
}

.prompt-bar__field[data-model='coder']::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0.16;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='60'><text x='0' y='14' font-family='monospace' font-size='13' fill='%2300e676'>0101 1010 0110</text><text x='0' y='34' font-family='monospace' font-size='13' fill='%2300e676'>1001 0101 1100</text><text x='0' y='54' font-family='monospace' font-size='13' fill='%2300e676'>0011 1010 0101</text></svg>");
  background-repeat: repeat;
  background-size: 120px 60px;
  animation: prompt-bar-binary 6s linear infinite;
}

@keyframes prompt-bar-binary {
  from { background-position: 0 0; }
  to   { background-position: -120px 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .prompt-bar__field[data-model='coder']::after {
    animation: none;
  }
}

.prompt-bar__input {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  line-height: 22px;
  resize: none;
  outline: none;
  overflow-wrap: anywhere;
}

.prompt-bar__input::placeholder {
  color: color-mix(in srgb, var(--pb-ink) 45%, transparent);
}

@media (pointer: coarse) {
  .prompt-bar__input {
    font-size: 16px;
  }
}

.prompt-bar__bar {
  display: flex;
  align-items: center;
  gap: 4px;
}

.prompt-bar__spacer {
  flex: 1 1 auto;
}

.prompt-bar__tool,
.prompt-bar__pick,
.prompt-bar__send {
  flex: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.prompt-bar__tool {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  color: color-mix(in srgb, var(--pb-ink) 60%, transparent);
  transition:
    background-color 150ms ease,
    color 150ms ease,
    transform 160ms var(--pb-ease-out);
}

.prompt-bar__tool:active {
  transform: scale(0.94);
}

.prompt-bar__pick {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 8px;
  border-radius: 8px;
  background: transparent;
  color: color-mix(in srgb, var(--pb-ink) 70%, transparent);
  font-size: 12px;
  font-weight: 500;
  transition:
    background-color 150ms ease,
    color 150ms ease;
}

.prompt-bar__tool[data-on],
.prompt-bar__pick[data-on] {
  background: var(--pb-hover);
  color: var(--pb-ink);
}

@media (hover: hover) and (pointer: fine) {
  .prompt-bar__tool:hover,
  .prompt-bar__pick:hover {
    background: var(--pb-hover);
    color: var(--pb-ink);
  }
}

.prompt-bar__pick[data-max] {
  color: var(--pb-spark);
}

.prompt-bar__menu[data-kind='effort'] {
  right: auto;
  width: 248px;
  padding: 12px 14px 14px;
  transform-origin: bottom left;
}

.prompt-bar__effort-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 18px;
}

.prompt-bar__effort-title {
  color: var(--pb-muted);
}

.prompt-bar__effort-level {
  font-weight: 500;
}

.prompt-bar__effort-help {
  display: inline-flex;
  margin-left: auto;
  color: var(--pb-muted);
}

.prompt-bar__effort-ends {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--pb-muted);
  font-size: 12px;
  line-height: 16px;
}

.prompt-bar__effort-track {
  position: relative;
  height: 22px;
  margin-top: 8px;
  border-radius: 11px;
  background: var(--pb-hover);
  cursor: pointer;
  outline: none;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.prompt-bar__effort-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--pb-effort-fill);
  border-radius: 11px;
  background: color-mix(in srgb, var(--pb-ink) 18%, transparent);
  transition:
    width 220ms var(--pb-ease-out),
    background-color 300ms ease;
}

.prompt-bar__effort-dot {
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pb-ink) 30%, transparent);
}

.prompt-bar__effort-thumb {
  position: absolute;
  top: -3px;
  left: var(--pb-effort-x);
  width: 14px;
  height: 28px;
  margin-left: -7px;
  border-radius: 7px;
  background: var(--pb-ink);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition:
    left 220ms var(--pb-ease-out),
    background-color 300ms ease;
}

.prompt-bar[data-max] .prompt-bar__effort-fill {
  background: color-mix(in srgb, var(--pb-spark) 35%, transparent);
}

.prompt-bar[data-max] .prompt-bar__effort-thumb {
  background: var(--pb-spark);
}

.prompt-bar__eq {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 14px;
}

.prompt-bar__eq i {
  display: block;
  width: 2.5px;
  height: 100%;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  animation: prompt-bar-eq 900ms ease-in-out infinite;
}

.prompt-bar__eq i:nth-child(2) {
  animation-delay: 150ms;
}

.prompt-bar__eq i:nth-child(3) {
  animation-delay: 300ms;
}

@keyframes prompt-bar-eq {
  0%,
  100% {
    transform: scaleY(0.35);
  }

  50% {
    transform: scaleY(1);
  }
}

.prompt-bar__send {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 8px;
  background: color-mix(in srgb, var(--pb-ink) 12%, var(--pb-bg));
  color: color-mix(in srgb, var(--pb-ink) 55%, var(--pb-bg));
  transition:
    background-color 200ms ease,
    color 200ms ease,
    transform 160ms var(--pb-ease-out);
}

.prompt-bar__send:disabled {
  cursor: default;
}

.prompt-bar__send[data-armed] {
  background: var(--pb-ink);
  color: var(--pb-bg);
}

.prompt-bar__send[data-pressed] {
  transform: scale(var(--pb-press));
}

.prompt-bar__glyph {
  display: block;
  width: 16px;
  height: 16px;
  transform-origin: 50% 50%;
}

@media (prefers-reduced-motion: reduce) {
  .prompt-bar__menu {
    animation: none;
  }

  .prompt-bar__glow {
    transition: opacity 150ms ease;
  }

  .prompt-bar__effort-fill,
  .prompt-bar__effort-thumb {
    transition: background-color 300ms ease;
  }

  .prompt-bar__tool:active,
  .prompt-bar__send[data-pressed] {
    transform: none;
  }
}

.aiga-composer {
  position: relative;
  z-index: 1001;
  padding: 14px 24px 8px;
  background: var(--surface);
}

.aiga-composer .prompt-bar {
  --pb-w: 100%;
  --pb-bg: var(--surface-alt);
  --pb-ink: var(--ink);
  --pb-menu: var(--surface);
  --pb-spark: #7c5cff;
  width: 100%;
  font-family: var(--font-body);
}

:root[data-theme='dark'] .aiga-composer .prompt-bar {
  --pb-spark: #b39dff;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .aiga-composer .prompt-bar {
    --pb-spark: #b39dff;
  }
}

.aiga-composer .prompt-bar__field {
  border: 1px solid var(--card-border);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.aiga-composer .prompt-bar__field:focus-within {
  border-color: var(--navy-steel);
  box-shadow: 0 0 0 3px rgba(30, 95, 204, 0.12);
}

.aiga-composer .prompt-bar__menu {
  border: 1px solid var(--card-border);
  box-shadow:
    0 14px 34px -12px rgba(11, 37, 69, 0.3),
    0 1px 2px rgba(0, 0, 0, 0.08);
}

.aiga-composer .prompt-bar__input {
  min-height: 22px;
}

.aiga-typing-label {
  margin-left: 6px;
  font-size: 12.5px;
  color: var(--ink-muted);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .aiga-composer {
    padding: 12px 14px 6px;
  }
}

@media (max-width: 640px) {
  html body main section.page[data-page="aiga"] .page-body .container.narrow.aiga-stage {
    padding: 16px 8px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  html body main section.page[data-page="aiga"] .aiga-shell {
    width: 100%;
    max-width: 100%;
  }
  html body main section.page[data-page="aiga"] .aiga-composer {
    padding: 14px 12px 8px;
  }
  html body main section.page[data-page="aiga"] .aiga-disclaimer {
    padding: 8px 18px 18px;
    line-height: 1.5;
  }

  html body main section.page[data-page="aiga"] .aiga-composer .prompt-bar__field {
    padding: 12px 12px 12px 14px;
    gap: 10px;
    border-radius: 18px;
  }
  html body main section.page[data-page="aiga"] .aiga-composer .prompt-bar__bar {
    gap: 6px;
    min-width: 0;
  }
  html body main section.page[data-page="aiga"] .aiga-composer .prompt-bar__tool {
    width: 36px;
    height: 36px;
    min-height: 36px;
    border-radius: 10px;
  }
  html body main section.page[data-page="aiga"] .aiga-composer .prompt-bar__pick {
    height: 36px;
    min-height: 36px;
    padding: 0 10px;
    border-radius: 10px;
    min-width: 0;
  }
  html body main section.page[data-page="aiga"] .aiga-composer .prompt-bar__send {
    width: 40px;
    height: 40px;
    min-height: 40px;
    margin-left: 6px;
    border-radius: 12px;
  }
  html body main section.page[data-page="aiga"] .aiga-composer .prompt-bar__glyph {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 380px) {
  html body main section.page[data-page="aiga"] .aiga-composer .prompt-bar__pick svg { display: none; }
  html body main section.page[data-page="aiga"] .aiga-composer .prompt-bar__pick { padding: 0 9px; }
  html body main section.page[data-page="aiga"] .aiga-composer .prompt-bar__bar { gap: 4px; }
  html body main section.page[data-page="aiga"] .aiga-composer .prompt-bar__send { margin-left: 4px; }
}


.prompt-bar__pick { white-space: nowrap; flex: none; }
.prompt-bar__pick [data-slot] { white-space: nowrap; }
.prompt-bar__bar { flex-wrap: nowrap; }
.prompt-bar__spacer { min-width: 0; }
.prompt-bar__send { flex: none; }

@media (max-width: 430px) {
  html body main section.page[data-page="aiga"] .aiga-composer .prompt-bar__pick svg { display: none; }
  html body main section.page[data-page="aiga"] .aiga-composer .prompt-bar__pick { padding: 0 8px; }
  html body main section.page[data-page="aiga"] .aiga-composer .prompt-bar__bar { gap: 4px; }
  html body main section.page[data-page="aiga"] .aiga-composer .prompt-bar__tool { width: 32px; min-height: 32px; }
  html body main section.page[data-page="aiga"] .aiga-composer .prompt-bar__send { margin-left: 4px; }
}

@media (max-width: 380px) {
  html body main section.page[data-page="aiga"] .aiga-composer .prompt-bar__tool { width: 28px; min-height: 28px; }
  html body main section.page[data-page="aiga"] .aiga-composer .prompt-bar__pick { padding: 0 6px; }
  html body main section.page[data-page="aiga"] .aiga-composer .prompt-bar__send { width: 36px; height: 36px; min-height: 36px; margin-left: 2px; }
  html body main section.page[data-page="aiga"] .aiga-composer .prompt-bar__bar { gap: 2px; }
}
@media (max-width: 340px) {
  html body main section.page[data-page="aiga"] .aiga-composer .prompt-bar__pick { font-size: 11px; padding: 0 4px; }
  html body main section.page[data-page="aiga"] .aiga-composer .prompt-bar__tool { width: 26px; min-height: 26px; }
  html body main section.page[data-page="aiga"] .aiga-composer .prompt-bar__send { width: 34px; height: 34px; min-height: 34px; }
}

.aiga-gambar-buat { display: flex; flex-direction: column; gap: 8px; max-width: min(100%, 420px); }
.aiga-gambar-buat-link { display: block; border-radius: 10px; overflow: hidden; min-height: 120px; background: rgba(127, 127, 127, 0.12); }
.aiga-gambar-buat-link img { display: block; width: 100%; height: auto; }
.aiga-gambar-buat-link.is-rusak { min-height: 120px; }
.aiga-gambar-buat .aiga-unduh-btn { align-self: flex-start; }

/* ===== SUMBER: css/thought-line.css ===== */
.thought-line {
  --tl-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --tl-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --tl-font: 16px;
  --tl-color: currentColor;
  --tl-glyph: currentColor;
  --tl-settle: 350ms;
  --tl-blur: 2px;
  --tl-shimmer: 1.8s;
  --tl-done: 0.75;
  --tl-timer: 0.55;

  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--tl-color);
  font-family: inherit;
  font-size: var(--tl-font);
  font-weight: 500;
  line-height: 1.2;
}

.thought-line__head {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  white-space: nowrap;
  outline: none;
  cursor: default;
}

.thought-line__head[data-toggle] {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.thought-line__glyph {
  display: inline-flex;
  flex: none;
  width: 1.1em;
  height: 1.1em;
  margin-right: 0.2em;
  color: var(--tl-glyph);
}

.thought-line__glyph svg {
  display: block;
  width: 100%;
  height: 100%;
}

.thought-line__dot {
  width: 0.5em;
  height: 0.5em;
  margin: auto;
  border-radius: 50%;
  background: currentColor;
}

.thought-line__label {
  display: inline-grid;
}

.thought-line__text {
  grid-area: 1 / 1;
  width: max-content;
  opacity: 0;
  filter: blur(var(--tl-blur));
  transition:
    opacity var(--tl-settle) var(--tl-ease-out),
    filter var(--tl-settle) var(--tl-ease-out);
}

.thought-line__text[data-active] {
  opacity: 1;
  filter: blur(0);
}

.thought-line__text--done[data-active] {
  opacity: var(--tl-done);
}

.thought-line__breath {
  display: inline-block;
}

.thought-line[data-working] .thought-line__breath[data-shimmer] {
  background: linear-gradient(
    100deg,
    color-mix(in srgb, var(--tl-color) 50%, transparent) 30%,
    var(--tl-color) 50%,
    color-mix(in srgb, var(--tl-color) 50%, transparent) 70%
  );
  background-size: 250% 100%;
  background-position: 125% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: thought-line-shimmer var(--tl-shimmer) linear infinite;
}

@keyframes thought-line-shimmer {
  to {
    background-position: -125% 0;
  }
}

.thought-line__timer {
  font-variant-numeric: tabular-nums;
  opacity: var(--tl-timer);
  transition:
    opacity var(--tl-settle) ease,
    transform var(--tl-settle) var(--tl-ease-in-out);
}

.thought-line__timer[data-done] {
  opacity: var(--tl-done);
}

.thought-line__chevron {
  display: inline-flex;
  margin-left: 0.1em;
  opacity: 0;
  transition:
    opacity 200ms ease,
    transform 200ms var(--tl-ease-out);
}

.thought-line__chevron[data-on] {
  opacity: 0.55;
}

.thought-line[data-open] .thought-line__chevron {
  transform: rotate(180deg);
}

.thought-line__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.thought-line__trace {
  display: grid;
  grid-template-rows: 0fr;
  width: 0;
  min-width: 100%;
  transition: grid-template-rows var(--tl-settle) var(--tl-ease-out);
}

.thought-line__trace[data-open] {
  grid-template-rows: 1fr;
}

.thought-line__fold {
  min-height: 0;
  overflow-x: visible;
  overflow-y: clip;
}

.thought-line__steps {
  display: flex;
  flex-direction: column;
  gap: 0.45em;
  width: max-content;
  padding: 0.6em 0 0.2em 1.6em;
  font-size: 0.875em;
  font-weight: 400;
  white-space: nowrap;
}

.thought-line__step {
  display: flex;
  align-items: center;
  gap: 0.5em;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 200ms var(--tl-ease-out),
    transform 200ms var(--tl-ease-out);
}

@starting-style {
  .thought-line__step {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.thought-line__mark {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 1em;
  height: 1em;
  opacity: 0.55;
}

.thought-line__pulse {
  display: block;
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
  background: currentColor;
  animation: thought-line-pulse 1.6s var(--tl-ease-in-out) infinite;
}

@keyframes thought-line-pulse {
  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

.thought-line__step-text {
  transition: opacity var(--tl-settle) ease;
}

.thought-line__step[data-done] .thought-line__step-text {
  opacity: 0.55;
}

@media (prefers-reduced-motion: reduce) {
  .thought-line__text {
    filter: none !important;
    transition: opacity var(--tl-settle) ease;
  }

  .thought-line__timer {
    transition: opacity var(--tl-settle) ease;
  }

  .thought-line__step {
    transform: none !important;
    transition: opacity 200ms ease;
  }

  .thought-line__pulse {
    animation-duration: 2.4s;
  }
}

.aiga-thought {
  display: flex;
  align-items: flex-start;
  min-height: 28px;
  padding: 5px 2px 0;
  min-width: 0;
}

.aiga-thought .thought-line {
  --tl-font: 14px;
  --tl-color: var(--ink-muted);
  --tl-glyph: var(--navy-steel);
}

:root[data-theme='dark'] .aiga-thought .thought-line {
  --tl-glyph: var(--gold);
}

/* ===== SUMBER: css/text-loop.css ===== */
.text-loop {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--tl-color, var(--orange, #ff6b00));
  color: #fff;
  font-size: min(calc(var(--tl-font, 22) * 1px), max(12px, calc(var(--tl-font, 22) / 1200 * 100vw)));
  font-weight: var(--tl-weight, 800);
  letter-spacing: calc(var(--tl-spacing, 0.0435) * 1em);
  line-height: 1;
  height: calc(var(--tl-band, 2) * 1em);
}

.text-loop--draggable {
  cursor: grab;
  touch-action: pan-y;
}

.text-loop-track {
  display: flex;
  flex: none;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
}

.text-loop-group {
  display: flex;
  flex: none;
}

.text-loop-unit {
  flex: none;
  display: inline-block;
}

footer > .text-loop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
footer > .text-loop + .container {
  margin-top: var(--text-loop-h, calc(2 * min(22px, max(12px, 1.8333vw)))) !important;
}

@media (prefers-reduced-motion: reduce) {
  .text-loop-track { will-change: auto; }
}

/* ===== SUMBER: css/footer-logo.css ===== */

footer .about .footer-logo-static {
  width: 72px;
  margin: 6px 0 20px 6px;
}
footer .about .footer-logo-static img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  animation: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35));
}

/* ===== SUMBER: css/ribbon-logo.css ===== */
footer > .ribbon-logo {
  --rl-h: var(--text-loop-h, calc(2 * min(22px, max(12px, 1.8333vw))));
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  height: var(--rl-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(10px, 2vw, 22px) 0 clamp(8px, 1.6vw, 18px);
  pointer-events: none;
  background: linear-gradient(90deg, var(--orange, #ff6b00) 0, var(--orange, #ff6b00) 78%, rgba(255, 107, 0, 0) 100%);
  perspective: 400px;
}

.ribbon-logo-coin {
  position: relative;
  height: 88%;
  aspect-ratio: 1 / 1;
  transform-style: preserve-3d;
  animation: ribbonLogoSpin 6s ease-in-out infinite;
  will-change: transform;
}
.ribbon-logo-coin img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .35));
}

.ribbon-logo-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, transparent 42%, rgba(255, 255, 255, .95) 50%, transparent 58%);
  background-size: 300% 100%;
  background-repeat: no-repeat;
  background-position: 130% 0;
  -webkit-mask: url("../assets/logo.png") center / contain no-repeat;
          mask: url("../assets/logo.png") center / contain no-repeat;
  animation: ribbonLogoShine 6s ease-in-out infinite;
}

@keyframes ribbonLogoSpin {
  0%, 8%    { transform: rotateY(0deg); }
  42%, 100% { transform: rotateY(360deg); }
}
@keyframes ribbonLogoShine {
  0%, 48%   { background-position: 130% 0; }
  78%, 100% { background-position: -30% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ribbon-logo-coin { animation: none; }
}

footer,
body[data-route="beranda"] footer {
  border-top: 0 !important;
  box-shadow: none !important;
}
footer::after { content: none !important; }

body.is-scroll-top-blurring footer,
html[data-motion="reduced"] body.is-scroll-top-blurring footer {
  animation: none !important;
  filter: none !important;
}

/* ===== SUMBER: css/tour360.css ===== */

.tour360-start {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 26px 10px 10px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffa03a, #ff6b00);
  color: #fff;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255, 107, 0, .38);
  transition: transform .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.tour360-start[hidden] { display: none; }
.tour360-start:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 107, 0, .45); }
.tour360-start:active { transform: scale(.97); }
.tour360-start-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .22);
  border: 1.5px solid rgba(255, 255, 255, .6);
  font-size: 1.1rem;
}
.tour360-empty-msg { color: var(--text-muted); font-size: .95rem; }
.tour360-empty-msg[hidden] { display: none; }

html.tour360-lock, html.tour360-lock body { overflow: hidden !important; }

.tour360-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: #05070d;
  overflow: hidden;
  font-family: inherit;
}
.tour360-overlay[hidden] { display: none; }
.tour360-overlay #tour360Viewer { position: absolute; inset: 0; width: 100%; height: 100%; }
.tour360-overlay canvas { pointer-events: auto; }

.tour360-overlay .tour360-loading {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  text-align: center;
  color: #f4e7d3;
  font-size: .95rem;
  background: radial-gradient(circle at center, rgba(60, 30, 10, .55), rgba(5, 7, 13, .94));
  pointer-events: none;
}
.tour360-overlay .tour360-loading.hidden { display: none; }

.tour360-menu-btn {
  position: absolute;
  top: calc(16px + env(safe-area-inset-top, 0px));
  left: 16px;
  z-index: 8;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(30, 20, 14, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.tour360-menu-btn > span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffa03a, #ff6b00);
  transition: transform .2s ease;
}
.tour360-menu-btn[aria-expanded="true"] > span { transform: rotate(180deg); }

.tour360-label {
  position: absolute;
  top: calc(16px + env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  max-width: calc(100% - 170px);
  padding: 12px 24px;
  border-radius: 14px;
  border: 1px solid rgba(255, 190, 110, .55);
  background: linear-gradient(180deg, rgba(120, 66, 20, .88), rgba(62, 32, 10, .9));
  color: #fbe9cc;
  font-size: 1.08rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.tour360-label:empty { display: none; }

.tour360-panel {
  position: absolute;
  top: calc(16px + env(safe-area-inset-top, 0px));
  left: 16px;
  z-index: 9;
  width: min(330px, calc(100% - 32px));
  max-height: calc(100% - 130px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  padding: 16px 16px 14px;
  border-radius: 26px;
  background: rgba(46, 26, 14, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 190, 110, .14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}
.tour360-panel[hidden] { display: none; }
.tour360-panel-title {
  flex: none;
  padding: 2px 6px 12px;
  color: #ffa03a;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .06em;
}
.tour360-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
}
.tour360-list button {
  flex: none;
  text-align: left;
  padding: 15px 18px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  color: #f1e3cf;
  font: inherit;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.tour360-list button:hover { background: rgba(255, 255, 255, .12); }
.tour360-list button.active {
  background: linear-gradient(135deg, #ff9a1f, #ff7a00);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(255, 122, 0, .4);
}

.tour360-back {
  position: absolute;
  right: 16px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 32px 14px 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffa03a, #ff6b00);
  color: #fff;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .4);
  -webkit-tap-highlight-color: transparent;
}
.tour360-back:active { transform: scale(.96); }
.tour360-back-ico {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .15);
}

@media (min-width: 900px) {
  .tour360-label { font-size: 1.15rem; }
}

.t360-hs{position:relative;display:block;width:52px;height:52px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.t360-hs-dot{
  position:absolute;left:9px;top:9px;width:34px;height:34px;border-radius:50%;
  display:grid;place-items:center;
  background:rgba(8,28,62,.62);border:2px solid rgba(255,255,255,.95);
  box-shadow:0 0 0 1px rgba(255,160,58,.55),0 4px 14px rgba(0,0,0,.5),inset 0 0 10px rgba(255,160,58,.25);
  -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}
.t360-hs-dot svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;filter:drop-shadow(0 1px 2px rgba(0,0,0,.5));transition:transform .3s ease}
.t360-hs:hover .t360-hs-dot,.t360-hs:focus-visible .t360-hs-dot{transform:scale(1.15);background:rgba(255,122,0,.85);border-color:#fff}
.t360-hs:hover .t360-hs-dot svg{transform:rotate(90deg)}
.t360-hs:active .t360-hs-dot{transform:scale(.92)}
.t360-hs-ring{position:absolute;left:9px;top:9px;width:34px;height:34px;border-radius:50%;border:2px solid rgba(255,196,110,.85);opacity:0;pointer-events:none;animation:t360-hs-ping 2.4s cubic-bezier(.2,.6,.3,1) infinite}
.t360-hs-ring2{animation-delay:1.2s}
@keyframes t360-hs-ping{0%{transform:scale(1);opacity:.85}100%{transform:scale(1.9);opacity:0}}
.t360-hs-lbl{
  position:absolute;left:50%;bottom:100%;transform:translate(-50%,4px);margin-bottom:-2px;
  padding:6px 13px;border-radius:999px;white-space:nowrap;max-width:60vw;overflow:hidden;text-overflow:ellipsis;
  font:600 .8rem/1.2 var(--font-body,'Inter',system-ui,sans-serif);font-style:normal;color:#fff;
  background:rgba(5,22,48,.88);border:1px solid rgba(255,196,110,.6);box-shadow:0 6px 16px rgba(0,0,0,.45);
  opacity:0;pointer-events:none;transition:opacity .18s ease,transform .18s ease;
}
.t360-hs:hover .t360-hs-lbl,.t360-hs:focus-visible .t360-hs-lbl{opacity:1;transform:translate(-50%,0)}
@media (hover:none){.t360-hs-lbl{display:none}}
@media (prefers-reduced-motion:reduce){.t360-hs-ring{animation:none}.t360-hs-ring2{display:none}}

.tour360-overlay:has(.tour360-loading.tl:not([data-state="hidden"])) .tour360-menu-btn,
.tour360-overlay:has(.tour360-loading.tl:not([data-state="hidden"])) .tour360-label,
.tour360-overlay:has(.tour360-loading.tl:not([data-state="hidden"])) .tour360-panel{visibility:hidden}

/* ===== SUMBER: css/tour360-loader.css ===== */
.tour360-overlay .tour360-loading.tl{
  --tl-gold:#d4a94c; --tl-gold-soft:#f6e7c1; --tl-orange:#ff6b00;
  position:absolute; inset:0; z-index:5; display:block; padding:0; gap:0; overflow:hidden;
  color:#fff; font-size:inherit; text-align:center; pointer-events:auto;
  background:
    radial-gradient(70% 50% at 50% 108%, rgba(255,122,0,.22), transparent 70%),
    radial-gradient(120% 90% at 50% 34%, #123a78 0%, #0a2349 40%, #051630 72%, #020a16 100%);
  clip-path:circle(150% at 50% 44%);
  font-family:var(--font-display,'Sora','Segoe UI',sans-serif);
}
.tour360-overlay .tour360-loading.tl[data-state="hidden"]{display:none!important}
.tour360-overlay .tour360-loading.tl[data-state="out"]{
  pointer-events:none; clip-path:circle(0% at 50% 44%);
  transition:clip-path .74s cubic-bezier(.7,0,.2,1);
}

.tl-bg{position:absolute;inset:0;overflow:hidden}
.tl-orb{position:absolute;border-radius:50%;filter:blur(70px);opacity:.5;will-change:transform}
.tl-o1{width:56vmax;height:56vmax;left:-20vmax;top:-22vmax;background:radial-gradient(circle,#2f78e0,transparent 66%);animation:tl-drift1 17s ease-in-out infinite alternate}
.tl-o2{width:44vmax;height:44vmax;right:-16vmax;bottom:-16vmax;background:radial-gradient(circle,rgba(255,122,0,.6),transparent 66%);animation:tl-drift2 20s ease-in-out infinite alternate}
@keyframes tl-drift1{to{transform:translate3d(10vmax,8vmax,0)}}
@keyframes tl-drift2{to{transform:translate3d(-9vmax,-7vmax,0)}}
.tl-grid{position:absolute;inset:-25% -10% -10%;opacity:.28;
  background:
    repeating-linear-gradient(0deg,rgba(255,255,255,.07) 0 1px,transparent 1px 56px),
    repeating-linear-gradient(90deg,rgba(255,255,255,.07) 0 1px,transparent 1px 56px);
  transform:perspective(620px) rotateX(62deg) translateY(36%);
  -webkit-mask-image:linear-gradient(#000 25%,transparent 80%);mask-image:linear-gradient(#000 25%,transparent 80%);
  animation:tl-grid 7s linear infinite}
@keyframes tl-grid{to{background-position:0 56px,56px 0}}
.tl-star{position:absolute;width:var(--s,2px);height:var(--s,2px);border-radius:50%;background:#fff;opacity:.2;animation:tl-twinkle 4.5s ease-in-out infinite}
@keyframes tl-twinkle{50%{opacity:.85;transform:scale(1.5)}}

.tl-stage{position:absolute;left:0;right:0;top:0;bottom:calc(138px + env(safe-area-inset-bottom,0px));
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:0 24px}
.tl-core{position:relative;width:min(70vw,320px,42vh);aspect-ratio:1;flex:none;animation:tl-float 6s ease-in-out infinite}
@keyframes tl-float{50%{transform:translateY(-6px)}}
.tl-core svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.tl-halo{animation:tl-pulse 3.4s ease-in-out infinite;transform-origin:150px 150px}
@keyframes tl-pulse{50%{transform:scale(1.035);opacity:.45}}
.tl-arc{filter:drop-shadow(0 0 8px rgba(255,107,0,.7))}
.tl-head{transform-origin:150px 150px;filter:drop-shadow(0 0 7px rgba(255,170,70,.95))}

.tl-dial{transform-origin:150px 150px;animation:tl-rot-ccw 46s linear infinite}
.tl-dash{transform-origin:150px 150px;animation:tl-rot-cw 30s linear infinite}
@keyframes tl-rot-cw{to{transform:rotate(360deg)}}
@keyframes tl-rot-ccw{to{transform:rotate(-360deg)}}
.tl-tk-mid{stroke:rgba(255,226,160,.9);stroke-width:1.5}
.tl-tk-big{stroke:#ffb23e;stroke-width:2.2}
.tl-letters text{fill:rgba(255,236,190,.82);letter-spacing:0}
.tl-letters .tl-L-n{fill:#ff8a2a;font-size:15px;filter:drop-shadow(0 0 6px rgba(255,122,0,.9))}

.tl-needle{transform-origin:150px 150px;filter:drop-shadow(0 3px 7px rgba(0,0,0,.55)) drop-shadow(0 0 6px rgba(255,120,20,.35));will-change:transform}

.tl-sweep{position:absolute;inset:11%;border-radius:50%;pointer-events:none;
  background:conic-gradient(from 0deg,rgba(255,170,70,0) 0deg,rgba(255,170,70,0) 250deg,rgba(255,170,70,.34) 358deg,rgba(255,235,190,.7) 360deg);
  -webkit-mask-image:radial-gradient(circle,transparent 34%,#000 36%,#000 96%,transparent 100%);mask-image:radial-gradient(circle,transparent 34%,#000 36%,#000 96%,transparent 100%);
  animation:tl-rot-cw 3.2s linear infinite}
.tl-ping{position:absolute;inset:0;pointer-events:none}
.tl-ping i{position:absolute;left:50%;top:50%;width:36%;aspect-ratio:1;margin:-18% 0 0 -18%;border-radius:50%;border:1.5px solid rgba(255,196,110,.55);opacity:0;animation:tl-ping 3.6s cubic-bezier(.2,.6,.3,1) infinite}
.tl-ping i:nth-child(2){animation-delay:1.2s}.tl-ping i:nth-child(3){animation-delay:2.4s}
@keyframes tl-ping{0%{transform:scale(.9);opacity:.75}100%{transform:scale(2.5);opacity:0}}

.tl-logo{position:absolute;left:50%;top:50%;width:31%;aspect-ratio:1;transform:translate(-50%,-50%);
  border-radius:50%;background:radial-gradient(circle at 35% 28%,#fff,#eef3fb 70%);padding:7%;overflow:hidden;
  box-shadow:0 0 0 2.5px rgba(212,169,76,.9),0 0 0 5px rgba(10,35,73,.85),0 0 0 6.5px rgba(212,169,76,.45),0 0 38px rgba(255,150,40,.45),0 14px 36px rgba(0,0,0,.55);
  animation:tl-breathe 3s ease-in-out infinite}
.tl-logo img{width:100%;height:100%;object-fit:contain;display:block;position:relative}
.tl-logo::after{content:"";position:absolute;inset:-20% -60%;background:linear-gradient(105deg,transparent 42%,rgba(255,255,255,.85) 50%,transparent 58%);transform:translateX(-70%);animation:tl-shine 3.6s ease-in-out infinite}
@keyframes tl-shine{0%,55%{transform:translateX(-70%)}100%{transform:translateX(70%)}}
@keyframes tl-breathe{50%{transform:translate(-50%,-50%) scale(1.045)}}
.tl-sparks{position:absolute;inset:0;pointer-events:none;overflow:visible}
.tl-spark{position:absolute;bottom:18%;width:4px;height:4px;border-radius:50%;background:#ffd98a;box-shadow:0 0 8px 2px rgba(255,170,60,.8);opacity:0;animation:tl-spark 4s ease-in infinite}
@keyframes tl-spark{0%{transform:translate(0,0) scale(.6);opacity:0}15%{opacity:.9}100%{transform:translate(var(--dx,0),-190px) scale(.2);opacity:0}}

.tl-hdg{margin-top:2px;display:inline-flex;align-items:center;gap:6px;padding:3px 12px;border-radius:999px;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.13);color:rgba(255,236,190,.85);
  font:600 .7rem/1.4 var(--font-body,'Inter',sans-serif);letter-spacing:.1em;font-variant-numeric:tabular-nums}
.tl-hdg svg{color:#ff8a2a;transform:rotate(0deg)}
.tl-hdg b{font-weight:800;color:#fff;min-width:2.2em;text-align:right;display:inline-block}
.tl-hdg-c{color:#ffb23e;font-weight:800;min-width:1.6em;text-align:left;margin-left:2px}

.tl.tl-locked .tl-arc{filter:drop-shadow(0 0 14px rgba(255,170,60,1))}
.tl.tl-locked .tl-letters .tl-L-n{animation:tl-nflash .5s ease 3}
@keyframes tl-nflash{50%{fill:#fff;filter:drop-shadow(0 0 12px #fff)}}
.tl.tl-locked .tl-hdg{border-color:rgba(255,178,62,.7);color:#fff;box-shadow:0 0 18px rgba(255,150,40,.4)}
.tl.tl-locked .tl-sweep{animation-duration:1s}
.tl.tl-locked .tl-ping i{animation-duration:1.4s}
.tl.tl-locked .tl-status{color:#fff}

.tl-num{margin-top:8px;line-height:1;display:flex;align-items:flex-start;justify-content:center}
.tl-num b{font-size:clamp(2.4rem,11vw,3.4rem);font-weight:800;letter-spacing:-.03em;font-variant-numeric:tabular-nums;
  background:linear-gradient(180deg,#fff 30%,#ffe3a8);-webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 4px 18px rgba(0,0,0,.35))}
.tl-num sup{font-size:1.15rem;font-weight:700;color:var(--tl-gold);margin:.5rem 0 0 4px}
.tl-status{min-height:1.5em;max-width:min(88vw,420px);color:var(--tl-gold-soft);font-size:1rem;font-weight:600;
  font-family:var(--font-body,'Inter',sans-serif);line-height:1.4}
.tl-chip{margin-top:6px;padding:6px 16px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  color:#fff;font-size:.84rem;font-weight:600;font-family:var(--font-body,'Inter',sans-serif);max-width:80vw;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tl-chip[hidden]{display:none}

.tl-actions{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap;justify-content:center}
.tl-actions[hidden],.tl-btn[hidden]{display:none}
.tl-btn{border:0;border-radius:999px;padding:11px 26px;font:inherit;font-size:.95rem;font-weight:700;cursor:pointer;color:#fff;
  background:linear-gradient(135deg,#ffa03a,#ff6b00);box-shadow:0 8px 22px rgba(255,107,0,.42);-webkit-tap-highlight-color:transparent}
.tl-btn:active{transform:scale(.96)}
.tl-btn.tl-ghost{background:rgba(255,255,255,.12);box-shadow:none;border:1px solid rgba(255,255,255,.26)}

.tl-foot{position:absolute;left:0;right:0;bottom:calc(96px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;align-items:center;gap:10px;padding:0 20px}
.tl-tip{display:inline-flex;align-items:center;gap:9px;padding:9px 18px;border-radius:999px;max-width:min(92vw,440px);
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  color:rgba(255,255,255,.88);font-size:.86rem;font-family:var(--font-body,'Inter',sans-serif);line-height:1.3}
.tl-tip svg{flex:none;color:var(--tl-gold)}
.tl-tip.tl-tip-in{animation:tl-tipin .6s ease both}
@keyframes tl-tipin{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.tl-school{color:rgba(255,255,255,.45);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;font-family:var(--font-body,'Inter',sans-serif)}

.tl.tl-err .tl-arc{stroke:#ff6b6b;filter:none}
.tl.tl-err .tl-head,.tl.tl-err .tl-num{opacity:.35}
.tl.tl-err .tl-dial,.tl.tl-err .tl-dash,.tl.tl-err .tl-sweep,.tl.tl-err .tl-ping i,.tl.tl-err .tl-spark,.tl.tl-err .tl-core,.tl.tl-err .tl-logo,.tl.tl-err .tl-logo::after,.tl.tl-err .tl-orb,.tl.tl-err .tl-grid,.tl.tl-err .tl-halo{animation-play-state:paused}
.tl.tl-err .tl-sweep,.tl.tl-err .tl-sparks,.tl.tl-err .tl-ping{opacity:.25}
.tl.tl-err .tl-hdg{display:none}
.tl.tl-err .tl-status{color:#ffc9c9}
.tl.tl-err .tl-tip{display:none}

@media (max-height:520px){
  .tl-stage{bottom:calc(70px + env(safe-area-inset-bottom,0px));flex-direction:row;flex-wrap:wrap;gap:6px 26px}
  .tl-core{width:min(56vh,190px)}
  .tl-hdg{display:none}
  .tl-num{margin-top:0}
  .tl-foot{bottom:calc(22px + env(safe-area-inset-bottom,0px));align-items:flex-start;padding-left:90px}
  .tl-school{display:none}
}

.tl[data-state="out"] .tl-logo{transform:translate(-50%,-50%) scale(1.45);opacity:0;transition:transform .7s,opacity .45s;animation:none}
.tl[data-state="out"] .tl-stage,.tl[data-state="out"] .tl-foot{opacity:0;transition:opacity .3s}

.tour360-overlay .psv-loader-container{display:none!important}

@media (prefers-reduced-motion:reduce){
  .tl *{animation:none!important;transition-duration:.01s!important}
  .tl{transition-duration:.01s!important}
}

/* ===== SUMBER: css/tour-home.css ===== */

.vt-home{position:relative;padding:34px 0 8px}
.vt-home[hidden]{display:none}

.vt-banner{
  position:relative;display:block;width:100%;height:clamp(190px,26vw,270px);padding:0;border:0;cursor:pointer;
  border-radius:28px;overflow:hidden;isolation:isolate;color:#fff;text-align:center;
  background:#051630;font-family:var(--font-display,'Sora','Segoe UI',sans-serif);
  box-shadow:0 0 0 1px rgba(255,196,110,.38),0 24px 48px -26px rgba(5,22,48,.9);
  transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease;
  -webkit-tap-highlight-color:transparent;
}
.vt-banner:hover{transform:translateY(-3px);box-shadow:0 0 0 1px rgba(255,196,110,.7),0 30px 56px -24px rgba(5,22,48,.95),0 0 40px -8px rgba(255,138,42,.45)}
.vt-banner:active{transform:scale(.985)}
.vt-banner:focus-visible{outline:3px solid #ffb23e;outline-offset:3px}

.vt-bg{
  position:absolute;z-index:-2;top:0;bottom:0;left:0;width:128%;
  background:url("../assets/profil-sekolah.jpg") center/cover no-repeat;
  animation:vt-pan 38s ease-in-out infinite alternate;will-change:transform;
  transition:filter .5s ease;
}
.vt-banner:hover .vt-bg{filter:saturate(1.15) brightness(1.06)}
@keyframes vt-pan{to{transform:translate3d(-21.8%,0,0)}}
.vt-shade{
  position:absolute;inset:0;z-index:-1;
  background:
    radial-gradient(60% 90% at 50% 100%,rgba(255,122,0,.28),transparent 70%),
    linear-gradient(180deg,rgba(5,22,48,.5) 0%,rgba(5,22,48,.72) 100%);
}

.vt-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:0 16px}

.vt-orb{position:relative;width:92px;height:92px;flex:none;display:grid;place-items:center;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.vt-banner:hover .vt-orb{transform:scale(1.08)}
.vt-core{
  position:relative;z-index:1;width:78px;height:78px;border-radius:50%;display:grid;place-items:center;
  background:linear-gradient(145deg,rgba(255,160,58,.95),rgba(255,107,0,.92) 70%,rgba(226,83,10,.95));
  border:2px solid rgba(255,255,255,.85);
  box-shadow:0 10px 26px -6px rgba(255,107,0,.75),inset 0 1px 0 rgba(255,255,255,.45);
}
.vt-core b{font-size:1.32rem;font-weight:800;letter-spacing:-.02em;line-height:1;text-shadow:0 2px 6px rgba(120,40,0,.45)}
.vt-dash{position:absolute;inset:0;width:100%;height:100%;overflow:visible;animation:vt-spin 22s linear infinite}
.vt-dash circle{fill:none;stroke:rgba(255,226,160,.85);stroke-width:1.4;stroke-dasharray:2 5.4;stroke-linecap:round}
@keyframes vt-spin{to{transform:rotate(360deg)}}
.vt-ping{position:absolute;inset:7px;border-radius:50%;border:2px solid rgba(255,178,62,.7);opacity:0;animation:vt-ping 2.8s cubic-bezier(.2,.6,.3,1) infinite}
.vt-ping2{animation-delay:1.4s}
@keyframes vt-ping{0%{transform:scale(1);opacity:.8}100%{transform:scale(2.1);opacity:0}}

.vt-title{
  display:inline-flex;align-items:center;gap:10px;font-size:clamp(1.05rem,2.4vw,1.35rem);font-weight:800;letter-spacing:.04em;
  text-shadow:0 2px 12px rgba(0,0,0,.55);
}
.vt-title i{font-size:.8em;color:#ffb23e;transition:transform .3s ease}
.vt-banner:hover .vt-title i{transform:translateX(6px)}

@media (max-width:480px){
  .vt-home{padding-top:22px}
  .vt-banner{border-radius:22px;height:200px}
  .vt-bg{width:170%}
  @keyframes vt-pan{to{transform:translate3d(-41%,0,0)}}
}
@media (prefers-reduced-motion:reduce){
  .vt-bg,.vt-dash,.vt-ping{animation:none!important}
  .vt-ping2{display:none}
  .vt-banner,.vt-orb,.vt-title i{transition-duration:.01s!important}
}
:root[data-perf="low"] .vt-bg,:root[data-perf="low"] .vt-ping{animation:none}
:root[data-perf="low"] .vt-ping2{display:none}

/* ===== SUMBER: css/stroke-text.css ===== */
.stroke-text {
  display: block;
  width: 100%;
  line-height: 0;
}

.stroke-text--hover {
  cursor: pointer;
}

.stroke-text__svg {
  display: block;
  width: 100%;
  max-width: var(--stroke-text-width, 600px);
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

.stroke-text__stroke,
.stroke-text__fill {
  user-select: none;
}

/* ===== SUMBER: css/title-rotator.css ===== */

.hero-content .eyebrow.eyebrow-rotator.hero-flap {
  display: block !important;
  width: 100%;
  max-width: 100%;
  letter-spacing: 0;
  text-shadow: none;
}
.hero-flap .stroke-text { max-width: 100%; }
.hero-flap .stroke-text__svg { margin: 0 0 0 calc(-1 * var(--stroke-text-pad, 0px)); max-width: calc(var(--stroke-text-width, 600px)); }

.logo-text small.header-rotator,
.menu-panel-logo small.header-rotator {
  display: inline-grid !important;
  grid-template-areas: "slot";
  align-items: center;
  justify-items: start;
  overflow: hidden;
  white-space: nowrap !important;
  line-height: 1.45 !important;
  padding: 1px 0;
  margin-top: 0 !important;
}
.logo-text small.header-rotator .hr-item,
.menu-panel-logo small.header-rotator .hr-item {
  grid-area: slot;
  opacity: 0;
  white-space: nowrap;
  will-change: transform, opacity;
  animation: hrScrollDown 9s ease-in-out infinite both;
}
.logo-text small.header-rotator .hr-item:nth-child(1),
.menu-panel-logo small.header-rotator .hr-item:nth-child(1) { animation-delay: 0s; }
.logo-text small.header-rotator .hr-item:nth-child(2),
.menu-panel-logo small.header-rotator .hr-item:nth-child(2) { animation-delay: 3s; }
.logo-text small.header-rotator .hr-item:nth-child(3),
.menu-panel-logo small.header-rotator .hr-item:nth-child(3) { animation-delay: 6s; }

@keyframes hrScrollDown {
  0%   { opacity: 0; transform: translateY(-85%); }
  7%   { opacity: 1; transform: translateY(0); }
  27%  { opacity: 1; transform: translateY(0); }
  34%  { opacity: 0; transform: translateY(85%); }
  100% { opacity: 0; transform: translateY(85%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-text small.header-rotator .hr-item,
  .menu-panel-logo small.header-rotator .hr-item { animation: none !important; }
  .logo-text small.header-rotator .hr-item:first-child,
  .menu-panel-logo small.header-rotator .hr-item:first-child { opacity: 1; transform: none; }
}

/* ===== Tombol Unduh Mobile Amga (ditambahkan) ===== */
/* ===== Tombol Unduh Mobile Amga (footer) ===== */
.footer-mobileapp {
  position: relative;
  margin: 0 0 28px;
  padding: 26px 22px;
  border-radius: var(--radius-lg, 22px);
  background: linear-gradient(135deg, rgba(255,107,0,0.14), rgba(30,95,204,0.10));
  border: 1px solid rgba(255,107,0,0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  overflow: hidden;
}
.footer-mobileapp::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255,107,0,0.35), transparent 70%);
  pointer-events: none;
}
.footer-mobileapp-info {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}
.footer-mobileapp-icon {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff6b00, #ff9248);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 10px 24px -10px rgba(255,107,0,0.55);
}
.footer-mobileapp-text h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-dark);
}
.footer-mobileapp-text p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.btn-download-apk {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #ff6b00, #ff8a3d);
  box-shadow: 0 12px 28px -10px rgba(255,107,0,0.55);
  transition: var(--transition);
  overflow: hidden;
  isolation: isolate;
}
.btn-download-apk::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: apkShine 2.6s ease-in-out infinite;
}
@keyframes apkShine {
  0%, 60% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
.btn-download-apk:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 34px -10px rgba(255,107,0,0.65);
}
.btn-download-apk:active { transform: translateY(0) scale(0.98); }
.btn-download-apk .dl-icon {
  display: inline-flex;
  animation: apkBounce 1.8s ease-in-out infinite;
}
@keyframes apkBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* Modal konfirmasi */
.apk-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(7,28,58,0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.apk-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.apk-modal-card {
  width: 100%;
  max-width: 340px;
  background: var(--surface, #fff);
  border-radius: 22px;
  padding: 26px 24px 22px;
  text-align: center;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.45);
  transform: translateY(18px) scale(0.96);
  transition: transform 0.3s var(--ease);
}
.apk-modal-overlay.active .apk-modal-card {
  transform: translateY(0) scale(1);
}
.apk-modal-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ff6b00, #ff9248);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 12px 26px -8px rgba(255,107,0,0.55);
}
.apk-modal-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-dark);
}
.apk-modal-card p {
  margin: 0 0 20px;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.apk-modal-actions {
  display: flex;
  gap: 10px;
}
.apk-modal-actions button {
  flex: 1;
  padding: 12px 0;
  border-radius: 14px;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.apk-modal-no {
  background: var(--surface-alt, #f5f8fc);
  color: var(--text-muted);
  border: 1px solid var(--hairline) !important;
}
.apk-modal-no:hover { background: var(--hairline); }
.apk-modal-yes {
  background: linear-gradient(135deg, #ff6b00, #ff8a3d);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(255,107,0,0.55);
}
.apk-modal-yes:hover { transform: translateY(-1px); }

@media (max-width: 560px) {
  .footer-mobileapp { flex-direction: column; align-items: stretch; text-align: center; }
  .footer-mobileapp-info { justify-content: center; }
  .btn-download-apk { justify-content: center; width: 100%; }
}

:root[data-theme="dark"] .footer-mobileapp,
:root:not([data-theme="light"]) .footer-mobileapp {
  background: linear-gradient(135deg, rgba(255,107,0,0.16), rgba(30,95,204,0.14));
  border-color: rgba(255,107,0,0.3);
}
:root[data-theme="dark"] .apk-modal-card,
:root:not([data-theme="light"]) .apk-modal-card {
  background: var(--navy, #0b2545);
}
:root[data-theme="dark"] .apk-modal-card h3,
:root:not([data-theme="light"]) .apk-modal-card h3 {
  color: #fff;
}
