/* =========================================
   MANAGED OPEN SOURCE — EVENT AGENDA
========================================= */

.mos-agenda {
  position: relative;
  overflow: hidden;
  padding: 100px 24px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 10% 18%,
      rgba(255, 199, 0, 0.1),
      transparent 29%
    ),
    radial-gradient(
      circle at 90% 24%,
      rgba(214, 56, 240, 0.11),
      transparent 28%
    ),
    radial-gradient(
      circle at 48% 96%,
      rgba(73, 239, 114, 0.08),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #030303 0%,
      #0a0a0a 50%,
      #020202 100%
    );
}


.mos-agenda-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.22;
  pointer-events: none;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    );
  background-size: 54px 54px;
}

.mos-agenda-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.5),
    transparent,
    rgba(0, 0, 0, 0.58)
  );
}

/* =========================================
   BACKGROUND GLOWS
========================================= */

.mos-agenda-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(30px);
}

.mos-agenda-glow-yellow {
  width: 330px;
  height: 330px;
  left: -160px;
  top: 16%;
  background: rgba(255, 199, 0, 0.12);
}

.mos-agenda-glow-purple {
  width: 310px;
  height: 310px;
  right: -140px;
  top: 20%;
  background: rgba(214, 56, 240, 0.12);
}

.mos-agenda-glow-green {
  width: 290px;
  height: 290px;
  left: 46%;
  bottom: -150px;
  background: rgba(73, 239, 114, 0.09);
}

/* =========================================
   CONTAINER
========================================= */

.mos-agenda-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

/* =========================================
   HEADER
========================================= */

.mos-agenda-header {
  max-width: 800px;
  margin: 0 auto 65px;
  text-align: center;
}

.mos-agenda-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.mos-agenda-label-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #49ef72;
  box-shadow: 0 0 15px rgba(73, 239, 114, 0.8);
}

.mos-agenda-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.06;
  letter-spacing: -2.5px;
}

.mos-agenda-header h2 span {
  display: block;
  background: linear-gradient(
    90deg,
    #ffc700,
    #d638f0,
    #49ef72
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mos-agenda-header p {
  max-width: 720px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.8;
}

.mos-agenda-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mos-agenda-line {
  position: absolute;
  z-index: 0;
  top: 55px;
  bottom: 55px;
  left: 300px;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent,
    #ffc700 15%,
    #d638f0 50%,
    #49ef72 85%,
    transparent
  );
  opacity: 0.55;
}

/* =========================================
   AGENDA ITEM
========================================= */

.mos-agenda-item {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 265px 70px minmax(0, 1fr);
  align-items: stretch;
  min-height: 125px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.085),
    rgba(255, 255, 255, 0.03)
  );
  backdrop-filter: blur(17px);
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.mos-agenda-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 4px;
  border-radius: 0 10px 10px 0;
  background: linear-gradient(
    180deg,
    #ffc700,
    #d638f0,
    #49ef72
  );
  transform: scaleY(0.38);
  transition: transform 0.35s ease;
}

.mos-agenda-item::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  pointer-events: none;
  transition: transform 0.4s ease;
}

.mos-agenda-item:hover {
  transform: translateY(-6px);
  border-color: rgba(73, 239, 114, 0.3);
  box-shadow:
    0 34px 75px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.mos-agenda-item:hover::before {
  transform: scaleY(1);
}

.mos-agenda-item:hover::after {
  transform: scale(1.3);
}

/* Featured roundtable */

.mos-featured-agenda {
  border-color: rgba(214, 56, 240, 0.28);
  background:
    linear-gradient(
      145deg,
      rgba(214, 56, 240, 0.12),
      rgba(73, 239, 114, 0.035)
    );
}

.mos-agenda-time {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 22px 28px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.mos-time-number {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 15px;
  background: linear-gradient(
    145deg,
    rgba(255, 199, 0, 0.15),
    rgba(214, 56, 240, 0.12)
  );
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.mos-agenda-time small {
  display: block;
  margin-bottom: 6px;
  color: #49ef72;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.mos-agenda-time strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.45;
}

.mos-agenda-marker {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
}

.mos-agenda-marker::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.07);
}

.mos-agenda-marker span {
  position: relative;
  width: 18px;
  height: 18px;
  border: 4px solid #080808;
  border-radius: 50%;
  background: #49ef72;
  box-shadow:
    0 0 0 1px rgba(73, 239, 114, 0.65),
    0 0 20px rgba(73, 239, 114, 0.55);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.mos-agenda-item:hover .mos-agenda-marker span {
  transform: scale(1.25);
  box-shadow:
    0 0 0 1px rgba(73, 239, 114, 0.85),
    0 0 28px rgba(73, 239, 114, 0.85);
}

/* =========================================
   SESSION
========================================= */

.mos-agenda-session {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 27px 75px 27px 4px;
}

.mos-agenda-icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 17px;
  color: #ffffff;
  font-size: 21px;
  transition:
    transform 0.35s ease,
    background 0.35s ease;
}

.mos-agenda-icon.yellow {
  background: rgba(255, 199, 0, 0.14);
  color: #ffc700;
}

.mos-agenda-icon.purple {
  background: rgba(214, 56, 240, 0.14);
  color: #d638f0;
}

.mos-agenda-icon.green {
  background: rgba(73, 239, 114, 0.12);
  color: #49ef72;
}

.mos-agenda-item:hover .mos-agenda-icon {
  transform: rotate(-5deg) scale(1.08);
  background: linear-gradient(
    145deg,
    #ffc700,
    #d638f0
  );
  color: #ffffff;
}

/* =========================================
   SESSION CONTENT
========================================= */

.mos-agenda-content {
  min-width: 0;
}

.mos-session-type {
  display: block;
  margin-bottom: 7px;
  color: #49ef72;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.mos-agenda-content h3 {
  margin: 0 0 9px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.35;
}

.mos-agenda-content p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
  line-height: 1.7;
}

/* =========================================
   FOOTER NOTE
========================================= */

.mos-agenda-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  max-width: 900px;
  margin: 58px auto 0;
  text-align: center;
}

.mos-agenda-footer span {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.16)
  );
}

.mos-agenda-footer span:last-child {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.16),
    transparent
  );
}

.mos-agenda-footer p {
  max-width: 540px;
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  line-height: 1.65;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 992px) {
  .mos-agenda {
    padding: 82px 22px;
  }

  .mos-agenda-header {
    margin-bottom: 52px;
  }

  .mos-agenda-line {
    left: 235px;
  }

  .mos-agenda-item {
    grid-template-columns: 205px 58px minmax(0, 1fr);
  }

  .mos-agenda-time {
    padding: 23px 17px 23px 22px;
  }

  .mos-time-number {
    flex-basis: 43px;
    width: 43px;
    height: 43px;
  }

  .mos-agenda-session {
    padding-right: 30px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 720px) {
  .mos-agenda {
    padding: 68px 17px;
  }

  .mos-agenda-header h2 {
    font-size: 40px;
    letter-spacing: -1.5px;
  }

  .mos-agenda-header p {
    font-size: 14px;
  }

  .mos-agenda-timeline {
    gap: 16px;
  }

  .mos-agenda-line,
  .mos-agenda-marker {
    display: none;
  }

  .mos-agenda-item {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mos-agenda-time {
    padding: 19px 20px 17px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mos-agenda-session {
    padding: 21px 20px 24px;
  }

  .mos-agenda-content h3 {
    font-size: 18px;
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 420px) {
  .mos-agenda {
    padding: 58px 14px;
  }

  .mos-agenda-header {
    margin-bottom: 40px;
  }

  .mos-agenda-label {
    font-size: 10px;
    letter-spacing: 1.3px;
  }

  .mos-agenda-header h2 {
    font-size: 34px;
  }

  .mos-agenda-time {
    gap: 12px;
    padding: 17px;
  }

  .mos-agenda-time strong {
    font-size: 13px;
  }

  .mos-agenda-session {
    align-items: flex-start;
    gap: 14px;
    padding: 18px 17px 21px;
  }

  .mos-agenda-icon {
    flex-basis: 47px;
    width: 47px;
    height: 47px;
    border-radius: 14px;
    font-size: 17px;
  }

  .mos-agenda-content h3 {
    font-size: 16px;
  }

  .mos-agenda-content p {
    font-size: 11px;
  }

  .mos-agenda-footer span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mos-agenda-item,
  .mos-agenda-item::before,
  .mos-agenda-item::after,
  .mos-agenda-marker span,
  .mos-agenda-icon {
    transition: none;
  }
}