.event-schedule-page {
  background: #09090b;
}

.event-schedule-page .wrapper {
  background:
    radial-gradient(circle at 50% 4%, rgba(174, 40, 57, .21), transparent 34%),
    linear-gradient(180deg, rgba(9, 9, 11, .35), #09090b 72%),
    url("../images/bg_13.jpg") top center / cover no-repeat;
}

.event-schedule-page .wrapper::after {
  display: block;
  background: linear-gradient(90deg, #09090b 0, rgba(9, 9, 11, 0) 230px, rgba(9, 9, 11, 0) calc(100% - 230px), #09090b 100%);
}

.event-schedule-page .nav {
  background: rgba(9, 7, 9, .64);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.event-schedule-page .nav__langs {
  margin-right: 34px;
}

.event-schedule-page .nav__links li:not(:last-child) {
  margin-right: 24px;
}

.event-schedule {
  position: relative;
  z-index: 1;
  min-height: 720px;
  padding: 48px 0 72px;
  font-family: Montserrat, sans-serif;
}

.event-schedule__header {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.event-schedule__eyebrow {
  margin-bottom: 9px;
  color: #ffb7bc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.event-schedule__header h1 {
  color: #fff;
  font-family: "PT Serif", serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-shadow: 0 4px 25px rgba(255, 183, 188, .22);
}

.event-schedule__header > p:last-child {
  max-width: 640px;
  margin: 11px auto 0;
  color: #c9babc;
  font-size: 14px;
  line-height: 1.65;
}

.event-now {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  max-width: 920px;
  min-height: 105px;
  margin: 0 auto 18px;
  padding: 16px 24px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(110deg, rgba(54, 20, 26, .94), rgba(17, 14, 16, .96));
  border: 1px solid rgba(255, 183, 188, .28);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .36), inset 0 1px rgba(255, 255, 255, .05);
}

.event-now::after {
  content: '';
  position: absolute;
  top: -90px;
  right: 6%;
  width: 260px;
  height: 260px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(217, 66, 83, .18), transparent 67%);
}

.event-now.is-live {
  border-color: rgba(255, 113, 126, .62);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .38), 0 0 34px rgba(199, 46, 64, .13);
}

.event-now__marker {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 183, 188, .25);
  border-radius: 50%;
  background: rgba(255, 183, 188, .06);
}

.event-now__marker span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff8d98;
  box-shadow: 0 0 0 7px rgba(255, 141, 152, .10), 0 0 20px rgba(255, 91, 107, .7);
}

.event-now.is-live .event-now__marker span {
  animation: event-pulse 1.8s ease-in-out infinite;
}

.event-now__content,
.event-now__countdown {
  position: relative;
  z-index: 1;
}

.event-now__label {
  margin-bottom: 6px;
  color: #ff9da6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.event-now__content h2 {
  color: #fff;
  font-family: "PT Serif", serif;
  font-size: 27px;
  line-height: 1.15;
}

.event-now__content p {
  margin-top: 7px;
  color: #cbbfc1;
  font-size: 13px;
  line-height: 1.4;
}

.event-now__countdown {
  min-width: 145px;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 183, 188, .18);
  text-align: right;
}

.event-now__countdown span {
  display: block;
  color: #fff;
  font-family: Geometria, monospace;
  font-size: 25px;
  font-variant-numeric: tabular-nums;
}

.event-now__countdown small {
  display: block;
  margin-top: 4px;
  color: #9f8f92;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.schedule-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 16px;
  padding: 13px 17px;
  background: rgba(18, 15, 17, .88);
  border: 1px solid rgba(255, 183, 188, .14);
  border-radius: 14px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .22);
}

.schedule-toolbar__field {
  flex: 1 1 460px;
}

.schedule-toolbar label,
.schedule-toolbar__clock > span {
  display: block;
  margin-bottom: 8px;
  color: #a9989b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.schedule-toolbar select {
  width: 100%;
  height: 46px;
  padding: 0 42px 0 14px;
  color: #f8edef;
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  appearance: none;
  -webkit-appearance: none;
  background-color: #211a1d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23ffb7bc' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  border: 1px solid rgba(255, 183, 188, .20);
  border-radius: 8px;
}

.schedule-toolbar select:focus {
  border-color: rgba(255, 183, 188, .65);
  box-shadow: 0 0 0 3px rgba(255, 183, 188, .08);
}

.schedule-toolbar__zone {
  display: block;
  min-height: 13px;
  margin-top: 7px;
  color: #806f72;
  font-size: 10px;
}

.schedule-toolbar__clock {
  min-width: 118px;
  padding-bottom: 14px;
  text-align: center;
}

.schedule-toolbar__clock strong {
  color: #fff;
  font-family: Geometria, monospace;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.schedule-toolbar__today {
  height: 46px;
  margin-bottom: 20px;
  padding: 0 20px;
  color: #fff3f4;
  font-family: Montserrat, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(255, 183, 188, .08);
  border: 1px solid rgba(255, 183, 188, .34);
  border-radius: 8px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.schedule-toolbar__today:hover {
  background: rgba(255, 183, 188, .15);
  border-color: rgba(255, 183, 188, .65);
  transform: translateY(-1px);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 9px;
}

.schedule-day {
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(29, 24, 27, .97), rgba(15, 13, 14, .97));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 13px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.schedule-day:hover {
  border-color: rgba(255, 183, 188, .28);
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, .34);
}

.schedule-day.is-today {
  border-color: rgba(255, 164, 173, .58);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .34), 0 0 28px rgba(199, 46, 64, .10);
}

.schedule-day__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 11px;
  background: rgba(255, 255, 255, .025);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.schedule-day.is-today .schedule-day__header {
  background: linear-gradient(90deg, rgba(133, 35, 47, .32), rgba(255, 183, 188, .04));
}

.schedule-day__header h2 {
  color: #fff;
  font-family: "PT Serif", serif;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.schedule-day__badge {
  display: none;
  padding: 4px 7px;
  color: #ffd9dc;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(255, 183, 188, .10);
  border: 1px solid rgba(255, 183, 188, .22);
  border-radius: 999px;
}

.schedule-day.is-today .schedule-day__badge {
  display: inline-flex;
}

.schedule-events {
  list-style: none;
  padding: 6px 8px 9px;
}

.schedule-event {
  display: grid;
  grid-template-columns: 45px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 3px 1px;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
}

.schedule-event:last-child {
  border-bottom: 0;
}

.schedule-event.is-current {
  margin: 0 -7px;
  padding-right: 9px;
  padding-left: 9px;
  background: rgba(255, 119, 132, .14);
  box-shadow: inset 2px 0 #ff8994;
  border-radius: 7px;
}

.schedule-event.is-next {
  margin: 0 -7px;
  padding-right: 9px;
  padding-left: 9px;
  background: linear-gradient(90deg, rgba(151, 43, 57, .26), rgba(255, 183, 188, .055));
  box-shadow: inset 2px 0 #d96673;
  border-radius: 7px;
}

.schedule-event__time {
  padding: 4px 3px 3px;
  color: #ffe1e4;
  font-family: Geometria, monospace;
  font-size: 9px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
  background: #39151a;
  border: 1px solid #93434d;
  border-radius: 5px;
  box-shadow: inset 0 1px rgba(255, 255, 255, .06), 0 2px 5px rgba(0, 0, 0, .24);
}

.schedule-event.is-next .schedule-event__time {
  color: #fff;
  background: #8a2b38;
  border-color: #df7180;
  box-shadow: 0 0 10px rgba(204, 66, 82, .24);
}

.schedule-event.is-current .schedule-event__time {
  color: #240508;
  background: #ffabb3;
  border-color: #ffd1d5;
  box-shadow: 0 0 12px rgba(255, 126, 140, .28);
}

.schedule-event__name {
  min-width: 0;
  color: #e9dee0;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.3;
}

.schedule-event.is-raid .schedule-event__name {
  color: #ff8f9a;
}

@keyframes event-pulse {
  0%, 100% { transform: scale(.9); box-shadow: 0 0 0 5px rgba(255, 141, 152, .08), 0 0 14px rgba(255, 91, 107, .45); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(255, 141, 152, 0), 0 0 25px rgba(255, 91, 107, .85); }
}

@media (max-width: 1240px) {
  .event-schedule-page .nav__links li:not(:last-child) { margin-right: 14px; }
  .event-schedule-page .nav__links li a { font-size: 12px; }
  .schedule-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .schedule-day__header h2 { font-size: 16px; }
  .schedule-events { padding: 8px 12px 11px; }
  .schedule-event { grid-template-columns: 52px minmax(0, 1fr); gap: 9px; min-height: 34px; padding: 5px 1px; }
  .schedule-event__time, .schedule-event__name { font-size: 10px; }
}

@media (max-width: 1024px) {
  .event-schedule-page .wrapper::after { display: none; }
  .event-schedule { padding-top: 52px; }
  .event-schedule-page .nav__links li:not(:last-child) { margin-right: 0; }
  .event-schedule-page .nav__links li a { font-size: 14px; }
  .schedule-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .event-schedule { padding: 42px 0 65px; }
  .event-now { grid-template-columns: auto minmax(0, 1fr); gap: 15px; padding: 20px; }
  .event-now__marker { width: 42px; height: 42px; }
  .event-now__countdown { grid-column: 1 / -1; min-width: 0; padding: 14px 0 0; border-top: 1px solid rgba(255, 183, 188, .18); border-left: 0; text-align: left; }
  .event-now__countdown span, .event-now__countdown small { display: inline-block; }
  .event-now__countdown small { margin: 0 0 0 7px; }
  .schedule-toolbar { flex-wrap: wrap; align-items: center; }
  .schedule-toolbar__field { flex-basis: 100%; }
  .schedule-toolbar__clock { flex: 1; padding: 0; text-align: left; }
  .schedule-toolbar__today { margin: 0; }
  .schedule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .event-schedule .content-area { width: calc(100% - 28px); }
  .event-schedule__header { margin-bottom: 26px; }
  .event-schedule__header h1 { font-size: 33px; }
  .event-schedule__header > p:last-child { font-size: 13px; }
  .event-now__content h2 { font-size: 22px; }
  .schedule-grid { grid-template-columns: 1fr; }
  .schedule-day { scroll-margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .event-now.is-live .event-now__marker span { animation: none; }
  .schedule-day, .schedule-toolbar__today { transition: none; }
}
