/* ============================================================
   MA ALI MAKSUM KRAPYAK - Inspired by ma.krapyak.org
   Colors: Emerald Green | Fonts: Playfair Display + Inter
   ============================================================ */

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

:root {
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --emerald-950: #022c22;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-950: #030712;
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-900);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
.font-serif { font-family: 'Playfair Display', Georgia, serif; }
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', Georgia, serif; }
.fw-serif { font-family: 'Playfair Display', Georgia, serif; }

/* ===== ANIMATIONS ===== */
@keyframes subtle-zoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-subtle-zoom { animation: subtle-zoom 8s ease-out forwards; }
.animate-blob { animation: blob 7s infinite; }
.animate-float { animation: float 6s ease-in-out infinite; }

/* Scroll Reveal */
.animate-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}
.animate-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* ===== BRAND ICON ===== */
.brand-icon {
  width: 40px; height: 40px;
  background: var(--emerald-800);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(6,95,70,0.3);
}
.brand-icon:hover {
  background: var(--emerald-700);
  transform: scale(1.05);
}

/* ===== NAVBAR - Glass Dark ===== */
nav.navbar-glass {
  --bs-navbar-bg: transparent;
  --bs-navbar-color: rgba(255,255,255,0.9);
  --bs-navbar-hover-color: #fff;
  --bs-navbar-brand-color: #fff;
  --bs-navbar-brand-hover-color: #fff;
  background: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: all 0.5s;
  padding: 1.25rem 0;
  z-index: 50;
}
nav.navbar-glass.scrolled {
  background: rgba(2, 44, 34, 0.92) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0.7rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.navbar-glass .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff !important;
  letter-spacing: -0.5px;
}
.navbar-glass .navbar-brand small {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--emerald-200) !important;
}

.navbar-glass .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  transition: color 0.3s;
  font-family: 'Inter', sans-serif;
}
.navbar-glass .nav-link:hover {
  color: var(--emerald-300) !important;
}

/* Daftar button */
.btn-nav-cta {
  background: #fff;
  color: var(--emerald-900);
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-family: 'Inter', sans-serif;
}
.btn-nav-cta:hover {
  background: var(--emerald-50);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  color: var(--emerald-900);
}

/* Navbar toggler */
.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.2) !important;
  box-shadow: none !important;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--emerald-950);
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}
.hero-bg-img {
  position: absolute; inset: 0; z-index: 0;
  background: url('https://images.unsplash.com/photo-1544531586-fde5298cdd40?q=80&w=2940&auto=format&fit=crop') center/cover;
  opacity: 0.55;
  animation: subtle-zoom 8s ease-out forwards;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 5;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 40%, rgba(2,44,34,0.92) 100%);
}
.hero-content {
  position: relative; z-index: 20;
  animation: slideUpFade 1s var(--transition-smooth) both;
  padding-bottom: 120px;
}
.hero-badge {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  color: var(--emerald-100);
  padding: 0.3rem 1rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title span {
  background: linear-gradient(to right, var(--emerald-200), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-200);
  line-height: 1.7;
  font-weight: 300;
  max-width: 650px;
  margin: 0 auto 2rem;
}
.hero-subtitle strong {
  font-weight: 600;
  color: #fff;
}

/* Hero buttons */
.btn-hero-primary {
  display: inline-flex; align-items: center;
  background: #fff;
  color: var(--emerald-900);
  padding: 0.85rem 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  font-family: 'Inter', sans-serif;
}
.btn-hero-primary::after {
  content: '';
  position: absolute; inset: 4px 4px -4px -4px;
  border: 1px solid #fff;
  transition: all 0.3s;
}
.btn-hero-primary:hover::after {
  inset: 0;
}
.btn-hero-primary:hover {
  background: var(--emerald-50);
  color: var(--emerald-900);
}
.btn-hero-outline {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  background: transparent;
  backdrop-filter: blur(8px);
  padding: 0.85rem 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

/* Hero stat bar */
.hero-stat-bar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 20;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(12px);
  padding: 1.25rem 0;
}
.hero-stat-number {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-200);
  margin-top: 0.25rem;
  font-family: 'Inter', sans-serif;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--emerald-950);
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(16,185,129,0.08) 0%, transparent 60%);
}
.page-header .container {
  position: relative; z-index: 1;
  animation: slideUpFade 0.8s var(--transition-smooth) both;
}
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}
.page-header p {
  font-weight: 300;
  color: var(--emerald-100);
  opacity: 0.8;
}

/* ===== SECTIONS ===== */
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 0.5rem;
  display: block;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 1rem;
}
.section-title .emerald {
  color: var(--emerald-700);
}

/* ===== PROFILE / TENTANG KAMI ===== */
.profile-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
  border: 4px solid #fff;
}
.profile-image-wrapper img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.profile-image-wrapper:hover img {
  transform: scale(1.05);
}
.profile-blob {
  position: absolute;
  width: 250px; height: 250px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  z-index: -1;
}
.profile-blob-1 {
  background: var(--emerald-100);
  top: -30px; left: -30px;
  animation: blob 7s infinite;
}
.profile-blob-2 {
  background: #fef3c7;
  bottom: -30px; right: -30px;
  animation: blob 7s infinite 2s;
}

.profile-stat-circle {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--emerald-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--emerald-700);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ===== AKADEMIK CARDS ===== */
.card-akademik {
  background: #fff;
  padding: 2rem;
  border-left: 4px solid var(--emerald-800);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: all 0.3s;
  height: 100%;
}
.card-akademik:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.card-akademik .icon-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--emerald-50);
  display: flex; align-items: center; justify-content: center;
  color: var(--emerald-800);
  margin-bottom: 1.25rem;
  transition: all 0.3s;
}
.card-akademik:hover .icon-circle {
  background: var(--emerald-800);
  color: #fff;
}
.card-akademik h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}
.card-akademik:hover h3 {
  color: var(--emerald-800);
}
.card-akademik p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== TESTIMONIAL / ALUMNI CARDS ===== */
.testimonial-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 16px;
  transition: all 0.3s;
  height: 100%;
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.15);
}
.testimonial-card blockquote {
  color: var(--gray-200);
  font-style: italic;
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--emerald-500);
}

/* ===== BERITA CARDS ===== */
.berita-featured {
  position: relative;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.berita-featured img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.berita-featured:hover img {
  transform: scale(1.05);
}
.berita-featured-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}
.berita-featured-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem;
}

.berita-list-item {
  display: flex;
  gap: 1rem;
  transition: all 0.3s;
}
.berita-list-item:hover h4 {
  color: var(--emerald-700);
}
.berita-list-thumb {
  width: 120px;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.berita-list-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.berita-list-item:hover .berita-list-thumb img {
  transform: scale(1.05);
}

/* ===== BADGES ===== */
.badge-umum { background: var(--gray-100); color: var(--gray-600); font-family: 'Inter', sans-serif; }
.badge-akademik { background: #dbeafe; color: #1e40af; font-family: 'Inter', sans-serif; }
.badge-prestasi { background: #fef9c3; color: #854d0e; font-family: 'Inter', sans-serif; }
.badge-pengumuman { background: #fee2e2; color: #991b1b; font-family: 'Inter', sans-serif; }
.badge-terbaru {
  background: var(--emerald-700);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.75rem;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
}

/* Sumber Berita Badges */
.badge-sumber-humas {
  background: #eff6ff;
  color: #2563eb;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.badge-sumber-osis-pa {
  background: #fef2f2;
  color: #dc2626;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.badge-sumber-osis-pi {
  background: #fdf2f8;
  color: #db2777;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ===== BUTTONS ===== */
.btn {
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
}
.btn-emerald {
  background: var(--emerald-800);
  color: #fff;
  border: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 9999px;
  padding: 0.7rem 2rem;
  text-decoration: none;
  display: inline-block;
}
.btn-emerald:hover {
  background: var(--emerald-900);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(6,95,70,0.3);
}
.btn-outline-emerald {
  background: #fff;
  color: var(--emerald-800);
  border: 2px solid var(--emerald-100);
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 9999px;
  padding: 0.7rem 2rem;
}
.btn-outline-emerald:hover {
  background: var(--emerald-50);
  border-color: var(--emerald-200);
  color: var(--emerald-800);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--emerald-50);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--emerald-50);
  opacity: 0.5;
  transform: skewY(-3deg) scale(1.1);
  transform-origin: top left;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--gray-950);
  color: var(--gray-400);
  border-top: 1px solid var(--gray-900);
  font-family: 'Inter', sans-serif;
}
.site-footer h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.site-footer a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.3s;
}
.site-footer a:hover {
  color: var(--emerald-400);
}

/* ===== MISSION LIST ===== */
.mission-list li {
  font-family: 'Inter', sans-serif;
  color: var(--gray-600);
  line-height: 1.7;
  padding: 0.35rem 0;
}
.mission-list li::before {
  content: '✓ ';
  color: var(--emerald-600);
  font-weight: 700;
}

/* ===== PROSE ===== */
.prose h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
  color: var(--emerald-800);
}
.prose h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}
.prose p {
  font-family: 'Inter', sans-serif;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--gray-600);
}
.prose img {
  max-width: 100%;
  border-radius: 12px;
  margin: 1rem 0;
  transition: transform 0.3s;
}
.prose img:hover {
  transform: scale(1.02);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top-btn {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 44px; height: 44px;
  background: var(--emerald-800);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(6,95,70,0.3);
  display: flex; align-items: center; justify-content: center;
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(6,95,70,0.4);
}

/* ===== EVENT CARDS ===== */
.event-card {
  transition: all 0.3s;
  border: 1px solid var(--gray-200);
}
.event-card:hover {
  border-color: var(--emerald-300);
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  transform: translateX(4px);
}
.event-date-box {
  background: var(--emerald-800);
  color: #fff;
  border-radius: 8px;
  text-align: center;
  padding: 0.5rem;
  min-width: 56px;
  font-family: 'Inter', sans-serif;
  transition: transform 0.3s;
}
.event-card:hover .event-date-box {
  transform: scale(1.05);
}
.event-date-box .day {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
}

/* ===== ADMIN SIDEBAR ===== */
.admin-sidebar {
  width: 250px; min-height: 100vh;
  background: linear-gradient(180deg, var(--gray-950), #0a1f18);
  color: white;
  position: fixed; left: 0; top: 0; z-index: 1000;
}
.admin-sidebar .nav-link {
  color: rgba(255,255,255,0.6);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
  display: flex; align-items: center; gap: 10px;
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  background: var(--emerald-800);
  color: white;
  transform: translateX(4px);
}
.admin-content {
  margin-left: 250px;
  padding: 30px;
  min-height: 100vh;
  background: var(--gray-50);
}

/* ===== LOGIN ===== */
.login-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--emerald-950);
  position: relative;
  overflow: hidden;
}
.login-page::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(16,185,129,0.1) 0%, transparent 50%);
}

/* ===== FORM ===== */
.form-control:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}

/* ===== SKELETON ===== */
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

/* ===== DIVIDER ===== */
.divider-emerald {
  width: 60px; height: 3px;
  background: var(--emerald-500);
  border-radius: 2px;
}

/* ===== GRID PATTERN ===== */
.bg-grid-pattern {
  background-image: 
    linear-gradient(rgba(6,95,70,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,95,70,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  nav.navbar-glass {
    background: rgba(2, 44, 34, 0.97) !important;
    padding: 0.7rem 0;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .berita-featured {
    height: 280px;
  }
  .page-header {
    min-height: 100vh;
    padding: 110px 0 60px;
  }
  .hero-section {
    padding-top: 90px;
  }
}
@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .admin-sidebar {
    transform: translateX(-100%);
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-content {
    margin-left: 0;
  }
  .berita-list-thumb {
    width: 80px;
  }
}

/* ===== EBOOK / KARYA OSIS CARDS ===== */
.bg-pink {
  background: #e64980 !important;
  color: #fff !important;
}

.ebook-card:hover .ebook-overlay,
.ebook-card-cover:hover .ebook-overlay {
  opacity: 1 !important;
}

.ebook-viewer-wrapper {
  transition: box-shadow 0.3s;
}
.ebook-viewer-wrapper:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.2) !important;
}

/* Modal e-book fullscreen feel */
#ebookViewerModal .modal-dialog {
  margin: 1rem auto;
}
@media (max-width: 768px) {
  #ebookViewerModal .modal-dialog {
    margin: 0;
    max-width: 100vw;
  }
  #ebookViewerModal .modal-content {
    border-radius: 0;
    min-height: 100vh;
  }
  #ebookViewerFrame {
    height: 85vh;
  }
}
