@import url("./shared.css");
@import url("./boss-gallery.css");

.event-gallery-intro {
  max-width: 1100px;
  margin: 0 auto 18px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: linear-gradient(135deg, rgba(46, 16, 101, 0.35), rgba(15, 23, 42, 0.9));
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.event-gallery-intro strong {
  color: #e9d5ff;
}

.event-gallery-schedule {
  max-width: 1100px;
  margin: 0 auto 16px;
  font-size: 0.82rem;
  color: var(--muted);
}

.event-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  --event-accent: #a78bfa;
}

.event-card.event-live {
  border-color: color-mix(in srgb, var(--event-accent) 55%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--event-accent) 25%, transparent),
    0 8px 24px rgba(0, 0, 0, 0.25);
}

.event-card.event-owned {
  border-color: rgba(74, 222, 128, 0.35);
}

.event-card-canvas-wrap {
  position: relative;
  background: #0b1016;
}

.event-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

.event-card-badge.live {
  background: color-mix(in srgb, var(--event-accent) 35%, #0f172a);
  border-color: color-mix(in srgb, var(--event-accent) 60%, transparent);
  color: #f8fafc;
}

.event-card-badge.owned {
  background: rgba(22, 101, 52, 0.75);
  border-color: rgba(74, 222, 128, 0.45);
  color: #bbf7d0;
}

.event-card canvas {
  display: block;
  width: 100%;
  height: auto;
}

.event-card-caption {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--panel-border);
}

.event-card-caption strong {
  display: block;
  font-size: 0.95rem;
  color: #f8fafc;
}

.event-card-dragon {
  display: block;
  font-size: 0.88rem;
  color: #e9d5ff;
  margin-bottom: 4px;
}

.event-card-tagline {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

.event-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.event-card-emblem {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--panel-border);
  font-size: 0.72rem;
  color: #fde047;
  font-weight: 600;
}

.event-card-emblem .emblem-chip {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}

.event-card-emblem .emblem-chip svg {
  width: 100%;
  height: 100%;
}

.event-card-bonus {
  font-size: 0.72rem;
  color: var(--muted);
}

.event-card-link {
  margin-top: 4px;
  font-size: 0.78rem;
}

.event-card-link a {
  color: color-mix(in srgb, var(--event-accent) 80%, #e2e8f0);
}

.event-header-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
