/* =========================================================
   ExpoGeni — Main Design System & Public Site Styles
   ========================================================= */

/* ─── CSS Variables ──────────────────────────────────────── */
:root {
  --eg-primary: #1a1a2e;
  --eg-secondary: #16213e;
  --eg-accent: #e8450a;
  --eg-accent-hover: #c93907;
  --eg-accent-light: #fff1ec;
  --eg-light: #f8f9fa;
  --eg-white: #ffffff;
  --eg-text: #1a1a2e;
  --eg-text-muted: #6c757d;
  --eg-text-light: #adb5bd;
  --eg-border: #e9ecef;
  --eg-border-dark: #dee2e6;
  --eg-surface: #ffffff;
  --eg-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --eg-shadow: 0 4px 16px rgba(0,0,0,0.10);
  --eg-shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --eg-radius: 8px;
  --eg-radius-sm: 4px;
  --eg-radius-lg: 16px;
  --eg-transition: 0.2s ease;
  --eg-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ─── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--eg-font);
  color: var(--eg-text);
  background: var(--eg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* ─── Container & Layout ────────────────────────────────── */
.eg-container { max-width: 1280px; padding: 0 24px; margin: 0 auto; width: 100%; }
.eg-section { padding: 80px 0; }
.eg-section-sm { padding: 48px 0; }
.eg-section-header { text-align: center; margin-bottom: 56px; }
.eg-section-title { font-size: 2rem; font-weight: 800; color: var(--eg-text); letter-spacing: -0.02em; line-height: 1.2; }
.eg-section-subtitle { color: var(--eg-text-muted); font-size: 1.0625rem; margin-top: 12px; max-width: 600px; margin-left: auto; margin-right: auto; }
.eg-section-header-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.eg-section-header-row .eg-section-title { text-align: left; }

/* ─── Header ─────────────────────────────────────────────── */
.eg-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--eg-white);
  border-bottom: 1px solid var(--eg-border);
  box-shadow: var(--eg-shadow-sm);
}
.eg-header-inner {
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.eg-logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0;
}
.eg-logo-img { height: 44px; width: auto; object-fit: contain; }
.eg-logo-svg { height: 44px; width: auto; }
.eg-logo-text {
  font-size: 1.625rem; font-weight: 900; color: var(--eg-primary);
  letter-spacing: -0.03em; line-height: 1;
}
.eg-logo-text span { color: var(--eg-accent); }
.eg-logo-tagline {
  font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--eg-text-muted); font-weight: 600; display: block; margin-top: 2px;
}
.eg-nav { display: flex; align-items: center; gap: 4px; }
.eg-nav-link {
  padding: 8px 14px; color: var(--eg-text); text-decoration: none;
  font-weight: 500; font-size: 0.9375rem;
  border-radius: var(--eg-radius-sm); transition: var(--eg-transition);
}
.eg-nav-link:hover { color: var(--eg-accent); background: var(--eg-accent-light); }
.eg-nav-link.active { color: var(--eg-accent); font-weight: 600; }
.eg-header-actions { display: flex; align-items: center; gap: 12px; }
.eg-search-btn {
  width: 40px; height: 40px; border: 1px solid var(--eg-border);
  border-radius: var(--eg-radius-sm); background: var(--eg-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--eg-text-muted); cursor: pointer; transition: var(--eg-transition); text-decoration: none;
}
.eg-search-btn:hover { border-color: var(--eg-accent); color: var(--eg-accent); }
.eg-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px;
}
.eg-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--eg-text); border-radius: 2px; transition: var(--eg-transition);
}
.eg-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.eg-hamburger.open span:nth-child(2) { opacity: 0; }
.eg-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.eg-mobile-menu {
  display: none; position: fixed; inset: 0; top: 72px; z-index: 999;
  background: var(--eg-white); padding: 24px; border-top: 1px solid var(--eg-border);
  overflow-y: auto;
}
.eg-mobile-menu.open { display: flex; flex-direction: column; gap: 4px; }
.eg-mobile-nav-link {
  display: block; padding: 14px 16px; color: var(--eg-text); text-decoration: none;
  font-size: 1.0625rem; font-weight: 500; border-radius: var(--eg-radius);
  border-bottom: 1px solid var(--eg-border);
}
.eg-mobile-nav-link.active { color: var(--eg-accent); font-weight: 700; }
.eg-mobile-cta { margin-top: 16px; }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; font-weight: 600; font-size: 0.9375rem;
  border-radius: 6px; cursor: pointer; transition: var(--eg-transition);
  border: 2px solid transparent; text-decoration: none; line-height: 1.2;
  white-space: nowrap; vertical-align: middle;
}
.btn:focus-visible { outline: 2px solid var(--eg-accent); outline-offset: 2px; }
.btn-primary { background: var(--eg-accent); color: white; border-color: var(--eg-accent); }
.btn-primary:hover { background: var(--eg-accent-hover); border-color: var(--eg-accent-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(232,69,10,0.3); }
.btn-secondary { background: var(--eg-primary); color: white; border-color: var(--eg-primary); }
.btn-secondary:hover { background: var(--eg-secondary); border-color: var(--eg-secondary); }
.btn-outline { background: transparent; color: var(--eg-accent); border-color: var(--eg-accent); }
.btn-outline:hover { background: var(--eg-accent); color: white; }
.btn-outline-white { background: transparent; color: white; border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: white; color: var(--eg-accent); border-color: white; }
.btn-ghost { background: transparent; color: var(--eg-text-muted); border-color: transparent; }
.btn-ghost:hover { background: var(--eg-light); color: var(--eg-text); }
.btn-sm { padding: 7px 14px; font-size: 0.8125rem; }
.btn-lg { padding: 15px 32px; font-size: 1.0625rem; }
.btn-full { width: 100%; justify-content: center; }

/* ─── Badges ─────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; padding: 3px 9px;
  border-radius: 4px; font-size: 0.6875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.4;
}
.badge-expo, .badge-category { background: #fff1ec; color: #e8450a; }
.badge-seminar { background: #e8f4fd; color: #0d6efd; }
.badge-online { background: #d1f2eb; color: #0d9488; }
.badge-inperson { background: #f0f4ff; color: #4f46e5; }
.badge-hybrid { background: #fef3c7; color: #d97706; }
.badge-free { background: #d1fae5; color: #059669; }
.badge-open { background: #d1fae5; color: #059669; }
.badge-full { background: #fee2e2; color: #dc2626; }
.badge-closed { background: #f3f4f6; color: #6b7280; }
.badge-summit { background: #ede9fe; color: #7c3aed; }

/* ─── Hero Slider ─────────────────────────────────────────── */
.eg-slider { position: relative; overflow: hidden; height: 580px; background: var(--eg-primary); }
.eg-slider-track {
  display: flex; height: 100%;
  transition: transform 0.55s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.eg-slide {
  min-width: 100%; height: 100%; position: relative;
  display: flex; align-items: flex-end;
}
.eg-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-color: var(--eg-primary);
}
.eg-slide-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(0,0,0,0.15) 100%
  );
}
.eg-slide-content {
  position: relative; z-index: 2;
  padding: 64px 56px; max-width: 700px; width: 100%;
}
.eg-slide-category {
  display: inline-block; background: var(--eg-accent); color: white;
  padding: 5px 14px; border-radius: 4px; font-size: 0.75rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.eg-slide-title {
  font-size: 2.75rem; font-weight: 900; color: white;
  line-height: 1.15; margin-bottom: 18px; letter-spacing: -0.02em;
}
.eg-slide-meta {
  display: flex; flex-wrap: wrap; gap: 20px;
  color: rgba(255,255,255,0.85); font-size: 0.9375rem;
  margin-bottom: 18px; font-weight: 500;
}
.eg-slide-meta span { display: flex; align-items: center; gap: 6px; }
.eg-slide-desc {
  color: rgba(255,255,255,0.85); font-size: 1rem; line-height: 1.65;
  margin-bottom: 32px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.eg-slider-controls {
  position: absolute; bottom: 28px; right: 56px;
  display: flex; align-items: center; gap: 12px; z-index: 10;
}
.eg-slider-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  color: white; font-size: 1.25rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--eg-transition); backdrop-filter: blur(4px);
}
.eg-slider-btn:hover { background: var(--eg-accent); border-color: var(--eg-accent); }
.eg-slider-dots {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 8px; z-index: 10;
}
.eg-slider-dot {
  width: 8px; height: 8px; border-radius: 4px;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer;
  transition: all 0.3s ease; padding: 0;
}
.eg-slider-dot.active { background: white; width: 28px; }

/* ─── Search Section ──────────────────────────────────────── */
.eg-search-section {
  background: white; padding: 28px 0;
  border-bottom: 1px solid var(--eg-border);
  box-shadow: var(--eg-shadow-sm);
}
.eg-search-bar { display: flex; gap: 12px; max-width: 860px; margin: 0 auto; }
.eg-search-input-wrap { flex: 1; position: relative; }
.eg-search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--eg-text-muted); pointer-events: none;
}
.eg-search-input {
  width: 100%; height: 52px; border: 2px solid var(--eg-border);
  border-radius: var(--eg-radius); padding: 0 16px 0 46px;
  font-size: 1rem; outline: none; transition: var(--eg-transition);
  background: white; color: var(--eg-text);
}
.eg-search-input:focus { border-color: var(--eg-accent); box-shadow: 0 0 0 3px rgba(232,69,10,0.1); }
.eg-search-submit { height: 52px; padding: 0 28px; border-radius: var(--eg-radius); font-size: 0.9375rem; }

/* ─── Event Cards Grid ────────────────────────────────────── */
.eg-events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.eg-event-card {
  background: white; border-radius: var(--eg-radius); overflow: hidden;
  box-shadow: var(--eg-shadow-sm); border: 1px solid var(--eg-border);
  transition: var(--eg-transition); display: flex; flex-direction: column;
}
.eg-event-card:hover { box-shadow: var(--eg-shadow); transform: translateY(-2px); }
.eg-event-card-thumb {
  aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--eg-light); display: block;
}
.eg-event-card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.eg-event-card:hover .eg-event-card-thumb img { transform: scale(1.05); }
.eg-event-placeholder {
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--eg-primary), var(--eg-secondary));
  font-size: 3.5rem;
}
.eg-event-card-body { padding: 16px; flex: 1; }
.eg-event-card-category {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em;
  font-weight: 800; color: var(--eg-accent); margin-bottom: 8px;
}
.eg-event-card-title {
  font-size: 0.9375rem; font-weight: 700; color: var(--eg-text);
  line-height: 1.35; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.eg-event-card-title a { text-decoration: none; color: inherit; }
.eg-event-card-title a:hover { color: var(--eg-accent); }
.eg-event-card-meta {
  font-size: 0.8125rem; color: var(--eg-text-muted);
  margin-bottom: 5px; display: flex; align-items: center; gap: 6px;
}
.eg-event-card-footer {
  padding: 12px 16px; border-top: 1px solid var(--eg-border);
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
}

/* ─── Filter Bar ──────────────────────────────────────────── */
.eg-filter-bar {
  background: var(--eg-light); border: 1px solid var(--eg-border);
  border-radius: var(--eg-radius); padding: 20px 24px; margin-bottom: 28px;
}
.eg-filter-row {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end;
}
.eg-filter-group { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 130px; }
.eg-filter-label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--eg-text-muted);
}
.eg-filter-select {
  height: 40px; border: 1px solid var(--eg-border-dark); border-radius: var(--eg-radius-sm);
  padding: 0 12px; font-size: 0.875rem; background: white; outline: none;
  transition: var(--eg-transition); appearance: auto; color: var(--eg-text);
}
.eg-filter-select:focus { border-color: var(--eg-accent); box-shadow: 0 0 0 2px rgba(232,69,10,0.1); }
.eg-sort-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.eg-results-count { font-size: 0.875rem; color: var(--eg-text-muted); }
.eg-results-count strong { color: var(--eg-text); font-weight: 700; }

/* ─── Categories Grid ─────────────────────────────────────── */
.eg-categories-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.eg-category-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 24px 16px; background: white; border: 1px solid var(--eg-border);
  border-radius: var(--eg-radius); text-decoration: none; color: var(--eg-text);
  transition: var(--eg-transition); cursor: pointer;
}
.eg-category-card:hover {
  border-color: var(--eg-accent); color: var(--eg-accent);
  transform: translateY(-2px); box-shadow: var(--eg-shadow);
}
.eg-category-icon { font-size: 2rem; line-height: 1; }
.eg-category-name { font-size: 0.875rem; font-weight: 600; text-align: center; line-height: 1.3; }
.eg-category-count { font-size: 0.75rem; color: var(--eg-text-muted); }

/* ─── Event Detail ────────────────────────────────────────── */
.eg-event-hero { position: relative; background: var(--eg-primary); min-height: 420px; overflow: hidden; }
.eg-event-hero-img { width: 100%; height: 420px; object-fit: cover; display: block; opacity: 0.55; }
.eg-event-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,46,0.2) 0%, rgba(26,26,46,0.92) 100%);
}
.eg-event-hero-content {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 48px;
}
.eg-event-breadcrumb {
  display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.65);
  font-size: 0.8125rem; margin-bottom: 16px;
}
.eg-event-breadcrumb a { color: rgba(255,255,255,0.65); text-decoration: none; }
.eg-event-breadcrumb a:hover { color: white; }
.eg-event-breadcrumb-sep { opacity: 0.5; }
.eg-event-hero-category {
  display: inline-block; background: var(--eg-accent); color: white;
  padding: 5px 14px; border-radius: 4px; font-size: 0.75rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.eg-event-hero-title {
  font-size: 2.25rem; font-weight: 900; color: white;
  line-height: 1.2; margin-bottom: 20px; letter-spacing: -0.02em;
}
.eg-event-hero-meta {
  display: flex; flex-wrap: wrap; gap: 20px;
  color: rgba(255,255,255,0.85); font-size: 0.9375rem; margin-bottom: 24px;
}
.eg-event-hero-meta span { display: flex; align-items: center; gap: 7px; }
.eg-event-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.eg-event-layout {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 32px; padding: 48px 0; align-items: start;
}
.eg-event-main { display: flex; flex-direction: column; gap: 28px; }
.eg-event-sidebar { display: flex; flex-direction: column; gap: 20px; }

.eg-info-card {
  background: white; border: 1px solid var(--eg-border);
  border-radius: var(--eg-radius); padding: 24px;
}
.eg-info-card-title {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 700; color: var(--eg-text-muted); margin-bottom: 18px;
  padding-bottom: 12px; border-bottom: 1px solid var(--eg-border);
}
.eg-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.eg-info-item label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--eg-text-muted); font-weight: 600; display: block; margin-bottom: 4px;
}
.eg-info-item p { font-size: 0.9375rem; color: var(--eg-text); font-weight: 500; line-height: 1.5; }
.eg-info-item a { color: var(--eg-accent); text-decoration: none; }
.eg-info-item a:hover { text-decoration: underline; }

/* Event Description (rich text) */
.eg-event-description h2 { font-size: 1.375rem; font-weight: 700; margin: 24px 0 12px; color: var(--eg-text); }
.eg-event-description h3 { font-size: 1.1rem; font-weight: 700; margin: 20px 0 10px; color: var(--eg-text); }
.eg-event-description p { margin-bottom: 16px; line-height: 1.75; color: var(--eg-text); }
.eg-event-description ul, .eg-event-description ol { padding-left: 24px; margin-bottom: 16px; }
.eg-event-description li { margin-bottom: 6px; line-height: 1.65; color: var(--eg-text); }
.eg-event-description ul li { list-style-type: disc; }
.eg-event-description ol li { list-style-type: decimal; }
.eg-event-description a { color: var(--eg-accent); }
.eg-event-description strong { font-weight: 700; }

/* Highlights */
.eg-highlights-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; }
.eg-highlights-list li {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--eg-accent-light); color: var(--eg-accent);
  padding: 6px 14px; border-radius: 20px; font-size: 0.875rem; font-weight: 600;
  list-style: none !important;
}
.eg-highlights-list li::before { content: '✓'; font-weight: 800; }

/* Social Links */
.eg-social-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.eg-social-link {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--eg-border); border-radius: 50%;
  color: var(--eg-text-muted); text-decoration: none; transition: var(--eg-transition);
  font-size: 0.75rem; font-weight: 700;
}
.eg-social-link:hover { color: var(--eg-accent); border-color: var(--eg-accent); background: var(--eg-accent-light); }

/* Registration sidebar card */
.eg-reg-card {
  background: white; border: 1px solid var(--eg-border);
  border-radius: var(--eg-radius); padding: 24px;
  position: sticky; top: 92px;
}
.eg-reg-card-header { margin-bottom: 20px; }
.eg-reg-card-fee { font-size: 1.75rem; font-weight: 900; color: var(--eg-accent); margin-bottom: 4px; }
.eg-reg-card-free { font-size: 1.375rem; font-weight: 900; color: #059669; margin-bottom: 4px; }
.eg-reg-card-detail {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.875rem; padding: 10px 0; border-bottom: 1px solid var(--eg-border);
}
.eg-reg-card-detail span:first-child { color: var(--eg-text-muted); }
.eg-reg-card-detail span:last-child { font-weight: 600; color: var(--eg-text); }
.eg-reg-card-cta { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }

/* Reviews */
.eg-stars { color: #f59e0b; font-size: 1rem; letter-spacing: 1px; }
.eg-review-card {
  padding: 20px 0; border-bottom: 1px solid var(--eg-border);
}
.eg-review-card:last-child { border-bottom: none; }
.eg-review-header {
  display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px;
}
.eg-review-name { font-weight: 700; font-size: 0.9375rem; }
.eg-review-date { font-size: 0.8125rem; color: var(--eg-text-muted); white-space: nowrap; }
.eg-review-text { color: var(--eg-text); font-size: 0.9375rem; line-height: 1.7; }

/* ─── Forms ──────────────────────────────────────────────── */
.eg-form-group { margin-bottom: 20px; }
.eg-form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--eg-text); margin-bottom: 8px; }
.eg-form-label .required { color: var(--eg-accent); margin-left: 2px; }
.eg-form-input, .eg-form-select, .eg-form-textarea {
  width: 100%; border: 1.5px solid var(--eg-border-dark); border-radius: var(--eg-radius-sm);
  padding: 11px 14px; font-size: 0.9375rem; outline: none; transition: var(--eg-transition);
  color: var(--eg-text); background: white;
}
.eg-form-input:focus, .eg-form-select:focus, .eg-form-textarea:focus {
  border-color: var(--eg-accent); box-shadow: 0 0 0 3px rgba(232,69,10,0.1);
}
.eg-form-input.error { border-color: #dc2626; }
.eg-form-textarea { min-height: 130px; resize: vertical; font-family: inherit; }
.eg-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.eg-form-section {
  background: white; border: 1px solid var(--eg-border);
  border-radius: var(--eg-radius); padding: 28px; margin-bottom: 24px;
}
.eg-form-section-title {
  font-size: 1rem; font-weight: 700; color: var(--eg-text);
  margin-bottom: 22px; padding-bottom: 14px;
  border-bottom: 2px solid var(--eg-accent); display: flex; align-items: center; gap: 8px;
}
.eg-form-hint { font-size: 0.8125rem; color: var(--eg-text-muted); margin-top: 5px; line-height: 1.5; }
.eg-form-error { font-size: 0.8125rem; color: #dc2626; margin-top: 5px; display: none; }

/* ─── Alerts ─────────────────────────────────────────────── */
.eg-alert {
  border-radius: var(--eg-radius-sm); padding: 14px 18px;
  font-size: 0.9375rem; margin-bottom: 20px; line-height: 1.6;
}
.eg-alert-success { background: #d1fae5; color: #065f46; border-left: 4px solid #059669; }
.eg-alert-error { background: #fee2e2; color: #991b1b; border-left: 4px solid #dc2626; }
.eg-alert-info { background: #dbeafe; color: #1e40af; border-left: 4px solid #3b82f6; }
.eg-alert-warning { background: #fef3c7; color: #92400e; border-left: 4px solid #d97706; }

/* ─── Pagination ──────────────────────────────────────────── */
.eg-pagination {
  display: flex; gap: 6px; justify-content: center;
  flex-wrap: wrap; margin-top: 48px;
}
.eg-page-btn {
  min-width: 40px; height: 40px; padding: 0 10px;
  border: 1px solid var(--eg-border); border-radius: var(--eg-radius-sm);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--eg-text);
  font-size: 0.875rem; font-weight: 500; transition: var(--eg-transition);
}
.eg-page-btn:hover { border-color: var(--eg-accent); color: var(--eg-accent); }
.eg-page-btn.active { background: var(--eg-accent); border-color: var(--eg-accent); color: white; }
.eg-page-btn.disabled { opacity: 0.4; pointer-events: none; cursor: default; }

/* ─── Empty States ────────────────────────────────────────── */
.eg-empty-state { text-align: center; padding: 80px 24px; color: var(--eg-text-muted); }
.eg-empty-state-icon { font-size: 4rem; margin-bottom: 16px; opacity: 0.4; }
.eg-empty-state h3 { font-size: 1.25rem; font-weight: 700; color: var(--eg-text); margin-bottom: 8px; }
.eg-empty-state p { font-size: 0.9375rem; line-height: 1.7; max-width: 400px; margin: 0 auto; }

/* Skeleton loader */
@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.eg-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease infinite;
  border-radius: var(--eg-radius-sm);
}

/* ─── Post Event Page ─────────────────────────────────────── */
.eg-post-event-hero {
  background: var(--eg-primary); color: white;
  padding: 64px 0; text-align: center;
}
.eg-post-event-hero h1 {
  font-size: 2.5rem; font-weight: 900; margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.eg-post-event-hero p {
  color: rgba(255,255,255,0.8); font-size: 1.0625rem;
  max-width: 560px; margin: 0 auto;
}
.eg-post-event-wrapper { max-width: 860px; margin: 0 auto; padding: 48px 24px; }

/* ─── About Page ─────────────────────────────────────────── */
.eg-about-hero {
  background: var(--eg-primary); color: white;
  padding: 80px 0; text-align: center;
}
.eg-about-hero h1 {
  font-size: 2.75rem; font-weight: 900; margin-bottom: 20px; letter-spacing: -0.02em;
}
.eg-about-hero p { color: rgba(255,255,255,0.8); font-size: 1.125rem; max-width: 680px; margin: 0 auto; }
.eg-about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.eg-about-mascot { text-align: center; }
.eg-about-mascot img { max-width: 320px; width: 100%; margin: 0 auto; }
.eg-about-content h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.01em; }
.eg-about-content p { color: var(--eg-text-muted); line-height: 1.8; margin-bottom: 16px; font-size: 1rem; }
.eg-value-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.eg-value-card {
  padding: 28px 24px; background: white; border-radius: var(--eg-radius);
  border: 1px solid var(--eg-border); border-top: 4px solid var(--eg-accent);
}
.eg-value-icon { font-size: 2rem; margin-bottom: 14px; }
.eg-value-title { font-size: 1.0625rem; font-weight: 700; margin-bottom: 10px; }
.eg-value-text { color: var(--eg-text-muted); font-size: 0.9375rem; line-height: 1.7; }
.eg-stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px;
}
.eg-stat-item { text-align: center; padding: 24px; background: white; border-radius: var(--eg-radius); border: 1px solid var(--eg-border); }
.eg-stat-number { font-size: 2.5rem; font-weight: 900; color: var(--eg-accent); line-height: 1; }
.eg-stat-label { font-size: 0.875rem; color: var(--eg-text-muted); margin-top: 6px; }
.eg-what-we-cover { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.eg-cover-tag {
  background: var(--eg-accent-light); color: var(--eg-accent);
  padding: 6px 16px; border-radius: 20px; font-size: 0.875rem; font-weight: 600;
}

/* ─── Contact Page ────────────────────────────────────────── */
.eg-contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.eg-contact-info-item {
  display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start;
}
.eg-contact-info-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: var(--eg-accent-light); border-radius: var(--eg-radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--eg-accent); font-size: 1.25rem; flex-shrink: 0;
}
.eg-contact-info-text h4 { font-weight: 700; margin-bottom: 4px; }
.eg-contact-info-text p { color: var(--eg-text-muted); font-size: 0.9375rem; }
.eg-contact-info-text a { color: var(--eg-accent); text-decoration: none; }

/* ─── CTA Section ─────────────────────────────────────────── */
.eg-cta-section {
  background: var(--eg-primary); color: white;
  text-align: center; padding: 80px 0;
}
.eg-cta-title { font-size: 2.25rem; font-weight: 900; margin-bottom: 16px; letter-spacing: -0.02em; }
.eg-cta-subtitle { color: rgba(255,255,255,0.8); font-size: 1.0625rem; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.eg-mascot-cta { margin-bottom: 24px; }
.eg-mascot-cta img { height: 120px; width: auto; margin: 0 auto; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3)); }

/* ─── Footer ─────────────────────────────────────────────── */
.eg-footer { background: var(--eg-primary); color: rgba(255,255,255,0.8); padding: 64px 0 0; }
.eg-footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}
.eg-footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; text-decoration: none; }
.eg-footer-logo-text { font-size: 1.5rem; font-weight: 900; color: white; letter-spacing: -0.02em; }
.eg-footer-logo-text span { color: var(--eg-accent); }
.eg-footer-brand p { font-size: 0.9rem; line-height: 1.75; color: rgba(255,255,255,0.6); max-width: 320px; }
.eg-footer-heading {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em;
  font-weight: 700; color: var(--eg-accent); margin-bottom: 20px;
}
.eg-footer-links { display: flex; flex-direction: column; gap: 10px; }
.eg-footer-links a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 0.9rem; transition: var(--eg-transition);
}
.eg-footer-links a:hover { color: white; }
.eg-footer-social { display: flex; gap: 10px; margin-top: 20px; }
.eg-footer-social a {
  width: 38px; height: 38px; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8); border-radius: 50%;
  text-decoration: none; font-size: 0.875rem; font-weight: 700;
  transition: var(--eg-transition);
}
.eg-footer-social a:hover { background: var(--eg-accent); color: white; }
.eg-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0; margin-top: 56px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.eg-footer-bottom-links { display: flex; gap: 20px; }
.eg-footer-bottom a { color: rgba(255,255,255,0.5); font-size: 0.8125rem; text-decoration: none; }
.eg-footer-bottom a:hover { color: rgba(255,255,255,0.8); }
.eg-footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.45); }

/* ─── 404 Page ────────────────────────────────────────────── */
.eg-404 {
  min-height: 60vh; display: flex; align-items: center; justify-content: center;
  text-align: center; flex-direction: column; gap: 16px; padding: 80px 24px;
}
.eg-404-code { font-size: 7rem; font-weight: 900; color: var(--eg-accent); line-height: 1; opacity: 0.25; }
.eg-404-title { font-size: 2rem; font-weight: 800; }
.eg-404-subtitle { color: var(--eg-text-muted); font-size: 1rem; max-width: 400px; }
.eg-404-mascot img { height: 160px; width: auto; opacity: 0.9; margin: 8px auto; }

/* ─── Utility Classes ─────────────────────────────────────── */
.d-flex { display: flex; }
.d-none { display: none; }
.d-grid { display: grid; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-muted { color: var(--eg-text-muted); }
.text-accent { color: var(--eg-accent); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.8125rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.mt-auto { margin-top: auto; }
.w-full { width: 100%; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.pt-0 { padding-top: 0; }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1200px) {
  .eg-events-grid { grid-template-columns: repeat(3, 1fr); }
  .eg-categories-grid { grid-template-columns: repeat(4, 1fr); }
  .eg-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .eg-events-grid { grid-template-columns: repeat(2, 1fr); }
  .eg-categories-grid { grid-template-columns: repeat(3, 1fr); }
  .eg-event-layout { grid-template-columns: 1fr; }
  .eg-event-sidebar { order: -1; }
  .eg-reg-card { position: static; }
  .eg-contact-grid { grid-template-columns: 1fr; }
  .eg-about-grid { grid-template-columns: 1fr; }
  .eg-value-cards { grid-template-columns: 1fr 1fr; }
  .eg-stat-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .eg-nav { display: none; }
  .eg-hamburger { display: flex; }
  .eg-header-actions .btn { display: none; }
  .eg-slider { height: 420px; }
  .eg-slide-content { padding: 40px 24px; }
  .eg-slide-title { font-size: 1.875rem; }
  .eg-slider-controls { right: 24px; }
  .eg-section { padding: 56px 0; }
  .eg-section-title { font-size: 1.625rem; }
  .eg-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .eg-event-hero-content { padding: 28px 24px; }
  .eg-event-hero-title { font-size: 1.625rem; }
  .eg-post-event-hero h1 { font-size: 1.875rem; }
  .eg-form-row { grid-template-columns: 1fr; }
  .eg-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .eg-categories-grid { grid-template-columns: repeat(2, 1fr); }
  .eg-value-cards { grid-template-columns: 1fr; }
  .eg-stat-row { grid-template-columns: 1fr 1fr; }
  .eg-section-header-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .eg-filter-row { flex-direction: column; }
  .eg-filter-group { min-width: 100%; }
}

@media (max-width: 480px) {
  .eg-events-grid { grid-template-columns: 1fr; }
  .eg-slider { height: 380px; }
  .eg-slide-title { font-size: 1.5rem; }
  .eg-slide-desc { display: none; }
  .eg-404-code { font-size: 5rem; }
  .eg-container { padding: 0 16px; }
  .eg-search-bar { flex-direction: column; }
}
