:root {
  --brand-red: #fc0b0b;
  --brand-red-dark: #832424;
  --event-card-bg: rgba(18, 18, 18, 0.96);
  --event-card-border: rgba(255, 255, 255, 0.08);
  --event-muted: #c8c8c8;
}

.teams-div {
  position: relative;
  z-index: 2;
  margin-top: -108px;
  padding: 0 0 88px;
  min-height: auto;
  height: auto;
  background:
    linear-gradient(180deg, rgba(19, 19, 20, 0.28), rgba(19, 19, 20, 0.94)),
    #131314 url(../images/banner1-bg.jpg);
  background-size: cover;
  background-position: center;
}

.teams-div .container {
  position: relative;
  z-index: 1;
}

.events-shell {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 28px;
  backdrop-filter: blur(14px);
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.82), rgba(18, 18, 18, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
}

.events-shell::before {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(252, 11, 11, 0), rgba(252, 11, 11, 0.85), rgba(252, 11, 11, 0));
}

.events-shell::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -85px;
  top: -95px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 11, 11, 0.2) 0%, rgba(252, 11, 11, 0) 68%);
  pointer-events: none;
}

.events-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.events-copy {
  max-width: 760px;
}

.events-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.events-title {
  margin-top: 18px;
  color: #fff;
  font-size: clamp(3.8rem, 5vw, 5.4rem);
  line-height: 0.94;
  text-transform: uppercase;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.events-subtitle {
  max-width: 560px;
  margin-top: 14px;
  color: var(--event-muted);
  font-size: 1.7rem;
  line-height: 1.7;
}

.events-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.events-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f3f3f3;
  font-size: 1.3rem;
  font-weight: 600;
}

.events-highlights i {
  color: var(--brand-red);
}

.events-actions {
  display: flex;
  align-items: center;
}

.events-divider {
  height: 1px;
  margin-bottom: 28px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
}

.btn-panel-link {
  border-radius: 999px;
  min-width: 208px;
  padding: 12px 22px;
  box-shadow: 0 12px 30px rgba(252, 11, 11, 0.18);
}

.events-feedback {
  margin-bottom: 24px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f3f3f3;
  font-size: 1.5rem;
}

.events-feedback.is-hidden {
  display: none;
}

.events-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.98), rgba(12, 12, 12, 0.98));
  border: 1px solid var(--event-card-border);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.event-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: rgba(252, 11, 11, 0.32);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.35);
}

.event-card__media {
  position: relative;
  overflow: hidden;
  background: #220909;
}

.event-card__media::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  z-index: 1;
  background: linear-gradient(180deg, rgba(131, 36, 36, 0), rgba(131, 36, 36, 0.34));
}

.event-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.4));
}

.event-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.event-card:hover .event-card__media img {
  transform: scale(1.04);
}

.event-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-card__date-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  min-width: 70px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 10px 8px;
  border-radius: 18px;
  background: rgba(10, 10, 10, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.event-card__date-badge strong {
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
}

.event-card__date-badge small {
  margin-top: 4px;
  color: #d3d3d3;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(24, 24, 24, 0.2), rgba(10, 10, 10, 0));
}

.event-card__title {
  color: #fff;
  font-size: clamp(2.4rem, 2.6vw, 2.9rem);
  line-height: 1.08;
}

.event-card__destination {
  margin-top: 10px;
  color: #f0d5d5;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-card__meta {
  display: grid;
  gap: 12px;
}

.event-card__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--event-muted);
  font-size: 1.5rem;
  line-height: 1.5;
}

.event-card__row i {
  width: 16px;
  margin-top: 4px;
  color: var(--brand-red);
}

.event-card__row strong {
  color: #fff;
  font-weight: 700;
}

.event-card__cta {
  margin-top: auto;
}

.buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  background-image: linear-gradient(to right, var(--brand-red-dark) 0%, var(--brand-red) 100%);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(252, 11, 11, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.buy-btn:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 18px 36px rgba(252, 11, 11, 0.24);
}

.buy-btn--muted {
  background: #2a2a2a;
  color: #d1d1d1;
  box-shadow: none;
  pointer-events: none;
}

@media (max-width: 1199px) {
  .teams-div {
    margin-top: -84px;
  }

  .events-title {
    font-size: clamp(3.4rem, 5.2vw, 4.6rem);
  }

  .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .teams-div {
    margin-top: -58px;
    padding-bottom: 72px;
  }

  .events-shell {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .events-toolbar {
    margin-bottom: 22px;
  }

  .events-shell::before {
    left: 18px;
    right: 18px;
  }

  .events-title {
    font-size: 3.2rem;
  }

  .events-subtitle {
    font-size: 1.5rem;
  }

  .events-highlights span {
    width: 100%;
    justify-content: center;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .event-card__title {
    font-size: 2.3rem;
  }

  .btn-panel-link {
    width: 100%;
    min-width: 0;
  }
}
