/* =========================================================
   ZapGrupos — Main Stylesheet
   ========================================================= */

/* --- Reset & Base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #1a1a2e;
  background: #f8f9fc;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }
ul { list-style: none; }

/* --- CSS Variables --------------------------------------- */
:root {
  --green:    #25D366;
  --green-d:  #128C7E;
  --primary:  #5B4FE9;
  --primary-d:#4338CA;
  --danger:   #EF4444;
  --warning:  #F59E0B;
  --success:  #10B981;
  --gray:     #6B7280;
  --border:   #E5E7EB;
  --card-bg:  #FFFFFF;
  --radius:   12px;
  --shadow:   0 2px 12px rgba(0,0,0,.07);
  --shadow-lg:0 8px 32px rgba(0,0,0,.12);
  --max-w:    1200px;
}

/* --- Container ------------------------------------------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* --- Buttons --------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; border-radius: 8px; font-weight: 600;
  cursor: pointer; border: 2px solid transparent; transition: all .2s;
  white-space: nowrap; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary   { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-d); border-color: var(--primary-d); }
.btn-outline   { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-whatsapp  { background: var(--green); color: #fff; border-color: var(--green); }
.btn-whatsapp:hover { background: var(--green-d); border-color: var(--green-d); }
.btn-danger    { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-success   { background: var(--success); color: #fff; border-color: var(--success); }
.btn-warning   { background: var(--warning); color: #fff; border-color: var(--warning); }
.btn-link      { background: transparent; color: var(--gray); border-color: transparent; padding: 10px 12px; }
.btn-link:hover { color: var(--danger); }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 10px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-xs { padding: 4px 10px; font-size: 12px; border-radius: 5px; }
.btn-block { width: 100%; }
.mt-1 { margin-top: 8px; }

/* --- Header ---------------------------------------------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 800; color: var(--primary);
  text-decoration: none; flex-shrink: 0;
}
.logo-icon { font-size: 24px; }
.main-nav {
  display: flex; align-items: center; gap: 4px; flex: 1;
}
.main-nav a {
  padding: 8px 14px; border-radius: 8px; font-weight: 500;
  color: #374151; transition: background .15s;
}
.main-nav a:hover { background: #f3f4f6; text-decoration: none; }
.header-actions {
  display: flex; align-items: center; gap: 10px; margin-left: auto;
}
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; }

/* User menu */
.user-menu { position: relative; cursor: pointer; }
.user-menu > span { padding: 8px 14px; border-radius: 8px; font-weight: 500; display: block; }
.user-menu:hover > span { background: #f3f4f6; }
.user-menu .dropdown {
  display: none; position: absolute; right: 0; top: calc(100% + 4px);
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  min-width: 180px; box-shadow: var(--shadow-lg); z-index: 200;
  overflow: hidden;
}
.user-menu:hover .dropdown { display: block; }
.user-menu .dropdown a {
  display: block; padding: 10px 16px; color: #374151;
  transition: background .15s;
}
.user-menu .dropdown a:hover { background: #f9fafb; text-decoration: none; }

/* --- Hero ------------------------------------------------ */
.hero {
  background: linear-gradient(135deg, #5B4FE9 0%, #8B5CF6 50%, #25D366 100%);
  color: #fff; padding: 80px 0 60px; text-align: center;
}
.hero h1 { font-size: clamp(28px, 5vw, 52px); font-weight: 800; margin-bottom: 16px; }
.hero p { font-size: 18px; opacity: .9; margin-bottom: 36px; }
.search-hero {
  display: flex; max-width: 640px; margin: 0 auto 40px;
  background: #fff; border-radius: 50px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
.search-hero input {
  flex: 1; padding: 16px 24px; border: none; outline: none;
  font-size: 16px; color: #1a1a2e; background: transparent;
}
.search-hero .btn { border-radius: 0 50px 50px 0; padding: 16px 28px; }
.search-hero.compact { margin-bottom: 0; }
.hero-stats {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
}
.hero-stats div { display: flex; flex-direction: column; align-items: center; }
.hero-stats strong { font-size: 28px; font-weight: 800; }
.hero-stats span { font-size: 13px; opacity: .8; }

/* --- Sections -------------------------------------------- */
.section { padding: 60px 0; }
.bg-light { background: #f3f4f6; }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.section-header h2 { font-size: 24px; font-weight: 700; }

/* --- Categories Grid ------------------------------------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.category-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 18px 12px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  text-align: center; transition: all .2s; cursor: pointer;
}
.category-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); text-decoration: none; }
.cat-icon { font-size: 28px; }
.cat-name { font-weight: 600; font-size: 13px; color: #374151; }
.cat-count { font-size: 11px; color: var(--gray); }
.categories-grid.big { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.category-card.big { padding: 24px 16px; }
.category-card.big .cat-icon { font-size: 36px; }
.category-card.big .cat-name { font-size: 14px; }
.category-card.big .cat-count { font-size: 12px; }

/* --- Countries Grid -------------------------------------- */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}
.country-card {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 16px 10px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius);
  text-align: center; transition: all .2s;
}
.country-card:hover { border-color: var(--primary); transform: translateY(-2px); text-decoration: none; box-shadow: var(--shadow); }
.country-flag { font-size: 32px; }
.country-name { font-weight: 600; font-size: 12px; color: #374151; }
.country-count { font-size: 11px; color: var(--gray); }
.countries-grid.big { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.country-card.big { padding: 20px 14px; }

/* --- Group Cards ----------------------------------------- */
.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.group-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all .2s;
}
.group-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-img-link { display: block; }
.group-card img { width: 100%; height: 160px; object-fit: cover; }
.card-no-img {
  width: 100%; height: 160px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
  font-size: 56px;
}
.card-body { padding: 16px; }
.card-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.badge {
  display: inline-block; padding: 2px 8px; border-radius: 20px;
  font-size: 11px; font-weight: 700;
}
.badge-featured  { background: #FEF3C7; color: #92400E; }
.badge-verified  { background: #D1FAE5; color: #065F46; }
.badge-sponsored { background: #EDE9FE; color: #5B21B6; }
.card-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: #1a1a2e; }
.card-title a:hover { color: var(--primary); }
.card-desc { font-size: 13px; color: var(--gray); margin-bottom: 10px; line-height: 1.4; }
.card-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--gray); margin-bottom: 8px; }
.card-stats { display: flex; gap: 12px; font-size: 12px; color: var(--gray); margin-bottom: 12px; }

/* --- Layout Sidebar -------------------------------------- */
.layout-sidebar {
  display: grid; grid-template-columns: 260px 1fr; gap: 28px;
  padding-top: 32px; padding-bottom: 48px; align-items: start;
}
.sidebar { position: sticky; top: 80px; }
.filter-block { margin-bottom: 16px; }
.filter-block label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; color: #374151; }
.filter-block input, .filter-block select {
  width: 100%; padding: 9px 12px; border: 1px solid var(--border);
  border-radius: 8px; outline: none; background: #fff;
  transition: border-color .15s;
}
.filter-block input:focus, .filter-block select:focus { border-color: var(--primary); }
.results-count { font-size: 14px; color: var(--gray); margin-bottom: 20px; }

/* --- Page Header ----------------------------------------- */
.page-header { background: var(--primary); color: #fff; padding: 40px 0 32px; }
.page-header h1 { font-size: 32px; font-weight: 800; }
.page-header p { opacity: .85; margin-top: 4px; }
.page-title-row { display: flex; align-items: center; justify-content: space-between; padding: 32px 0 24px; }

/* --- Group Detail ---------------------------------------- */
.group-detail { padding: 36px 0 60px; }
.group-main { display: grid; grid-template-columns: 300px 1fr; gap: 32px; margin-bottom: 48px; }
.group-cover img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.cover-placeholder {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius);
  background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
  display: flex; align-items: center; justify-content: center; font-size: 80px;
}
.group-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.group-info h1 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.group-meta-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.group-meta-tags span {
  padding: 4px 12px; background: #EEF2FF; border-radius: 20px;
  font-size: 13px; color: var(--primary); font-weight: 500;
}
.group-stats-row { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--gray); margin-bottom: 20px; }
.group-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.group-description h2, .group-rules h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.group-description { margin-bottom: 20px; }
.group-rules { background: #FEF3C7; border-radius: 10px; padding: 16px; margin-bottom: 20px; }
.group-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tag {
  padding: 4px 12px; background: #F3F4F6; border-radius: 20px;
  font-size: 13px; color: var(--gray);
}
.tag:hover { background: #EEF2FF; color: var(--primary); text-decoration: none; }
.group-owner { font-size: 13px; color: var(--gray); border-top: 1px solid var(--border); padding-top: 16px; }
.related-groups h2 { font-size: 22px; font-weight: 700; margin-bottom: 20px; }

/* --- Auth ------------------------------------------------ */
.auth-container { display: flex; justify-content: center; padding: 60px 0; }
.auth-card {
  width: 100%; max-width: 440px; background: #fff;
  border: 1px solid var(--border); border-radius: 16px;
  padding: 40px; box-shadow: var(--shadow-lg);
}
.auth-card h1 { font-size: 26px; font-weight: 800; margin-bottom: 24px; text-align: center; }
.auth-switch { text-align: center; margin-top: 20px; font-size: 14px; color: var(--gray); }
.auth-switch a { color: var(--primary); font-weight: 600; }

/* --- Forms ----------------------------------------------- */
.form-container { max-width: 760px; margin: 0 auto; padding: 40px 0; }
.form-container h1 { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.text-muted { color: var(--gray); font-size: 14px; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: #374151; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 8px; background: #fff; outline: none;
  transition: border-color .15s; color: #1a1a2e;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .span-2 { grid-column: 1 / -1; }

/* --- Alerts ---------------------------------------------- */
.alert {
  padding: 12px 16px; border-radius: 8px; margin-bottom: 20px;
  font-size: 14px; font-weight: 500;
}
.alert-danger { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }

/* --- Profile --------------------------------------------- */
.profile-card {
  display: flex; gap: 28px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; margin: 32px 0 40px; box-shadow: var(--shadow);
}
.profile-avatar img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; }
.avatar-placeholder {
  width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #8B5CF6);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; font-weight: 800; color: #fff;
}
.profile-info h1 { font-size: 24px; font-weight: 800; }
.profile-info p { color: var(--gray); }
.profile-bio { margin-top: 8px; color: #374151 !important; }
.profile-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* --- Pagination ------------------------------------------ */
.pagination { margin-top: 36px; }
.pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.pagination li a, .pagination li {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 8px; font-weight: 600; font-size: 14px;
  border: 1px solid var(--border); color: #374151; background: #fff; transition: all .15s;
}
.pagination li a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.pagination li.active a { background: var(--primary); border-color: var(--primary); color: #fff; }

/* --- Empty state ----------------------------------------- */
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray); }
.empty-state p { font-size: 16px; margin-bottom: 16px; }

/* --- CTA ------------------------------------------------- */
.cta-section { background: linear-gradient(135deg, var(--primary), #8B5CF6); color: #fff; }
.cta-section h2 { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.cta-section p { opacity: .9; margin-bottom: 24px; font-size: 16px; }
.text-center { text-align: center; }

/* --- Status Badges --------------------------------------- */
.status-badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 700; text-transform: capitalize;
}
.status-approved  { background: #D1FAE5; color: #065F46; }
.status-pending   { background: #FEF3C7; color: #92400E; }
.status-refused   { background: #FEE2E2; color: #991B1B; }
.status-suspended { background: #F3F4F6; color: #374151; }
.status-active    { background: #D1FAE5; color: #065F46; }
.status-blocked   { background: #FEE2E2; color: #991B1B; }
.status-inactive  { background: #F3F4F6; color: #374151; }

/* --- Content pages --------------------------------------- */
.content-page { max-width: 800px; margin: 0 auto; padding: 48px 0; }
.content-page h1 { font-size: 32px; font-weight: 800; margin-bottom: 28px; }
.content-page h2 { font-size: 20px; font-weight: 700; margin: 28px 0 10px; }
.content-page p { color: #374151; margin-bottom: 14px; }

/* --- Footer ---------------------------------------------- */
.site-footer { background: #1a1a2e; color: #d1d5db; padding: 60px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 36px; margin-bottom: 48px; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: #9CA3AF; font-size: 14px; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-col p { font-size: 14px; line-height: 1.7; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.social-links a { color: #9CA3AF; font-size: 13px; }
.footer-bottom { border-top: 1px solid #2d2d4e; padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 13px; color: #6B7280; margin-bottom: 4px; }
.footer-disclaimer { font-size: 12px !important; }

/* --- Ad -------------------------------------------------- */
.ad-image { width: 100%; border-radius: 8px; }

/* =========================================================
   ADMIN STYLES
   ========================================================= */
.admin-body { background: #F1F5F9; }
.admin-login-wrap { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px; }
.admin-login-card {
  width: 100%; max-width: 400px; background: #fff;
  border-radius: 16px; padding: 40px; box-shadow: var(--shadow-lg); text-align: center;
}
.admin-login-card h1 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.admin-login-card p { color: var(--gray); margin-bottom: 28px; }
.admin-login-card .form-group { text-align: left; }

.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px; background: #1a1a2e; flex-shrink: 0;
  display: flex; flex-direction: column;
}
.admin-logo {
  padding: 20px 20px 16px; border-bottom: 1px solid #2d2d4e;
}
.admin-logo a { color: #fff; font-weight: 800; font-size: 16px; display: block; }
.admin-label { font-size: 11px; color: #9CA3AF; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; }
.admin-nav { padding: 16px 12px; flex: 1; overflow-y: auto; }
.admin-nav a {
  display: block; padding: 10px 12px; border-radius: 8px; color: #9CA3AF;
  font-size: 14px; font-weight: 500; transition: all .15s; margin-bottom: 2px;
}
.admin-nav a:hover { background: #2d2d4e; color: #fff; text-decoration: none; }
.admin-nav a.active { background: var(--primary); color: #fff; }
.admin-nav hr { border: none; border-top: 1px solid #2d2d4e; margin: 12px 0; }
.admin-nav .text-danger { color: #F87171; }
.admin-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.admin-header {
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 0 24px; height: 56px; display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: 14px;
}
.admin-content { padding: 28px 24px; flex: 1; overflow-y: auto; }
.admin-content h1 { font-size: 24px; font-weight: 800; margin-bottom: 24px; }
.admin-content h2 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.sidebar-toggle { background: none; border: none; font-size: 20px; cursor: pointer; }

/* Stats grid */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px; margin-bottom: 36px;
}
.stat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  box-shadow: var(--shadow);
}
.stat-card.warning { border-left: 4px solid var(--warning); }
.stat-card.success { border-left: 4px solid var(--success); }
.stat-card.danger  { border-left: 4px solid var(--danger); }
.stat-num { font-size: 32px; font-weight: 800; color: #1a1a2e; }
.stat-label { font-size: 12px; color: var(--gray); font-weight: 600; text-align: center; }

/* Admin table */
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.admin-table thead tr { background: #F9FAFB; }
.admin-table th { padding: 12px 14px; font-size: 13px; font-weight: 700; color: #374151; text-align: left; border-bottom: 1px solid var(--border); }
.admin-table td { padding: 11px 14px; font-size: 14px; border-bottom: 1px solid #F3F4F6; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #FAFAFA; }
.actions-cell { display: flex; gap: 4px; flex-wrap: wrap; }

/* Admin sections */
.admin-section { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 28px; box-shadow: var(--shadow); }
.admin-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.admin-two-col { display: grid; grid-template-columns: 360px 1fr; gap: 32px; }
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-tabs a {
  padding: 6px 16px; border-radius: 20px; font-size: 14px; font-weight: 500;
  color: var(--gray); border: 1px solid var(--border); background: #fff;
}
.filter-tabs a:hover, .filter-tabs a.active { background: var(--primary); color: #fff; border-color: var(--primary); text-decoration: none; }
.search-inline { display: flex; gap: 8px; }
.search-inline input { padding: 7px 12px; border: 1px solid var(--border); border-radius: 8px; outline: none; min-width: 200px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .layout-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .group-main { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: 1; }
  .admin-two-col { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none; position: fixed; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    padding: 12px; z-index: 99;
  }
  .main-nav.open { display: flex; }
  .main-nav a { border-radius: 8px; }
  .nav-toggle { display: block; }
  .hero { padding: 50px 0 40px; }
  .hero-stats { gap: 20px; }
  .groups-grid { grid-template-columns: 1fr 1fr; }
  .admin-sidebar { position: fixed; left: -240px; top: 0; height: 100vh; z-index: 500; transition: left .25s; }
  .admin-sidebar.open { left: 0; }
}
@media (max-width: 480px) {
  .groups-grid { grid-template-columns: 1fr; }
  .search-hero { flex-direction: column; border-radius: 12px; }
  .search-hero .btn { border-radius: 0 0 12px 12px; }
  .profile-card { flex-direction: column; }
}
