:root {
  --green:      #3FAB34;
  --green-d:    #2E8A25;
  --green-lite: #A2CB6F;
  --green-bg:   #EEF7EB;
  --green-mid:  #C5E3BF;
  --bg:         #F4F8F3;
  --white:      #FFFFFF;
  --dark:       #182416;
  --text:       #344530;
  --muted:      #728070;
  --border:     #D8EAD3;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--green-mid); border-radius: 2px; }

/* ── NAVBAR ── */
.navbar-wrap {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--green);
  padding: 0.8rem 0;
  box-shadow: 0 2px 16px rgba(63,171,52,0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 42px; width: auto; }
.brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem; letter-spacing: 0.1em;
  color: var(--dark); line-height: 1;
}
.nav-links { display: flex; align-items: center; gap: 0.2rem; }
.nav-links a {
  font-size: 0.875rem; font-weight: 600;
  color: var(--muted); text-decoration: none;
  padding: 0.35rem 0.85rem; border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--dark); background: var(--green-bg); }
.nav-links a.active { color: var(--green); }
.btn-cta {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem; letter-spacing: 0.1em;
  background: var(--green); color: white;
  border: none; border-radius: 4px;
  padding: 0.42rem 1.4rem;
  text-decoration: none;
  transition: background 0.2s; margin-left: 0.5rem; white-space: nowrap;
}
.btn-cta:hover { background: var(--green-d); color: white; }
.nav-auth { display: flex; align-items: center; gap: 0.5rem; }
.btn-auth-outline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem; letter-spacing: 0.08em;
  background: transparent; color: var(--muted);
  border: 1px solid var(--border); border-radius: 4px;
  padding: 0.38rem 1.1rem;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.btn-auth-outline:hover { color: var(--dark); border-color: var(--green-mid); }
.nav-user { position: relative; display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--text); cursor: pointer; }
.nav-user img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid var(--green-mid); }
.nav-user-avatar-ph { width: 32px; height: 32px; border-radius: 50%; background: var(--green-bg); border: 2px solid var(--green-mid); display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 0.85rem; }
.nav-mob-btn {
  display: none; background: transparent;
  border: 1px solid var(--border); color: var(--text);
  padding: 6px 10px; border-radius: 4px; cursor: pointer; font-size: 1.2rem; line-height: 1;
}
@media (max-width: 991px) { .nav-links, .nav-auth, .btn-cta { display: none; } .nav-mob-btn { display: block; } }
.mob-menu {
  display: none; flex-direction: column; gap: 0.15rem;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 0.75rem 0 1rem;
}
.mob-menu.open { display: flex; }
.mob-menu a { font-size: 0.9rem; font-weight: 600; color: var(--muted); text-decoration: none; padding: 0.5rem 1.5rem; transition: color 0.2s; }
.mob-menu a:hover { color: var(--dark); }
.mob-menu .m-cta {
  margin: 0.5rem 1.5rem 0;
  font-family: 'Bebas Neue', sans-serif; font-size: 0.95rem; letter-spacing: 0.1em;
  background: var(--green); color: white; padding: 0.5rem 1rem;
  border-radius: 4px; text-align: center; text-decoration: none; display: block;
}
.mob-menu .m-sep { height: 1px; background: var(--border); margin: 0.5rem 1.5rem; }

/* ── HERO ── */
.hero {
  background: var(--green);
  padding: 5rem 0 4.5rem;
  position: relative; overflow: hidden;
  border-bottom: 4px solid var(--green-d);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.hero-bgword {
  position: absolute;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20rem; line-height: 1;
  color: rgba(255,255,255,0.06);
  right: -1rem; bottom: -2rem;
  letter-spacing: 0.06em;
  user-select: none; pointer-events: none;
}
.hero-city {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-city::before { content: ''; width: 24px; height: 1.5px; background: rgba(255,255,255,0.4); }
.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4.5rem, 11vw, 8.5rem);
  line-height: 0.88; letter-spacing: 0.02em;
  color: white; margin-bottom: 0.6rem;
}
.hero-sub-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.8rem; line-height: 1;
}
.hero-desc { font-size: 0.96rem; color: rgba(255,255,255,0.72); max-width: 420px; line-height: 1.8; margin-bottom: 2.2rem; }
.btn-white {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem; letter-spacing: 0.1em;
  background: white; color: var(--green);
  border: none; border-radius: 4px;
  padding: 0.65rem 2rem;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: opacity 0.2s;
}
.btn-white:hover { opacity: 0.88; color: var(--green); }
.btn-outline-w {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem; letter-spacing: 0.1em;
  background: transparent; color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 4px; padding: 0.65rem 2rem;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline-w:hover { border-color: white; color: white; }
.hero-sep { height: 1px; background: rgba(255,255,255,0.15); margin: 2.5rem 0; }
.hero-stats { display: flex; gap: 3rem; flex-wrap: wrap; }
.stat-n { font-family: 'Bebas Neue', sans-serif; font-size: 2.4rem; color: white; line-height: 1; }
.stat-l { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-top: 2px; }
.hero-logo-col { display: flex; align-items: center; justify-content: center; }
.hero-logo-col img { width: 300px; height: 300px; object-fit: contain; opacity: 0.92; }

/* ── SECTIONS ── */
.sec-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); margin-bottom: 0.4rem; }
.sec-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--dark); letter-spacing: 0.02em; line-height: 1; }

/* ── EVENTS ── */
.events-section { padding: 5rem 0; background: var(--bg); }
.card-ev { background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s; }
.card-ev:hover { border-color: var(--green-mid); box-shadow: 0 6px 28px rgba(63,171,52,0.12); transform: translateY(-2px); }
.card-thumb { aspect-ratio: 16/9; background: var(--green-bg); position: relative; overflow: hidden; }
.thumb-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--green-lite); font-size: 2.5rem; background: linear-gradient(135deg, var(--green-bg), #d6edcf); }
.badge-ev { position: absolute; top: 10px; left: 10px; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 9px; border-radius: 3px; }
.badge-ev.soon { background: var(--green); color: white; }
.badge-ev.reg  { background: rgba(0,0,0,0.06); color: var(--muted); left: auto; right: 10px; }
.card-body-ev { padding: 1.1rem; flex: 1; display: flex; flex-direction: column; }
.card-date { font-size: 0.75rem; font-weight: 700; color: var(--green); letter-spacing: 0.04em; margin-bottom: 0.4rem; }
.card-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.15rem; letter-spacing: 0.03em; color: var(--dark); line-height: 1.2; margin-bottom: 0.5rem; }
.card-desc { font-size: 0.83rem; color: var(--muted); line-height: 1.65; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { padding: 0.8rem 1.1rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.card-loc { font-size: 0.75rem; color: var(--muted); display: flex; align-items: center; gap: 4px; min-width: 0; }
.card-loc i { color: var(--green); flex-shrink: 0; }
.card-loc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-sm { font-family: 'Bebas Neue', sans-serif; font-size: 0.85rem; letter-spacing: 0.08em; background: transparent; color: var(--green); border: 1px solid var(--green-mid); border-radius: 3px; padding: 3px 12px; text-decoration: none; flex-shrink: 0; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.btn-sm:hover { background: var(--green); color: white; border-color: var(--green); }
.btn-more { font-family: 'Bebas Neue', sans-serif; font-size: 0.9rem; letter-spacing: 0.1em; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; }
.btn-more:hover { color: var(--dark); }

/* ── CALENDAR ── */
.cal-section { padding: 5rem 0; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cal-row { display: flex; align-items: stretch; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; margin-bottom: 0.6rem; transition: border-color 0.2s, box-shadow 0.2s; }
.cal-row:hover { border-color: var(--green-mid); box-shadow: 0 2px 14px rgba(63,171,52,0.08); }
.cal-date-col { background: var(--green); min-width: 66px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0.9rem 0.5rem; }
.cal-date-col.dim { background: var(--green-lite); }
.cal-day { font-family: 'Bebas Neue', sans-serif; font-size: 1.9rem; color: white; line-height: 1; }
.cal-mon { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-top: 2px; }
.cal-body-col { padding: 0.8rem 1.1rem; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.cal-name { font-family: 'Bebas Neue', sans-serif; font-size: 1rem; letter-spacing: 0.03em; color: var(--dark); margin-bottom: 3px; }
.cal-draft-badge { display: inline-flex; align-items: center; gap: 3px; background: #f9a825; color: #fff; font-size: 0.65rem; font-weight: 700; padding: 0.1rem 0.45rem; border-radius: 99px; margin-right: 0.45rem; vertical-align: middle; font-family: inherit; text-transform: uppercase; letter-spacing: 0.04em; }
.cal-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.73rem; color: var(--muted); }
.cal-meta span { display: flex; align-items: center; gap: 4px; }
.cal-meta i { color: var(--green); }
.cal-action { display: flex; align-items: center; padding: 0 1rem; flex-shrink: 0; }
.sidebar-box { background: var(--green); border-radius: 8px; padding: 1.75rem; height: 100%; position: relative; overflow: hidden; }
.sidebar-box::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 30px 30px; pointer-events: none; }
.sidebar-box h5 { font-family: 'Bebas Neue', sans-serif; font-size: 1.15rem; letter-spacing: 0.08em; color: white; margin-bottom: 0.6rem; position: relative; }
.sidebar-box p { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.75; margin-bottom: 1.25rem; position: relative; }
.btn-sb { font-family: 'Bebas Neue', sans-serif; font-size: 0.9rem; letter-spacing: 0.1em; display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; text-align: center; padding: 0.55rem; border-radius: 4px; border: none; text-decoration: none; margin-bottom: 0.5rem; transition: opacity 0.2s; }
.btn-sb:hover { opacity: 0.85; }
.btn-sb.white { background: white; color: var(--green); }
.btn-sb.white:hover { color: var(--green); }
.btn-sb.vk { background: #0077FF; color: white; }
.btn-sb.vk:hover { color: white; }
.btn-sb.tg { background: #229ED9; color: white; }
.btn-sb.tg:hover { color: white; }

/* ── ABOUT ── */
.about-section { padding: 5rem 0; background: var(--green-bg); }
.about-text { font-size: 0.93rem; color: var(--muted); line-height: 1.85; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 2rem; }
.stat-box { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 1.2rem; text-align: center; }
.stat-box-n { font-family: 'Bebas Neue', sans-serif; font-size: 2.4rem; color: var(--green); line-height: 1; }
.stat-box-l { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.feat { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.feat:last-child { border-bottom: none; }
.feat-icon { width: 40px; height: 40px; flex-shrink: 0; background: white; border: 1px solid var(--border); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--green); }
.feat h5 { font-family: 'Bebas Neue', sans-serif; font-size: 0.95rem; letter-spacing: 0.04em; color: var(--dark); margin-bottom: 2px; }
.feat p { font-size: 0.82rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* ── SOCIAL ── */
.social-section { padding: 3.5rem 0; background: var(--dark); border-top: 4px solid var(--green); }
.social-section h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(1.6rem, 4vw, 2.4rem); color: white; letter-spacing: 0.02em; margin-bottom: 0.4rem; }
.social-section p { font-size: 0.88rem; color: rgba(255,255,255,0.4); }
.btn-social { font-family: 'Bebas Neue', sans-serif; font-size: 0.95rem; letter-spacing: 0.08em; padding: 0.6rem 1.6rem; border-radius: 4px; border: none; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: opacity 0.2s; }
.btn-social:hover { opacity: 0.85; }
.btn-social.vk { background: #0077FF; color: white; }
.btn-social.vk:hover { color: white; }
.btn-social.tg { background: #229ED9; color: white; }
.btn-social.tg:hover { color: white; }
.btn-social.strava { background: #FC4C02; color: white; }
.btn-social.strava:hover { color: white; }
.btn-sb.strava { background: #FC4C02; color: white; }
.btn-sb.strava:hover { background: #e04400; color: white; }
.contact-card { display:flex;align-items:center;gap:12px;padding:1.25rem;background:var(--bg);border:1px solid var(--border);border-radius:8px;text-decoration:none;transition:border-color 0.2s; }
.contact-card:hover { border-color: var(--green-mid); }

/* ── FOOTER ── */
footer { background: var(--white); border-top: 1px solid var(--border); padding: 3rem 0 1.5rem; }
.footer-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 0.75rem; }
.footer-brand img { height: 34px; width: auto; }
.footer-brand-n { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: 0.1em; color: var(--dark); }
footer p { font-size: 0.83rem; color: var(--muted); line-height: 1.7; }
footer a { color: var(--muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
footer a:hover { color: var(--green); }
footer h6 { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(0,0,0,0.2); margin-bottom: 1rem; }
footer li { margin-bottom: 0.45rem; }
.f-icon { width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.9rem; text-decoration: none; transition: all 0.2s; }
.f-icon:hover { color: var(--green); border-color: var(--green-mid); background: var(--green-bg); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--muted); }

/* ── AUTH PAGES ── */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); padding: 2rem 1rem; }
.auth-card { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 2.5rem; width: 100%; max-width: 420px; }
.auth-logo { text-align: center; margin-bottom: 2rem; }
.auth-logo .brand-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: 0.1em; color: var(--dark); }
.auth-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: 0.04em; color: var(--dark); margin-bottom: 0.25rem; }
.auth-sub { font-size: 0.83rem; color: var(--muted); margin-bottom: 1.75rem; }
.form-label { font-size: 0.8rem; font-weight: 700; color: var(--text); letter-spacing: 0.03em; margin-bottom: 0.3rem; }
.form-control { border-color: var(--border); font-size: 0.9rem; color: var(--text); border-radius: 6px; padding: 0.55rem 0.85rem; }
.form-control:focus { border-color: var(--green-mid); box-shadow: 0 0 0 3px rgba(63,171,52,0.12); }
.btn-green { font-family: 'Bebas Neue', sans-serif; font-size: 1rem; letter-spacing: 0.1em; background: var(--green); color: white; border: none; border-radius: 6px; padding: 0.6rem 1.5rem; width: 100%; transition: background 0.2s; cursor: pointer; }
.btn-green:hover { background: var(--green-d); }
.auth-sep { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; }
.auth-sep::before, .auth-sep::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-sep span { font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
.btn-oauth { font-size: 0.88rem; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 0.55rem; border-radius: 6px; border: 1px solid var(--border); text-decoration: none; transition: background 0.2s, border-color 0.2s; margin-bottom: 0.5rem; }
.btn-oauth.vk { color: #0077FF; background: #f0f7ff; border-color: #cce0ff; }
.btn-oauth.vk:hover { background: #ddeeff; }
.btn-oauth.tg { color: #229ED9; background: #f0f9ff; border-color: #c4e9f7; }
.btn-oauth.tg:hover { background: #ddf4ff; }

/* ── ALERTS ── */
.alert-success { background: var(--green-bg); border-color: var(--green-mid); color: var(--green-d); }
.alert-danger { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }

/* ── AUTH MODAL ── */
.auth-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 1050; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.auth-modal { background: white; border-radius: 14px; width: 100%; max-width: 480px; box-shadow: 0 24px 64px rgba(0,0,0,0.2); overflow: hidden; }
.auth-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem 0; border-bottom: 1px solid var(--border); }
.auth-modal-tabs { display: flex; gap: 0; }
.auth-modal-tabs button { font-family: 'Bebas Neue', sans-serif; font-size: 1.05rem; letter-spacing: 0.06em; background: none; border: none; padding: 0 1rem 0.9rem; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color 0.2s, border-color 0.2s; }
.auth-modal-tabs button.active { color: var(--dark); border-bottom-color: var(--green); }
.auth-modal-close { background: none; border: none; color: var(--muted); font-size: 1rem; cursor: pointer; padding: 0.25rem; line-height: 1; margin-left: auto; }
.auth-modal-close:hover { color: var(--dark); }
.auth-modal-body { padding: 1.5rem; }
.auth-modal-body .form-control { border-color: var(--border); border-radius: 6px; font-size: 0.9rem; }
.auth-modal-body .form-control:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(63,171,52,0.15); }
.auth-modal-body .form-label { font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 0.3rem; }
.btn-auth { font-family: 'Bebas Neue', sans-serif; font-size: 1rem; letter-spacing: 0.1em; background: var(--green); color: white; border: none; border-radius: 6px; padding: 0.65rem 1.5rem; cursor: pointer; transition: background 0.2s; }
.btn-auth:hover { background: var(--green-d); }
.btn-auth-social { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0.55rem; border-radius: 6px; font-size: 0.88rem; font-weight: 600; text-decoration: none; transition: opacity 0.2s; margin-bottom: 0.5rem; }
.btn-auth-social:hover { opacity: 0.88; text-decoration: none; }
.btn-auth-social.vk { background: #0077FF; color: white; }
.auth-sep { display: flex; align-items: center; gap: 0.75rem; margin: 1rem 0; }
.auth-sep::before, .auth-sep::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-sep span { font-size: 0.75rem; color: var(--muted); }
.auth-link { color: var(--green); text-decoration: none; font-size: 0.85rem; }
.auth-link:hover { text-decoration: underline; }
.auth-link-btn { background: none; border: none; color: var(--green); font-size: 0.85rem; padding: 0; cursor: pointer; font-family: inherit; }
.auth-link-btn:hover { text-decoration: underline; }
.auth-footer-text { font-size: 0.85rem; color: var(--muted); text-align: center; margin: 1rem 0 0; }
.auth-suggestions { position: absolute; background: white; border: 1px solid var(--border); border-top: none; border-radius: 0 0 6px 6px; z-index: 100; width: 100%; max-height: 200px; overflow-y: auto; }
.auth-suggestions div { padding: 0.5rem 0.75rem; font-size: 0.85rem; cursor: pointer; }
.auth-suggestions div:hover { background: var(--green-bg); }
.mob-auth-btn { font-family: 'Bebas Neue', sans-serif; font-size: 0.95rem; letter-spacing: 0.1em; background: none; border: 1px solid var(--border); color: var(--dark); padding: 0.5rem 1rem; border-radius: 4px; width: calc(100% - 3rem); margin: 0.25rem 1.5rem; cursor: pointer; }
.mob-auth-btn--cta { background: var(--green); color: white; border-color: var(--green); }
.dd-item { display: flex; align-items: center; gap: 8px; padding: 0.45rem 0.75rem; border-radius: 5px; font-size: 0.875rem; font-weight: 600; color: var(--text); text-decoration: none; cursor: pointer; }
.dd-item:hover { background: var(--green-bg); color: var(--text); }

/* ── UTILS ── */
.text-green { color: var(--green) !important; }
.bg-green { background: var(--green) !important; }
.scale-95 { transform: scale(0.95); }
.scale-100 { transform: scale(1); }
.opacity-0 { opacity: 0; }
.opacity-100 { opacity: 1; }

/* ── ADMIN ── */
.admin-tab { font-family: 'Nunito', sans-serif; font-size: 0.88rem; font-weight: 600; background: none; border: none; padding: 0.6rem 1.25rem; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color 0.2s, border-color 0.2s; }
.admin-tab.active { color: var(--dark); border-bottom-color: var(--green); }
.settings-card { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 1.75rem; margin-bottom: 1.5rem; }
.settings-card-title { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 8px; }

/* ── CITY AUTOCOMPLETE ── */
.city-wrap { position: relative; }
.city-suggestions { position: fixed; background: white; border: 1px solid var(--border); border-top: none; border-radius: 0 0 8px 8px; z-index: 99999; max-height: 220px; overflow-y: auto; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.city-suggestions div { padding: 0.5rem 0.875rem; font-size: 0.875rem; cursor: pointer; border-bottom: 1px solid var(--green-bg); }
.city-suggestions div:last-child { border-bottom: none; }
.city-suggestions div:hover { background: var(--green-bg); }
.city-suggestions .city-label { font-weight: 600; color: var(--dark); }
.city-suggestions .city-region { font-size: 0.78rem; color: var(--muted); }

/* ── USER BADGES ── */
.user-badge { display:inline-block; font-size:0.72rem; font-weight:700; padding:2px 8px; border-radius:4px; text-transform:uppercase; letter-spacing:0.04em; }
.user-badge.active  { background:var(--green-bg); color:var(--green); border:1px solid var(--green-mid); }
.user-badge.blocked { background:#fff3cd; color:#856404; border:1px solid #ffc107; }
.user-badge.pending { background:#e8f4ff; color:#0d6efd; border:1px solid #9ec5fe; }
.user-badge.deleted { background:#f8d7da; color:#842029; border:1px solid #f5c2c7; }

/* Обложки событий — показываем полностью (contain), фон-блюр расширяет до краёв */
.event-card-cover {
  aspect-ratio: 16/9;
  background: #f6f9fc;
  overflow: hidden;
  position: relative;
}
.event-card-cover-blur {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(.85);
  transform: scale(1.15); /* убираем blur'енные края */
}
.event-card-cover-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  z-index: 1;
}

.event-hero-cover {
  position: relative;
  width: 100%;
  height: 320px;
  background: #f6f9fc;
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .event-hero-cover { height: 220px; }
}
.event-hero-cover-blur,
.event-hero-cover-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.event-hero-cover-blur {
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(.85);
  transform: scale(1.15);
}
.event-hero-cover-img {
  object-fit: contain;
  display: block;
  z-index: 1;
}
