/* Evento — magnified bento (campus events & categories) */

.about-image-part {
  padding-right: 0;
}

.event-bento-root {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.event-bento-card {
  background: rgba(15, 20, 35, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2rem;
  padding: 6px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 48px rgba(8, 12, 24, 0.35),
    0 0 60px rgba(34, 176, 175, 0.12);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.event-bento-card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 28px 56px rgba(8, 12, 24, 0.4),
    0 0 80px rgba(34, 176, 175, 0.2);
}

.event-bento-inner {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 1.6rem;
  background: linear-gradient(145deg, #0c1222 0%, #141b30 45%, #0a1525 100%);
}

.event-bento-network {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.event-bento-network::before {
  content: "";
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(circle at 25% 35%, rgba(34, 176, 175, 0.18), transparent 42%),
    radial-gradient(circle at 75% 65%, rgba(147, 51, 234, 0.14), transparent 45%);
  animation: bentoGlowPulse 8s ease-in-out infinite alternate;
}

.event-bento-mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  animation: bentoMeshDrift 18s linear infinite;
}

@keyframes bentoGlowPulse {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.08); }
}

@keyframes bentoMeshDrift {
  0% { transform: translate(0, 0); }
  50% { transform: translate(-3%, 2%); }
  100% { transform: translate(0, 0); }
}

.event-bento-rows {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
  z-index: 2;
}

.event-bento-rows-base {
  z-index: 2;
}

.event-bento-rows-reveal {
  z-index: 10;
  pointer-events: none;
  clip-path: circle(0px at 50% 50%);
  -webkit-clip-path: circle(0px at 50% 50%);
}

.event-bento-row {
  display: flex;
  width: max-content;
  gap: 1rem;
  will-change: transform;
}

.event-bento-row-left {
  animation: bentoScrollLeft 28s linear infinite;
}

.event-bento-row-right {
  animation: bentoScrollRight 28s linear infinite;
}

@keyframes bentoScrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

@keyframes bentoScrollRight {
  0% { transform: translateX(-33.333%); }
  100% { transform: translateX(0); }
}

.event-bento-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(148, 163, 184, 0.95);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: default;
  transition: border-color 0.2s ease, background 0.2s ease;
}

button.event-bento-pill {
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}

button.event-bento-pill:hover {
  border-color: rgba(34, 176, 175, 0.35);
  background: rgba(34, 176, 175, 0.12);
  color: #e2e8f0;
}

.event-bento-pill i {
  font-size: 0.72rem;
  opacity: 0.85;
}

.event-bento-pill-active {
  border-color: rgba(34, 176, 175, 0.45);
  background: rgba(15, 20, 35, 0.95);
  color: #fff;
  box-shadow: 0 0 24px rgba(34, 176, 175, 0.35), 0 4px 14px rgba(0, 0, 0, 0.25);
}

.event-bento-pill-active i {
  color: var(--primary-color, #22b0af);
}

.event-bento-pill-active span {
  color: #bfdbfe;
  font-weight: 600;
}

.event-bento-lens-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 92px;
  margin-left: -46px;
  margin-top: -46px;
  z-index: 40;
  touch-action: none;
}

.event-bento-lens-wrap.is-dragging {
  cursor: grabbing;
}

.event-bento-lens-hit {
  position: absolute;
  inset: 0;
  z-index: 50;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: grab;
  -webkit-tap-highlight-color: transparent;
}

.event-bento-lens-wrap.is-dragging .event-bento-lens-hit {
  cursor: grabbing;
}

.event-bento-lens-ring {
  position: absolute;
  left: 36px;
  top: 36px;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(96, 165, 250, 0.55);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.35);
  pointer-events: none;
}

.event-bento-lens {
  position: absolute;
  left: 0;
  top: 0;
  width: 92px;
  height: 92px;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.event-bento-lens svg {
  display: block;
  width: 92px;
  height: 92px;
}

.event-bento-fade-left,
.event-bento-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 25%;
  z-index: 20;
  pointer-events: none;
}

.event-bento-fade-left {
  left: 0;
  background: linear-gradient(to right, #0c1222, transparent);
}

.event-bento-fade-right {
  right: 0;
  background: linear-gradient(to left, #0c1222, transparent);
}

.event-bento-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem 1.15rem;
  text-align: center;
}

.event-bento-brand img,
.event-bento-brand .theme-logo {
  max-height: 2.925rem;
  max-width: min(208px, 78vw);
  width: auto;
  object-fit: contain;
  filter: brightness(1.05);
}

@media (min-width: 768px) {
  .event-bento-inner {
    height: 320px;
  }

  .event-bento-pill {
    font-size: 0.82rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 575px) {
  .event-bento-card {
    border-radius: 1.5rem;
  }

  .event-bento-inner {
    height: 260px;
  }

  .event-bento-row {
    gap: 0.65rem;
  }

  .event-bento-rows {
    gap: 0.5rem;
  }
}
