* {
  box-sizing: border-box;
}

html {
  scrollbar-color: rgba(147, 197, 253, 0.58) rgba(2, 8, 23, 0.94);
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(109, 77, 245, 0.28), transparent 32%),
    radial-gradient(circle at bottom right, rgba(78, 131, 240, 0.18), transparent 34%),
    linear-gradient(90deg, #020817 0%, #03103a 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.schedule-page {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 24px 18px 54px;
}

.schedule-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}

.schedule-logo {
  font-size: 29px;
  font-weight: 900;
  letter-spacing: 0;
}

.schedule-logo span {
  color: #93c5fd;
}

.schedule-nav,
.schedule-top-actions,
.schedule-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.guest-only,
.manager-only,
.schedule-btn.guest-only {
  display: none;
}

body.is-visitor .guest-only,
body.is-visitor .schedule-btn.guest-only {
  display: inline-flex;
}

body.can-manage-schedule .manager-only {
  display: inline-flex;
}

.session-badge {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(147, 197, 253, 0.14);
  border-radius: 14px;
  background: rgba(147, 197, 253, 0.08);
  color: #dbeafe;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

body.is-registered .session-badge {
  border-color: rgba(34, 197, 94, 0.20);
  background: rgba(34, 197, 94, 0.10);
  color: #dcfce7;
}

.radio-player {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.16);
}

.schedule-radio-player {
  flex: 0 0 auto;
}

.radio-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #6d4df5 0%, #4e83f0 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.radio-btn:hover,
.radio-btn:focus-visible {
  filter: brightness(1.08);
  outline: none;
}

.radio-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.radio-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
}

.radio-status {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.1;
  white-space: nowrap;
}

.schedule-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 11px 16px;
  color: #ffffff;
  background: rgba(255,255,255,0.08);
  font-weight: 900;
  cursor: pointer;
}

.schedule-btn:hover,
.schedule-btn:focus-visible {
  background: rgba(147, 197, 253, 0.13);
  border-color: rgba(147, 197, 253, 0.28);
  outline: none;
}

.schedule-btn-primary {
  background: linear-gradient(90deg, #6d4df5 0%, #4e83f0 100%);
}

.schedule-btn-hot {
  background: linear-gradient(90deg, #ec4899 0%, #4e83f0 100%);
}

.schedule-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

.schedule-hero-main,
.schedule-live-card,
.schedule-stat,
.schedule-section {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  background: rgba(18, 25, 56, 0.94);
  box-shadow: 0 18px 44px rgba(0,0,0,0.26);
}

.schedule-hero-main {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  overflow: hidden;
  position: relative;
}

.schedule-hero-main::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: 24px;
  width: 126px;
  height: 126px;
  border: 2px solid rgba(147, 197, 253, 0.16);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 18px rgba(147, 197, 253, 0.04),
    0 0 38px rgba(78, 131, 240, 0.16);
}

.schedule-kicker {
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(147, 197, 253, 0.10);
  font-size: 13px;
  font-weight: 900;
}

.schedule-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.schedule-hero p {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 0 22px;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.55;
}

.schedule-live-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(109, 77, 245, 0.20), rgba(78, 131, 240, 0.12)),
    rgba(18, 25, 56, 0.94);
}

.live-card-label,
.schedule-stat span {
  color: #93c5fd;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.live-card-title {
  margin: 18px 0 10px;
  font-size: 28px;
  font-weight: 950;
  line-height: 1.12;
}

.live-card-meta,
.live-card-dj,
.schedule-stat small,
.section-head p,
.show-desc {
  color: #cbd5e1;
  line-height: 1.45;
}

.live-card-dj {
  width: fit-content;
  margin-top: 18px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  font-weight: 900;
}

.schedule-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.schedule-stat {
  padding: 18px;
}

.schedule-stat strong {
  display: block;
  margin: 8px 0 3px;
  font-size: 34px;
  line-height: 1;
}

.schedule-section {
  padding: 22px;
}

.seo-section,
.faq-section {
  margin-top: 18px;
}

.schedule-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.schedule-intro h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.schedule-intro p {
  max-width: 760px;
  margin: 0;
  color: #cbd5e1;
  line-height: 1.55;
}

.schedule-note {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(147, 197, 253, 0.08);
  color: #dbeafe;
}

.schedule-note strong {
  color: #ffffff;
  font-size: 16px;
}

.schedule-note span {
  color: #cbd5e1;
  line-height: 1.45;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.section-head p {
  margin: 0;
}

.schedule-pill {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(147, 197, 253, 0.10);
  color: #bfdbfe;
  font-weight: 900;
  white-space: nowrap;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.seo-card,
.faq-list article {
  padding: 16px;
  border: 1px solid rgba(147, 197, 253, 0.10);
  border-radius: 16px;
  background: rgba(147, 197, 253, 0.055);
}

.seo-card h3,
.faq-list h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 19px;
}

.seo-card p,
.faq-list p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.52;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.week-grid {
  display: grid;
  gap: 12px;
}

.day-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
}

.day-card.is-today {
  border-color: rgba(147, 197, 253, 0.30);
  background: rgba(147, 197, 253, 0.08);
}

.day-name {
  display: grid;
  align-content: start;
  gap: 7px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 950;
}

.day-date {
  color: #93c5fd;
  font-size: 13px;
  font-weight: 900;
}

.day-shows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.show-card {
  display: grid;
  grid-template-columns: minmax(94px, 0.35fr) minmax(0, 1fr);
  gap: 10px 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 15px;
  background: rgba(18, 25, 56, 0.88);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.show-card:hover,
.show-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(147, 197, 253, 0.28);
  background: rgba(24, 34, 78, 0.94);
  box-shadow: 0 14px 30px rgba(0,0,0,0.24), 0 0 24px rgba(78, 131, 240, 0.12);
}

.show-card.is-live {
  border-color: rgba(74, 222, 128, 0.82);
  border-width: 2px;
  background: linear-gradient(135deg, rgba(24, 34, 78, 0.98) 0%, rgba(21, 49, 64, 0.96) 100%);
  box-shadow:
    0 0 0 2px rgba(74, 222, 128, 0.16),
    0 0 34px rgba(34, 197, 94, 0.24),
    0 18px 36px rgba(0,0,0,0.26);
}

.show-card.is-cancelled {
  border-color: rgba(248, 113, 113, 0.58);
  background: linear-gradient(135deg, rgba(45, 28, 46, 0.96) 0%, rgba(33, 35, 63, 0.94) 100%);
  opacity: 0.92;
}

.show-card.is-draft {
  border-style: dashed;
  border-color: rgba(251, 191, 36, 0.54);
  background: rgba(45, 39, 22, 0.32);
}

.show-time {
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.show-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.2;
  min-width: 0;
  overflow-wrap: anywhere;
}

.show-dj {
  display: inline-flex;
  max-width: 100%;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(56, 118, 156, 0.34);
  color: #d9f1ff;
  font-size: 13px;
  font-weight: 900;
  overflow-wrap: anywhere;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.show-dj:hover,
.show-dj:focus-visible {
  background: rgba(76, 145, 185, 0.42);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(191, 219, 254, 0.18);
  outline: none;
}

.show-main {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.show-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #ecfdf5;
  background: rgba(34, 197, 94, 0.32);
  box-shadow: inset 0 0 0 1px rgba(187, 247, 208, 0.22);
  font-size: 12px;
  font-weight: 900;
}

.show-badge-cancelled {
  color: #fee2e2;
  background: rgba(220, 38, 38, 0.30);
  box-shadow: inset 0 0 0 1px rgba(254, 202, 202, 0.22);
}

.show-badge-draft {
  color: #fef3c7;
  background: rgba(217, 119, 6, 0.28);
  box-shadow: inset 0 0 0 1px rgba(253, 230, 138, 0.22);
}

.day-empty {
  color: #94a3b8;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.035);
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .day-card {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .day-shows {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .schedule-page {
    padding: 18px 12px 84px;
  }

  .schedule-topbar,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .schedule-topbar {
    gap: 12px;
  }

  .schedule-hero,
  .schedule-intro,
  .schedule-stats,
  .seo-grid {
    grid-template-columns: 1fr;
  }

  .schedule-hero-main {
    min-height: auto;
    padding: 24px;
  }

  .schedule-live-card,
  .schedule-section,
  .schedule-stat {
    border-radius: 18px;
  }

  .day-card {
    grid-template-columns: 1fr;
  }

  .show-card {
    grid-template-columns: 1fr;
  }
}
