/* ==========================================================================
   100 Peristiwa Bersejarah Islam - Master Stylesheet
   Design: Modern Islamic Elegance (Deep Emerald Green, Royal Gold & Alabaster)
   Features: Responsive, Dark/Light Mode, Full RTL Support (Arabic/Urdu/Persian),
             Accessible Typography, AdSense Non-CLS Containers, Micro-animations.
   ========================================================================== */

:root {
  /* Primary Islamic Palette */
  --primary-900: #06261b;
  --primary-800: #0b3b2b;
  --primary-700: #0f4d38;
  --primary-600: #16644a;
  --primary-500: #1d7b5c;
  --primary-100: #e2f2ec;
  --primary-50:  #f0f8f5;

  /* Accent Gold */
  --gold-600: #b89223;
  --gold-500: #d4af37;
  --gold-400: #e5c358;
  --gold-100: #faf3dc;

  /* Neutral Light Theme */
  --bg-main: #faf8f5;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f2ede4;
  --border-color: #e5dfd5;
  --border-light: #ece7de;
  --text-main: #1f2923;
  --text-muted: #57655d;
  --text-inverse: #ffffff;

  /* UI Tokens */
  --shadow-sm: 0 1px 3px rgba(10, 40, 30, 0.06);
  --shadow-md: 0 4px 16px rgba(10, 40, 30, 0.08);
  --shadow-lg: 0 10px 30px rgba(10, 40, 30, 0.12);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.25);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Georgia", "Cambria", "Times New Roman", serif;
  --font-arabic: "Amiri", "Scheherazade New", "Traditional Arabic", "Noto Naskh Arabic", serif;
}

[data-theme="dark"] {
  --bg-main: #0a1410;
  --bg-surface: #10211a;
  --bg-surface-elevated: #162c23;
  --bg-subtle: #193329;
  --border-color: #203e32;
  --border-light: #284c3e;
  --text-main: #e8f0ec;
  --text-muted: #9bb0a5;
  --primary-50: #132a21;
  --primary-100: #1a382c;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* RTL Language Adjustments */
[dir="rtl"] {
  font-family: var(--font-arabic), var(--font-sans);
  text-align: right;
}

[dir="rtl"] body {
  direction: rtl;
}

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

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Top Announcement / Islamic Motif Bar */
.top-ornament-bar {
  background: linear-gradient(90deg, var(--primary-900), var(--primary-700), var(--primary-900));
  color: var(--gold-400);
  padding: 0.4rem 0;
  font-size: 0.825rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  text-align: center;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Header & Navigation */
.site-header {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-900));
  border: 1.5px solid var(--gold-500);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
}

.brand-text h1 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-700);
  line-height: 1.2;
}

[data-theme="dark"] .brand-text h1 {
  color: var(--gold-400);
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-600);
  background-color: var(--primary-50);
}

[data-theme="dark"] .nav-link:hover {
  color: var(--gold-400);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language Switcher Dropdown */
.lang-selector-wrap {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn:hover {
  border-color: var(--gold-500);
  background-color: var(--bg-surface);
}

.lang-dropdown {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 220px;
  padding: 0.5rem;
  display: none;
  z-index: 150;
  max-height: 380px;
  overflow-y: auto;
}

.lang-dropdown.show {
  display: block;
  animation: fadeInDown 0.2s ease-out;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: start;
  transition: var(--transition);
}

.lang-option:hover, .lang-option.active {
  background-color: var(--primary-50);
  color: var(--primary-700);
}

[data-theme="dark"] .lang-option:hover {
  color: var(--gold-400);
}

/* Theme Toggle Button */
.theme-btn, .bookmark-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background-color: var(--bg-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.theme-btn:hover, .bookmark-toggle-btn:hover {
  border-color: var(--gold-500);
  background-color: var(--bg-surface);
  color: var(--primary-600);
}

.badge-count {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  background-color: var(--gold-500);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

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

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-900) 0%, #0d3829 60%, var(--primary-800) 100%);
  color: #ffffff;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  border-bottom: 2px solid var(--gold-500);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(var(--gold-400) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background-color: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-500);
  color: var(--gold-400);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Instant Search Box */
.hero-search-box {
  position: relative;
  max-width: 680px;
  margin-inline: auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-full);
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon-svg {
  position: absolute;
  inset-inline-start: 1.25rem;
  color: var(--primary-700);
  pointer-events: none;
}

.hero-search-input {
  width: 100%;
  height: 60px;
  padding-inline-start: 3.5rem;
  padding-inline-end: 7.5rem;
  font-size: 1.05rem;
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-full);
  background-color: #ffffff;
  color: #1f2923;
  outline: none;
  transition: var(--transition);
}

.hero-search-input:focus {
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3);
}

.search-clear-btn {
  position: absolute;
  inset-inline-end: 4.5rem;
  background: transparent;
  border: none;
  color: #999;
  cursor: pointer;
  display: none;
}

.search-shortcut-badge {
  position: absolute;
  inset-inline-end: 1rem;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  pointer-events: none;
}

/* AdSense Unit Component (Anti-CLS Compliant) */
.ad-container {
  width: 100%;
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ad-wrapper {
  background-color: var(--bg-subtle);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  text-align: center;
  width: 100%;
  max-width: 970px;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ad-wrapper.ad-leaderboard {
  min-height: 110px;
}

.ad-wrapper.ad-in-article {
  min-height: 280px;
  margin: 1.5rem 0;
}

.ad-disclaimer {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.adsbygoogle {
  display: block;
  margin: 0 auto;
}

/* Filter & Controls Toolbar */
.toolbar-section {
  padding: 1.75rem 0 1rem;
  background-color: var(--bg-main);
}

.toolbar-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.era-filter-scroll {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}

.era-pill {
  white-space: nowrap;
  padding: 0.5rem 1.15rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.era-pill:hover {
  border-color: var(--primary-600);
  background-color: var(--primary-50);
}

.era-pill.active {
  background: linear-gradient(135deg, var(--primary-800), var(--primary-600));
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  display: inline-block;
}

.filter-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sort-select {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
}

/* Grid of 100 Historical Events */
.events-grid-section {
  padding: 1rem 0 3.5rem;
  flex: 1;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

/* Event Card */
.event-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--bg-subtle);
  overflow: hidden;
}

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

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

.card-badge-id {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background-color: rgba(6, 38, 27, 0.85);
  color: var(--gold-400);
  border: 1px solid var(--gold-500);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  backdrop-filter: blur(4px);
}

.card-bookmark-btn {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 34px;
  height: 34px;
  background-color: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: var(--radius-full);
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

[data-theme="dark"] .card-bookmark-btn {
  background-color: rgba(20, 40, 30, 0.85);
  color: #fff;
}

.card-bookmark-btn:hover, .card-bookmark-btn.bookmarked {
  color: #e53935;
  background-color: #ffffff;
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--primary-700);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .card-meta-row {
  color: var(--gold-400);
}

.meta-divider {
  opacity: 0.4;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.card-title a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.card-title a:hover {
  color: var(--primary-600);
}

[data-theme="dark"] .card-title a:hover {
  color: var(--gold-400);
}

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

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 0.85rem;
  margin-top: auto;
  font-size: 0.825rem;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
}

.btn-read {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background-color: var(--primary-50);
  color: var(--primary-700);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.825rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-read:hover {
  background-color: var(--primary-700);
  color: #ffffff;
  border-color: var(--primary-700);
}

[data-theme="dark"] .btn-read {
  background-color: var(--primary-100);
  color: var(--gold-400);
}

[data-theme="dark"] .btn-read:hover {
  background-color: var(--gold-500);
  color: #000;
}

/* Modal / Drawer Full Reader View */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(6px);
}

.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

.modal-container {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: zoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-subtle);
}

.modal-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tool-btn {
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: var(--transition);
}

.tool-btn:hover {
  background-color: var(--primary-50);
  border-color: var(--primary-600);
  color: var(--primary-700);
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
}

.article-hero-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.article-meta-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.75rem;
}

.meta-item-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.meta-item-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-700);
}

[data-theme="dark"] .meta-item-value {
  color: var(--gold-400);
}

.article-section {
  margin-bottom: 1.75rem;
}

.article-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-800);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid var(--primary-100);
  padding-bottom: 0.4rem;
}

[data-theme="dark"] .article-section h3 {
  color: var(--gold-400);
  border-bottom-color: var(--border-color);
}

.article-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.wisdom-box {
  background: linear-gradient(135deg, var(--primary-50), rgba(212, 175, 55, 0.1));
  border-inline-start: 4px solid var(--gold-500);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  margin-top: 1.5rem;
  font-style: italic;
}

[data-theme="dark"] .wisdom-box {
  background: linear-gradient(135deg, var(--primary-900), #172a22);
}

/* Dedicated Page Layout */
.article-page {
  padding: 2.5rem 0 4rem;
}

.article-content-wrapper {
  max-width: 860px;
  margin-inline: auto;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary-600);
}

/* Footer */
.site-footer {
  background-color: var(--primary-900);
  color: #e5e5e5;
  padding: 3.5rem 0 2rem;
  border-top: 3px solid var(--gold-500);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand h2 {
  color: var(--gold-400);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.footer-brand p {
  color: #a8b8b0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links a {
  color: #a8b8b0;
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-400);
  padding-inline-start: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
  color: #889990;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-section {
    padding: 3rem 0 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .hero-search-input {
    height: 52px;
    font-size: 0.95rem;
    padding-inline-end: 3rem;
  }

  .search-shortcut-badge {
    display: none;
  }
}
