/* ═══════════════════════════════════════════════
   Shu.Events Landing — Warm Editorial Pop
   Fonts: Unbounded (display) + Onest (body)
   Palette: beige warmth + blue→violet→pink gradient
   ═══════════════════════════════════════════════ */

:root {
  --bg: #faf7f3;
  --bg-card: #ffffff;
  --bg-elevated: #f3efe9;
  --text: #1c1917;
  --text-mid: #57534e;
  --text-faint: #a8a29e;
  --blue: #4a9eff;
  --violet: #6c5ce7;
  --pink: #e84393;
  --gradient: linear-gradient(135deg, #4a9eff 0%, #6c5ce7 50%, #e84393 100%);
  --gradient-soft: linear-gradient(135deg, rgba(74,158,255,0.15), rgba(108,92,231,0.12), rgba(232,67,147,0.1));
  --shadow-sm: 0 1px 2px rgba(28,25,23,0.04), 0 2px 8px rgba(28,25,23,0.03);
  --shadow-md: 0 2px 6px rgba(28,25,23,0.05), 0 8px 24px rgba(28,25,23,0.06);
  --shadow-lg: 0 4px 12px rgba(28,25,23,0.06), 0 16px 40px rgba(28,25,23,0.08);
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Onest', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Floating orbs ── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.orb--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(74,158,255,0.4) 0%, transparent 70%);
  top: -120px; right: -100px;
  animation: orb-drift-1 18s ease-in-out infinite alternate;
}
.orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(108,92,231,0.35) 0%, transparent 70%);
  top: 40%; left: -140px;
  animation: orb-drift-2 22s ease-in-out infinite alternate;
}
.orb--3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(232,67,147,0.3) 0%, transparent 70%);
  bottom: 5%; right: -80px;
  animation: orb-drift-3 20s ease-in-out infinite alternate;
}
@keyframes orb-drift-1 { to { transform: translate(-60px, 80px) scale(1.1); } }
@keyframes orb-drift-2 { to { transform: translate(50px, -40px) scale(0.9); } }
@keyframes orb-drift-3 { to { transform: translate(-40px, -60px) scale(1.15); } }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,243,0.8);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 56px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}
.nav__logo {
  width: 32px; height: 32px;
  border-radius: 9px;
  object-fit: cover;
}
.nav__name {
  font-family: 'Unbounded', cursive;
  font-weight: 800;
  font-size: 1.05rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.15s;
}
.nav__link:hover { color: var(--violet); }
/* ── Language switch ── */
.lang-switch {
  display: flex;
  background: var(--bg-elevated);
  border-radius: 50px;
  padding: 2px;
  gap: 2px;
}
.lang-switch__btn {
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-faint);
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.15s;
}
.lang-switch__btn:hover {
  color: var(--text-mid);
}
.lang-switch__btn--active {
  background: var(--bg-card);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--violet);
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.nav__cta:hover { background: #5a4bd6; }
.nav__cta:active { transform: scale(0.97); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Onest', sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(108,92,231,0.3);
}
.btn--primary:hover { box-shadow: 0 6px 24px rgba(108,92,231,0.4); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--text-mid);
  border: 1.5px solid rgba(0,0,0,0.12);
}
.btn--ghost:hover { border-color: var(--violet); color: var(--violet); }
.btn--lg { padding: 14px 32px; font-size: 1rem; }

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 1;
  padding: 100px 0 80px;
  text-align: center;
}
.hero__badge {
  display: inline-block;
  padding: 6px 18px;
  background: var(--gradient-soft);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--violet);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  animation: fade-up 0.6s ease-out both;
}
.hero__title {
  font-family: 'Unbounded', cursive;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fade-up 0.6s 0.1s ease-out both;
}
.hero__title-line {
  display: block;
}
.hero__title-line--gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__tagline {
  font-size: 1.15rem;
  color: var(--text-mid);
  max-width: 480px;
  margin: 0 auto 36px;
  animation: fade-up 0.6s 0.2s ease-out both;
}
.hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-up 0.6s 0.3s ease-out both;
}
.hero__stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 56px;
  animation: fade-up 0.6s 0.4s ease-out both;
}
.hero__stat {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__stat-emoji { font-size: 1.3rem; }
.hero__stat-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Afisha section ── */
.afisha {
  position: relative;
  z-index: 1;
  padding: 40px 0 80px;
}
.afisha__header {
  margin-bottom: 28px;
}
.afisha__heading {
  font-family: 'Unbounded', cursive;
  font-size: 1.8rem;
  font-weight: 800;
}
.afisha__sub {
  color: var(--text-faint);
  font-size: 0.95rem;
  margin-top: 4px;
}

/* ── Filters ── */
.filters {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}
.filters__group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.filters__label {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  width: 52px;
}
.filters__row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.filters__row::-webkit-scrollbar { display: none; }

.filter-pill {
  flex-shrink: 0;
  padding: 7px 15px;
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: 50px;
  background: var(--bg-card);
  color: var(--text-mid);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.filter-pill:hover {
  border-color: var(--violet);
  color: var(--violet);
  background: rgba(108,92,231,0.04);
}
.filter-pill--active {
  background: var(--violet);
  color: #fff;
  border-color: var(--violet);
  box-shadow: 0 2px 8px rgba(108,92,231,0.25);
}

/* ── Events grid ── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.events-grid__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--text-faint);
}
.events-grid__empty-icon { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.events-grid__empty p { font-size: 1.1rem; font-weight: 600; color: var(--text-mid); margin-bottom: 4px; }

/* ── Event card ── */
.event-card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s;
}
.event-card:hover {
  transform: translateY(-4px) rotate(-0.3deg);
  box-shadow: var(--shadow-lg);
}

.event-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-elevated);
}
.event-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.event-card:hover .event-card__image img {
  transform: scale(1.04);
}
.event-card__image-fallback {
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0.18;
}

/* Date badge — ticket stub style */
.event-card__date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  border-radius: var(--r-sm);
  padding: 5px 11px 4px;
  text-align: center;
  line-height: 1.15;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.event-card__date-badge::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}
.event-card__date-day {
  display: block;
  font-family: 'Unbounded', cursive;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}
.event-card__date-month {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-mid);
  font-weight: 600;
}

/* Type pill on image */
.event-card__type-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  color: var(--violet);
  border-radius: 50px;
}

.event-card__body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.event-card__title {
  font-family: 'Onest', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}
.event-card__location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-bottom: 0;
  margin-top: auto;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.event-card__location svg {
  flex-shrink: 0;
  opacity: 0.5;
}
.event-card__price {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-top: 8px;
}

/* ── Load more ── */
.load-more-wrap {
  text-align: center;
  margin-top: 40px;
}
.load-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border: 2px solid var(--violet);
  border-radius: 50px;
  background: transparent;
  color: var(--violet);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.load-more:hover {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 4px 16px rgba(108,92,231,0.25);
}
.load-more:active { transform: scale(0.97); }
.load-more svg {
  transition: transform 0.2s;
}
.load-more:hover svg {
  transform: translateY(2px);
}

/* ── About ── */
.about {
  position: relative;
  z-index: 1;
  padding: 40px 0 80px;
}
.about__card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about__logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 20px;
}
.about__heading {
  font-family: 'Unbounded', cursive;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 36px;
}
.about__steps {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.about__step {
  flex: 1;
  min-width: 180px;
  max-width: 260px;
  padding: 20px 16px;
  background: var(--bg-elevated);
  border-radius: var(--r-md);
  text-align: center;
}
.about__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  font-family: 'Unbounded', cursive;
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.about__step p {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  line-height: 1.4;
}

/* ── Footer ── */
.footer {
  position: relative;
  z-index: 1;
  padding: 20px 0;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__brand {
  font-family: 'Unbounded', cursive;
  font-weight: 800;
  font-size: 0.85rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer__copy {
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* ══════════════ Responsive ══════════════ */
@media (max-width: 768px) {
  .hero { padding: 72px 0 56px; }
  .hero__stats { gap: 20px; flex-wrap: wrap; }
  .hero__stat-text { font-size: 0.8rem; }
  .events-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
  }
  .about__steps { flex-direction: column; align-items: center; }
  .about__card { padding: 36px 24px; }
  .filters__group { flex-direction: column; align-items: flex-start; gap: 6px; }
  .filters__label { width: auto; }
}

@media (max-width: 480px) {
  .hero { padding: 56px 0 40px; }
  .hero__title { font-size: 2rem; }
  .hero__tagline { font-size: 1rem; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__stats { flex-direction: column; gap: 12px; align-items: center; }
  .events-grid { grid-template-columns: 1fr; }
  .nav__link { display: none; }
  .btn--lg { padding: 12px 24px; font-size: 0.95rem; }
}
