:root {
	--header-height: 60px;
	--sidebar-width: 300px;
}
body {
    background-color: #f4f6f9;
    scroll-behavior: smooth;
}

/* =========================
   BODY & APP SIDEBAR
========================= */
html, body,
#app-sidebar {
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: rgba(0,0,0,0) transparent;
  transition: scrollbar-color 0.3s;
}

/* WebKit browsers */
html::-webkit-scrollbar, body::-webkit-scrollbar,
#app-sidebar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

html::-webkit-scrollbar-track, body::-webkit-scrollbar-track,
#app-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb,
#app-sidebar::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0);
  border-radius: 10px;
  transition: background 0.3s;
}

/* Muncul saat hover parent */
html:hover::-webkit-scrollbar-thumb, body:hover::-webkit-scrollbar-thumb,
#app-sidebar:hover::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.25);
}

/* Hover lebih menonjol */
html:hover::-webkit-scrollbar-thumb:hover, body:hover::-webkit-scrollbar-thumb:hover,
#app-sidebar:hover::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,0.4);
}

/* Firefox hover */
html:hover, body:hover,
#app-sidebar:hover {
  scrollbar-color: rgba(0,0,0,0.25) transparent;
}
/* =========================
   BODY & APP SIDEBAR - END
========================= */

/* BEGIN of HEADER */
header {
	height: var(--header-height);
	position: sticky;
	top: 0;
	z-index: 1000;
}
.navbar {
	height: var(--header-height);
}
@media (max-width: 991px) {
    header, .navbar {
        height: auto;
    }
}
header a.nav-link {
    color: rgb(33, 37, 41);
}
.btn-header {
    font-size: 16px;
    padding: 6px 12px;
    border-color: rgb(108, 117, 125);
    line-height: 24px;
}
.btn-header:focus,
.btn-header:active,
.btn-header:focus-visible {
	box-shadow: none;
	outline: none;
}
#toggle-sidebar {
    position: relative;
    background: linear-gradient(135deg, #4b5563, #1f2937);
    color: #fff;
    border: none;
    font-weight: 700;
    border-radius: 12px;
    padding: 8px 16px;
    transition: .25s;
}
#toggle-sidebar:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(75, 85, 99, .55), 0 12px 24px rgba(75, 85, 99, .35);
    color: #fff;
}
#btn-daftar {
    border: 1px solid #dee2e6;
    color: rgb(26, 115, 232);
    border-radius: 50px;
    padding: 0 25px;
    height: 35px;
    line-height: 35px;
    text-decoration: none;
    transition: .3s;
}
#btn-daftar:hover {
    border: 1px solid rgb(26, 115, 232);
}
#btn-login {
    background-color: rgb(26, 115, 232);
    color: rgb(255, 255, 255);
    border-radius: 50px;
    padding: 0 25px;
    height: 35px;
    line-height: 35px;
    text-decoration: none;
    transition: .3s;
}
#btn-login:hover {
    background-color: #174ea6;
}
@media (min-width: 992px) {
    header li.nav-item:first-child {
        margin-left: 15px;
    }
    header li.nav-item:not(:last-child) {
        margin-right: 15px;
    }
}
.navbar .dropdown-toggle::after {
  content: none;
}
#navbarDropdown,
#navbarDropdown:focus,
#navbarDropdown:active,
#navbarDropdown:focus-visible,
#navbarDropdown.show {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}
/* END of HEADER */

/* Body wrapper below header */
#app-body {
    padding: 0;
}
/* Body wrapper below header */

/* BEGIN of SIDEBAR */
#app-sidebar {
    width: var(--sidebar-width);
	position: sticky;
	top: var(--header-height);
	height: calc(100vh - var(--header-height));
	background-color: #FFFFFF;
	overflow-y: auto;
    transition: 0.3s ease;
}

@media (max-width: 991px) {
    #app-sidebar {
      position: fixed;
      top: 0;
      left: calc(-1 * var(--sidebar-width)); /* sembunyikan di kiri */
      width: var(--sidebar-width);
      max-width: 85%;
      height: 100%;
      z-index: 1002;
    }

    /* Sidebar aktif */
    #app-sidebar.active {
      left: 0;
    }
    
    /* Overlay default */
    #sidebar-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to right, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
      backdrop-filter: blur(4px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
      z-index: 1001;
    }
    
    /* Overlay muncul */
    #sidebar-overlay.active {
      opacity: 1;
      pointer-events: auto;
    }
}

/* END of SIDEBAR */

/* BEGIN of SIDEBAR MENU */

/* =========================
   GROUP TITLE
========================= */
#app-sidebar .menu {
    list-style: none;
    padding: 10px 10px 20px 10px;
    margin: 0;
}

#app-sidebar .menu-group {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    padding: 1.2rem 0.85rem 0.35rem;
    user-select: none;
}

#app-sidebar .menu > .menu-group:first-child {
    padding-top: 0.5rem;
}

#app-sidebar a {
    display: flex;
    align-items: center;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    transition: background .2s ease, color .2s ease, transform .15s ease;
}

#app-sidebar a:hover {
    background: #f1f5f9;
    color: #0d6efd;
}

/* kiri */
#app-sidebar .menu-left {
    display: flex;
    align-items: center;
    gap: 0.65rem; /* JARAK ICON & TEKS */
}

#app-sidebar .menu-left i {
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

#app-sidebar .menu-text {
    white-space: nowrap;
    font-size: 0.925rem;
}

/* kanan */
#app-sidebar .menu-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* submenu */
#app-sidebar .submenu {
    list-style: none;
    padding-left: 0.85rem;
    margin-left: 1rem;
    border-left: 2px solid #e2e8f0;
    height: 0;
    overflow: hidden;
    transition: height .3s cubic-bezier(0.25, 1, 0.5, 1);
}

#app-sidebar .submenu li {
    margin: 2px 0;
}

#app-sidebar .submenu a {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    color: #64748b;
}

#app-sidebar .submenu a:hover {
    color: #0d6efd;
    background: #f1f5f9;
}

/* active */
#app-sidebar .menu > li.active > a,
#app-sidebar .submenu li.active > a {
    background: #0d6efd;
    color: #fff;
    font-weight: 600;
}

#app-sidebar .submenu li.active > a {
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.2);
}

/* chevron */
#app-sidebar .bi-chevron-down {
    transition: transform .3s ease;
}

#app-sidebar .has-submenu.open > a .bi-chevron-down {
    transform: rotate(180deg);
}

/* badge */
#app-sidebar .badge {
    font-size: 0.65rem;
    padding: 0.25em 0.45em;
    border-radius: 10px;
    font-weight: 700;
}

.badge-primary { background:#0d6efd;color:#fff; }
.badge-warning { background:#ffc107;color:#212529; }
.badge-success { background:#198754;color:#fff; }
.badge-danger  { background:#dc3545;color:#fff; }
.badge-info    { background:#0dcaf0;color:#003c44; }
/* ========================= CUSTOM TYPE: SPECIAL ========================= */ #app-sidebar .custom-special > a { background: linear-gradient(90deg, #ffe8a1, #fff3cd); color: #664d03; border: 1px solid #ffe69c; } #app-sidebar .custom-special > a:hover { background: linear-gradient(90deg, #ffdf7e, #ffe69c); } #app-sidebar .custom-special > a i { color: #ff9800; } /* ========================= CUSTOM TYPE: PREMIUM ========================= */ #app-sidebar .custom-premium > a { background: linear-gradient(90deg, #e7d7ff, #f4edff); color: #4b2aad; border: 1px solid #d5c2ff; } #app-sidebar .custom-premium > a i { color: #7b4dff; } /* ========================= CUSTOM TYPE: DANGER ========================= */ #app-sidebar .custom-danger > a { background: #fff1f1; color: #842029; border: 1px solid #f5c2c7; } #app-sidebar .custom-danger > a i { color: #dc3545; }
/*END of SIDEBAR MENU */

/* BEGIN of JUDUL */
#judul {
    position: relative;
    padding: 62px 28px;
    min-height: 195px;
    margin-bottom: 24px;
    border-radius: 28px;
    background: radial-gradient(120% 120% at 50% 10%, #1e293b 0%, #0f172a 60%, #020617 100%);
    color: #ffffff;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Efek Tech Grid Keren */
#judul::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 25%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 25%, transparent 85%);
    pointer-events: none;
    z-index: 1;
}

/* Efek Ambient Glow Halus di Tengah */
#judul::after {
    content: "";
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    height: 160px;
    border-radius: inherit;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.22) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 1;
}

/* Judul (H1) */
#judul h1 {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.35;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    max-width: 820px;
}

#sub-judul {
    position: relative;
    z-index: 2;
    font-size: 0.95rem;
    font-weight: 500;
    color: #94a3b8;
    margin-top: 8px;
    display: block;
}

@media (max-width: 576px) {
    #judul {
        padding: 44px 18px;
        min-height: 145px;
        border-radius: 22px;
        margin-bottom: 18px;
    }
    #judul h1 {
        font-size: 1.25rem;
    }
}
/* END of JUDUL */

/* BEGIN of APP MAIN */
#app-main {
    flex: 1;
    min-width: 0;
	background-color: #FFFFFF;
}
.kotak {
    background-color: #ffffff;                 /* putih */
    border-radius: 12px;                       /* sudut lembut */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);  /* shadow halus */
    padding: 1.5rem;                           /* ruang nyaman untuk konten */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#main-content p {
    text-align: justify;
}
#main-content img {
    max-width: 100%;
    height: auto;
}
/* END of APP MAIN */

/* BEGIN of KATEGORI */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.tag {
    background: #007bff;
    color: #fff;
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 20px;
    transition: background 0.2s;
    cursor: default;
}

.tag:hover {
    background: #0056b3;
}

hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 12px 0;
}

/* END of KATEGORI */

/* BEGIN of FOOTER */
footer {
    background-color: #1D2230;
    color: #9EA7B0;
}
.footer-menu {
    list-style-type: none;
    padding: 0;
}
.footer-menu li:not(:last-child) {
  margin-bottom: 8px;
}
.footer-menu li a {
    text-decoration: none;
    color: #9EA7B0!important;
}
.footer-menu li a:hover {
    text-decoration: underline;
}
.store {
    background-color: #06070A;
    color: #FFFFFF;
    padding: 4px 15px 5px 15px;
    border: 1px solid #FFFFFF;
    border-radius: 5px;
    width: 160px;
    display: flex;
    align-items: center;
    text-align: left;
}

.store-logo {
    width: 28px;
    height: 28px;
    margin-right: 10px;
}

.store-text span {
    font-size: 12.8px;
    display: block;
}

.store-text span:nth-of-type(2) {
    font-size: 17px;
    margin-top: -7px;
}

#bromax-ads {
  font-weight: 600;
  text-decoration: none;

  /* Shimmer effect */
  background: linear-gradient(
    90deg,
    #fbe482 0%,      /* emas */
    #fff5c2 25%,     /* putih soft */
    #fbe482 50%,     /* emas */
    #fff5c2 75%,     /* putih soft */
    #fbe482 100%     /* emas */
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3.5s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  background-color:#ff7675;
  color:#ffffff;
}

.marquee-text {
  display: inline-block;
  padding-left: 100%; /* start di luar kiri */
  animation: marquee 50s linear infinite;
}

.marquee-text:hover {
  animation-play-state: paused; /* pause on hover */
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
/* END of FOOTER */

/* BEGIN of LAINNYA */
.sharethis-hidden {
    display: none;
}
/* END of LAINNYA */