  /* --- 1. CLEANING & GLOBAL STYLES --- */
  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
      display: none;
  }

  body {
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      background-color: var(--bg-dark);
      background-image:
          radial-gradient(circle at top right, rgba(197, 160, 89, 0.15), transparent 40%),
          url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJnoiPjxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjY1Ii8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI2cpIiBvcGFjaXR5PSIwLjA1Ii8+PC9zdmc+');
  }

  /* --- 2. CINEMATIC FLOATING FOLDER --- */
  .locker-fab {
      position: fixed;
      bottom: 30px;
      right: 30px;
      z-index: 1000;
      cursor: pointer;
      background: rgba(14, 17, 22, 0.95);
      border: 1px solid var(--gold);
      width: 60px;
      height: 60px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      /* Mengunci posisi ikon di kiri */
      backdrop-filter: blur(15px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(197, 160, 89, 0.2);
      transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s ease;
      overflow: hidden;
  }

  .locker-fab:hover {
      width: 220px;
      background: var(--gold);
  }

  /* Kontainer konten agar ikon tetap di tengah kotak 60px pas idle */
  .fab-content {
      display: flex;
      align-items: center;
      width: 220px;
      flex-shrink: 0;
  }

  /* Pembungkus ikon agar tetap statis di tengah area 60px pertama */
  .icon-wrapper {
      width: 60px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
  }

  .fab-label {
      font-family: 'Share Tech Mono', monospace;
      font-size: 0.7rem;
      color: var(--gold);
      letter-spacing: 1px;
      white-space: nowrap;
      opacity: 0;
      transition: opacity 0.3s ease;
  }

  .locker-fab:hover .fab-label {
      opacity: 1;
      color: #000;
  }

  .pin-badge {
      background: var(--gold);
      color: #000;
      font-size: 0.65rem;
      font-weight: 900;
      padding: 2px 6px;
      border-radius: 2px;
      margin-left: 10px;
      opacity: 0;
      transition: opacity 0.3s;
  }

  .locker-fab:hover .pin-badge {
      opacity: 1;
      background: #000;
      color: var(--gold);
  }

  .icon-svg-fab {
      width: 24px;
      stroke: var(--gold);
      fill: none;
      stroke-width: 2;
  }

  .locker-fab:hover .icon-svg-fab {
      stroke: #000;
  }

  /* Class Hilang di Footer */
  .fab-hidden-footer {
      transform: translateY(120px) !important;
      opacity: 0 !important;
      pointer-events: none;
  }

  /* --- 3. LOCKER DRAWER (SIDE PANEL) --- */
  .locker-drawer {
      position: fixed;
      top: 0;
      right: 0;
      width: min(450px, 92vw); /* Lebar lebih lega: maksimal 450px, minimal 92% layar */
      height: 100vh;
      background: rgba(10, 12, 16, 0.98);
      border-left: 1px solid rgba(197, 160, 89, 0.3);
      z-index: 1001;
      transform: translateX(100%);
      transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
      display: flex;
      flex-direction: column;
      box-shadow: -30px 0 60px rgba(0, 0, 0, 0.9);
      backdrop-filter: blur(25px);
  }

  .locker-drawer.open {
      transform: translateX(0);
  }

  .drawer-header {
      padding: 30px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      display: flex;
      justify-content: space-between;
      align-items: center;
  }

  .drawer-header h3 {
      font-family: 'Montserrat';
      font-size: 1rem;
      color: var(--gold);
      margin: 0;
  }

  .close-drawer {
      background: none;
      border: none;
      color: #fff;
      cursor: pointer;
      font-size: 1.5rem;
      opacity: 0.5;
  }

  .drawer-body {
      flex: 1;
      overflow-y: auto;
      padding: 30px; /* Samakan dengan padding header agar sejajar */
      scrollbar-width: thin;
      scrollbar-color: var(--gold) transparent;
  }

  /* Agar list matkul di drawer tidak terlalu rapat tapi tetap efisien */
  .locker-drawer .course-grid {
      gap: 25px !important; /* Tambahkan sedikit jarak antar card */
      padding-bottom: 50px;
      display: flex;
      flex-direction: column;
  }

  /* Khusus card di dalam drawer agar lebih pas di container sempit */
  .locker-drawer .course-card-v2 {
      padding: 22px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(197, 160, 89, 0.2);
  }

  .drawer-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.7);
      z-index: 1000;
      display: none;
      backdrop-filter: blur(5px);
  }

  .drawer-overlay.active {
      display: block;
  }

  /* --- 4. HEADER & RADAR --- */
  .dashboard-header {
      padding: 30px 5%;
      border-bottom: 2px solid rgba(197, 160, 89, 0.2);
  }

  .welcome-text {
      font-family: 'Montserrat';
      font-size: clamp(1.8rem, 5vw, 3rem);
      font-weight: 900;
      color: #fff;
      text-transform: uppercase;
      margin-top: 15px;
  }

  .highlight-name {
      color: var(--gold);
      text-shadow: 0 2px 15px rgba(197, 160, 89, 0.4);
  }

  .radar-container {
      margin: 30px 5%;
      font-family: 'Share Tech Mono';
  }

  .radar-label {
      font-size: 0.75rem;
      color: var(--gold);
      letter-spacing: 2px;
      display: block;
      margin-bottom: 10px;
  }

  .radar-input-box {
      position: relative;
      border-bottom: 2px solid rgba(197, 160, 89, 0.3);
      overflow: hidden;
  }

  #radar-search {
      width: 100%;
      background: transparent;
      border: none;
      padding: 15px 0;
      color: #fff;
      font-family: 'Montserrat';
      outline: none;
      text-transform: uppercase;
      font-size: 1.1rem;
  }

  .scan-glow {
      position: absolute;
      top: 0;
      left: -100%;
      width: 40%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.1), transparent);
      animation: scan 3s infinite linear;
  }

  @keyframes scan {
      to {
          left: 150%;
      }
  }

  /* --- 5. NAVIGATION & CARDS --- */
  .semester-nav-wrapper {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(14, 17, 22, 0.9);
      backdrop-filter: blur(15px);
      padding: 15px 5%;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .semester-nav {
      display: flex;
      gap: 10px;
      overflow-x: auto;
      scrollbar-width: none;
  }

  .sem-btn {
      background: transparent;
      border: none;
      color: rgba(255, 255, 255, 0.5);
      padding: 10px 20px;
      font-family: 'Montserrat';
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
      transition: 0.3s;
  }

  .sem-btn.active {
      color: var(--gold);
      border-bottom: 2px solid var(--gold);
  }

  #main-content {
      padding: 40px 5%;
      flex: 1;
  }

  .course-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 30px;
  }

  .course-card-v2 {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(197, 160, 89, 0.1);
      padding: 25px;
      border-radius: 4px;
      transition: 0.3s;
      position: relative;
      display: flex;
      flex-direction: column;
  }

  .course-card-v2:hover {
      transform: translateY(-5px);
      border-color: var(--gold);
  }

  .icon-svg {
      width: 20px;
      height: 20px;
      stroke: var(--gold);
      fill: none;
      stroke-width: 2;
  }

  /* PIN BUTTON ACTION */
  .pin-btn-svg {
      position: absolute;
      top: 15px;
      right: 15px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 5px;
      z-index: 10;
  }

  .pin-btn-svg svg {
      width: 20px;
      stroke: rgba(255, 255, 255, 0.2);
      fill: none;
      transition: 0.3s;
      pointer-events: none;
  }

  .pin-btn-svg.is-pinned svg {
      stroke: var(--gold);
      fill: var(--gold);
  }

  .law-tag {
      font-family: 'Share Tech Mono';
      font-size: 0.65rem;
      color: rgba(255, 255, 255, 0.4);
      text-transform: uppercase;
      margin-bottom: 10px;
      display: block;
  }

  .course-card-v2 h4 {
      font-family: 'Montserrat';
      font-size: 1.1rem;
      margin: 0 0 20px;
      color: #fff;
      flex-grow: 1;
      line-height: 1.4;
  }

  .access-btn-law {
      background: rgba(197, 160, 89, 0.1);
      color: var(--gold);
      text-decoration: none;
      padding: 12px;
      text-align: center;
      font-weight: 700;
      font-size: 0.8rem;
      border: 1px solid rgba(197, 160, 89, 0.3);
      transition: 0.3s;
  }

  .access-btn-law:hover {
      background: var(--gold);
      color: #000;
  }

  .empty-msg {
      grid-column: 1/-1;
      text-align: center;
      padding: 50px;
      color: rgba(255, 255, 255, 0.2);
      font-family: 'Share Tech Mono';
      border: 1px dashed rgba(197, 160, 89, 0.2);
  }

  .hidden {
      display: none !important;
  }

  /* --- SYSTEM LOG NOTIFICATION --- */
  .system-log-notice {
      font-family: 'Share Tech Mono', monospace;
      font-size: 0.65rem;
      color: rgba(212, 175, 55, 0.7);
      background: rgba(197, 160, 89, 0.05);
      border: 1px dashed rgba(197, 160, 89, 0.2);
      padding: 12px;
      margin-bottom: 20px;
      line-height: 1.4;
      text-transform: uppercase;
  }

  .system-log-notice::before {
      content: "[!] SYSTEM_ADVISORY:";
      display: block;
      font-weight: 900;
      margin-bottom: 4px;
      color: var(--gold);
  }

  /* 1. Perbaikan Container Overlay */
  .bg-logo-overlay {
      position: fixed;
      inset: 0;
      z-index: 0;
      /* Ubah dari -1 ke 0 agar tidak tertutup background body */
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      pointer-events: none;
      opacity: 1;
      /* Biarkan container full, kita atur opacity di gambar */
  }

  /* 2. Pengaturan Gambar & Animasi Zoom */
  /* --- ENHANCED IMMERSIVE OVERLAY --- */
  .bg-logo-overlay {
      position: fixed;
      inset: 0;
      z-index: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      pointer-events: none;
      background: var(--bg-dark);
      /* Pastikan dasar tetap gelap */
  }

  .bg-img {
      position: absolute;
      width: 60%;
      /* Ukuran logo di tengah */
      opacity: 0;
      /* Sembunyikan secara default */
      filter: sepia(1) brightness(0.6) contrast(1.2);
      transition: opacity 3s cubic-bezier(0.4, 0, 0.2, 1);
      /* Transisi fade sangat halus */
  }

  /* Layer yang sedang aktif */
  .bg-img.active {
      opacity: 0.08;
      /* Opacity rendah agar tetap subtle/immersive */
  }

  /* Efek Ken Burns (Zoom Lambat) */
  .bg-zoom {
      animation: slowKenBurns 30s infinite alternate ease-in-out;
  }

  @keyframes slowKenBurns {
      0% {
          transform: scale(1) rotate(0deg);
      }

      100% {
          transform: scale(1.15) rotate(2deg);
      }
  }

  /* 4. Pastikan Konten Utama Tetap Di Atas */
  header,
  .radar-container,
  .semester-nav-wrapper,
  main,
  footer {
      position: relative;
      z-index: 2;
      /* Angka ini harus lebih besar dari .bg-logo-overlay */
  }

  /* Penyesuaian khusus untuk layar desktop (Layar lebar) */
  @media (min-width: 1024px) {
      .bg-img {
          width: 40%;
          /* Lebih kecil di desktop agar terlihat elegan sebagai watermark */
          max-width: 600px;
      }
  }

  /* Penyesuaian khusus untuk layar tablet */
  @media (min-width: 768px) and (max-width: 1023px) {
      .bg-img {
          width: 60%;
      }
  }

  /* --- VISITOR TELEMETRY STYLE --- */
  .visitor-telemetry {
      font-family: 'Share Tech Mono', monospace;
      font-size: 0.7rem;
      color: var(--gold);
      background: rgba(197, 160, 89, 0.1);
      padding: 5px 12px;
      border-left: 3px solid var(--gold);
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-top: 10px;
      letter-spacing: 1px;
  }

  .pulse-icon {
      width: 8px;
      height: 8px;
      background: #75fc44;
      border-radius: 50%;
      box-shadow: 0 0 8px #ff4d4d;
      animation: pulse 1.5s infinite;
  }

  @keyframes pulse {
      0% {
          transform: scale(1);
          opacity: 1;
      }

      50% {
          transform: scale(1.5);
          opacity: 0.5;
      }

      100% {
          transform: scale(1);
          opacity: 1;
      }
  }

  /*share button*/
  /* --- CARD UTILITY ACTIONS --- */
  .card-actions-row {
      display: flex;
      gap: 8px;
      margin-bottom: 15px;
  }

  .util-btn {
      flex: 1;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(197, 160, 89, 0.2);
      color: var(--gold);
      padding: 8px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: 0.3s;
      font-size: 0.7rem;
      font-family: 'Share Tech Mono', monospace;
      text-transform: uppercase;
      gap: 5px;
  }

  .util-btn:hover {
      background: var(--gold);
      color: #000;
      box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
  }

  /* Toast Notification ala Jarvis */
  #jarvis-toast {
      position: fixed;
      bottom: 40px;
      left: 50%;
      transform: translateX(-50%) translateY(100px);
      background: rgba(10, 12, 16, 0.95);
      border: 1px solid var(--gold);
      color: var(--gold);
      padding: 12px 25px;
      font-family: 'Share Tech Mono', monospace;
      font-size: 0.8rem;
      z-index: 9999;
      opacity: 0;
      transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
      letter-spacing: 1px;
  }

  #jarvis-toast.show {
      transform: translateX(-50%) translateY(0);
      opacity: 1;
  }

  /* --- DRAWER MOBILE REFINEMENT --- */
  @media (max-width: 600px) {
      .locker-drawer {
          width: 92vw; /* Memastikan lebar tetap konsisten di mobile */
      }

      .drawer-header {
          padding: 20px;
      }

      .drawer-body {
          padding: 20px; /* Sedikit lebih rapat di mobile agar konten maksimal */
      }

      /* Perbaikan typo & visual matkul tersimpan di mobile */
      .locker-drawer .course-card-v2 h4 {
          font-size: 0.9rem;
          margin-bottom: 15px;
      }

      .locker-drawer .card-actions-row {
          gap: 8px; /* Jangan terlalu rapat di mobile */
      }

      .locker-drawer .util-btn {
          font-size: 0.6rem;
          padding: 6px;
      }
  }
