





/* NUCLEAR OPTION - PASTE DI ATAS SEMUA CSS LAIN */
html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

body * {
    max-width: 100vw !important;
    box-sizing: border-box !important;
}

/* Force semua elemen tidak bisa melebihi container */
div, section, article, header, footer, nav, main, aside, figure, img, iframe, video, embed, object, table, form, input, textarea, select, button, a, span, p, h1, h2, h3, h4, h5, h6, ul, ol, li {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
}

/* Fix khusus untuk mobile */
@media screen and (max-width: 768px) {
    body {
        width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    .wrap, .home-grid, .detail-wrap, .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

:root { 
  --toska1: #0ea5a4;   /* hijau toska terang */
  --toska2: #059669;   /* hijau toska gelap */
  --gold: #f6c84a;     /* keemasan */
  --bg: #f0fbf9;
  --text: #0b2f2a;
}

/* ================= FIX HORIZONTAL SCROLL ================= */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
  max-width: 100%;
}

body {
  overflow-x: hidden !important;
}

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

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Cairo", sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
}
body {
  padding-top: 70px; /* Sesuaikan dengan tinggi header */
}

/* Tambahkan di CSS */
body.nav-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

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

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




/* ================= NUCLEAR BODY COLOR BLAST ================= */
body {
  background: linear-gradient(135deg, #0ea5a4, #f59e0b) !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
}




/* ================= NUCLEAR SIMPLE SCROLL GLOW ================= */
body::after {
  content: '' !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 300% !important;
  background: 
    linear-gradient(45deg, 
      transparent 30%, 
      rgba(245, 158, 11, 0.1) 50%, 
      transparent 70%
    ),
    linear-gradient(-45deg, 
      transparent 30%, 
      rgba(14, 165, 164, 0.1) 50%, 
      transparent 70%
    ) !important;
  z-index: -2 !important;
  pointer-events: none !important;
  animation: nuclearFlow 25s linear infinite !important;
}

@keyframes nuclearFlow {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}








/* Optional: Kasih texture subtle biar makin aesthetic */
body::before {
  content: '' !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%) !important;
  z-index: -1 !important;
  pointer-events: none !important;
}

/* Biar konten tetep readable */
main, .content, .container {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(10px) !important;
  border-radius: 20px !important;
  margin: 20px !important;
  padding: 30px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
}

/* Kalau ada card atau box */
.card, .box, .post {
  background: rgba(255,255,255,0.9) !important;
  backdrop-filter: blur(5px) !important;
  border-radius: 15px !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
}

/* Text color biar tetep contrast */
body, p, h1, h2, h3, h4, h5, h6 {
  color: #1a202c !important;
}

/* Links biar matching dengan theme */
a {
  color: #0ea5a4 !important;
  transition: all 0.3s ease !important;
}

a:hover {
  color: #f59e0b !important;
  transform: translateY(-2px) !important;
}

/* Button styles yang match */
button, .btn, input[type="submit"] {
  background: linear-gradient(135deg, #0ea5a4, #f59e0b) !important;
  color: white !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(14, 165, 164, 0.3) !important;
}

button:hover, .btn:hover, input[type="submit"]:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(14, 165, 164, 0.4) !important;
}

/* Footer biar blend */
footer {
  background: rgba(0,0,0,0.1) !important;
  backdrop-filter: blur(10px) !important;
  border-top: 1px solid rgba(255,255,255,0.2) !important;
  color: white !important;
  text-align: center !important;
  padding: 30px 20px !important;
}








/* ================= TOPBAR ================= */
.topbar {
  background: linear-gradient(90deg, var(--toska1), var(--gold), var(--toska2));
  color: #fff;
  position: sticky;
  top: -1px; /* Trick untuk memastikan sticky work */
  left: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 6px 0;
  
  /* Force stacking context */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.topbar.hidden {
  transform: translateY(-100%);
}
.wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px; /* Batas maksimum */
  margin: 0 auto; /* Pusatkan konten */
  padding: 0 20px; /* Padding konsisten */
  width: 100%;
}

.logo {
    display: inline-block;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 5px; /* Jarak sangat dekat */
    text-decoration: none;
    margin: 0;
    padding: 0;
}

..logo img {
    width: auto;
    height: 50px;
    display: block;
    border-radius: 10px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    object-fit: contain;
    border: 2px solid rgba(14, 165, 164, 0.3);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 3px;
    background: white;
}

.logo img:hover {
    transform: scale(1.05);
    border-color: #f59e0b;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    align-items: center; /* Pusatkan teks */
    text-align: center;
}

.organization-name {
    font-size: 15px;
    font-weight: 800;
    background: linear-gradient(135deg, #20c997 0%, #20c997 50%, #d4af37 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: #20c997;
    letter-spacing: 0.5px;
    text-shadow: 
       1px 1px 0 #1a1a1a,
        -1px -1px 0 #1a1a1a,
        1px -1px 0 #1a1a1a,
        -1px 1px 0 #1a1a1a,
        0px 1px 0 #1a1a1a,
        1px 0px 0 #1a1a1a,
        0px -1px 0 #1a1a1a,
        -1px 0px 0 #1a1a1a,
        2px 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    line-height: 1;
    margin-bottom: 1px;
}

.location-name {
    font-size: 9px;
    font-weight: 700;
    color: #20c997;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 
        0.5px 0.5px 0 #1a1a1a,
        -0.5px -0.5px 0 #1a1a1a,
        0.5px -0.5px 0 #1a1a1a,
        -0.5px 0.5px 0 #1a1a1a,
        0px 0.5px 0 #1a1a1a,
        0.5px 0px 0 #1a1a1a,
        0px -0.5px 0 #1a1a1a,
        -0.5px 0px 0 #1a1a1a,
        1px 1px 3px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    line-height: 1;
}

/* Media queries */
@media screen and (max-width: 768px) {
    .logo a {
        gap: 3px;
    }
}

@media screen and (max-width: 480px) {
    .logo a {
        gap: 2px;
    }
}

/* Navigation Desktop */
.nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav a {
  text-decoration: none;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  
}
.nav a:hover {
  background: rgba(255,255,255,0.25);
  color: var(--gold);
  
}

/* Menu toggle HP/Tablet */
.menu-toggle {
  display: none;
  background: linear-gradient(135deg, var(--toska1), var(--gold));
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 1.7rem;
  cursor: pointer;
  z-index: 2000;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  
}
.menu-toggle:hover { 
  transform: scale(1.08); 
}
.menu-toggle.active { 
  background: var(--gold); 
  color: var(--text); 
  transform: rotate(90deg); 
}

/* ================= RESPONSIVE ================= */

/* Tablet Landscape */
@media(max-width: 1024px) {
  .menu-toggle { 
    display: block; 
  }
  
  .nav {
    position: fixed;
    top: 60px; /* Sesuaikan dengan tinggi header */
    right: -100%;
    width: 50%;
    max-width: 400px;
    height: calc(100vh - 60px);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    border-radius: 12px 0 0 12px;
    background: linear-gradient(180deg, var(--gold), var(--toska1));
    transition: right 0.35s ease-in-out;
    z-index: 9999;
    
  }
  
  .nav.show { 
    right: 0; 
  }
  
  .nav a { 
    display: block; 
    width: 100%; 
    font-size: 1.1rem; 
   
  }
  
  /* Pastikan konten tidak terhalang nav mobile */
  body.nav-open {
    overflow: hidden; /* Prevent background scroll ketika menu terbuka */
  }
}

/* Tablet Portrait */
@media(max-width: 820px) {
  .nav { 
    width: 75%; 
    max-width: 320px; 
    padding: 22px; 
    gap: 16px; 
  }
  .nav a { 
    font-size: 1.05rem; 
  }
}

/* Mobile */
@media(max-width: 480px) {
  .wrap {
    padding: 0 15px;
  }
  
  .nav {
    width: 85%;
    max-width: 85vw;
    padding: 20px;
  }
  
  .logo img {
    height: 42px; /* Sedikit lebih kecil di mobile */
  }
  
  /* Fix mobile horizontal scroll */
  html, body {
    width: 100vw;
    overflow-x: hidden;
  }
}

/* ================= NUCLEAR HEADER ACTIONS ================= */
.header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-left: auto !important; /* PUSH KE KANAN */
  position: relative !important;
}

/* Search & Dark Mode Buttons */
.search-toggle,
.dark-mode-toggle {
  background: linear-gradient(135deg, var(--toska1), var(--gold)) !important;
  border: none !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
  font-size: 1.2rem !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.search-toggle:hover,
.dark-mode-toggle:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
}

/* Search Box - Hidden by Default */
.search-box {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  width: 300px !important;
  max-width: 90vw !important;
  background: white !important;
  padding: 15px !important;
  border-radius: 8px !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
  z-index: 1001 !important;
  display: none !important;
}

.search-box.show {
  display: block !important;
}

.search-box form {
  display: flex !important;
  gap: 8px !important;
  width: 100% !important;
}

.search-box input {
  flex: 1 !important;
  padding: 10px 12px !important;
  border: 2px solid var(--toska1) !important;
  border-radius: 6px !important;
  font-size: 0.9rem !important;
  font-family: 'Cairo', sans-serif !important;
  min-width: 0 !important; /* IMPORTANT: Prevent flex overflow */
}

.search-box button {
  background: var(--toska1) !important;
  color: white !important;
  border: none !important;
  padding: 10px 15px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  font-family: 'Cairo', sans-serif !important;
  white-space: nowrap !important;
}

.search-box button:hover {
  background: var(--toska2) !important;
}






/* ================= NUCLEAR RESET - HIDE SEMUA YANG TIDAK PERLU ================= */
.search-toggle,
.actions-dropdown,
.dark-mode-toggle,
.actions-toggle {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  pointer-events: none !important;
}

/* ================= TOPBAR SUPER STICKY ================= */
.topbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 70px !important;
  background: white !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1) !important;
  z-index: 10000 !important;
}

.topbar .wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 20px !important;
  height: 70px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  position: relative !important;
}

/* ================= LOGO ================= */
.logo {
  flex-shrink: 0 !important;
  z-index: 10001 !important;
}

/* ================= MENU TOGGLE ================= */
.menu-toggle {
  display: none !important;
  width: 44px !important;
  height: 44px !important;
  background: linear-gradient(135deg, #0ea5a4, #f59e0b) !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 1.3rem !important;
  cursor: pointer !important;
  color: white !important;
  z-index: 10002 !important;
}

/* ================= NAV MENU DESKTOP ================= */
.nav {
  display: flex !important;
  gap: 15px !important;
  align-items: center !important;
}

.nav a {
  text-decoration: none !important;
  color: #333 !important;
  font-weight: 500 !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  transition: all 0.3s ease !important;
}

.nav a:hover {
  background: #f1f5f9 !important;
}

/* ================= HEADER ACTIONS ================= */
.header-actions {
  position: relative !important;
  z-index: 10003 !important;
}

/* ================= HEADER TOGGLE BUTTON - SATU-SATUNYA YANG KELUAR ================= */
.header-toggle {
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #0ea5a4, #f59e0b) !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 1.2rem !important;
  cursor: pointer !important;
  color: white !important;
  z-index: 10004 !important;
  transition: all 0.3s ease !important;
}

.header-toggle:hover {
  transform: scale(1.05) !important;
}

/* ================= HEADER DROPDOWN - AWALNYA HIDDEN ================= */
.header-dropdown {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  width: 300px !important;
  background: white !important;
  padding: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
  z-index: 10005 !important;
  display: none !important;
  margin-top: 10px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  transform: translateY(-10px) !important;
  transition: all 0.3s ease !important;
}

.header-dropdown.show {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ================= DROPDOWN SECTIONS ================= */
.dropdown-section {
  padding: 20px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.dropdown-section:last-child {
  border-bottom: none !important;
}

/* ================= SEARCH FORM ================= */
.search-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.search-form input[type="text"] {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  background: white !important;
  color: #1a202c !important;
  transition: all 0.3s ease !important;
}

.search-form input[type="text"]:focus {
  outline: none !important;
  border-color: #0ea5a4 !important;
  box-shadow: 0 0 0 3px rgba(14, 165, 164, 0.1) !important;
}

.search-form button[type="submit"] {
  padding: 12px !important;
  background: linear-gradient(135deg, #0ea5a4, #f59e0b) !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
}

.search-form button[type="submit"]:hover {
  transform: translateY(-1px) !important;
}

/* ================= DARK MODE SWITCH ================= */
.dark-mode-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.dark-mode-item span {
  font-size: 14px !important;
  color: #1a202c !important;
  font-weight: 600 !important;
}

.dark-switch {
  position: relative !important;
  display: inline-block !important;
  width: 50px !important;
  height: 24px !important;
}

.dark-switch input {
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}

.dark-slider {
  position: absolute !important;
  cursor: pointer !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: #cbd5e1 !important;
  transition: .4s !important;
  border-radius: 24px !important;
}

.dark-slider:before {
  position: absolute !important;
  content: "" !important;
  height: 16px !important;
  width: 16px !important;
  left: 4px !important;
  bottom: 4px !important;
  background-color: white !important;
  transition: .4s !important;
  border-radius: 50% !important;
}

.dark-switch input:checked + .dark-slider {
  background: linear-gradient(135deg, #0ea5a4, #f59e0b) !important;
}

.dark-switch input:checked + .dark-slider:before {
  transform: translateX(26px) !important;
}

/* ================= MOBILE STYLES ================= */
@media (max-width: 768px) {
  .topbar {
    height: 60px !important;
  }
  
  .topbar .wrap {
    display: grid !important;
    grid-template-columns: 44px 1fr 44px !important;
    padding: 0 15px !important;
    height: 60px !important;
    gap: 10px !important;
  }
  
  
  
  
  
  /* ================= NUCLEAR MOBILE MENU STYLING ================= */
@media (max-width: 768px) {
  .nav {
    position: fixed !important;
    top: 60px !important;
    right: -100% !important;
    width: 85% !important;
    max-width: 350px !important;
    height: calc(100vh - 60px) !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 20px !important;
    gap: 8px !important;
    border-radius: 20px 0 0 20px !important;
    background: linear-gradient(135deg, #0ea5a4, #f59e0b) !important;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 10003 !important;
    display: flex !important;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3) !important;
  }

  .nav.show {
    right: 0 !important;
  }

  .nav a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    color: white !important;
    width: 100% !important;
    text-align: left !important;
    padding: 16px 20px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    background: rgba(255,255,255,0.1) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .nav a::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent) !important;
    transition: left 0.5s ease !important;
  }

  .nav a:hover {
    background: rgba(255,255,255,0.2) !important;
    transform: translateX(-5px) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
  }

  .nav a:hover::before {
    left: 100% !important;
  }

  /* ICON UNTUK SETIAP MENU */
  .nav a[href*="/h/"]::after { content: "🏠" !important; }
  .nav a[href*="/index"]::after { content: "📰" !important; }
  .nav a[href*="/video"]::after { content: "🎥" !important; }
  .nav a[href*="/gallery"]::after { content: "🖼️" !important; }
  .nav a[href*="/agenda"]::after { content: "📅" !important; }
  .nav a[href*="/login"]::after { content: "🔐" !important; }

  .nav a::after {
    font-size: 1.2rem !important;
    margin-left: auto !important;
    opacity: 0.9 !important;
    transition: transform 0.3s ease !important;
  }

  .nav a:hover::after {
    transform: scale(1.2) !important;
  }

  /* ANIMASI STAGGER UNTUK MENU ITEMS */
  .nav a {
    opacity: 0 !important;
    transform: translateX(50px) !important;
    transition: all 0.4s ease !important;
  }

  .nav.show a {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }

  /* DELAY ANIMASI UNTUK SETIAP ITEM */
  .nav.show a:nth-child(1) { transition-delay: 0.1s !important; }
  .nav.show a:nth-child(2) { transition-delay: 0.15s !important; }
  .nav.show a:nth-child(3) { transition-delay: 0.2s !important; }
  .nav.show a:nth-child(4) { transition-delay: 0.25s !important; }
  .nav.show a:nth-child(5) { transition-delay: 0.3s !important; }
  .nav.show a:nth-child(6) { transition-delay: 0.35s !important; }
}

/* ================= MENU TOGGLE BUTTON STYLING ================= */
.menu-toggle {
  display: none !important;
  width: 44px !important;
  height: 44px !important;
  background: linear-gradient(135deg, #0ea5a4, #f59e0b) !important;
  border: none !important;
  border-radius: 12px !important;
  font-size: 1.3rem !important;
  cursor: pointer !important;
  color: white !important;
  z-index: 10002 !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.menu-toggle::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent) !important;
  transition: left 0.5s ease !important;
}

.menu-toggle:hover::before {
  left: 100% !important;
}

.menu-toggle:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 5px 15px rgba(14, 165, 164, 0.4) !important;
}

.menu-toggle:active {
  transform: scale(0.95) !important;
}

/* ================= OVERLAY BACKGROUND ================= */
.nav::before {
  content: '' !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0,0,0,0.5) !important;
  z-index: -1 !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
  pointer-events: none !important;
}

.nav.show::before {
  opacity: 1 !important;
  pointer-events: all !important;
}

/* ================= CLOSE BUTTON STYLING ================= */
.nav::after {
  content: "✕" !important;
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255,255,255,0.2) !important;
  color: white !important;
  border: none !important;
  border-radius: 50% !important;
  font-size: 1.1rem !important;
  cursor: pointer !important;
  z-index: 10004 !important;
  transition: all 0.3s ease !important;
}

.nav::after:hover {
  background: rgba(255,255,255,0.3) !important;
  transform: scale(1.1) !important;
}

/* Small Mobile Adjustments */
@media (max-width: 480px) {
  .nav {
    width: 90% !important;
    max-width: 300px !important;
    padding: 15px !important;
    border-radius: 15px 0 0 15px !important;
  }

  .nav a {
    padding: 14px 16px !important;
    font-size: 15px !important;
    gap: 10px !important;
  }

  .nav a::after {
    font-size: 1.1rem !important;
  }
}
  
  
  
  
  
  
  
  
  
  
  
  

  .menu-toggle {
    display: flex !important;
    order: 1 !important;
    grid-column: 1 !important;
    width: 40px !important;
    height: 40px !important;
  }

  .logo {
    order: 2 !important;
    grid-column: 2 !important;
    justify-self: center !important;
  }

  .header-actions {
    order: 3 !important;
    grid-column: 3 !important;
    justify-self: end !important;
  }

  .header-toggle {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.1rem !important;
  }

  /* NAV MOBILE */
  .nav {
    position: fixed !important;
    top: 60px !important;
    right: -100% !important;
    width: 85% !important;
    max-width: 350px !important;
    height: calc(100vh - 60px) !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 20px !important;
    gap: 15px !important;
    border-radius: 12px 0 0 12px !important;
    background: linear-gradient(180deg, #f59e0b, #0ea5a4) !important;
    transition: right 0.35s ease-in-out !important;
    z-index: 10003 !important;
    display: flex !important;
  }

  .nav.show {
    right: 0 !important;
  }

  .nav a {
    color: white !important;
    width: 100% !important;
    text-align: left !important;
    padding: 12px 16px !important;
  }

  .nav a:hover {
    background: rgba(255,255,255,0.2) !important;
  }

  /* DROPDOWN MOBILE - FULL SCREEN SUPER Z-INDEX */
  .header-dropdown {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: white !important;
    border-radius: 0 !important;
    margin: 0 !important;
    z-index: 10006 !important;
    display: none !important;
    padding: 80px 20px 20px !important;
    overflow-y: auto !important;
    opacity: 0 !important;
    transform: translateY(-20px) !important;
  }

  .header-dropdown.show {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  /* CLOSE BUTTON MOBILE */
  .header-dropdown::before {
    content: "✕" !important;
    position: fixed !important;
    top: 15px !important;
    right: 15px !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ef4444 !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    z-index: 10007 !important;
  }

  .dropdown-section {
    padding: 15px 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    max-width: 400px !important;
    margin: 0 auto !important;
  }

  .search-form input[type="text"] {
    padding: 14px !important;
    font-size: 16px !important;
  }

  .search-form button[type="submit"] {
    padding: 14px !important;
    font-size: 16px !important;
  }

  .dark-mode-item span {
    font-size: 16px !important;
  }
}

/* ================= BODY LOCK ================= */
body.nav-open,
body.dropdown-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
}

/* Add padding to body to account for fixed header */
body {
  padding-top: 70px !important;
}

@media (max-width: 768px) {
  body {
    padding-top: 60px !important;
  }
}

/* ================= NUCLEAR HIDE FORCE ================= */
/* Force hide semua element yang tidak perlu */
#searchToggle,
#actionsDropdown,
.dark-mode-toggle,
.actions-toggle,
.search-toggle {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  pointer-events: none !important;
  z-index: -9999 !important;
}







/* ================= GRID UTAMA ================= */
.home-grid, .detail-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin: 24px auto;
  max-width: 1200px;
  padding: 0 16px;
  width: 100%;
}

/* Responsive grid */
@media(max-width: 900px) {
  .home-grid, .detail-wrap { 
    grid-template-columns: 1fr; 
    padding: 0 15px;
  }
}

/* ================= KIRI (BERITA / DETAIL) ================= */
.left-col h3, .detail-berita h1, .detail-berita h2, .detail-berita h3 {
  color: var(--toska2);
  border-bottom: 3px solid var(--gold);
  padding-bottom: 4px;
  margin-bottom: 12px;
  display: inline-block;
}

/* BERITA UTAMA */
.highlight, .card, .detail-berita {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 100%;
}

.highlight img, .card img, .detail-img img, .detail-berita img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Grid berita terbaru */
.grid-berita {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 16px;
  width: 100%;
}

.card-body { 
  padding: 12px; 
  width: 100%;
}
.card-body h4 { 
  font-size: 1.05rem; 
  color: var(--toska2); 
  margin-bottom:6px; 
  word-wrap: break-word;
}
.card-body .meta { 
  font-size: 0.8rem; 
  color:#777; 
  margin-bottom:6px; 
}
.card-body p { 
  font-size:0.9rem; 
  color:var(--text); 
  word-wrap: break-word;
}

/* ================= SIDEBAR ================= */
.sidebar {
  background: linear-gradient(180deg, var(--bg) 0%, #fff 100%);
  border-left: 5px solid var(--toska1);
  border-top: 3px solid var(--gold);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
  width: 100%;
}
.sidebar:hover { transform: translateY(-3px); }

.sidebar h3 {
  color: var(--toska2);
  font-size: 1.15rem;
  border-bottom: 3px solid var(--gold);
  padding-bottom: 6px;
  margin-bottom: 12px;
  font-weight: 700;
  text-transform: uppercase;
  word-wrap: break-word;
}

.sidebar ul { 
  list-style:none; 
  margin:0; 
  padding:0; 
  width: 100%;
}
.sidebar ul li { 
  margin:8px 0; 
  width: 100%;
}
.sidebar ul li a {
  text-decoration:none;
  color: var(--text);
  padding: 6px 8px;
  display: block;
  border-radius: 8px;
  transition: all 0.3s ease;
  word-wrap: break-word;
  width: 100%;
}
.sidebar ul li a:hover {
  background: linear-gradient(90deg, var(--toska1), var(--gold));
  color: #fff;
  transform: translateX(4px);
}

/* WIDGET */
.widget {
  background: linear-gradient(180deg, var(--bg), #fff);
  border: 2px solid var(--toska1);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  width: 100%;
}
.widget h3 {
  color: var(--toska2);
  border-bottom: 3px solid var(--gold);
  padding-bottom: 6px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  word-wrap: break-word;
}
.widget.sekilas {
  background: linear-gradient(180deg, var(--toska1), var(--gold));
  color: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.widget.sekilas h3 { 
  color:#fff; 
  border-bottom:2px solid rgba(255,255,255,0.5); 
}


/* ================= FOOTER ================= */
.footer, .site-footer {
  background: linear-gradient(90deg, var(--toska2), var(--gold), var(--toska1));
  color: #fff;
  text-align: center;
  padding: 18px 10px;
  font-size: 0.95rem;
  border-top: 5px solid var(--gold);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  width: 100%;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.site-footer a { 
  color:#fff; 
  text-decoration:underline; 
  transition:color 0.3s; 
}
.site-footer a:hover { 
  color: var(--gold); 
}




/* NUCLEAR SHARE BUTTONS STYLING */
.share {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.share-wa, .share-tg, .share-fb, .share-tw {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.share-wa { 
    background: linear-gradient(135deg, #25D366, #128C7E);
}
.share-tg { 
    background: linear-gradient(135deg, #0088cc, #005f8b);
}
.share-fb { 
    background: linear-gradient(135deg, #1877f2, #0d5fbf);
}
.share-tw { 
    background: linear-gradient(135deg, #000000, #333333);
}

.share-wa:hover, .share-tg:hover, .share-fb:hover, .share-tw:hover { 
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Efek ripple */
.share-wa::after, .share-tg::after, .share-fb::after, .share-tw::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.share-wa:hover::after, .share-tg:hover::after, .share-fb:hover::after, .share-tw:hover::after {
    transform: scale(1);
}








/* ================= RELATED ARTICLES ================= */
/* Related news */
.related {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    max-width: 100%;
    width: 100%;
}

.rel-item {
    max-width: 100%;
    overflow: hidden;
    width: 100%;
}

.rel-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.rel-title {
    word-break: break-word;
}

/* ================= UTAMA LIST (CARD RESPONSIVE) ================= */
.utama-list { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); 
  gap: 12px; 
  width: 100%;
}
.utama-item { 
  display: flex; 
  flex-direction: column; /* judul bawah gambar */ 
  align-items: center; 
  background:#fff; 
  border-left:4px solid var(--gold); 
  border-radius:8px; 
  padding:10px; 
  box-shadow:0 2px 6px rgba(0,0,0,0.05); 
  transition: all 0.3s ease; 
  text-decoration:none; 
  width: 100%;
}
.utama-item img { 
  width: 100%; 
  border-radius: 8px; 
  object-fit: cover; 
}
.utama-item:hover { 
  background: linear-gradient(90deg, var(--toska1), var(--gold)); 
  color:#fff; 
  transform: translateY(-2px); 
}
.ut-title { 
  font-size:0.95rem; 
  color:var(--toska2); 
  font-weight:600; 
  margin-top:6px; 
  text-align:center;
  word-wrap: break-word;
}


/* ================= DETAIL BERITA ================= */
.detail-berita {
  background: #fff;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
  padding: 24px 18px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  margin-top: 24px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}


.detail-berita .content {
    width: 100%;
    overflow: hidden;
    max-width: 100%;
}


.detail-berita p { 
  margin-bottom: 1rem; 
  text-align: justify; 
  word-wrap: break-word;
}
.detail-berita a { 
  color: var(--toska1); 
  text-decoration: underline; 
  transition: color 0.3s; 
  word-wrap: break-word;
}
.detail-berita a:hover { 
  color: var(--gold); 
}
.detail-berita strong, .detail-berita b { 
  color: var(--toska2); 
}



/* List / Quotes */
.detail-berita ul, .detail-berita ol { 
  margin: 1rem 0 1rem 2rem; 
  max-width: 100%;
}
.detail-berita blockquote {
  background: rgba(14,165,164,0.08);
  border-left: 5px solid var(--toska2);
  padding: 10px 16px;
  border-radius: 8px;
  font-style: italic;
  color: var(--text);
  margin: 1.2rem 0;
  max-width: 100%;
  word-wrap: break-word;
}

/* ==== NONAKTIF: CONTENT ==== */

.content {
  background: #fff;
  padding: 24px 18px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 20px;
  text-align: justify;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.content img,
.content iframe,
.content video,
.content embed {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 16px auto;
  border-radius: 8px;
}
.content a {
  color: var(--toska1);
  text-decoration: underline;
  transition: color 0.3s;
}
.content a:hover {
  color: var(--gold);
}
.content strong, .content b {
  color: var(--toska2);
}


/* Batasi scroll horizontal untuk seluruh content */
.detail-berita, 
.content-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* penting */
  box-sizing: border-box;
   white-space: normal; /* penting supaya <br> / spasi normal bekerja */
    word-wrap: break-word;
    overflow-wrap: break-word;
  padding: 10px;
    line-height: 1.7;
  hyphens: auto;
}

/* Teks paragraf normal */
.content-wrapper p,
  .content-wrapper div {
  margin-bottom: 1rem;
  line-height: 1.7;
  word-wrap: break-word;
  white-space: normal;
  text-align: justify;
  max-width: 100%;
    overflow-wrap: break-word;
}

/* Semua gambar / media tetap responsif */
.content-wrapper img,
.content-wrapper iframe,
.content-wrapper video,
.content-wrapper embed {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  margin: 16px auto;
  object-fit: contain; /* ganti cover -> contain agar tidak melebihi container */
}

.content-wrapper img.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 16px 0;
}

/* Responsive iframe wrapper */
.responsive-iframe {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
}
.responsive-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
}

/* ================= NUCLEAR FIX ================= */
/* Pastikan tidak ada elemen yang menyebabkan horizontal scroll */
body * {
  max-width: 100vw;
}

/* Fix untuk semua elemen yang mungkin melebihi container */
img, iframe, video, embed, object {
  max-width: 100%;
  height: auto;
}

/* Pastikan wrapper tidak melebihi viewport */
.wrap, .home-grid, .detail-wrap, .container {
  max-width: 100vw;
  overflow-x: hidden;
}

@media(max-width:768px){
  .site-footer .wrap{ 
    flex-direction:column; 
    text-align:center; 
    gap:8px; 
  }
}



/* ================= NUCLEAR SCROLL BEAMS - CAROUSEL STYLE ================= */
.nuclear-scroll-beams {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 300%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(14, 165, 164, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    z-index: -9999;
    pointer-events: none;
    animation: nuclearBeamFloat 25s linear infinite;
    mix-blend-mode: overlay;
}

@keyframes nuclearBeamFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(1deg); }
}

/* SCROLL TRIGGERED NUCLEAR BURST */
.nuclear-burst {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: 
        radial-gradient(ellipse at center, 
            rgba(14, 165, 164, 0.4) 0%,
            rgba(245, 158, 11, 0.3) 25%,
            rgba(236, 72, 153, 0.2) 50%,
            transparent 70%
        );
    z-index: -9998;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.nuclear-burst.active {
    opacity: 1;
    animation: nuclearBurstWave 2s ease-out forwards;
}

@keyframes nuclearBurstWave {
    0% { 
        transform: scale(0.8);
        opacity: 1;
    }
    70% {
        opacity: 0.7;
    }
    100% { 
        transform: scale(1.5);
        opacity: 0;
    }
}

/* FLOATING NUCLEAR ORBS */
.nuclear-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    z-index: -9997;
    pointer-events: none;
}

.nuclear-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(25px);
    animation: nuclearOrbFloat 20s infinite ease-in-out;
}

.nuclear-orb.toska {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(14, 165, 164, 0.25), transparent 70%);
    top: 15%;
    left: 15%;
    animation-duration: 25s;
}

.nuclear-orb.gold {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2), transparent 70%);
    top: 65%;
    left: 75%;
    animation-duration: 20s;
}

.nuclear-orb.pink {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15), transparent 70%);
    top: 35%;
    left: 80%;
    animation-duration: 30s;
}

@keyframes nuclearOrbFloat {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% { 
        transform: translate(50px, -30px) scale(1.1);
        opacity: 0.5;
    }
    50% { 
        transform: translate(-30px, -60px) scale(1.2);
        opacity: 0.4;
    }
    75% { 
        transform: translate(-50px, 30px) scale(0.9);
        opacity: 0.6;
    }
}

/* SCROLL ENERGY TRAILS */
.scroll-energy-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(14, 165, 164, 0.1) 15%,
        rgba(245, 158, 11, 0.08) 30%,
        rgba(236, 72, 153, 0.06) 45%,
        transparent 60%
    );
    z-index: -9996;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.scroll-energy-trail.active {
    opacity: 1;
}

/* NUCLEAR PULSE INDICATOR */
.nuclear-pulse {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(14, 165, 164, 0.8), rgba(245, 158, 11, 0.6));
    border-radius: 50%;
    z-index: -9995;
    pointer-events: none;
    opacity: 0;
    box-shadow: 
        0 0 40px rgba(14, 165, 164, 0.8),
        0 0 80px rgba(245, 158, 11, 0.6);
}

.nuclear-pulse.active {
    opacity: 1;
    animation: nuclearPulseBeat 0.8s ease-out;
}

@keyframes nuclearPulseBeat {
    0% {
        transform: scale(0.3);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* QUANTUM PARTICLE STORM */
.quantum-storm {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -9994;
    pointer-events: none;
}

.quantum-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    animation: quantumDrift 15s infinite linear;
}

.quantum-particle:nth-child(odd) {
    background: rgba(14, 165, 164, 0.7);
    box-shadow: 0 0 8px rgba(14, 165, 164, 0.9);
}

.quantum-particle:nth-child(even) {
    background: rgba(245, 158, 11, 0.7);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.9);
}

@keyframes quantumDrift {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(calc(-100vw + 200px)) rotate(360deg);
        opacity: 0;
    }
}





/* ================= NUCLEAR UNIVERSE LOADING SCREEN ================= */
#universe-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(ellipse at center, #0a0e2a 0%, #000000 100%),
        radial-gradient(circle at 20% 30%, rgba(14, 165, 164, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Cairo', sans-serif;
}

/* STARS BACKGROUND */
.universe-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, #fff 50%, transparent 100%),
        radial-gradient(2px 2px at 40% 70%, #fff 50%, transparent 100%),
        radial-gradient(1px 1px at 60% 20%, #fff 50%, transparent 100%),
        radial-gradient(1px 1px at 80% 50%, #fff 50%, transparent 100%),
        radial-gradient(2px 2px at 30% 80%, #fff 50%, transparent 100%);
    background-size: 200px 200px;
    animation: starsTwinkle 3s infinite alternate;
}

@keyframes starsTwinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* QUANTUM LOADER */
.quantum-loader {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
}

.quantum-orb {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: quantumSpin 3s linear infinite;
}

.quantum-orb:nth-child(1) {
    border-top: 3px solid #0ea5a4;
    border-right: 3px solid transparent;
    animation-delay: 0s;
}

.quantum-orb:nth-child(2) {
    border-bottom: 3px solid #f59e0b;
    border-left: 3px solid transparent;
    animation-delay: 0.5s;
}

.quantum-orb:nth-child(3) {
    border-right: 3px solid #ec4899;
    border-top: 3px solid transparent;
    animation-delay: 1s;
}

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

/* LOADING TEXT */
.loading-text {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(14, 165, 164, 0.8);
}

.loading-dots {
    display: inline-block;
    animation: dotsPulse 1.5s infinite;
}

@keyframes dotsPulse {
    0%, 20% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* PROGRESS BAR */
.universe-progress {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0ea5a4, #f59e0b, #ec4899);
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* GALAXY PARTICLES */
.galaxy-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.galaxy-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: galaxyFloat 15s infinite linear;
}

.galaxy-particle:nth-child(odd) {
    background: rgba(14, 165, 164, 0.8);
    box-shadow: 0 0 10px rgba(14, 165, 164, 0.6);
}

.galaxy-particle:nth-child(even) {
    background: rgba(245, 158, 11, 0.8);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

@keyframes galaxyFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(calc(-100vw + 200px)) rotate(360deg);
        opacity: 0;
    }
}



/* ================= DOOR TRANSITION EFFECT ================= */
.door-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
  pointer-events: none;
  display: none;
}

.door-panel {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, #0a0e2a 0%, #1e293b 100%);
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
  box-shadow: 0 0 50px rgba(14, 165, 164, 0.3);
}

.door-left {
  left: 0;
  transform: translateX(-100%);
}

.door-right {
  right: 0;
  transform: translateX(100%);
}

.door-transition.active {
  display: block;
}

.door-transition.active .door-left {
  transform: translateX(0%);
}

.door-transition.active .door-right {
  transform: translateX(0%);
}

.door-transition.exiting .door-left {
  transform: translateX(-100%);
}

.door-transition.exiting .door-right {
  transform: translateX(100%);
}

/* Portal effect di tengah */
.door-portal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, #0ea5a4 0%, #f59e0b 50%, transparent 70%);
  box-shadow: 0 0 100px 30px rgba(14, 165, 164, 0.5);
  opacity: 0;
  transition: all 0.8s ease;
}

.door-transition.active .door-portal {
  opacity: 1;
  width: 100px;
  height: 100px;
}



/* ================= HEADER FIX FOR DESKTOP ================= */
@media (min-width: 768px) {
  .desktop-header {
    height: 80px !important; /* Atur tinggi header desktop */
  }
  
  .desktop-nav {
    font-size: 1rem !important;
  }
  
  .desktop-logo {
    max-height: 50px !important;
    width: auto !important;
  }
}


/* ================= SMART HEADER FIX - PRESISI TARGET ================= */
@media (min-width: 768px) {
    /* HANYA target element yang beneran header, jangan semua */
    header:not(#universe-loading):not(.door-transition),
    .header:not(#universe-loading):not(.door-transition),
    .navbar:not(#universe-loading):not(.door-transition),
    .main-header:not(#universe-loading):not(.door-transition),
    .site-header:not(#universe-loading):not(.door-transition) {
        height: 80px !important;
        max-height: 80px !important;
        min-height: 80px !important;
        overflow: visible !important; /* Biar sticky work */
    }
    
    /* FIX LOGO - LEBIH AGGRESIVE */
    .logo,
    .navbar-brand,
    .header-logo,
    .site-logo,
    header img:first-child,
    .header img:first-child,
    .navbar img:first-child,
    .main-header img:first-child,
    .site-header img:first-child,
    [class*="header"] img:first-child {
        max-height: 50px !important;
        height: 50px !important; /* PAKAI FIXED HEIGHT */
        width: auto !important;
        object-fit: contain !important;
    }
    
    /* FIX CONTAINER DALAM HEADER */
    .navbar-collapse,
    .navbar-nav,
    .nav-menu,
    .header-container,
    .header-inner {
        max-height: 80px !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .nav-link,
    .navbar-nav a,
    .menu-item a {
        font-size: 1rem !important;
        padding: 10px 15px !important;
        line-height: 1 !important;
    }
}