.events-page {
  background:
    radial-gradient(circle at 20% 10%, rgba(124, 58, 237, 0.12), transparent 25%),
    radial-gradient(circle at 80% 0%, rgba(14, 165, 233, 0.12), transparent 22%),
    var(--bg);
}

.events-main {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.events-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 20, 38, 0.82);
}

.glass-panel {
  position: relative;
  overflow: hidden;
}

.glass-panel::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 55%);
  pointer-events: none;
}

.hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.soft-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.soft-pill.accent {
  border-color: rgba(124, 58, 237, 0.5);
  background: rgba(124, 58, 237, 0.15);
  color: #e0c3ff;
}

.badge.accent {
  border-color: rgba(124, 58, 237, 0.6);
  color: #e0c3ff;
}

.events-shell,
.participations-shell {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 17, 31, 0.92);
  box-shadow: 0 24px 60px rgba(3, 5, 15, 0.55);
  width: 100%;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.events-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.event-card {
  border-radius: 24px;
  padding: 22px;
  background: rgba(13, 19, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 60px rgba(5, 8, 20, 0.45);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
}

.event-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.event-card h3 {
  margin: 0;
  font-size: 24px;
}

.event-eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin: 0 0 6px;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.meta-pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.7);
  color: var(--muted);
}

.price-stack {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.price-value {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.event-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.event-banner {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.event-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.event-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.event-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.event-actions input {
  flex: 1;
  min-width: 160px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
}

.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.35);
  color: #e0c3ff;
}
.event-footer button {
  min-width: 170px;
}

.participation-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.participation-card {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.75);
  box-shadow: 0 18px 45px rgba(5, 8, 20, 0.45);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.participation-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.participation-card-head h3 {
  margin: 4px 0 0;
  font-size: 20px;
}

.participation-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 18px;
  color: var(--muted);
  font-weight: 700;
}

.participation-details p {
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.participation-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.participation-meta > div {
  flex: 1;
  min-width: 120px;
}

.participation-value {
  margin: 2px 0 0;
  font-weight: 600;
  color: #fff;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.status-badge.status-paid {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
}

.status-badge.status-unpaid,
.status-badge.status-pending {
  background: rgba(251, 191, 36, 0.15);
  border-color: rgba(251, 191, 36, 0.4);
}

.status-badge.status-refunded {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
}

.empty-state {
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
}

@media (max-width: 900px) {
  .events-hero {
    flex-direction: column;
  }

}

@media (max-width: 600px) {
  .events-shell,
  .participations-shell,
  .events-hero {
    padding: 18px 16px;
  }
  .events-grid {
    grid-template-columns: 1fr;
  }
  .event-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-stack {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
  }

  .event-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-footer button {
    width: 100%;
  }
  .event-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
.status-badge.status-default {
  background: rgba(148, 163, 255, 0.15);
  border-color: rgba(148, 163, 255, 0.35);
}
