@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,600;1,700&display=swap');

:root {
  --primary-gold: #cca043;
  --grad-orange: #f27329;
  --grad-pink: #d93d62;
  --primary-purple: #6a2461;

  --primary-purple-light: #8e3f84;
  --primary-purple-dark: #22091f;
  --primary-purple-rgb: 106, 36, 97;

  --accent-orange: #f27329;
  --accent-orange-light: #f79963;
  --accent-orange-dark: #c44e0c;
  --accent-orange-rgb: 242, 115, 41;

  --accent-yellow: #dca639;

  --text-dark: #352d3d;
  --text-muted: #5b5167;
  --text-light: #fcfbfe;

  --bg-light: #faf8fc;
  --bg-white: #ffffff;
  --bg-dark: #120612;
  --bg-dark-card: #1d0c1d;

  --font-main: 'Plus Jakarta Sans', sans-serif;

  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-sm: 0 2px 8px rgba(106, 36, 97, 0.03), 0 1px 3px rgba(106, 36, 97, 0.02);
  --shadow-md: 0 12px 30px rgba(106, 36, 97, 0.04), 0 4px 12px rgba(106, 36, 97, 0.02);
  --shadow-lg: 0 24px 48px -8px rgba(106, 36, 97, 0.06), 0 8px 24px -4px rgba(106, 36, 97, 0.03);
  --shadow-neon: 0 0 20px rgba(242, 115, 41, 0.15);
  --shadow-neon-purple: 0 0 20px rgba(106, 36, 97, 0.15);

  --gradient-main: linear-gradient(135deg, var(--primary-gold) 0%, var(--grad-orange) 40%, var(--grad-pink) 75%, var(--primary-purple) 100%);
  --gradient-orange-pink: linear-gradient(135deg, var(--grad-orange) 0%, var(--grad-pink) 100%);
  --gradient-pink-purple: linear-gradient(135deg, var(--grad-pink) 0%, var(--primary-purple) 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden !important;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

button,
input,
textarea,
select {
  font-family: var(--font-main);
  outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-purple-light);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 120px 0;
}

/* Glassmorphism */
.glass-panel {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-md);
}

.glass-panel-dark {
  background: rgba(28, 18, 46, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

/* Header & Navigation Styles */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: transform var(--transition-normal);
}

/* Top Bar (Section Header Kecil) */
.top-bar {
  background-color: var(--primary-purple);
  color: var(--text-light);
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-shortcuts {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
}

.social-link:hover {
  opacity: 1;
  color: var(--accent-orange);
}

.social-link i {
  font-size: 14px;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-badge {
  background-color: var(--accent-orange);
  color: var(--text-light);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

/* Main Navbar */
.main-navbar {
  position: relative;
  /* Context for mega dropdown panels */
  padding: 14px 0;
  transition: var(--transition-normal);
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(106, 36, 97, 0.08) !important;
  box-shadow: 0 4px 30px rgba(106, 36, 97, 0.02);
}

.main-navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Right wrapper: nav links + PC burger — order:2 puts it to the right of logo */
.nav-right-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  order: 2;
}

/* PC Burger Menu Trigger */
.pc-burger-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-dark);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.pc-burger-btn:hover {
  color: var(--accent-orange);
  transform: scale(1.1);
}

/* PC Burger Drawer Panel */
.pc-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(34, 15, 32, 0.4);
  z-index: 1499;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pc-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.pc-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 340px;
  height: 100vh;
  background-color: var(--bg-white);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  z-index: 1500;
  transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  padding: 40px 24px;
}

.pc-drawer.open {
  right: 0;
}

.pc-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(115, 54, 107, 0.08);
}

.pc-drawer-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-purple);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pc-drawer-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.pc-drawer-close:hover {
  color: #c0392b;
  transform: rotate(90deg);
}

.pc-drawer-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.pc-drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pc-drawer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background-color: var(--bg-light);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(115, 54, 107, 0.08);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
}

.pc-drawer-item.disabled {
  cursor: default;
  background-color: var(--bg-light);
  border-style: solid;
  opacity: 0.8;
}

.pc-drawer-item.disabled:hover {
  transform: none;
  background-color: var(--bg-light);
}

.pc-drawer-item:not(.disabled):hover {
  transform: translateY(-2px);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-purple-light);
}

/* Logo on the Left */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  order: 1;
  /* Logo sits on the left */
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-purple-dark) !important;
  transition: var(--transition-normal);
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Nav Links on the Left */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link-item {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-link-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-orange);
  transition: var(--transition-normal);
}

.nav-link-item:hover,
.nav-link-item.active {
  color: var(--primary-purple) !important;
}

.nav-link-item:hover::after,
.nav-link-item.active::after {
  width: 100%;
}

/* Solid & Transparent scroll states are now bypassed by our solid setting, but maintained for compatibility */
.header-transparent .main-navbar {
  background: rgba(255, 255, 255, 0.95) !important;
}

.header-solid {
  box-shadow: var(--shadow-md);
}

.header-solid .top-bar {
  transform: translateY(-100%);
  height: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  border-bottom: none;
}

.header-solid .main-navbar {
  padding: 10px 0;
}

.header-solid .logo-text {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-solid .nav-link-item {
  color: var(--text-muted);
}

.header-solid .nav-link-item:hover,
.header-solid .nav-link-item.active {
  color: var(--primary-purple) !important;
}

/* Sticky Solid navbar for other pages immediately */
.header-other-pages {
  box-shadow: var(--shadow-md);
}

.header-other-pages .top-bar {
  display: flex !important;
  opacity: 1 !important;
  transform: none !important;
  height: auto !important;
  padding: 8px 0 !important;
  pointer-events: auto !important;
}

.header-other-pages .main-navbar {
  padding: 10px 0;
}

.header-other-pages .logo-text {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-other-pages .nav-link-item {
  color: var(--text-muted);
}

.header-other-pages .nav-link-item:hover,
.header-other-pages .nav-link-item.active {
  color: var(--primary-purple) !important;
}

/* Mobile Menu Toggle Button (For future responsiveness) */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  order: 3;
}

.mobile-menu-btn span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition-normal);
}

/* Footer Styles */
.main-footer {
  background: linear-gradient(180deg, var(--primary-purple-dark) 0%, #0c040d 100%);
  color: var(--text-light);
  padding: 90px 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-main);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.7fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-logo-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo-side .logo-container {
  order: 0;
  justify-content: flex-start;
}

.footer-logo-side .logo-text {
  color: #fff;
  font-size: 26px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.7;
  max-width: 340px;
}

.footer-links-side h4,
.footer-contact-side h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
  letter-spacing: 0.5px;
}

.footer-links-side h4::after,
.footer-contact-side h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gradient-orange-pink);
  border-radius: 2px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  font-weight: 600;
}

.footer-links-list a:hover {
  color: var(--accent-orange-light);
  padding-left: 8px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--border-radius-sm);
  transition: var(--transition-fast);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

.contact-item i {
  color: var(--accent-orange-light);
  font-size: 16px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition-fast);
}

.footer-social-btn:hover {
  background: var(--gradient-orange-pink);
  border-color: transparent;
  transform: translateY(-4px) scale(1.08);
  box-shadow: var(--shadow-neon);
}

/* Police Line Sub-Footer Marquee */
.sub-footer-marquee {
  background: var(--gradient-orange-pink);
  color: #fff;
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  box-shadow: 0 -10px 30px rgba(217, 61, 98, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  /* Police-line slant style */
  transform: skewY(-1deg);
  width: 104%;
  margin-left: -2%;
  z-index: 10;
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  gap: 40px;
  animation: marquee-slide 25s linear infinite;
  font-weight: 800;
  font-style: italic;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.marquee-content .hashtag {
  color: #ffd8bf !important;
}

.marquee-divider {
  color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.6);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  align-self: center;
}

@keyframes marquee-slide {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Button & Link UI Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--border-radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: #fff;
  box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
  background-color: var(--accent-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 94, 30, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-dark);
  border-color: var(--primary-purple);
}

.btn-secondary:hover {
  background-color: var(--primary-purple);
  color: #fff;
  transform: translateY(-2px);
}

.btn-light {
  background-color: #fff;
  color: var(--primary-purple);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  background-color: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--accent-yellow);
  color: var(--primary-purple-dark);
  font-weight: 800;
}

.btn-accent:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

/* Quranic verse style card */
.quran-verse-card {
  background: linear-gradient(135deg, #f3f3f6 0%, #eef0f5 100%);
  border-radius: var(--border-radius-xl);
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(106, 36, 97, 0.08);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(106, 36, 97, 0.03);
}

.quran-verse-card::before {
  content: '﷽';
  position: absolute;
  top: 20px;
  font-size: 36px;
  color: var(--primary-gold);
  opacity: 0.9;
  left: 50%;
  transform: translateX(-50%);
}

.quran-arabic {
  font-family: 'Times New Roman', serif;
  font-size: 38px;
  font-weight: 700;
  color: #400d3a;
  line-height: 1.8;
  direction: rtl;
  margin: 30px 0 24px 0;
  letter-spacing: 0.5px;
}

.quran-translation {
  font-size: 16px;
  color: #1e1824;
  max-width: 760px;
  margin: 0 auto 16px auto;
  line-height: 1.7;
  font-weight: 600;
}

.quran-source {
  font-size: 13px;
  color: #b24307;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Modal Popup Component Styles - Redesigned to Full Page Details View */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-white);
  z-index: 2000;
  display: block;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background-color: var(--bg-white);
  width: 100%;
  height: 100%;
  overflow-y: auto;
  position: relative;
  box-shadow: none;
  transform: translateY(30px);
  transition: transform var(--transition-normal);
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 24px 80px 24px;
  box-sizing: border-box;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  color: var(--text-dark);
  border: 1px solid rgba(115, 54, 107, 0.1);
  font-size: 20px;
  z-index: 2100;
}

.modal-close-btn:hover {
  background-color: var(--primary-purple);
  color: #fff;
  transform: scale(1.05) rotate(90deg);
  box-shadow: var(--shadow-neon-purple);
}

.modal-thumbnail {
  width: 100%;
  max-width: 840px;
  height: 440px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}

.modal-content-area {
  width: 100%;
  max-width: 840px;
  padding: 0;
}

.modal-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-meta-item i {
  color: var(--accent-orange);
}

.modal-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary-purple-dark);
  margin-bottom: 24px;
  line-height: 1.25;
}

.modal-body-text {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-dark);
}

.modal-body-text p {
  margin-bottom: 20px;
}

/* --- Themed Modal Overlay Layouts (Newspaper, Report, Novel) --- */

/* 1. Theme Newspaper (Artikel) */
.modal-overlay.theme-newspaper {
  background-color: #faf9f6;
}

.modal-overlay.theme-newspaper .modal-box {
  background-color: #faf9f6;
}

.theme-newspaper .modal-title {
  font-family: 'Georgia', serif;
  font-size: 36px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.25;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding-bottom: 16px;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.theme-newspaper .modal-meta {
  font-family: 'Georgia', serif;
  font-size: 12px;
  color: #666;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding-bottom: 12px;
  margin-bottom: 24px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  gap: 16px;
}

.theme-newspaper .modal-thumbnail {
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 28px;
}

.theme-newspaper .modal-body-text {
  font-family: 'Georgia', serif;
  font-size: 17px;
  line-height: 1.85;
  color: #2b2b2b;
  text-align: justify;
  text-justify: inter-word;
}

.theme-newspaper .modal-body-text p {
  margin-bottom: 18px;
}

/* Modern Drop Cap for Newspaper Columns */
.theme-newspaper .modal-body-text p:first-of-type::first-letter {
  font-size: 3.5em;
  float: left;
  margin: 0.1em 0.12em 0 0;
  line-height: 0.85;
  font-family: 'Georgia', serif;
  font-weight: 800;
  color: var(--primary-purple-dark);
}

/* 2. Theme Report (Program Kami) */
.modal-overlay.theme-report {
  background-color: #f8fafc;
}

.modal-overlay.theme-report .modal-box {
  background-color: #f8fafc;
}

.theme-report .modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  border-bottom: 3px solid var(--primary-purple);
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.theme-report .modal-meta {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  color: #475569;
  background-color: #f1f5f9;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin-bottom: 24px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.theme-report .modal-thumbnail {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.05);
  margin-bottom: 32px;
}

.theme-report .modal-body-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
}

.theme-report .modal-body-text p {
  background: #ffffff;
  padding: 20px 24px;
  border-radius: var(--border-radius-lg);
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
  margin-bottom: 16px;
}

/* 3. Theme Novel (Linimasa) */
.modal-overlay.theme-novel {
  background-color: #fdfaf2;
}

.modal-overlay.theme-novel .modal-box {
  background-color: #fdfaf2;
}

.theme-novel .modal-title {
  font-family: 'Georgia', serif;
  font-size: 36px;
  font-weight: 600;
  font-style: italic;
  color: #2e271e;
  line-height: 1.3;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 12px;
}

.theme-novel .modal-meta {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 13px;
  color: #8c775c;
  justify-content: center;
  margin-bottom: 36px;
  border: none;
  text-transform: none;
  letter-spacing: 0;
}

.theme-novel .modal-thumbnail {
  border-radius: 8px;
  max-width: 720px;
  margin: 0 auto 36px auto;
  display: block;
}

.theme-novel .modal-content-area {
  max-width: 720px;
}

.theme-novel .modal-body-text {
  font-family: 'Georgia', serif;
  font-size: 18px;
  line-height: 2.0;
  color: #3c3225;
}

.theme-novel .modal-body-text p {
  margin-bottom: 24px;
  text-indent: 2em;
}

.theme-novel .modal-body-text p:first-of-type {
  text-indent: 0;
}

.theme-novel .modal-body-text p:first-of-type::first-letter {
  font-size: 3.2em;
  float: left;
  margin: 0.1em 0.1em 0 0;
  line-height: 0.85;
  font-family: 'Georgia', serif;
  font-weight: bold;
  color: var(--accent-orange);
}

/* Mobile navbar unified drawer helpers hidden on desktop */
.extra-nav-item,
.mobile-nav-divider {
  display: none !important;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

@media (max-width: 768px) {
  .top-bar {
    display: none !important;
  }

  .logo-text {
    font-size: 18px;
  }

  .logo-dummy {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 1600;
  }

  #pc-burger-btn {
    display: none !important;
  }

  .nav-links {
    display: none !important;
  }

  .logo-container {
    order: 1;
    /* Keep logo on left on mobile */
  }

  .quran-verse-card {
    padding: 40px 20px;
  }

  .quran-arabic {
    font-size: 26px;
  }

  .modal-box {
    padding: 60px 16px 60px 16px;
  }

  .modal-content-area {
    padding: 0;
  }

  .modal-thumbnail {
    height: 240px;
    border-radius: var(--border-radius-md);
    margin-bottom: 24px;
  }

  .modal-title {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .modal-meta {
    gap: 12px;
    font-size: 11px;
    flex-wrap: wrap;
  }

  .modal-body-text {
    font-size: 15px;
    line-height: 1.75;
  }

  /* Responsive Themed Modal Overrides */
  .theme-newspaper .modal-title {
    font-size: 26px;
  }

  .theme-newspaper .modal-body-text {
    text-align: left;
  }

  .theme-newspaper .modal-body-text p:first-of-type::first-letter {
    font-size: 2.8em;
  }

  .theme-report .modal-title {
    font-size: 24px;
  }

  .theme-report .modal-body-text p {
    padding: 16px;
  }

  .theme-novel .modal-title {
    font-size: 26px;
  }

  .theme-novel .modal-body-text {
    font-size: 16px;
    line-height: 1.8;
  }

  .theme-novel .modal-body-text p:first-of-type::first-letter {
    font-size: 2.8em;
  }

  /* Global responsive scaling on mobile */
  .section-padding {
    padding: 50px 0 !important;
  }

  .profile-main-title {
    font-size: 30px !important;
  }

  .section-title {
    font-size: 26px !important;
  }

  .mobile-nav-divider {
    display: block !important;
    width: 100%;
    height: 1px;
    background-color: rgba(115, 54, 107, 0.08);
    margin: 8px 0;
  }

  .extra-nav-item {
    display: block !important;
    text-align: center !important;
    width: 100%;
  }
}

/* Unified Mobile Drawer Helper classes */
.mobile-nav-divider {
  display: none;
}

.extra-nav-item {
  display: none;
}

.badge-coming-soon {
  font-size: 9px;
  background-color: var(--accent-orange-light);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.disabled-menu-item {
  opacity: 0.6;
  cursor: not-allowed !important;
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px !important;
  }
}

/* Mascot CS Floating Widget Styles */
.mascot-widget-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-main);
  pointer-events: none;
}

.mascot-avatar-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  /* Soft frosted white glow ring */
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6), 0 0 16px rgba(255, 255, 255, 0.4), 0 8px 24px rgba(106, 36, 97, 0.18);
  cursor: pointer;
  pointer-events: auto;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mascot-avatar-wrap:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 0 24px rgba(255, 255, 255, 0.5), var(--shadow-neon);
}

.mascot-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: transparent;
  object-fit: cover;
  display: block;
}

.mascot-speech-bubble {
  background: var(--bg-white);
  color: var(--text-dark);
  padding: 12px 18px;
  border-radius: 12px 12px 4px 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(115, 54, 107, 0.1);
  font-size: 13px;
  font-weight: 600;
  max-width: 220px;
  margin-bottom: 10px;
  pointer-events: auto;
  position: relative;
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform-origin: bottom right;
  white-space: nowrap;
}

.mascot-speech-bubble.fade-out {
  opacity: 0;
  transform: scale(0.85) translateY(8px);
  pointer-events: none;
}

.mascot-bubble-close {
  display: none;
}

.mascot-contact-menu {
  position: absolute;
  bottom: 85px;
  right: 0;
  width: 260px;
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(115, 54, 107, 0.1);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  /* Hitbox inactive when closed */
  opacity: 0;
  transform: translateY(12px) scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform-origin: bottom right;
  z-index: 10;
}

.mascot-contact-menu.open {
  opacity: 1;
  pointer-events: auto;
  /* Hitbox active when open */
  transform: translateY(0) scale(1);
}

.mascot-contact-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-purple);
  margin-bottom: 4px;
  text-align: center;
}

.mascot-contact-desc {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 8px;
}

.mascot-contact-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-light);
  border: 1px solid rgba(115, 54, 107, 0.05);
  color: var(--text-dark);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: var(--transition-fast);
}

.mascot-contact-btn:hover {
  background-color: var(--primary-purple);
  color: var(--text-light);
  transform: translateY(-2px);
}

.mascot-contact-btn i {
  font-size: 16px;
}

.mascot-contact-btn.whatsapp i {
  color: #25d366;
}

.mascot-contact-btn.instagram i {
  color: #e1306c;
}

.mascot-contact-btn.youtube i {
  color: #ff0000;
}

.mascot-contact-btn.email i {
  color: #3498db;
}

.mascot-contact-btn:hover.whatsapp i,
.mascot-contact-btn:hover.instagram i,
.mascot-contact-btn:hover.youtube i,
.mascot-contact-btn:hover.email i {
  color: #fff;
}

@media (max-width: 768px) {
  .mascot-widget-container {
    bottom: 20px;
    right: 16px;
    align-items: flex-end;
  }

  .mascot-speech-bubble {
    border-radius: 18px 18px 18px 0px;
    transform-origin: bottom left;
  }

  .mascot-contact-menu {
    top: auto;
    bottom: 85px;
    transform-origin: bottom right;
  }
}

/* Global Page Header Styles */
.profile-main-title {
  text-align: center;
  font-size: 44px;
  font-weight: 800;
  color: var(--primary-purple-dark);
  margin-bottom: 0;
  line-height: 1.2;
}

.profile-main-title span {
  background: var(--gradient-orange-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--primary-purple-dark);
  line-height: 1.2;
}

.section-title span {
  background: var(--gradient-orange-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Nav link wrapper — full height, anchors mega menu to .main-navbar */
.nav-link-wrapper {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.ab-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-white);
  border-top: 3px solid var(--primary-purple);
  border-bottom: 4px solid var(--accent-orange);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition-normal), transform var(--transition-normal), visibility var(--transition-normal);
  z-index: 1100;
  padding: 40px 0;
  pointer-events: none;
}

/* Show on CSS Hover (fallback) OR JS-controlled .mega-active */
.nav-link-wrapper:hover .ab-mega-menu,
.ab-mega-menu.mega-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Persistent link highlighting when hovering the mega menu wrapper */
.nav-link-wrapper:hover .nav-link-item,
.nav-link-item.mega-hover {
  color: var(--primary-purple) !important;
}

.nav-link-wrapper:hover .nav-link-item::after,
.nav-link-item.mega-hover::after {
  width: 100%;
}

/* Mega menu structure - default 3 columns */
.ab-mega-grid {
  display: grid;
  grid-template-columns: 240px 1fr 340px;
  gap: 40px;
  text-align: left;
}

/* 1-column layout (Program Kami popup) */
.ab-mega-grid-1col {
  grid-template-columns: 280px;
}

/* 2-column layout (Artikel & Berita popup) */
.ab-mega-grid-2col {
  grid-template-columns: 240px 1fr;
}

/* Column wrapper with right vertical border */
.ab-mega-col {
  display: flex;
  flex-direction: column;
}

.ab-mega-col:not(:last-child) {
  border-right: 1px solid rgba(106, 36, 97, 0.08);
  padding-right: 40px;
}

/* Column Labels */
.ab-mega-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Column 1 - Topics list */
.ab-mega-topic-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ab-mega-topic-item {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-purple-dark);
  transition: color var(--transition-fast);
}

.ab-mega-topic-item:hover {
  color: var(--accent-orange);
}

.ab-mega-all-link {
  margin-top: auto;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary-purple);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 16px;
  transition: color var(--transition-fast);
}

.ab-mega-all-link:hover {
  color: var(--accent-orange);
}

/* Column 2 - Latest content (2x2 grid layout) */
.ab-mega-latest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

/* Content section dengan divider (Berita / Artikel split) */
.ab-mega-content-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ab-mega-content-section--divider {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(106, 36, 97, 0.1);
}

/* Side-by-side split: Berita | Artikel dalam 2 sub-kolom */
.ab-mega-content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.ab-mega-content-section--border {
  padding-left: 20px;
  border-left: 1px solid rgba(106, 36, 97, 0.1);
}

.ab-mega-content-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  gap: 5px;
}

.ab-mega-content-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ab-mega-latest-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  cursor: pointer;
}

.ab-mega-latest-thumb {
  width: 90px;
  height: 68px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.ab-mega-latest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.ab-mega-latest-item:hover .ab-mega-latest-thumb img {
  transform: scale(1.06);
}

.ab-mega-latest-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.ab-mega-latest-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent-orange);
}

.ab-mega-latest-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-purple-dark);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.ab-mega-latest-item:hover .ab-mega-latest-title {
  color: var(--primary-purple);
}

/* Column 3 - Featured card */
.ab-mega-feat-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}

.ab-mega-feat-img {
  width: 100%;
  height: 150px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

.ab-mega-feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.ab-mega-feat-card:hover .ab-mega-feat-img img {
  transform: scale(1.04);
}

.ab-mega-feat-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--primary-purple-dark);
  line-height: 1.4;
  margin: 0;
  transition: color var(--transition-fast);
}

.ab-mega-feat-card:hover .ab-mega-feat-title {
  color: var(--accent-orange);
}

/* Responsive: Hide mega dropdown completely on tablet/mobile screens */
@media (max-width: 900px) {
  .ab-mega-menu {
    display: none !important;
  }
}

/* ============================================================
   GLOBAL PRELOADER (Unique Madrasah Fatih loader)
   ============================================================ */
body:not(.loaded) {
  overflow: hidden !important;
}

.mf-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--primary-purple-dark);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
  opacity: 1;
  visibility: visible;
}

.mf-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mf-preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mf-preloader-logo-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mf-preloader-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  z-index: 2;
  animation: mf-pulse 2s infinite ease-in-out;
}

.mf-preloader-glow {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 160, 67, 0.4) 0%, rgba(106, 36, 97, 0) 70%);
  z-index: 1;
  filter: blur(10px);
  animation: mf-glow-pulse 2s infinite ease-in-out;
}

.mf-preloader-spinner-box {
  position: relative;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}

.mf-preloader-ring-outer {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top-color: var(--primary-gold);
  border-bottom-color: var(--primary-gold);
  border-radius: 50%;
  animation: mf-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.mf-preloader-ring-inner {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 38px;
  height: 38px;
  border: 2px solid transparent;
  border-left-color: var(--grad-orange);
  border-right-color: var(--grad-orange);
  border-radius: 50%;
  animation: mf-spin-reverse 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.mf-preloader-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mf-preloader-brand {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
}

.mf-preloader-tagline {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-gold);
  opacity: 0.85;
  letter-spacing: 0.5px;
}

/* Animations */
@keyframes mf-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes mf-glow-pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.25); opacity: 0.9; }
}

@keyframes mf-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes mf-spin-reverse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

/* ============================================================
   INLINE SHEETS LOADING EFFECT & MEGA MENU LOADING
   ============================================================ */
.mf-sheets-loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 16px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.mf-sheets-loader-spinner {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mf-sheets-loader-circle-outer {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top-color: var(--primary-gold);
  border-bottom-color: var(--primary-gold);
  border-radius: 50%;
  animation: mf-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.mf-sheets-loader-circle-inner {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 2px solid transparent;
  border-left-color: var(--primary-purple);
  border-right-color: var(--primary-purple);
  border-radius: 50%;
  animation: mf-spin-reverse 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.mf-sheets-loader-mini-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  z-index: 2;
  animation: mf-pulse 2s infinite ease-in-out;
}

.mf-sheets-loader-text {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-purple);
  opacity: 0.85;
  margin: 0;
  letter-spacing: 0.5px;
}

.ab-mega-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-weight: 600;
  font-size: 13.5px;
  padding: 16px;
}

.ab-mega-loading::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid transparent;
  border-top-color: var(--primary-gold);
  border-bottom-color: var(--primary-gold);
  border-radius: 50%;
  animation: mf-spin 1s linear infinite;
}

/* Unified Mobile Drawer & Overlay Styles */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(34, 15, 32, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 300px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  z-index: 1800;
  transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(106, 36, 97, 0.08);
  background-color: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 10;
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-drawer-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.mobile-drawer-title {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-main);
}

.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.mobile-drawer-close:hover {
  color: #c0392b;
  background-color: rgba(0, 0, 0, 0.05);
}

.mobile-drawer-body {
  padding: 16px 20px 100px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 12px;
  border-bottom: 1px solid rgba(106, 36, 97, 0.05);
  text-decoration: none;
  color: var(--text-dark);
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-drawer-item:not(.disabled-menu-item):hover {
  background-color: rgba(106, 36, 97, 0.04);
  color: var(--primary-purple);
}

.mobile-drawer-item.active {
  background-color: rgba(106, 36, 97, 0.06);
  color: var(--primary-purple) !important;
  font-weight: 700;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-family: var(--font-main);
  font-weight: 600;
}

.mobile-drawer-link i {
  font-size: 16px;
  width: 20px;
  text-align: center;
  color: var(--primary-purple);
  opacity: 0.85;
}

.mobile-drawer-item.active .mobile-drawer-link i {
  color: var(--primary-purple);
  opacity: 1;
}

.mobile-drawer-arrow {
  font-size: 12px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  opacity: 0.6;
}

.mobile-drawer-item:hover .mobile-drawer-arrow {
  transform: translateX(4px);
  color: var(--primary-purple);
  opacity: 1;
}

.disabled-menu-item {
  opacity: 0.65;
  cursor: not-allowed;
}

.disabled-menu-item .mobile-drawer-link i {
  color: var(--text-muted);
}