/* ===== DOWNLOAD MODAL (SLIDE) STYLING ===== */
.download-slide {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 11, 23, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 3000 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.download-slide.open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.download-slide-content {
  background: #f1f2f6;
  color: var(--color-text-primary);
  width: 440px;
  max-width: 92vw;
  max-height: 85vh;
  padding: 28px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(105, 92, 254, 0.15);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border-radius: 24px;
  border: 1px solid rgba(105, 92, 254, 0.25);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark-theme .download-slide-content {
  background: linear-gradient(145deg, #181b2e, #111322);
  border: 1px solid rgba(105, 92, 254, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(105, 92, 254, 0.25);
}

.download-slide.open .download-slide-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Close Button styling - premium absolute positioned round button */
.close-slide {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-primary);
  font-size: 1.4rem;
  font-weight: 300;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 0 !important;
  margin: 0 !important;
  align-self: unset !important;
}

body.dark-theme .close-slide {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.close-slide:hover {
  background: rgba(255, 71, 87, 0.2);
  border-color: rgba(255, 71, 87, 0.4);
  color: #ff4757;
  transform: rotate(90deg);
}

/* Header Section */
.slide-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-right: 40px; /* Space for close button */
}

.slide-logo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
  border: 2px solid rgba(105, 92, 254, 0.2);
  box-shadow: 0 8px 16px rgba(105, 92, 254, 0.15);
}

.slide-header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.slide-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  color: var(--color-text-primary);
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.slide-version {
  font-size: 0.85rem;
  color: #695CFE;
  font-weight: 600;
  background: rgba(105, 92, 254, 0.12);
  padding: 4px 10px;
  border-radius: 8px;
  align-self: flex-start;
  border: 1px solid rgba(105, 92, 254, 0.18);
  margin-top: 2px;
}

body.dark-theme .slide-version {
  background: rgba(105, 92, 254, 0.2);
  color: #a59cfc;
  border-color: rgba(105, 92, 254, 0.25);
}

/* Info Section (Informasi Apl) */
.slide-info {
  background: rgba(105, 92, 254, 0.05);
  border: 1px solid rgba(105, 92, 254, 0.12);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  position: relative;
  min-height: 120px;
  max-height: 160px;
  overflow-y: auto;
  flex-shrink: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(105, 92, 254, 0.3) transparent;
}

.slide-info::-webkit-scrollbar {
  width: 5px;
}

.slide-info::-webkit-scrollbar-track {
  background: transparent;
}

.slide-info::-webkit-scrollbar-thumb {
  background: rgba(105, 92, 254, 0.3);
  border-radius: 10px;
}

.slide-info::-webkit-scrollbar-thumb:hover {
  background: rgba(105, 92, 254, 0.5);
}

body.dark-theme .slide-info {
  background: rgba(26, 29, 52, 0.5);
  border-color: rgba(105, 92, 254, 0.18);
}

.slide-info b:first-of-type {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-text-placeholder);
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
}

.slide-info ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.slide-info li {
  font-size: 0.9rem;
  color: var(--color-text-primary);
  line-height: 1.5;
  display: block !important;
  margin-bottom: 6px;
}

.slide-info li:last-child {
  margin-bottom: 0;
}

.slide-info li::before {
  content: "•";
  color: #695CFE;
  font-weight: bold;
  font-size: 1.1rem;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
}

.slide-warning-card {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 0 16px 0 !important;
  padding: 12px 16px !important;
  background: rgba(245, 158, 11, 0.08) !important;
  border: 1px solid rgba(245, 158, 11, 0.2) !important;
  border-left: 3px solid #ff9100 !important;
  border-radius: 12px !important;
  font-size: 0.8rem !important;
  color: #d97706 !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  box-sizing: border-box !important;
  flex-shrink: 0;
}

body.dark-theme .slide-warning-card {
  background: rgba(245, 158, 11, 0.1) !important;
  color: #fbbf24 !important;
}

/* Links Section */
.slide-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

/* Target both types of titles/subtitles in the link area */
.slide-links b {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-text-placeholder);
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}

/* Target inline text headers inside the links list */
.slide-links b[style*="display: block"] {
  margin-top: 12px !important;
  margin-bottom: 6px !important;
}

/* Premium Download buttons */
.slide-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #695CFE, #4c3ef0);
  color: #ffffff;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(105, 92, 254, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

body.dark-theme .slide-download-btn {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(105, 92, 254, 0.15);
}

.slide-download-btn:hover {
  background: linear-gradient(135deg, #7c71ff, #5b4ef2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(105, 92, 254, 0.35);
  color: #ffffff !important;
}

.slide-download-btn:active {
  transform: translateY(0);
}

/* Differentiation for Changelog/secondary buttons */
.slide-download-btn.btn-changelog {
  background: rgba(105, 92, 254, 0.08) !important;
  border: 1px solid rgba(105, 92, 254, 0.3) !important;
  color: #695CFE !important;
  box-shadow: none !important;
}

body.dark-theme .slide-download-btn.btn-changelog {
  background: rgba(105, 92, 254, 0.12) !important;
  color: #a59cfc !important;
  border-color: rgba(105, 92, 254, 0.4) !important;
}

.slide-download-btn.btn-changelog:hover {
  background: #695CFE !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(105, 92, 254, 0.2) !important;
}

/* Help Link at the bottom */
.slide-link-help {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #695CFE;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  margin-top: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.85;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}

.slide-link-help::before {
  content: "?";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: rgba(105, 92, 254, 0.12);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: bold;
  margin-right: 2px;
}

.slide-link-help:hover {
  color: #5b4ef0;
  opacity: 1;
  text-decoration: underline;
}

body.dark-theme .slide-link-help {
  color: #a59cfc;
}

body.dark-theme .slide-link-help::before {
  background: rgba(165, 156, 252, 0.2);
}

/* ===== Responsive overrides for download modal ===== */
@media (max-width: 768px) {
  .download-slide-content {
    margin-top: 0;
    width: 90vw;
    max-width: 380px;
    padding: 24px 20px;
    border-radius: 20px;
    max-height: 82vh;
  }
  
  .slide-header {
    gap: 12px;
    margin-bottom: 20px;
  }
  
  .slide-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }
  
  .slide-header h2 {
    font-size: 1.2rem;
  }
  
  .slide-info {
    padding: 12px 16px;
    margin-bottom: 16px;
  }
  
  .slide-info li {
    font-size: 0.9rem;
  }
  
  .slide-download-btn {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
  
  .close-slide {
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    font-size: 1.25rem;
  }
}

/* Importing Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  /* Light theme colors */
  --color-text-primary: #1F2936;
  --color-text-placeholder: #798EAE;
  --color-bg-primary: #f9fafb;
  --color-bg-navbar: rgba(249, 250, 251, 0.8);
  --color-bg-secondary: #ECECFD;
  --color-bg-sidebar: #FFFFFF;
  --color-bg-sidebar-glass: rgba(255, 255, 255, 0.8);
  --color-border-hr: #ffffff;
  --color-hover-primary: #695CFE;
  --color-hover-secondary: #e2e2fb;
  --color-shadow: rgba(0, 0, 0, 0.05);
  --glow-color: rgba(105, 92, 254, 0.3);
  --logo-grad-1: #695CFE;
  --logo-grad-2: #6e61ff;
  --logo-grad-3: #0d009d;

}

body.dark-theme {
  /* Dark theme colors */
  --color-text-primary: #F1F5F9;
  --color-text-placeholder: #A6B7D2;
  --color-bg-primary: #111827;
  --color-bg-navbar: rgba(17, 24, 39, 0.8);
  --color-bg-secondary: #3D4859;
  --color-bg-sidebar: #1f2937;
  --color-bg-sidebar-glass: rgba(31, 41, 55, 0.8);
  --color-border-hr: #3B475C;
  --color-hover-secondary: #48566a;
  --color-shadow: rgba(0, 0, 0, 0.3);
  --glow-color: rgba(105, 92, 254, 0.5);

}

body {
  min-height: 100vh;
  background: var(--color-bg-primary);
}

.sidebar {
  position: sticky;
  top: 0;
  width: 270px;
  height: 100vh;
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  background: var(--color-bg-sidebar-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-right: 1px solid var(--color-border-hr);
  box-shadow: 0 3px 9px var(--color-shadow);
  transition: width 0.4s ease;
}

.sidebar.collapsed {
  width: 90px;
}

.sidebar .sidebar-header {
  padding: 20px 18px;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-hr);
}

.sidebar-header .header-logo {
  width: 160px;
  height: 36px;
  z-index: 50;
  display: inline-block;
  object-fit: contain;
  transition: opacity 0.4s ease;
  filter: drop-shadow(0 3px 12px rgba(105, 92, 254, 0.12));
}

.sidebar-header .header-logo::before {
  content: "";
  display: inline-block;
  width: 8px;
}

.sidebar.collapsed .header-logo {
  opacity: 0;
  pointer-events: none;
}

.site-nav .sidebar-toggle,
.sidebar-header .sidebar-toggle {
  height: 40px;
  width: 40px;
  border: none;
  cursor: pointer;
  display: flex;
  position: absolute;
  right: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--color-text-primary);
  background: var(--color-bg-secondary);
  transition: 0.4s ease;
}

.site-nav .sidebar-toggle:hover,
.sidebar-header .sidebar-toggle:hover {
  background: var(--color-hover-secondary);
  box-shadow: 0 0 10px var(--glow-color);
}

.sidebar.collapsed .sidebar-header .sidebar-toggle {
  transform: translateX(-2px);
  height: 48px;
  width: 50px;
}

.sidebar-header .sidebar-toggle span {
  font-size: 1.75rem;
  transition: transform 0.4s ease;
}

.sidebar.collapsed .sidebar-toggle span {
  transform: rotate(180deg);
}

.sidebar .sidebar-content {
  flex: 1;
  padding: 20px 18px;
  overflow: hidden auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-text-placeholder) transparent;
}

.sidebar.collapsed .sidebar-content {
  scrollbar-width: none;
}

.sidebar-content .search-form {
  border-radius: 8px;
  min-height: 48px;
  margin: 5px 0 20px;
  align-items: center;
  display: flex;
  padding: 0 15px;
  white-space: nowrap;
  background: var(--color-bg-secondary);
  transition: 0.4s ease;
}

.sidebar.collapsed .search-form:hover {
  cursor: pointer;
}

.sidebar-content .search-form:focus-within,
.sidebar.collapsed .search-form:hover {
  background: var(--color-hover-secondary);
}

.sidebar-content .search-form span {
  color: var(--color-text-placeholder);
}

.search-form input {
  background: none;
  outline: none;
  border: none;
  width: 100%;
  margin-left: 15px;
  font-size: 1rem;
  color: var(--color-text-primary);
}

.search-form input::placeholder {
  color: var(--color-text-placeholder);
}

.sidebar-content .menu-list {
  display: flex;
  gap: 4px;
  list-style: none;
  flex-direction: column;
}

.menu-list .menu-link {
  display: flex;
  gap: 12px;
  white-space: nowrap;
  border-radius: 8px;
  padding: 12px 15px;
  align-items: center;
  text-decoration: none;
  color: var(--color-text-primary);
  transition: 0.3s ease;
}

.menu-link .menu-label {
  transition: opacity 0.3s ease;
}

.sidebar.collapsed .menu-link .menu-label {
  opacity: 0;
  pointer-events: none;
}

.menu-list .menu-link:is(:hover, .active) {
  color: #fff;
  background: var(--color-hover-primary);
  box-shadow: 0 0 10px var(--glow-color);
}

.sidebar .sidebar-footer {
  padding: 20px 18px;
  white-space: nowrap;
  border-top: 1px solid var(--color-border-hr);
}

.sidebar-footer .theme-toggle {
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  cursor: pointer;
  border: none;
  padding: 0 15px;
  white-space: nowrap;
  color: var(--color-text-primary);
  background: var(--color-bg-secondary);
  transition: 0.3s ease;
}

.sidebar-footer .theme-toggle:hover {
  background: var(--color-hover-secondary);
  box-shadow: 0 0 10px var(--glow-color);
}

.theme-toggle .theme-label {
  display: flex;
  gap: 10px;
  align-items: center;
}

.theme-toggle .theme-label .theme-text {
  font-size: 1rem;
  transition: opacity 0.4s 0.2s ease;
}

.sidebar.collapsed .theme-toggle :where(.theme-text, .theme-toggle-track) {
  opacity: 0;
  width: 0;
  transition: all 0.2s ease;
}

.theme-toggle .theme-toggle-track {
  height: 24px;
  width: 48px;
  border-radius: 999px;
  margin-left: auto;
  background: #c3d1ec;
  position: relative;
  transition: opacity 0.4s 0.2s ease, background-color 0.3s ease;
}

body.dark-theme .theme-toggle-track {
  background: #695CFE;
}

.theme-toggle-track .theme-toggle-indicator {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

body.dark-theme .theme-toggle-indicator {
  transform: translateX(24px);
}

.site-nav {
  top: 0;
  display: none;
  padding: 15px 20px;
  position: sticky;
  z-index: 10;
  background: var(--color-bg-navbar);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-hr);
}

.site-nav .sidebar-toggle {
  position: unset;
}

.container {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
}

/* Main content wrapper */
.main-content-wrapper {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Unified Search & Filter Bar */
.unified-search-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
  width: 100%;
}

.search-bar-unified {
  display: flex;
  align-items: center;
  background-color: var(--color-bg-sidebar);
  border: 2px solid var(--color-border-hr);
  border-radius: 30px;
  width: 100%;
  max-width: 600px;
  padding: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--color-shadow);
}

.search-bar-unified:focus-within {
  border-color: var(--color-hover-primary);
  box-shadow: 0 4px 20px var(--glow-color);
}

.search-bar-unified input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--color-text-primary);
  font-size: 16px;
  padding: 10px 20px;
  outline: none;
  width: 100%;
}

.search-bar-unified input::placeholder {
  color: var(--color-text-placeholder);
}

.filter-dropdown-container {
  border-left: 2px solid var(--color-border-hr);
  padding: 0 5px;
  display: flex;
  align-items: center;
  position: relative;
}

.custom-select-wrapper {
  position: relative;
  user-select: none;
  min-width: 100px;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-primary);
  cursor: pointer;
  gap: 8px;
}

.custom-select-trigger .select-arrow {
  font-size: 0.8rem;
  color: #695CFE;
  transition: transform 0.3s ease;
}

.custom-select-wrapper.open .select-arrow {
  transform: rotate(180deg);
}

.custom-options-container {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 140px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  overflow: hidden;
  padding: 6px 0;
}

body.dark-theme .custom-options-container {
  background: rgba(31, 41, 55, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.custom-select-wrapper.open .custom-options-container {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-option {
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1F2936;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

body.dark-theme .custom-option {
  color: #F1F5F9 !important;
}

.custom-option:hover {
  background-color: rgba(105, 92, 254, 0.1);
}

body.dark-theme .custom-option:hover {
  background-color: rgba(105, 92, 254, 0.2) !important;
}

.custom-option.selected {
  background-color: #ECECFD !important;
  color: #1F2936 !important; /* Teks hitam/gelap di mode terang */
  font-weight: 600 !important;
}

body.dark-theme .custom-option.selected {
  background-color: #695CFE !important;
  color: #ffffff !important; /* Teks putih di mode gelap */
  font-weight: 600 !important;
}

/* Fix native select dropdown styling in dark mode */
select {
  border-radius: 12px !important;
}

select option {
  background-color: #ffffff;
  color: #1f2937;
}

body.dark-theme select option {
  background-color: #1f2937 !important;
  color: #f1f5f9 !important;
}

.search-bar-unified button {
  background: var(--color-hover-primary);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 8px var(--glow-color);
}

.search-bar-unified button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px var(--glow-color);
}

.search-bar-unified button span {
  font-size: 1.35rem;
}

/* App Counter */
.app-counter {
  text-align: center;
  color: var(--color-text-primary);
  font-size: 14px;
}

/* Apps Container */
.apps-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.app-card {
  display: flex;
  background: var(--color-bg-sidebar);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 15px var(--color-shadow);
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(105, 92, 254, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

body.dark-theme .app-card {
  background: linear-gradient(135deg, #181b2e, #111322);
  border-color: rgba(105, 92, 254, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(105, 92, 254, 0.18);
  border-color: rgba(105, 92, 254, 0.3);
}

.app-card-img-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.badge-update {
  position: absolute;
  top: -6px;
  left: -6px;
  background-color: #ff3b30;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(255, 59, 48, 0.4);
  z-index: 5;
  letter-spacing: 0.5px;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.app-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 18px;
  border: 1.5px solid rgba(105, 92, 254, 0.15);
  box-shadow: 0 4px 12px rgba(105, 92, 254, 0.1);
  transition: transform 0.3s ease;
}

.app-card:hover img {
  transform: scale(1.04);
}

.app-card .info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-card h4 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.2px;
}

.app-card .version-text {
  margin: 0 0 2px 0;
  font-size: 0.82rem;
  color: var(--color-text-placeholder);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.app-card .version-text i {
  color: #695CFE;
}

.labels-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 8px;
  text-transform: capitalize;
  border: 1px solid rgba(105, 92, 254, 0.15);
  background: rgba(105, 92, 254, 0.05);
  color: #695CFE;
  transition: all 0.2s ease;
}

.label.tag-official {
  background: rgba(105, 92, 254, 0.08);
  color: #695CFE;
  border-color: rgba(105, 92, 254, 0.2);
}

body.dark-theme .label.tag-official {
  background: rgba(105, 92, 254, 0.15);
  color: #a59cfc;
  border-color: rgba(105, 92, 254, 0.3);
}

.label.tag-beta {
  background: rgba(245, 158, 11, 0.08);
  color: #d97706;
  border-color: rgba(245, 158, 11, 0.2);
}

body.dark-theme .label.tag-beta {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.25);
}

.label.tag-patch {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.2);
}

body.dark-theme .label.tag-patch {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.25);
}

.label.tag-china {
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
  border-color: rgba(239, 68, 68, 0.2);
}

body.dark-theme .label.tag-china {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.25);
}

.label.tag-launcher {
  background: rgba(79, 70, 229, 0.08);
  color: #4f46e5;
  border-color: rgba(79, 70, 229, 0.2);
}

body.dark-theme .label.tag-launcher {
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.25);
}

.app-card .download-btn-row {
  margin: 4px 0 8px;
  display: block;
}

.app-card .btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: linear-gradient(135deg, #695CFE, #4c3ef0);
  color: #ffffff !important;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 12px rgba(105, 92, 254, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

body.dark-theme .app-card .btn-download {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(105, 92, 254, 0.1);
}

.app-card .btn-download:hover {
  background: linear-gradient(135deg, #7c71ff, #5b4ef2);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(105, 92, 254, 0.3);
}

.app-card .btn-download:active {
  transform: translateY(0);
}

/* Warning Section */
.warning-section {
  margin-top: 20px;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-text-primary);
}

.warning-section .card {
  border-radius: 8px;
  padding: 15px;
  background-color: var(--color-bg-sidebar);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  color: var(--color-text-primary);
}

/* Social Icons */
.social-menu {
  margin: 30px auto;
  text-align: center;
}

.social-menu ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  gap: 15px;
}

.social-menu ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-bg-secondary);
  border-radius: 50%;
  color: var(--color-text-primary);
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-menu ul li a:hover {
  background: #695CFE;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 5px 10px var(--glow-color);
}

.social-menu p {
  color: var(--color-text-primary);
}

.logo-utama {
  position: absolute;
  font-family: 'Bebas Neue', 'Poppins', sans-serif;
  top: 19px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  font-weight: 700;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-utama span {
  --logo-grad-1: #695CFE;
  --logo-grad-2: #6e61ff;
  --logo-grad-3: #0d009d;

  background: linear-gradient(90deg, var(--logo-grad-1), var(--logo-grad-2), var(--logo-grad-3));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: logo-gradient 6s linear infinite;

  /* subtle glow to help legibility */
  text-shadow: 0 6px 20px rgba(105, 92, 254, 0.16);
}

.logo-menu-img {
  height: 32px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(105, 92, 254, 0.25));
}

.logo-svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(105, 92, 254, 0.25));
}

.logo-svg rect {
  fill: #695CFE;
}

.logo-svg .block-group {
  fill: #FFFFFF;
  stroke: #695CFE;
  stroke-width: 1.2px;
  stroke-linejoin: round;
}

.logo-svg .arrow-group {
  fill: #695CFE;
  stroke: #FFFFFF;
  stroke-width: 1.2px;
  stroke-linejoin: round;
}

@keyframes logo-gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.build-version {
  font-size: 12px;
  color: var(--color-text-primary);
  opacity: 0.8;
}


.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 20;
  width: 270px;
  transition: left 0.4s ease;
}

.sidebar.collapsed {
  left: -270px;
  width: 270px;
}

.site-nav {
  display: block;
}

.main-content-wrapper {
  padding: 15px;
}

.filter-buttons {
  gap: 5px;
}

.filter-btn {
  padding: 6px 12px;
  font-size: 12px;
}

/* Search bar custom animate */
.search-bar {
  opacity: 0;
  transform: translateX(0) scaleX(0);
  transform-origin: center;
  animation: searchBarIn 1s cubic-bezier(.4, 0, .2, 1) forwards;
}

@keyframes searchBarIn {
  0% {
    opacity: 0;
    transform: translateX(0) scaleX(0);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scaleX(1);
  }
}

/* state tersembunyi */
.app-card.hide {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  pointer-events: none;
}

@media (max-width: 768px) {
  .apps-container {
    align-items: center;
  }

  .main-content-wrapper {
    padding-top: 70px;
    /* tinggi header */
  }

  .site-nav {
    z-index: 1000;
  }

  .sidebar {
    z-index: 1001;
  }

  .sidebar {
    position: fixed;
    top: 0;
  }

  .app-card {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 12px;
    gap: 12px;
    border-radius: 16px;
  }

  .app-card-img-wrapper,
  .app-card img {
    width: 80px;
    height: 80px;
  }

  .app-card img {
    border-radius: 12px;
  }

  .app-card h4 {
    font-size: 0.98rem;
  }

  .app-card .version-text {
    font-size: 0.75rem;
    margin-bottom: 2px;
  }

  .app-card .btn-download {
    padding: 8px 16px;
    font-size: 0.8rem;
    border-radius: 10px;
  }

  .app-card .label {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 6px;
  }

  .main-content-wrapper {
    padding: 14px;
  }

  .search-bar input {
    max-width: 320px;
    margin-right: auto;
  }

  .apps-container {
    align-items: center;
  }

  .download-slide-content {
    background: var(--color-bg-sidebar);
    color: var(--color-text-primary);
    width: 350px;
    top: 10vh;
    right: 3vh;
    max-width: 90vw;
    height: 80vh;
    padding: 32px 24px 24px 24px;
    box-shadow: -2px 0 16px var(--glow-color);
    position: absolute;
    display: flex;
    flex-direction: column;
    animation: slideInRight 0.4s cubic-bezier(.4, 0, .2, 1);
  }
}

/* ==========================================
   Report Form (lapor.html) Styles
   ========================================== */
.report-card {
  background: var(--color-bg-sidebar);
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: 0 10px 40px var(--color-shadow);
  width: 100%;
  max-width: 620px;
  margin: 30px auto;
  border: 1px solid var(--color-border-hr);
  border-top: 5px solid var(--color-hover-primary);
  transition: box-shadow 0.3s ease;
  animation: cardFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) ease-out;
}

body.dark-theme .report-card {
  background: linear-gradient(145deg, #181b2e, #111322);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 5px solid var(--color-hover-primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(105, 92, 254, 0.08);
}

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

/* User Badge in report form */
.report-user-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(105, 92, 254, 0.06);
  border: 1px solid rgba(105, 92, 254, 0.18);
  border-radius: 20px;
  padding: 16px 20px;
  margin-bottom: 28px;
  box-shadow: 0 6px 20px rgba(105, 92, 254, 0.06);
  animation: cardFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark-theme .report-user-badge {
  background: rgba(105, 92, 254, 0.08);
  border: 1px solid rgba(105, 92, 254, 0.25);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(105, 92, 254, 0.1);
}

.report-user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--color-hover-primary);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(105, 92, 254, 0.25);
}

.report-user-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.report-user-name {
  color: var(--color-text-primary);
  font-weight: 700;
  font-size: 1rem;
}

.report-user-status {
  color: #10b981;
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.report-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.report-form-group label {
  color: var(--color-text-primary);
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
}

.report-form-group label i {
  font-size: 1rem;
}

.report-form-group input,
.report-form-group select,
.report-form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--color-border-hr);
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark-theme .report-form-group input,
body.dark-theme .report-form-group select,
body.dark-theme .report-form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.report-form-group input:focus,
.report-form-group select:focus,
.report-form-group textarea:focus {
  outline: none;
  border-color: var(--color-hover-primary);
  box-shadow: 0 0 0 3px rgba(105, 92, 254, 0.25);
  background: var(--color-bg-sidebar);
}

body.dark-theme .report-form-group input:focus,
body.dark-theme .report-form-group select:focus,
body.dark-theme .report-form-group textarea:focus {
  background: rgba(255, 255, 255, 0.06);
}

.report-form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23695CFE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 44px;
}

.report-form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.btn-submit-report {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #695CFE, #4f46e5);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(105, 92, 254, 0.3);
}

.btn-submit-report:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(105, 92, 254, 0.45);
  background: linear-gradient(135deg, #7c72ff, #5a50eb);
}

.btn-submit-report:active {
  transform: translateY(-1px);
}

.btn-submit-report:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Custom Select Dropdown Styles */
.custom-select-wrapper {
  position: relative;
  user-select: none;
  width: 100%;
}

.custom-select {
  position: relative;
  display: flex;
  flex-direction: column;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--color-border-hr);
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark-theme .custom-select-trigger {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.custom-select.open .custom-select-trigger {
  border-color: var(--color-hover-primary);
  box-shadow: 0 0 0 3px rgba(105, 92, 254, 0.25);
  background: var(--color-bg-sidebar);
}

body.dark-theme .custom-select.open .custom-select-trigger {
  background: rgba(255, 255, 255, 0.06);
}

.custom-select-trigger .arrow {
  font-size: 0.85rem;
  color: var(--color-hover-primary);
  transition: transform 0.3s ease;
}

.custom-select.open .arrow {
  transform: rotate(180deg);
}

.custom-options {
  position: absolute;
  display: block;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  border: 1px solid var(--color-border-hr);
  background: var(--color-bg-sidebar);
  border-radius: 16px;
  box-shadow: 0 10px 30px var(--color-shadow);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

body.dark-theme .custom-options {
  background: #181b2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(105, 92, 254, 0.05);
}

.custom-select.open .custom-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-option {
  padding: 12px 18px;
  font-size: 0.95rem;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.custom-option:hover {
  background: var(--color-bg-secondary);
  color: var(--color-hover-primary);
}

body.dark-theme .custom-option:hover {
  background: rgba(255, 255, 255, 0.05);
}

.custom-option.selected {
  background: rgba(105, 92, 254, 0.1);
  color: var(--color-hover-primary);
  font-weight: 600;
}

body.dark-theme .custom-option.selected {
  background: rgba(105, 92, 254, 0.15);
}

/* ===== Global Notification Styles ===== */
.header-right-group {
  position: absolute;
  top: 10px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 150;
}

.notif-btn {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-hr);
  color: var(--color-text-primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
  font-size: 0.9rem;
  padding: 0;
}

.notif-btn:hover {
  background: var(--color-hover-primary);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 0 10px var(--glow-color);
}

.notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background-color: #ff3b30;
  border-radius: 50%;
  box-shadow: 0 0 6px #ff3b30;
  animation: pulse-notif-badge 1.5s infinite;
}

@keyframes pulse-notif-badge {
  0% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.4;
  }
}

/* Global Notification Modal */
.notif-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20, 22, 34, 0.85);
  backdrop-filter: blur(8px);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.notif-modal-content {
  background: var(--color-bg-sidebar);
  color: var(--color-text-primary);
  width: 420px;
  max-width: 90vw;
  padding: 28px 24px;
  border-radius: 20px;
  border: 1px solid var(--color-border-hr);
  box-shadow: 0 10px 32px var(--glow-color);
  position: relative;
  transform: scale(0.85);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.notif-modal.open .notif-modal-content {
  transform: scale(1);
}

.close-notif {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-text-placeholder);
  cursor: pointer;
  transition: color 0.2s;
}

.close-notif:hover {
  color: #ff3b30;
}

.notif-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid var(--color-border-hr);
  padding-bottom: 10px;
}

.notif-bell-icon {
  font-size: 1.3rem;
  color: #695CFE;
  animation: wobble-bell 2.5s infinite;
}

@keyframes wobble-bell {
  0% {
    transform: rotate(0);
  }

  15% {
    transform: rotate(10deg);
  }

  30% {
    transform: rotate(-10deg);
  }

  45% {
    transform: rotate(5deg);
  }

  60% {
    transform: rotate(-5deg);
  }

  75% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(0);
  }
}

.notif-header h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.notif-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-primary);
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
  display: flex;
  flex-direction: column;
}

.notif-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

body.dark-theme .notif-item {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.06);
}

.notif-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(105, 92, 254, 0.3);
  box-shadow: 0 8px 30px rgba(105, 92, 254, 0.15);
}

.notif-item-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
  letter-spacing: 0.2px;
}

body.dark-theme .notif-item-title {
  color: #fff;
}

.notif-item-message {
  font-size: 0.88rem;
  color: var(--color-text-placeholder);
  line-height: 1.6;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

body.dark-theme .notif-item-message {
  color: rgba(255, 255, 255, 0.8);
}

.notif-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 8px;
}

.notif-item-sender {
  font-size: 0.76rem;
  background: rgba(105, 92, 254, 0.15);
  color: #695CFE;
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.notif-item-date {
  font-size: 0.74rem;
  color: var(--color-text-placeholder);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

@media (max-width: 480px) {
  .header-right-group .build-version {
    display: none;
  }
}

/* About Developer Modal Custom Styles */
.about-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-bg-secondary);
  border-radius: 50%;
  color: var(--color-text-primary);
  font-size: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.about-social-btn:hover {
  color: white !important;
  transform: translateY(-4px);
  box-shadow: 0 6px 15px var(--glow-color);
}

#aboutGithubLink:hover {
  background: #333 !important;
}

#aboutTiktokLink:hover {
  background: #ff0050 !important;
}

#aboutWhatsappLink:hover {
  background: #25d366 !important;
}

#aboutInstagramLink:hover {
  background: #e1306c !important;
}

#aboutFacebookLink:hover {
  background: #1877f2 !important;
}

#aboutYoutubeLink:hover {
  background: #ff0000 !important;
}

#aboutTwitterLink:hover {
  background: #1da1f2 !important;
}

.about-avatar {
  transition: transform 0.3s ease;
}

.about-avatar:hover {
  transform: scale(1.05);
}

/* ==========================================
   Addon List & Card Styles (mineaddons.web.id inspired)
   ========================================== */



/* Centered Addon Counter */
.addon-counter-text {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-placeholder);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

/* Filter Row styling */
.addon-filters-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 20px auto;
  gap: 15px;
  flex-wrap: wrap;
}

/* Left Filter Buttons */
.addon-filter-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.addon-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #555555;
  transition: all 0.25s ease;
  user-select: none;
}

body.dark-theme .addon-filter-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-placeholder);
}

.addon-filter-pill:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.15);
  color: #111111;
}

body.dark-theme .addon-filter-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--color-text-primary);
}

.addon-filter-pill.active {
  background: rgba(105, 92, 254, 0.12) !important;
  border: 1px solid var(--color-hover-primary) !important;
  color: var(--color-hover-primary) !important;
  box-shadow: 0 0 12px var(--glow-color);
}

.addon-filter-pill i {
  font-size: 0.85rem;
}

.addon-filter-pill .fa-fire {
  color: #ff4757;
}

.addon-filter-pill.active .fa-fire {
  color: inherit;
}

.addon-filter-pill .fa-trophy {
  color: #ffa502;
}

.addon-filter-pill.active .fa-trophy {
  color: inherit;
}

.addon-filter-pill .fa-store {
  color: #ffa502;
}

.addon-filter-pill.active .fa-store {
  color: inherit;
}

/* Right Sort Dropdown */
.addon-controls-group {
  display: flex;
  gap: 12px;
  align-items: center;
}

.addon-sort-container,
.addon-filter-select-container {
  position: relative;
  min-width: 140px;
}

.addon-sort-container .custom-select-trigger,
.addon-filter-select-container .custom-select-trigger {
  width: 100%;
  padding: 8px 32px 8px 16px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #555555;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  appearance: none;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  height: 38px;
}

body.dark-theme .addon-sort-container .custom-select-trigger,
body.dark-theme .addon-filter-select-container .custom-select-trigger {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-placeholder);
}

.addon-sort-container .custom-select-trigger:hover,
.addon-filter-select-container .custom-select-trigger:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #111111;
  border-color: rgba(0, 0, 0, 0.15);
}

body.dark-theme .addon-sort-container .custom-select-trigger:hover,
body.dark-theme .addon-filter-select-container .custom-select-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.addon-sort-container .custom-select-wrapper.open .custom-select-trigger,
.addon-filter-select-container .custom-select-wrapper.open .custom-select-trigger {
  border-color: var(--color-hover-primary);
}

/* Style custom select components inside addon filter dropdown */
.addon-sort-container .custom-select-trigger .select-arrow,
.addon-filter-select-container .custom-select-trigger .select-arrow {
  font-size: 0.75rem;
  color: #695CFE;
  transition: transform 0.3s ease;
}

.addon-sort-container .custom-select-wrapper.open .select-arrow,
.addon-filter-select-container .custom-select-wrapper.open .select-arrow {
  transform: rotate(180deg);
}

.addon-filter-select-container .custom-options-container,
.addon-sort-container .custom-options-container {
  right: auto;
  left: 0;
  min-width: 160px;
}

/* Grid Layout */
.addon-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  flex-direction: unset !important;
  /* Overriding index list flex-column layout */
  padding-bottom: 40px;
}

/* Addon Premium Card */
.addon-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--color-bg-sidebar);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border-hr);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
  box-shadow: 0 4px 12px var(--color-shadow);
  height: 100%;
  cursor: pointer;
}

.addon-card:hover {
  transform: translateY(-6px);
  border-color: rgba(105, 92, 254, 0.4);
  box-shadow: 0 12px 24px var(--glow-color);
}

/* Hot Addon Card Accent Border & Glow */
.addon-card.is-hot-card {
  border: 1.5px solid rgba(239, 68, 68, 0.45) !important;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.08) !important;
}

body.dark-theme .addon-card.is-hot-card {
  border-color: rgba(239, 68, 68, 0.55) !important;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.15) !important;
}

.addon-card.is-hot-card:hover {
  border-color: rgba(239, 68, 68, 0.8) !important;
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.25) !important;
}

/* Image Wrapper */
.addon-card-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #1a1625;
}

.addon-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.addon-card:hover .addon-card-img-wrapper img {
  transform: scale(1.05);
}

/* Float Badges inside image */
.addon-badge-hot {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff4757;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 3px 8px rgba(255, 71, 87, 0.4);
  animation: pulse-hot 2s infinite;
  z-index: 2;
}

@keyframes pulse-hot {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }

  100% {
    transform: scale(1);
  }
}

.addon-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.addon-badge-category {
  display: inline-flex;
  align-items: center;
  background: #2e86de; /* light blue */
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  box-shadow: 0 2px 6px rgba(46, 134, 222, 0.2);
}

.addon-badge-marketplace {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffa502; /* orange */
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  box-shadow: 0 2px 6px rgba(255, 165, 2, 0.2);
}

/* Card Info Body */
.addon-card-info {
  padding: 16px 0 0 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.addon-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-hover-primary);
  margin-bottom: 8px;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.addon-card:hover .addon-card-title {
  color: #8275ff;
}

.addon-card-description {
  font-size: 0.88rem;
  color: var(--color-text-placeholder);
  line-height: 1.45;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3.0em;
  /* Fixed height for 2 lines */
  flex-grow: 1;
}

/* Card Footer Stats */
.addon-card-footer {
  display: flex;
  align-items: center;
  padding-top: 8px;
  margin-top: auto;
}

.addon-card-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.addon-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  transition: all 0.2s ease;
}

.addon-stat-item i {
  font-size: 0.95rem;
}

/* Download pill style */
.addon-stat-item.stat-downloads {
  color: #2ebd59;
  background: rgba(46, 189, 89, 0.08);
  border: 1px solid rgba(46, 189, 89, 0.15);
}
.addon-stat-item.stat-downloads i {
  color: #2ebd59;
}

/* Likes pill style */
.addon-stat-item.stat-likes {
  color: #ff4757;
  background: rgba(255, 71, 87, 0.08);
  border: 1px solid rgba(255, 71, 87, 0.15);
}
.addon-stat-item.stat-likes i {
  color: #ff4757;
}

/* Shares pill style */
.addon-stat-item.stat-shares {
  color: #ffa502;
  background: rgba(255, 165, 2, 0.08);
  border: 1px solid rgba(255, 165, 2, 0.15);
}
.addon-stat-item.stat-shares i {
  color: #ffa502;
}

/* Comments pill style */
.addon-stat-item.stat-comments {
  color: #695CFE;
  background: rgba(105, 92, 254, 0.08);
  border: 1px solid rgba(105, 92, 254, 0.15);
}
.addon-stat-item.stat-comments i {
  color: #695CFE;
}

/* Active status indicator */
.addon-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-hover-primary);
}

.addon-status-badge i {
  font-size: 0.8rem;
}

.addon-status-badge.inactive {
  color: var(--color-text-placeholder);
}

/* Skeleton Card Loader Styling */
.skeleton-card {
  pointer-events: none;
  background: var(--color-bg-sidebar) !important;
  border: 1px solid var(--color-border-hr) !important;
}

.skeleton-card .addon-card-img-wrapper {
  background: rgba(255, 255, 255, 0.02) !important;
  position: relative;
  overflow: hidden;
}

.skeleton-card .skeleton-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.03) 50%, 
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
}

.skeleton-card .skeleton-text {
  height: 12px;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.01) 0%, 
    rgba(255, 255, 255, 0.04) 50%, 
    rgba(255, 255, 255, 0.01) 100%
  );
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 8px;
}

.skeleton-card .skeleton-tag {
  width: 50px;
  height: 16px;
  border-radius: 100px;
  margin-bottom: 0;
}

.skeleton-card .skeleton-title {
  width: 75%;
  height: 18px;
  margin-top: 4px;
  margin-bottom: 12px;
}

.skeleton-card .skeleton-desc {
  width: 95%;
  height: 11px;
}

.skeleton-card .skeleton-desc.last {
  width: 60%;
  margin-bottom: 16px;
}

.skeleton-card .skeleton-stat {
  width: 55px;
  height: 24px;
  border-radius: 100px;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.01) 0%, 
    rgba(255, 255, 255, 0.04) 50%, 
    rgba(255, 255, 255, 0.01) 100%
  );
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.skeleton-card .addon-card-footer {
  border-top: none !important;
  padding-top: 0 !important;
}

@keyframes loading-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .addon-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 768px) {
  .addon-filters-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .addon-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .addon-controls-group {
    display: flex;
    gap: 10px;
    width: 100%;
  }

  .addon-sort-container,
  .addon-filter-select-container {
    flex: 1;
    min-width: unset;
  }

  .addon-sort-container .custom-select-trigger,
  .addon-filter-select-container .custom-select-trigger {
    width: 100%;
    padding: 8px 24px 8px 12px;
    font-size: 0.82rem;
    height: 38px;
    border-radius: 100px;
    box-sizing: border-box;
  }

  .addon-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .addon-card {
    padding: 10px !important;
  }

  .addon-card-info {
    padding: 12px 0 0 0 !important;
  }

  /* Card Text Size Adjustments for Mobile */
  .addon-card-title {
    font-size: 0.95rem !important;
    margin-bottom: 6px;
  }

  .addon-card-description {
    font-size: 0.78rem !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    height: auto !important;
    max-height: 2.8em !important;
    margin-bottom: 12px;
  }

  /* Card Stats Size Adjustments for Mobile */
  .addon-stat-item {
    font-size: 0.7rem !important;
    gap: 4px !important;
    padding: 3px 8px !important;
  }

  .addon-stat-item i {
    font-size: 0.8rem !important;
  }

  .addon-card-tags {
    gap: 4px !important;
    margin-bottom: 6px !important;
  }

  .addon-badge-category,
  .addon-badge-marketplace,
  .addon-badge-hot {
    font-size: 0.65rem !important;
    padding: 2px 6px !important;
  }
}

/* Addon Premium Slide Modal Styling */
.addon-download-slide .download-slide-content {
  padding: 24px;
  margin-top: 0 !important;
}

@media (max-width: 768px) {
  .addon-download-slide .download-slide-content {
    padding: 16px;
    width: 95vw;
    margin-top: 0 !important;
  }
}

/* Widen the download slide modal only for desktop on addon page */
@media (min-width: 769px) {
  .addon-download-slide .download-slide-content {
    width: 600px;
    max-width: 90vw;
    margin-top: -30px !important;
  }
}

.addon-download-slide .close-slide {
  position: sticky !important;
  top: 16px !important;
  right: 16px !important;
  align-self: flex-end !important;
  margin-top: -12px !important;
  margin-right: -12px !important;
  margin-bottom: -24px !important;
  background: rgba(0, 0, 0, 0.5) !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.5rem !important;
  line-height: 1 !important;
  padding: 0 !important;
  border: none !important;
  cursor: pointer !important;
  z-index: 200 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0 !important;
}

.addon-download-slide .close-slide:hover {
  background: rgba(255, 71, 87, 0.95) !important;
  color: #fff !important;
  transform: rotate(90deg) scale(1.05) !important;
}

/* Banner */
.addon-slide-banner {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  background: #152019;
  flex-shrink: 0;
}

.addon-slide-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Header & Tags */
.addon-slide-header {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.addon-slide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.slide-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.slide-tag.version-tag {
  background: rgba(105, 92, 254, 0.15);
  color: #695CFE;
}

.slide-tag.label-tag {
  background: rgba(46, 134, 222, 0.15);
  color: #2e86de;
}

.slide-tag.marketplace-tag {
  background: rgba(255, 165, 2, 0.15);
  color: #ffa502;
}

.slide-tag.hot-tag {
  background: rgba(255, 71, 87, 0.15);
  color: #ff4757;
  animation: pulse-hot 2s infinite;
}

.addon-slide-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.35;
  margin: 2px 0;
}

.addon-slide-developer {
  font-size: 0.85rem;
  color: var(--color-text-placeholder);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.addon-slide-developer i {
  color: #695CFE;
}

/* Stats Grid (3 columns layout) */
.addon-slide-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.addon-slide-stats-grid .stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  background: var(--color-bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--color-border-hr);
  transition: transform 0.2s, box-shadow 0.2s;
}

.addon-slide-stats-grid .stat-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px var(--color-shadow);
}

.addon-slide-stats-grid .stat-box i {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.addon-slide-stats-grid .download-box i {
  color: #695CFE;
}

.addon-slide-stats-grid .like-box i {
  color: #ff4757;
}

.addon-slide-stats-grid .share-box i {
  color: #2e86de;
}

.addon-slide-stats-grid .rating-box i {
  color: #ffbc00;
}

.addon-slide-stats-grid .comment-box i {
  color: #695CFE;
}

.addon-slide-stats-grid .stat-num {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.addon-slide-stats-grid .stat-lbl {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-text-placeholder);
  letter-spacing: 0.3px;
  margin-top: 1px;
}

/* Interaction buttons */
.addon-slide-interactions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.addon-slide-interactions .interaction-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--color-border-hr);
  background: transparent;
  color: var(--color-text-primary);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.addon-slide-interactions .btn-like-action:hover {
  background: rgba(255, 71, 87, 0.08);
  border-color: #ff4757;
  color: #ff4757;
}

.addon-slide-interactions .btn-share-action:hover {
  background: rgba(105, 92, 254, 0.08);
  border-color: #695CFE;
  color: #695CFE;
}

/* Rating Stars Section */
.addon-slide-rating-stars {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: var(--color-bg-secondary);
  border-radius: 14px;
  border: 1px solid var(--color-border-hr);
  margin-bottom: 20px;
  text-align: center;
}

.addon-slide-rating-stars .rating-hdr {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-placeholder);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.addon-slide-rating-stars .stars-row {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}

.addon-slide-rating-stars .star-interactive {
  font-size: 1.65rem;
  color: var(--color-text-placeholder);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.1s ease;
}

.addon-slide-rating-stars .star-interactive:hover {
  transform: scale(1.15);
  color: #ffbc00;
}

.addon-slide-rating-stars .stars-sub {
  font-size: 0.7rem;
  color: var(--color-text-placeholder);
  margin-bottom: 4px;
}

.addon-slide-rating-stars .rating-summary-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-top: 4px;
}

/* Description Section */
.addon-slide-description-section {
  margin-bottom: 24px;
}

.addon-slide-description-section .section-hdr {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-placeholder);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.addon-slide-description-section .section-hdr i {
  color: #695CFE;
}

.addon-slide-description-section .description-list {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.addon-slide-description-section .description-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--color-text-primary);
  line-height: 1.5;
}

.addon-slide-description-section .description-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 6px;
  height: 6px;
  background-color: #695CFE;
  border-radius: 50%;
}

/* Warning */
.addon-slide-warning {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(255, 71, 87, 0.08);
  border-left: 3px solid #ff4757;
  border-radius: 4px 8px 8px 4px;
  font-size: 0.8rem;
  color: #ff4757;
  font-weight: 500;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.addon-slide-warning i {
  margin-top: 2px;
}

/* Action Links / Buttons */
.addon-slide-action-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.addon-slide-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  background: #695CFE;
  color: #fff;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px var(--glow-color);
  border: none;
  cursor: pointer;
}

.addon-slide-download-btn:hover {
  background: #584cd4;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--glow-color);
  color: #fff;
}

.addon-slide-download-btn i {
  font-size: 1.1rem;
}

.addon-slide-help-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #695CFE;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
  margin-top: 2px;
}

.addon-slide-help-link:hover {
  color: #584cd4;
  text-decoration: underline;
}

/* Scroll to Top Button */
.scroll-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-hover-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px var(--glow-color);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
  z-index: 2000;
}

.scroll-to-top-btn:hover {
  background: #584cd4;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--glow-color);
}

.scroll-to-top-btn:active {
  transform: scale(0.95);
}

.scroll-to-top-btn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-to-top-btn span {
  font-size: 1.5rem;
}

/* ==========================================
   Firebase Authentication & Profile Styles
   ========================================== */

/* Sidebar Avatar Icon Styling */
.avatar-menu-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid #695CFE;
  box-shadow: 0 0 5px rgba(105, 92, 254, 0.3);
  flex-shrink: 0;
}

.user-avatar-menu {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Auth Modal Content Container */
.auth-modal-content {
  border-top: 4px solid #695CFE;
  animation: modalPopIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Auth Modal Form inputs inside report-form-group styling compatibility */
.auth-modal-content .report-form-group input {
  width: 100%;
  padding: 10px 14px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-hr);
  border-radius: 10px;
  color: var(--color-text-primary);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.auth-modal-content .report-form-group input:focus {
  border-color: #695CFE;
  box-shadow: 0 0 8px rgba(105, 92, 254, 0.2);
  outline: none;
}

/* Tabs for switching auth states */
.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--color-border-hr);
  margin-bottom: 15px;
  gap: 10px;
}

.auth-tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-placeholder);
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.auth-tab.active {
  color: #695CFE;
}

.auth-tab::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #695CFE;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.auth-tab.active::after {
  transform: scaleX(1);
}

/* Divider 'atau' */
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: var(--color-text-placeholder);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--color-border-hr);
}

.auth-divider:not(:empty)::before {
  margin-right: .5em;
}

.auth-divider:not(:empty)::after {
  margin-left: .5em;
}

/* Social Buttons Grid */
.social-login-group {
  display: flex;
  gap: 10px;
}

.social-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  border: 1px solid var(--color-border-hr);
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
}

.social-login-btn i {
  font-size: 1.05rem;
}

.google-btn:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ff4757;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

.github-btn:hover {
  background: rgba(31, 41, 55, 0.08);
  border-color: rgba(31, 41, 55, 0.3);
  color: #2f3542;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

body.dark-theme .github-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

/* Dark mode specific override for profile detail items */
body.dark-theme .profile-detail-item {
  background: rgba(105, 92, 254, 0.05) !important;
  border-color: rgba(105, 92, 254, 0.15) !important;
}

/* Specific CSS transition for user name/avatar shifts */
.user-avatar-menu, .avatar-menu-wrapper {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.menu-link:hover .avatar-menu-wrapper {
  border-color: #584cd4;
  box-shadow: 0 0 8px rgba(105, 92, 254, 0.5);
}

/* Sidebar Center Auth Button Container & Layout styling */
#authSidebarContainer {
  margin: 15px 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.sidebar-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-hr);
  color: var(--color-text-primary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  width: 100%;
  max-width: 180px;
  box-sizing: border-box;
}

.sidebar-auth-btn:hover {
  background: var(--color-hover-primary);
  color: #fff;
  border-color: #695CFE;
  box-shadow: 0 4px 15px var(--glow-color);
  transform: translateY(-2px);
}

.sidebar-auth-btn span.material-symbols-rounded {
  font-size: 1.3rem;
}

/* Collapsed Sidebar overrides for Center Auth Button */
.sidebar.collapsed #authSidebarContainer {
  margin: 15px auto;
}

.sidebar.collapsed .auth-btn-label {
  display: none;
}

.sidebar.collapsed .sidebar-auth-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  max-width: 44px;
  justify-content: center;
}

.sidebar.collapsed .avatar-menu-wrapper {
  width: 24px;
  height: 24px;
}

.hidden-by-profile {
  display: none !important;
}

/* ==========================================
   Redesigned User Profile Card Styles
   ========================================== */

.profile-card-wrapper {
  max-width: 420px;
  width: 100%;
  margin: 30px auto;
  padding: 0 !important; /* Reset padding to allow hero header to be flush */
  border-radius: 30px !important;
  overflow: hidden;
  border: 1px solid var(--color-border-hr) !important;
  background: var(--color-bg-sidebar) !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
  display: flex;
  flex-direction: column;
}

.profile-card-hero {
  position: relative;
  width: 100%;
  padding: 30px 20px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  background: var(--color-bg-sidebar);
  border-bottom: 1px solid var(--color-border-hr);
}

/* Avatar container with hover pencil button */
.profile-avatar-container {
  position: relative;
  z-index: 10;
  margin-bottom: 12px;
}

.profile-avatar-container img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid #695CFE;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(105, 92, 254, 0.3);
}

.edit-avatar-btn {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #695CFE;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s;
  z-index: 11;
}

.edit-avatar-btn:hover {
  transform: scale(1.1);
  background: #695CFE;
  color: #fff;
}

.profile-card-hero h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 5px 0 2px;
  z-index: 10;
  position: relative;
}

.profile-card-hero p.role-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-placeholder);
  margin: 0;
  z-index: 10;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Option List Menu (My Profile, Favourites) */
.profile-options-list {
  padding: 24px 20px 10px;
  background: var(--color-bg-sidebar);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.profile-option-item .option-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-option-item .option-left span.material-symbols-rounded {
  font-size: 1.45rem;
  color: var(--color-text-placeholder);
  transition: color 0.2s;
}

.profile-option-item .option-text {
  font-size: 0.95rem;
  font-weight: 600;
}

.profile-option-item span.chevron {
  font-size: 1.25rem;
  color: var(--color-text-placeholder);
  transition: transform 0.2s, color 0.2s;
}

.profile-option-item:hover {
  background: rgba(105, 92, 254, 0.05);
  border-color: rgba(105, 92, 254, 0.15);
  color: #695CFE;
}

.profile-option-item:hover .option-left span.material-symbols-rounded,
.profile-option-item:hover span.chevron {
  color: #695CFE;
}

.profile-option-item.active {
  background: rgba(105, 92, 254, 0.08);
  border-color: rgba(105, 92, 254, 0.25);
  color: #695CFE;
}

.profile-option-item.active .option-left span.material-symbols-rounded,
.profile-option-item.active span.chevron {
  color: #695CFE;
}

/* Content Panels below options */
.profile-content-panels {
  padding: 10px 20px 24px;
  background: var(--color-bg-sidebar);
}

.profile-panel {
  display: none;
  animation: panelFadeIn 0.3s ease;
}

.profile-panel.active {
  display: block;
}

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

/* Option Content Styling (My Profile & Favourites list card details) */
.profile-detail-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-field-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: var(--color-bg-secondary);
  border-radius: 14px;
  border: 1px solid var(--color-border-hr);
}

.profile-field-row .field-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-placeholder);
}

.profile-field-row .field-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

/* Redesigned Card Footer Logout Button matching mockup */
.profile-card-footer {
  padding: 20px;
  background: rgba(0, 0, 0, 0.08);
  border-top: 1px solid var(--color-border-hr);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.profile-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: none;
  border: none;
  color: var(--color-text-placeholder);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  padding: 8px 16px;
}

.profile-logout-btn:hover {
  color: #ff4757;
  transform: translateY(-1px);
}

.profile-logout-btn span.material-symbols-rounded {
  font-size: 1.35rem;
}

/* Avatar Option Selection Styling */
.minecraft-avatar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.avatar-option {
  border: 2px solid var(--color-border-hr);
  padding: 10px;
  border-radius: 14px;
  background: var(--color-bg-secondary);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.avatar-option img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.avatar-option:hover {
  border-color: #695CFE;
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(105, 92, 254, 0.2);
}

.avatar-option.selected {
  border-color: #695CFE;
  background: rgba(105, 92, 254, 0.05);
}

.btn-back-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-hr);
  color: var(--color-text-placeholder);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-back-menu:hover {
  color: #695CFE !important;
  background: rgba(105, 92, 254, 0.08);
  border-color: rgba(105, 92, 254, 0.25);
  transform: translateX(-3px);
}

@media (max-width: 768px) {
  .header-right-group {
    gap: 6px !important;
    right: 8px !important;
    top: 13px !important;
  }
  .header-profile-name {
    display: none !important;
  }
  .header-profile-badge {
    height: 26px !important;
    padding: 2px !important;
    border-radius: 50% !important;
    justify-content: center !important;
    width: 26px !important;
  }
  .header-profile-badge img {
    width: 20px !important;
    height: 20px !important;
    border-width: 1px !important;
  }
  .notif-btn {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.72rem !important;
  }
  .notif-btn i {
    font-size: 0.72rem !important;
  }
}

/* Pagination Styling */
.addon-pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 25px 0 15px 0;
  width: 100%;
}

.addon-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 600;
  color: #555555;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

body.dark-theme .addon-page-btn {
  color: var(--color-text-placeholder);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.addon-page-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.15);
  color: #111111;
}

body.dark-theme .addon-page-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--color-text-primary);
}

.addon-page-btn.active {
  background: rgba(105, 92, 254, 0.12) !important;
  border: 1px solid #695CFE !important;
  color: #695CFE !important;
  box-shadow: 0 0 10px rgba(105, 92, 254, 0.25);
}

.addon-page-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-text-placeholder);
  font-size: 1.1rem;
  font-weight: 700;
  user-select: none;
}

/* Ads Warning Banner Styles */
.ads-warning-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 149, 0, 0.1);
  border: 1px solid rgba(255, 149, 0, 0.2);
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 20px;
  color: #ff9500;
  font-size: 0.88rem;
  line-height: 1.4;
  box-shadow: 0 4px 15px rgba(255, 149, 0, 0.05);
  animation: slideDownFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body.dark-theme .ads-warning-banner {
  background: rgba(255, 149, 0, 0.08);
  border: 1px solid rgba(255, 149, 0, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.ads-warning-banner i {
  font-size: 1.1rem;
  color: #ff9500;
  animation: pulseWarning 2s infinite;
}

@keyframes pulseWarning {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes slideDownFade {
  0% { transform: translateY(-10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ===== Global Announcement/Ads Popup Modal Styles ===== */
.global-popup-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.global-popup-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.global-popup-content {
  background: var(--color-bg-sidebar);
  border: 1px solid var(--color-border-hr);
  width: 90%;
  max-width: 500px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(105, 92, 254, 0.15);
  position: relative;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  max-height: 80vh;
}

body.dark-theme .global-popup-content {
  background: #181b2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.global-popup-modal.show .global-popup-content {
  transform: scale(1);
}

.close-global-popup {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: var(--color-text-placeholder);
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s ease, transform 0.2s ease;
}

.close-global-popup:hover {
  color: #ff0000;
  transform: scale(1.1);
}

.global-popup-header {
  padding: 24px 24px 16px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25); /* Garis abu lebih gelap di mode terang */
  text-align: center;
}

body.dark-theme .global-popup-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* Garis abu terang di mode gelap */
}

.global-popup-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
}

.global-popup-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-primary);
  max-height: 45vh;
  word-break: break-word;
  white-space: pre-wrap;
}

/* Ensure images and iframes inside popup body are responsive */
.global-popup-body img,
.global-popup-body iframe {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 10px 0;
  border: none;
}

.global-popup-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.25); /* Garis abu lebih gelap di mode terang */
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

body.dark-theme .global-popup-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08); /* Garis abu terang di mode gelap */
}

.dont-show-again-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--color-text-placeholder);
  cursor: pointer;
  user-select: none;
}

.dont-show-again-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  accent-color: var(--color-hover-primary);
  cursor: pointer;
}

/* ==========================================================================
   Skeleton Loading Animation Styles
   ========================================================================== */
.skeleton-card {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-card) !important;
  pointer-events: none;
  border: 1px solid var(--color-border);
}

.skeleton-card * {
  pointer-events: none;
  user-select: none;
}

/* Base pulse & glow shimmer effect */
.skeleton-img,
.skeleton-text,
.skeleton-stat {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 6px;
}

body:not(.dark-theme) .skeleton-img,
body:not(.dark-theme) .skeleton-text,
body:not(.dark-theme) .skeleton-stat {
  background: rgba(0, 0, 0, 0.08) !important;
}

/* Pulsating shimmer effect */
.skeleton-img::after,
.skeleton-text::after,
.skeleton-stat::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.04) 20%,
    rgba(255, 255, 255, 0.08) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer-effect 1.8s infinite;
}

body:not(.dark-theme) .skeleton-img::after,
body:not(.dark-theme) .skeleton-text::after,
body:not(.dark-theme) .skeleton-stat::after {
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 20%,
    rgba(255, 255, 255, 0.5) 60%,
    rgba(255, 255, 255, 0) 100%
  );
}

@keyframes shimmer-effect {
  100% {
    transform: translateX(100%);
  }
}

/* Sizing configurations */
.skeleton-img {
  width: 100% !important;
  height: 100% !important;
  min-height: 120px;
  border-radius: 16px;
}

.skeleton-text {
  height: 14px;
  margin-bottom: 8px;
}

.skeleton-tag {
  width: 60px;
  height: 20px;
  border-radius: 8px;
}

.skeleton-title {
  width: 70%;
  height: 20px;
  margin-top: 10px;
  margin-bottom: 12px;
  border-radius: 4px;
}

.skeleton-desc {
  width: 90%;
  height: 12px;
  border-radius: 4px;
}

.skeleton-desc.last {
  width: 60%;
}

.skeleton-stat {
  width: 45px;
  height: 16px;
  display: inline-block;
  border-radius: 4px;
}

/* App page specific adjustments */
.apps-container .skeleton-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.apps-container .skeleton-card .skeleton-img-wrapper {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.apps-container .skeleton-card .skeleton-info-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.apps-container .skeleton-card .skeleton-btn {
  width: 110px;
  height: 36px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

body:not(.dark-theme) .apps-container .skeleton-card .skeleton-btn {
  background: rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Custom Checkbox and Popup Close Button Styles
   ========================================================================== */
.dont-show-again-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-text-placeholder);
  cursor: pointer;
  user-select: none;
}

.dont-show-again-label input[type="checkbox"] {
  display: none !important; /* Hide default native checkbox */
}

/* Custom indicator container */
.dont-show-again-label .custom-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0.75rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

body.dark-theme .dont-show-again-label .custom-checkbox {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Hover state styling */
.dont-show-again-label:hover .custom-checkbox {
  border-color: var(--color-hover-primary);
  background: rgba(105, 92, 254, 0.05);
}

/* Checked status display */
.dont-show-again-label input[type="checkbox"]:checked + .custom-checkbox {
  background: var(--color-hover-primary) !important;
  border-color: var(--color-hover-primary) !important;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(105, 92, 254, 0.4);
}

/* Tutup / Keluar Button at Footer */
.popup-footer-close-btn {
  background: linear-gradient(135deg, #695CFE, #4f46e5);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(105, 92, 254, 0.3);
}

.popup-footer-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(105, 92, 254, 0.5);
  background: linear-gradient(135deg, #7c72ff, #5a51ff);
}

.popup-footer-close-btn:active {
  transform: translateY(0);
}

/* ===== SITE FOOTER STYLING ===== */
.site-footer {
  background: #10141d; /* Warna dark navy sesuai gambar */
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 24px 20px 24px;
  color: #F1F5F9; /* Selalu text terang agar terbaca */
  margin-top: 50px;
  width: calc(100% + 40px); /* breakout main-content-wrapper padding */
  margin-left: -20px;       /* breakout left padding */
  margin-right: -20px;      /* breakout right padding */
  margin-bottom: -20px;     /* breakout bottom padding */
  box-sizing: border-box;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 600px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-brand-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #695CFE;
  margin: 0;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: #A6B7D2;
  line-height: 1.5;
  margin: 0;
}

.footer-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #A6B7D2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.footer-socials a:hover {
  background: #695CFE;
  color: #ffffff;
  border-color: #695CFE;
  transform: translateY(-2px);
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 30px auto;
  max-width: 1200px;
  width: 100%;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.footer-column h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column ul li a {
  font-size: 0.88rem;
  color: #A6B7D2;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column ul li a:hover {
  color: #695CFE;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.footer-copyright {
  font-size: 0.8rem;
  color: #A6B7D2;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .footer-brand {
    width: 100%;
  }

  .footer-socials {
    width: 100%;
    justify-content: flex-start;
    margin-top: 10px;
  }
  
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }
  
  .footer-bottom {
    justify-content: center !important;
    text-align: center;
  }
}

/* ===== POPUP PROMOTION BUTTONS ===== */
.popup-promo-links {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.25); /* Garis abu lebih gelap di mode terang */
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

body.dark-theme .popup-promo-links {
  border-top: 1px solid rgba(255, 255, 255, 0.08); /* Garis abu terang di mode gelap */
}

.popup-promo-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 16px !important;
  height: 38px !important;
  background: #695CFE !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  text-align: center !important;
  text-decoration: none !important;
  border: none !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(105, 92, 254, 0.15) !important;
}

.popup-promo-btn i {
  position: static !important;
  margin: 0 !important;
  transform: none !important;
  font-size: 1rem !important;
  display: inline-block !important;
  color: #ffffff !important;
}

.popup-promo-btn:hover {
  background: #5b4ef2 !important;
  transform: translateY(-1.5px) !important;
  box-shadow: 0 6px 18px rgba(105, 92, 254, 0.3) !important;
}

.popup-promo-btn:active {
  transform: translateY(0) !important;
}