/* Events page: black + purple theme */
:root {
  --bg-0: #000000;
  --bg-1: #0b0b0b;
  --pink-1: #ffb0c4;  /* about page pink */
  --magenta-1: #ff00ff;
  --violet-1: #9e3fff;
  --glass: rgba(255, 255, 255, 0.05);        /* neutral black glass */
  --glass-strong: rgba(255, 255, 255, 0.10); /* stronger glass */
}

body#events {
  background: var(--bg-0);
  color: #fff;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.events-hero {
  min-height: 46vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1.5rem 1.25rem;
  background:
    radial-gradient(circle at 50% 30%, rgba(255,0,255,.12), transparent 45%),
    radial-gradient(circle at 20% 0%, rgba(158,63,255,.12), transparent 40%),
    linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.95));
}

.events-title {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pink-1);
  line-height: .9;
  margin: 0 0 .75rem;
}

.events-subtitle {
  color: rgba(255,255,255,.8);
  font-size: clamp(1rem, 2.6vw, 1.35rem);
  max-width: 820px;
}

.search-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
}

.search-input {
  width: 100%;
  padding: 0.95rem 1.25rem;
  background: var(--glass);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 44px;
  color: #fff;
  transition: .25s ease;
}

.search-input::placeholder { color: rgba(255,255,255,.55); }
.search-input:focus {
  outline: none;
  background: var(--glass-strong);
  border-color: rgba(255, 176, 196, .55);
}

.filter-tags {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
  margin: 1rem 0 2rem;
}
.filter-tag {
  padding: .5rem 1rem;
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: rgba(255,255,255,.75);
  font-size: .9rem; cursor: pointer; transition: .25s ease;
}
.filter-tag:hover, .filter-tag.active {
  background: var(--glass-strong);
  border-color: rgba(255, 176, 196, .6);
  color: var(--pink-1);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

.event-card {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, filter .25s ease;
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 176, 196, .5);
  box-shadow: 0 18px 48px rgba(158,63,255,.28), 0 2px 0 rgba(255, 176, 196, .25) inset;
  filter: saturate(1.05);
}

.event-link { /* full-card clickable overlay */
  position: absolute; inset: 0; z-index: 1;
}

.event-media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
}
.event-image { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.event-card:hover .event-image { transform: scale(1.05); }

.event-badge {
  position: absolute; inset: 12px auto auto 12px;
  background: rgba(0,0,0,.5);
  color: var(--pink-1);
  border: 1px solid rgba(255,176,196,.55);
  padding: .35rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}

.event-content { padding: 1rem 1rem 1.25rem; position: relative; z-index: 2; }
.event-title { font-size: 1.15rem; font-weight: 800; margin: .25rem 0 .5rem; }
.event-description { color: rgba(255,255,255,.72); line-height: 1.55; font-size: .95rem; }

.event-actions { display: flex; gap: .5rem; align-items: center; margin-top: .9rem; }
.register-btn {
  background: linear-gradient(135deg, var(--violet-1) 0%, var(--magenta-1) 100%);
  color: #fff; font-weight: 800; padding: .7rem 1rem; border-radius: 999px;
  text-decoration: none; display: inline-flex; align-items: center; gap: .5rem;
  box-shadow: 0 8px 22px rgba(158,63,255,.28);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.register-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(158,63,255,.42); filter: brightness(1.06); }

@media (max-width: 768px) {
  .events-grid { grid-template-columns: 1fr; padding: 1rem; }
}


