/* ===================================================================
   OMAH NgOPI - Master Stylesheet
   Theme: Warm Coffee, Forest Sanctuary & Golden Awakening
   Typography: Playfair Display & Plus Jakarta Sans
   =================================================================== */

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

:root {
  /* Harmonious Color Palette: Forest Wisdom, Deep Espresso & Warm Honey Amber */
  --bg-dark: #0B120F;
  --bg-card: #131E19;
  --bg-card-hover: #1A2822;
  --bg-surface: #0E1713;
  --bg-cream: #FAF7F2;
  --bg-parchment: #F3ECE1;
  
  --forest-deep: #0D241A;
  --forest-green: #1B4332;
  --forest-light: #2D6A4F;
  --forest-glow: rgba(45, 106, 79, 0.35);

  --coffee-deep: #1E130D;
  --coffee-rich: #351F14;
  --coffee-warm: #4E2E1E;

  --gold-primary: #D49B3E;
  --gold-light: #F2BF68;
  --gold-glow: rgba(212, 155, 62, 0.25);
  --gold-subtle: rgba(212, 155, 62, 0.12);

  --text-main: #F8F6F0;
  --text-muted: #B3ABA0;
  --text-dim: #807769;
  --text-dark: #1A1612;
  --text-dark-muted: #544D44;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(242, 191, 104, 0.28);
  --border-green: rgba(45, 106, 79, 0.35);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-arabic: 'Amiri', serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.38);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 10px 30px rgba(212, 155, 62, 0.2);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Mode: Warm Ivory Cream Sanctuary with Deep Espresso & Forest Green */
body.light-theme {
  --bg-dark: #FAF8F5;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8F4EC;
  --bg-surface: #F2EDE2;
  --text-main: #1A1612;
  --text-muted: #554D44;
  --text-dim: #7C7366;
  --border-light: rgba(45, 30, 15, 0.09);
  --border-gold: rgba(163, 106, 0, 0.28);
  --border-green: rgba(27, 67, 50, 0.22);
  --gold-primary: #A36A00;
  --gold-light: #B87D0E;
  --gold-glow: rgba(163, 106, 0, 0.16);
  --gold-subtle: rgba(163, 106, 0, 0.08);
  --forest-green: #1B4332;
  --forest-light: #2D6A4F;
  --forest-glow: rgba(27, 67, 50, 0.14);
  --shadow-sm: 0 4px 14px rgba(45, 30, 15, 0.05);
  --shadow-md: 0 10px 30px rgba(45, 30, 15, 0.08);
  --shadow-lg: 0 20px 45px rgba(45, 30, 15, 0.12);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

/* Typography Helpers */
h1, h2, h3, h4, .serif-font {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===================================================================
   NAVBAR (Glassmorphic & Responsive)
   =================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 19, 17, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

body.light-theme .navbar {
  background: rgba(247, 243, 235, 0.88);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: var(--font-serif);
  letter-spacing: 0.04em;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-title span {
  color: var(--gold-primary);
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--gold-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle Button */
.btn-icon {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-icon:hover {
  color: var(--gold-light);
  border-color: var(--gold-primary);
  background: var(--gold-subtle);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  outline: none;
  transition: var(--transition-smooth);
  font-family: var(--font-sans);
  text-decoration: none;
  line-height: 1.3;
}

.btn-gold {
  background: linear-gradient(135deg, #1B4332, #143527);
  color: #FFFFFF !important;
  border-color: #1B4332;
  box-shadow: 0 4px 16px rgba(27, 67, 50, 0.28);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #245842, #1B4332);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.4);
}

body.light-theme .btn-gold {
  background: #1B4332;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(27, 67, 50, 0.22);
}

body.light-theme .btn-gold:hover {
  background: #143527;
  box-shadow: 0 8px 22px rgba(27, 67, 50, 0.35);
}

.btn-amber {
  background: linear-gradient(135deg, #B87D0E, #945E0D);
  color: #FFFFFF !important;
  border-color: #A36A00;
  box-shadow: 0 4px 14px rgba(163, 106, 0, 0.25);
}

.btn-amber:hover {
  background: linear-gradient(135deg, #CC8B12, #A36A00);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(163, 106, 0, 0.35);
}

.btn-outline-gold {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--border-gold);
}

body.light-theme .btn-outline-gold {
  color: #1A1612;
  border-color: rgba(163, 106, 0, 0.35);
  background: rgba(255, 255, 255, 0.85);
}

.btn-outline-gold:hover {
  background: var(--gold-subtle);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

.btn-green {
  background: linear-gradient(135deg, var(--forest-light), var(--forest-green));
  color: #FFFFFF !important;
  border: 1px solid var(--border-green);
  box-shadow: 0 4px 18px rgba(27, 67, 50, 0.35);
}

.btn-green:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.5);
}

.btn-wa {
  background: #25D366;
  color: #063116 !important;
  font-weight: 700;
  border-color: #20BD5A;
}

.btn-wa:hover {
  background: #20BD5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ===================================================================
   HERO SECTION (Emotional, Deep & Immersive)
   =================================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, rgba(13, 19, 17, 0.95) 25%, rgba(13, 19, 17, 0.75) 60%, rgba(13, 19, 17, 0.88) 100%), url('/assets/images/hero_bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

body.light-theme .hero-bg-overlay {
  background-image: linear-gradient(to right, rgba(247, 243, 235, 0.95) 25%, rgba(247, 243, 235, 0.8) 60%, rgba(247, 243, 235, 0.92) 100%), url('/assets/images/hero_bg.jpg');
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 155, 62, 0.12);
  border: 1px solid var(--border-gold);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 1.4rem;
  font-family: var(--font-serif);
}

.hero-title .highlight {
  background: linear-gradient(135deg, #FFE4B0, #D49B3E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-theme .hero-title .highlight {
  background: linear-gradient(135deg, #1B4332, #A36A00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-light);
  font-family: var(--font-serif);
  line-height: 1.1;
  margin-bottom: 4px;
}

body.light-theme .stat-num {
  color: #1B4332;
}

.stat-label {
  font-size: 0.76rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* Hero Right Featured Card */
.hero-card-featured {
  background: rgba(21, 29, 25, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

body.light-theme .hero-card-featured {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(184, 126, 32, 0.25);
}

.featured-pill {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--gold-primary);
  color: #120E09;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.featured-book-preview {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.featured-book-img {
  width: 140px;
  border-radius: 8px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
  transform: rotate(-2deg);
  transition: var(--transition-smooth);
}

.hero-card-featured:hover .featured-book-img {
  transform: rotate(0deg) scale(1.03);
}

.featured-book-info {
  flex: 1;
}

.featured-author {
  font-size: 0.82rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 4px;
}

.featured-book-title {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 8px;
}

.featured-book-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===================================================================
   FOUR PILLARS SECTION (Nilai & Filosofi OMAH NgOPI)
   =================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-darker {
  background-color: var(--bg-surface);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  color: var(--gold-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 0.8rem;
  display: block;
}

.section-title {
  font-size: 2.4rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--forest-green);
  border: 1px solid var(--border-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold-light);
  margin-bottom: 1.4rem;
  box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.1);
}

.pillar-title {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.pillar-tagline {
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================================
   ARTICLES & KAJIAN SECTION
   =================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}

.article-thumb-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.article-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover .article-thumb {
  transform: scale(1.06);
}

.article-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(22, 44, 34, 0.88);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  border: 1px solid var(--border-green);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.article-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.8rem;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-title {
  font-size: 1.35rem;
  line-height: 1.35;
  margin-bottom: 0.8rem;
  transition: var(--transition-fast);
}

.article-card:hover .article-title {
  color: var(--gold-light);
}

.article-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.4rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 600;
}

/* ===================================================================
   BOOKS & E-BOOK CATALOG (Vertical Shelf Layout)
   =================================================================== */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.book-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.book-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.book-card-cover-wrap {
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  padding: 0.75rem;
  overflow: hidden;
}

.book-card-cover {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform var(--transition-fast);
}

.book-card:hover .book-card-cover {
  transform: translateY(-4px) scale(1.03);
}

.book-card-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.book-card-type {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forest-green);
  background: rgba(27, 67, 50, 0.08);
  border: 1px solid var(--border-green);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.75rem;
}

body.light-theme .book-card-type {
  color: #1B4332;
  background: rgba(27, 67, 50, 0.08);
  border-color: rgba(27, 67, 50, 0.22);
}

.book-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-serif);
  line-height: 1.35;
  margin-bottom: 6px;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.book-card-author {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.book-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.book-card-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border-light);
  margin-bottom: 1rem;
}

.book-price-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.book-price-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-sans);
  white-space: nowrap;
}

body.light-theme .book-price-val {
  color: #1B4332;
}

.book-action-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.book-action-btns .btn {
  width: 100%;
  padding: 0.7rem 0.5rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* ===================================================================
   WHATSAPP COMMUNITY & TANYA CAK MUHID BANNER
   =================================================================== */
.community-banner {
  background: linear-gradient(135deg, rgba(22, 44, 34, 0.95), rgba(36, 20, 13, 0.95)), url('/assets/images/hero_bg.jpg');
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.community-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.community-info h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.community-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.channel-stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-green);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.channel-stat-dot {
  width: 10px;
  height: 10px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 0 10px #25D366;
}

/* Question Ask Card in Community */
.ask-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* ===================================================================
   READING VIEW (baca.html)
   =================================================================== */
.reading-header {
  padding: 4rem 0 2rem;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.reading-title {
  font-size: 2.8rem;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.reading-author-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.reading-featured-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 3rem;
  box-shadow: var(--shadow-md);
}

.article-content {
  max-width: 760px;
  margin: 0 auto 4rem;
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-main);
}

.article-content h3 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  color: var(--gold-light);
}

.article-content p {
  margin-bottom: 1.6rem;
}

.quote-callout {
  background: var(--bg-card);
  border-left: 4px solid var(--gold-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.8rem 2rem;
  margin: 2.5rem 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.quote-callout footer {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--gold-light);
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 600;
}

/* Reading Progress Bar */
#reading-progress {
  position: fixed;
  top: 80px;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--forest-light), var(--gold-primary));
  z-index: 99;
  transition: width 0.1s linear;
}

/* ===================================================================
   MODALS (Donate & Order)
   =================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  scrollbar-width: thin;
  padding: 2.2rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

/* Preset Buttons: Never wrap, clear active state */
.preset-btn {
  padding: 0.7rem 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.preset-btn:hover {
  border-color: var(--border-gold);
  background: var(--gold-subtle);
}

.preset-btn.active {
  background: #1B4332;
  color: #FFFFFF !important;
  border-color: #1B4332;
  font-weight: 700;
}

/* Dedicated BSI Transfer Card (Zero QRIS) */
.bsi-account-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin-bottom: 1.25rem;
}

.bsi-bank-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.bsi-num-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.bsi-num-text {
  font-family: monospace;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.08em;
}

.btn-copy-acc {
  background: #1B4332;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-copy-acc:hover {
  background: #143527;
  transform: translateY(-1px);
}

.bsi-holder-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.bsi-usage-badge {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--gold-light);
  font-weight: 600;
}

body.light-theme .bsi-usage-badge {
  color: #A36A00;
}

/* Quran Verse Callout Card */
.quran-verse-card {
  background: var(--bg-surface);
  border-left: 4px solid var(--forest-green);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.8rem;
  margin: 2rem 0;
}

.quran-arabic {
  font-family: var(--font-arabic);
  font-size: 1.85rem;
  line-height: 2.3;
  color: var(--text-main);
  direction: rtl;
  text-align: right;
  margin-bottom: 0.8rem;
}

.quran-translation {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-style: italic;
}

.quran-source {
  font-size: 0.8rem;
  color: var(--gold-primary);
  font-weight: 700;
  margin-top: 6px;
}

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

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text-main);
}

/* Tab Selector */
.tab-pills {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
}

.tab-pill {
  flex: 1;
  text-align: center;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-pill.active {
  background: var(--gold-primary);
  color: #120E09;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: #090E0C;
  border-top: 1px solid var(--border-light);
  padding: 4.5rem 0 2rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-title {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--gold-primary);
  color: var(--text-main);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive Rules */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .community-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .book-card {
    grid-template-columns: 1fr;
  }
}
