/* ========================================
   GruposPro Theme — CSS Mobile-First
   Versão 4.0
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ==========================================
   RESET & VARIÁVEIS
   ========================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0a0a0f;
  --bg2:      #111118;
  --bgcard:   #16161f;
  --bghover:  #1d1d28;
  --bgelev:   #1a1a24;
  --border:   rgba(255,255,255,0.07);
  --borderho: rgba(255,255,255,0.14);
  --accent:   #ff3b5c;
  --accentho: #ff1a3f;
  --aglow:    rgba(255,59,92,0.25);
  --purple:   #7c3aed;
  --gold:     #f59e0b;
  --tp:       #f0f0f5;
  --ts:       #9090a8;
  --tm:       #5a5a72;
  --fd:       'Syne', sans-serif;
  --fb:       'DM Sans', sans-serif;
  --r1:       6px;
  --r2:       10px;
  --r3:       14px;
  --r4:       18px;
  --tr:       all 0.2s ease;
  --hh:       52px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--tp);
  font-family: var(--fb);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

a            { color: inherit; text-decoration: none; }
img          { max-width: 100%; display: block; }
ul           { list-style: none; }
button       { cursor: pointer; border: none; background: none; font-family: inherit; -webkit-tap-highlight-color: transparent; }
input,select,textarea { font-family: inherit; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--borderho); border-radius: 2px; }

/* ==========================================
   LAYOUT
   ========================================== */
.site-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
main          { flex: 1; }

.container {
  width: 100%;
  padding: 0 12px;
  margin: 0 auto;
}

/* ==========================================
   HEADER — mobile base
   ========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--hh);
  background: rgba(10,10,15,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 10px;
}

.site-logo {
  font-family: var(--fd);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-logo span { color: var(--accent); }

/* nav oculta no mobile */
.main-nav  { display: none; }
/* botão enviar oculto no mobile */
.btn-submit { display: none; }

/* hamburguer */
.btn-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r1);
  border: 1px solid var(--border);
  color: var(--ts);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ==========================================
   MOBILE MENU
   ========================================== */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--hh);
  left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 199;
  padding: 16px 12px;
  overflow-y: auto;
  flex-direction: column;
  gap: 6px;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--ts);
  padding: 14px 16px;
  border-radius: var(--r2);
  border: 1px solid var(--border);
  transition: var(--tr);
  min-height: 48px;
}
.mobile-menu a:active { background: var(--bgcard); color: var(--tp); }

/* ==========================================
   SECTION HEADERS
   ========================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}
.section-title {
  font-family: var(--fd);
  font-size: 15px;
  font-weight: 700;
  color: var(--tp);
  display: flex;
  align-items: center;
  gap: 7px;
}
.section-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ==========================================
   GROUPS GRID — 2 colunas mobile
   ========================================== */
.groups-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.groups-grid.featured {
  grid-template-columns: repeat(2, 1fr);
}

/* ==========================================
   GROUP CARD
   ========================================== */
.group-card {
  background: var(--bgcard);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  transition: var(--tr);
}

.group-card-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bgelev);
}
.group-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.group-card-thumb .no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

/* badges */
.badge {
  position: absolute;
  top: 6px; left: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 3px 6px;
  border-radius: 4px;
  font-family: var(--fd);
  z-index: 2;
  line-height: 1;
}
.badge-sponsored { background: rgba(245,158,11,0.92); color: #000; }
.badge-premium   { background: rgba(124,58,237,0.92); color: #fff; }
.badge-new       { background: rgba(16,185,129,0.92); color: #fff; }
.badge-rank      {
  position: absolute;
  top: 6px; right: 6px;
  background: rgba(0,0,0,0.75);
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--fd);
}

.group-card-body {
  padding: 8px 8px 6px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.group-card-category {
  font-size: 10px;
  font-weight: 500;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.group-card-title {
  font-family: var(--fd);
  font-size: 11px;
  font-weight: 700;
  color: var(--tp);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.group-card-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 3px;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: var(--tm);
}
.vote-count { font-weight: 600; color: var(--ts); }
.vote-count .up   { color: #10b981; }
.vote-count .down { color: var(--accent); }

.group-card-footer { padding: 0 8px 8px; }

.btn-enter {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 9px 6px;
  border-radius: var(--r1);
  font-family: var(--fd);
  letter-spacing: 0.3px;
  min-height: 36px;
  -webkit-tap-highlight-color: transparent;
}
.btn-enter svg { display: none; } /* ícone oculto no mobile */

/* ==========================================
   FILTER BAR
   ========================================== */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 12px;
}
.filter-bar::-webkit-scrollbar { display: none; }

.filter-btn {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 500;
  color: var(--ts);
  background: var(--bgcard);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 100px;
  white-space: nowrap;
  font-family: var(--fb);
  min-height: 32px;
}
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ==========================================
   PAGE HERO
   ========================================== */
.page-hero {
  background: linear-gradient(180deg, var(--bg2) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
  padding: 16px 0 14px;
  margin-bottom: 16px;
}
.page-hero-title {
  font-family: var(--fd);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
  line-height: 1.2;
}
.page-hero-desc { font-size: 13px; color: var(--ts); }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--tm);
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.breadcrumb a     { color: var(--ts); }
.breadcrumb-sep   { font-size: 9px; }

/* ==========================================
   SINGLE GRUPO — mobile
   ========================================== */
.single-group { padding: 0 0 48px; }

.single-group-header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.single-group-thumb {
  width: 68px;
  height: 68px;
  border-radius: var(--r2);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.single-group-thumb img { width: 100%; height: 100%; object-fit: cover; }

.single-group-info { flex: 1; min-width: 0; }
.single-group-category { font-size: 11px; color: var(--accent); margin-bottom: 5px; }
.single-group-title {
  font-family: var(--fd);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
  word-break: break-word;
}

.group-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.group-stats .meta-item { font-size: 11px; color: var(--ts); }

/* botões de ação — coluna no mobile */
.single-group-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-enter-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 20px;
  border-radius: var(--r2);
  font-family: var(--fd);
  width: 100%;
  min-height: 52px;
  -webkit-tap-highlight-color: transparent;
}

/* votos + copiar em linha */
.vote-copy-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.btn-vote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--bgcard);
  border: 1px solid var(--border);
  color: var(--ts);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 8px;
  border-radius: var(--r2);
  min-height: 46px;
  -webkit-tap-highlight-color: transparent;
}
.btn-vote.voted-up   { border-color: #10b981; color: #10b981; background: rgba(16,185,129,0.1); }
.btn-vote.voted-down { border-color: var(--accent); color: var(--accent); background: var(--aglow); }

/* ==========================================
   CATEGORIES GRID — mobile
   ========================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.category-card {
  background: var(--bgcard);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 14px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  -webkit-tap-highlight-color: transparent;
}
.category-icon  { font-size: 24px; line-height: 1; }
.category-name  { font-family: var(--fd); font-size: 11px; font-weight: 700; color: var(--tp); line-height: 1.2; }
.category-count { font-size: 10px; color: var(--tm); background: var(--bgelev); padding: 2px 8px; border-radius: 100px; }

/* ==========================================
   PAGINATION
   ========================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 24px 0 12px;
  flex-wrap: wrap;
}
.page-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bgcard);
  border: 1px solid var(--border);
  border-radius: var(--r1);
  font-size: 12px;
  font-weight: 600;
  color: var(--ts);
  min-height: 36px;
}
.page-btn.current { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ==========================================
   FOOTER — mobile
   ========================================== */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 32px 0 20px;
  margin-top: 40px;
}
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-logo  { font-family: var(--fd); font-size: 18px; font-weight: 800; }
.footer-logo span { color: var(--accent); }
.footer-desc  { font-size: 13px; color: var(--ts); line-height: 1.6; }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,59,92,0.1);
  border: 1px solid rgba(255,59,92,0.2);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  font-family: var(--fd);
  width: fit-content;
}
.footer-col-title {
  font-family: var(--fd);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tm);
  margin-bottom: 10px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: var(--ts); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-copy { font-size: 11px; color: var(--tm); }
.footer-copy a { color: var(--ts); }

/* ==========================================
   PAGE SECTIONS
   ========================================== */
.page-section { padding: 20px 0; }
.page-section + .page-section { padding-top: 0; }
.divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }

/* ==========================================
   EMPTY STATE / 404
   ========================================== */
.empty-state { text-align: center; padding: 60px 16px; }
.empty-state-icon  { font-size: 48px; margin-bottom: 14px; }
.empty-state-title { font-family: var(--fd); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.empty-state-text  { font-size: 14px; color: var(--ts); }

/* ==========================================
   TOAST
   ========================================== */
.toast {
  position: fixed;
  bottom: 16px;
  left: 12px; right: 12px;
  background: var(--bgelev);
  border: 1px solid var(--borderho);
  border-radius: var(--r2);
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--tp);
  z-index: 9999;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.3s ease;
  text-align: center;
}
.toast.show  { transform: translateY(0); opacity: 1; }
.toast.success { border-color: rgba(16,185,129,0.4); }
.toast.error   { border-color: rgba(255,59,92,0.4); }

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

/* ==========================================
   WIDGETS / SIDEBAR
   ========================================== */
.sidebar-widget {
  background: var(--bgcard);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 16px;
  margin-bottom: 16px;
}
.widget-title {
  font-family: var(--fd);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* ==========================================
   FORMS
   ========================================== */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ts);
  margin-bottom: 7px;
}
.form-control {
  width: 100%;
  background: var(--bgcard);
  border: 1px solid var(--border);
  border-radius: var(--r1);
  padding: 11px 13px;
  font-size: 14px;
  color: var(--tp);
  outline: none;
}
.form-control::placeholder { color: var(--tm); }
.form-control:focus { border-color: var(--accent); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--r2);
  font-family: var(--fd);
  width: 100%;
  min-height: 48px;
}

/* ==========================================
   BOTÃO PULSE (links VIP)
   ========================================== */
@keyframes gpro-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,59,92,0.5); }
  50%      { box-shadow: 0 0 0 10px rgba(255,59,92,0); }
}
.btn-pulse {
  animation: gpro-pulse 2s infinite;
  background: linear-gradient(135deg, #7c3aed, #ff3b5c) !important;
}

/* ==========================================
   SEARCH
   ========================================== */
.search-wrap { position: relative; }
.search-input {
  width: 100%;
  background: var(--bgcard);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 10px 14px 10px 40px;
  font-size: 14px;
  color: var(--tp);
  outline: none;
}
.search-input::placeholder { color: var(--tm); }
.search-icon {
  position: absolute;
  left: 13px; top: 50%;
  transform: translateY(-50%);
  color: var(--tm);
  font-size: 15px;
  pointer-events: none;
}

/* ==========================================
   SECTION SPONSORED
   ========================================== */
.section-sponsored .section-title::before { content: ''; }

/* ==========================================

   ██████╗ ███████╗███████╗██╗  ██╗████████╗ ██████╗ ██████╗
   ██╔══██╗██╔════╝██╔════╝██║ ██╔╝╚══██╔══╝██╔═══██╗██╔══██╗
   ██║  ██║█████╗  ███████╗█████╔╝    ██║   ██║   ██║██████╔╝
   ██║  ██║██╔══╝  ╚════██║██╔═██╗    ██║   ██║   ██║██╔═══╝
   ██████╔╝███████╗███████║██║  ██╗   ██║   ╚██████╔╝██║
   ╚═════╝ ╚══════╝╚══════╝╚═╝  ╚═╝   ╚═╝    ╚═════╝ ╚═╝

   A partir daqui: estilos que SÓ se aplicam em telas maiores.
   ========================================== */

/* --- TABLET 540px+ ---- */
@media (min-width: 540px) {
  .groups-grid         { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .groups-grid.featured{ grid-template-columns: repeat(3, 1fr); }
  .categories-grid     { grid-template-columns: repeat(4, 1fr); }
  .group-card-title    { font-size: 12px; }
  .btn-enter           { font-size: 12px; }
}

/* --- TABLET 768px+ ---- */
@media (min-width: 768px) {
  :root { --hh: 60px; }

  .container      { padding: 0 20px; max-width: 1280px; }
  body            { font-size: 15px; }

  /* header */
  .main-nav       { display: flex; align-items: center; gap: 4px; }
  .main-nav a     {
    font-size: 13px; font-weight: 500; color: var(--ts);
    padding: 7px 13px; border-radius: var(--r1);
  }
  .main-nav a:hover, .main-nav a.active { color: var(--tp); background: rgba(255,255,255,0.06); }

  .btn-submit     {
    display: inline-block;
    background: var(--accent); color: #fff;
    font-size: 13px; font-weight: 600;
    padding: 8px 16px; border-radius: var(--r1);
    font-family: var(--fd);
  }
  .btn-menu-toggle { display: none; }
  .header-inner   { gap: 20px; }
  .site-logo      { font-size: 21px; }

  /* grids */
  .groups-grid          { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .groups-grid.featured { grid-template-columns: repeat(4, 1fr); }
  .categories-grid      { grid-template-columns: repeat(4, 1fr); gap: 12px; }

  /* cards */
  .group-card-thumb     { aspect-ratio: 16 / 9; }
  .group-card-body      { padding: 12px 12px 8px; gap: 6px; }
  .group-card-footer    { padding: 0 12px 12px; }
  .group-card-title     { font-size: 13px; }
  .group-card-category  { font-size: 11px; }
  .meta-item            { font-size: 11px; }
  .btn-enter            { font-size: 12px; padding: 9px 8px; }
  .btn-enter svg        { display: inline; }
  .badge                { font-size: 10px; top: 8px; left: 8px; }
  .badge-rank           { font-size: 11px; top: 8px; right: 8px; }

  /* section */
  .section-title        { font-size: 17px; }
  .section-header       { margin-bottom: 16px; }

  /* page hero */
  .page-hero            { padding: 28px 0 22px; margin-bottom: 28px; }
  .page-hero-title      { font-size: 28px; }
  .page-hero-desc       { font-size: 14px; }

  /* single */
  .single-group-header  { gap: 20px; margin-bottom: 28px; }
  .single-group-thumb   { width: 100px; height: 100px; }
  .single-group-title   { font-size: 22px; }
  .btn-enter-large      { font-size: 15px; padding: 14px 28px; width: auto; }
  .vote-copy-row        { gap: 10px; }
  .btn-vote             { padding: 12px 18px; font-size: 13px; }

  /* filter */
  .filter-btn           { font-size: 12px; padding: 7px 14px; }

  /* footer */
  .site-footer          { padding: 48px 0 24px; margin-top: 64px; }
  .footer-grid          {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
  }
  .footer-bottom        { flex-direction: row; justify-content: space-between; }
  .footer-copy          { font-size: 13px; }

  /* page sections */
  .page-section         { padding: 36px 0; }
  .divider              { margin: 36px 0; }

  /* buttons */
  .btn-primary          { width: auto; }

  /* toast */
  .toast { left: auto; right: 20px; bottom: 20px; width: auto; min-width: 240px; text-align: left; }

  /* categories */
  .category-card        { padding: 18px 12px; gap: 10px; }
  .category-icon        { font-size: 28px; }
  .category-name        { font-size: 12px; }
}

/* --- DESKTOP 1024px+ ---- */
@media (min-width: 1024px) {
  .groups-grid          { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .groups-grid.featured { grid-template-columns: repeat(4, 1fr); }
  .categories-grid      { grid-template-columns: repeat(5, 1fr); }
  .group-card-title     { font-size: 14px; }
  .badge                { font-size: 10px; padding: 4px 8px; }
  .single-group-thumb   { width: 120px; height: 120px; }
  .single-group-title   { font-size: 28px; }
  .page-hero-title      { font-size: 32px; }
  .section-title        { font-size: 18px; }
  .category-icon        { font-size: 30px; }
  .category-name        { font-size: 13px; }
  .group-card:hover     { border-color: var(--borderho); background: var(--bghover); transform: translateY(-3px); box-shadow: 0 8px 40px rgba(0,0,0,0.5); }
  .group-card:hover .group-card-thumb img { transform: scale(1.05); }
  .group-card-thumb img { transition: transform 0.4s ease; }
  .btn-enter:hover       { opacity: .85; }
  .btn-enter-large:hover { opacity: .85; box-shadow: 0 6px 24px var(--aglow); }
  .btn-submit:hover      { opacity: .85; }
}

/* --- WIDE 1280px+ ---- */
@media (min-width: 1280px) {
  .groups-grid          { grid-template-columns: repeat(5, 1fr); }
  .groups-grid.featured { grid-template-columns: repeat(4, 1fr); }
}
