/* GLOBAL */
body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #ffffff;
  color: #111827;
}

/* SKY HERO */
.sky-hero {
  position: relative;
  padding: 3rem 5vw 2.5rem;
  overflow: hidden;
  background: radial-gradient(circle at top, #ffeec7 0, #ffffff 55%);
}

.hero-center {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.hero-logo {
  width: 120px;
  margin-bottom: 0.75rem;
}

/* TITLE */
.title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0.5rem 0 1rem;
  position: relative;
  display: inline-block;
}

.title-white {
  color: #ffffff;
}

.title-feed {
  color: #ff7a1a;
  display: inline-block;
  transition: filter 0.3s ease;
}

.title-feed:hover {
  filter: drop-shadow(0 0 10px rgba(255, 140, 40, 0.9))
          drop-shadow(0 0 20px rgba(255, 180, 80, 0.7));
}

/* TITLE GLOW */
.interactive-title::before {
  content: "";
  position: absolute;
  inset: -30px -60px;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 0%),
    rgba(255, 200, 120, calc(0.4 * var(--glow-intensity, 0.5))),
    rgba(255, 160, 60, calc(0.2 * var(--glow-intensity, 0.5))),
    transparent 70%
  );
  filter: blur(22px);
  z-index: -1;
  pointer-events: none;
  transition: background 0.2s ease;
}

/* CLOUDS */
.cloud {
  position: absolute;
  width: 220px;
  height: 90px;
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(148, 163, 184, 0.25),
    0 18px 40px rgba(148, 163, 184, 0.45);
  border-radius: 999px;
  opacity: 0.9;
  animation: drift 45s linear infinite;
}

.cloud-right {
  top: 25%;
  right: -60px;
  animation-duration: 60s;
  animation-direction: reverse;
}

.cloud-left {
  top: 10%;
  left: -60px;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
}

.cloud::before {
  width: 110px;
  height: 110px;
  top: -40px;
  left: 20px;
}

.cloud::after {
  width: 90px;
  height: 90px;
  top: -30px;
  right: 20px;
}

@keyframes drift {
  0% { transform: translateX(0); }
  100% { transform: translateX(200px); }
}

/* 24-HOUR LINE */
.dayline {
  margin: 0 auto;
  max-width: 720px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.dayline-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  color: #6b7280;
}

.dayline-end .emoji {
  font-size: 1.6rem;
  margin-bottom: 0.15rem;
}

.dayline-track {
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
}

.dayline-gradient {
  position: absolute;
  inset: 50% 0 auto;
  height: 8px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #0f172a 0%,
    #1d4ed8 20%,
    #22c55e 40%,
    #facc15 60%,
    #f97316 80%,
    #0f172a 100%
  );
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4);
}

.dayline-now {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.6);
}

/* SCHEDULE */
.schedule {
  padding: 2rem 5vw 8rem;
}

/* PARALLAX DAY BLOCKS */
.day-block {
  position: relative;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.day-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.day-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0.95));
  pointer-events: none;
}

.day-block > * {
  position: relative;
  z-index: 1;
}

/* Parallax backgrounds */
.morning-block {
  background-image: url("images/morning-parallax.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.afternoon-block {
  background-image: url("images/afternoon-parallax.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.evening-block {
  background-image: url("images/evening-parallax.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* DAY TITLES */
.day-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-left: 4px;
}

.morning-block .day-title {
  color: #d97706;
}

.afternoon-block .day-title {
  color: #15803d;
}

.evening-block .day-title {
  color: #1d4ed8;
}

/* SLOT CARD BASE */
.slot-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.slot-card.active-slot {
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  border-color: #3b82f6;
}

.slot-info h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #374151;
}

.slot-info h4 {
  margin: 0.2rem 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #111827;
}

.slot-info p {
  margin: 0.15rem 0;
  font-size: 0.85rem;
  color: #4b5563;
}

.slot-sponsor img {
  width: 48px;
  height: auto;
  opacity: 0.9;
}

/* COLOR CODING */
.morning-slot {
  background: linear-gradient(#fffdf3, #fff7c8);
  border-left: 5px solid #facc15;
}

.afternoon-slot {
  background: linear-gradient(#fafffa, #e9ffe9);
  border-left: 5px solid #22c55e;
}

.evening-slot {
  background: linear-gradient(#f7faff, #e3f0ff);
  border-left: 5px solid #3b82f6;
}

/* LOCATIONS + CITY ICONS */
.locations {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.city-icons {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.city-icons img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  opacity: 0.9;
  animation: cityFloat 3s ease-in-out infinite;
}

@keyframes cityFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

.city-icons img:nth-child(2) {
  animation-delay: 0.2s;
}

/* LIVE BADGE + WAVEFORM */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ff0033;
  color: white;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 8px;
  animation: livePulse 1.4s ease-in-out infinite;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 4px rgba(255,0,60,0.6); }
  50% { box-shadow: 0 0 12px rgba(255,0,60,1); }
  100% { box-shadow: 0 0 4px rgba(255,0,60,0.6); }
}

.live-waveform {
  display: inline-flex;
  gap: 2px;
}

.live-bar {
  width: 2px;
  height: 10px;
  border-radius: 999px;
  background: #ffffff;
  animation: waveBounce 0.7s ease-in-out infinite;
}

.live-bar:nth-child(2) { animation-delay: 0.1s; height: 14px; }
.live-bar:nth-child(3) { animation-delay: 0.2s; height: 18px; }
.live-bar:nth-child(4) { animation-delay: 0.3s; height: 14px; }
.live-bar:nth-child(5) { animation-delay: 0.4s; height: 10px; }

@keyframes waveBounce {
  0%, 100% { transform: scaleY(0.6); opacity: 0.7; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

/* SLOT PROGRESS */
.slot-progress {
  margin-top: 10px;
  height: 6px;
  width: 100%;
  background: rgba(0,0,0,0.08);
  border-radius: 999px;
  overflow: hidden;
}

.slot-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  border-radius: 999px;
  transition: width 1s linear;
}

/* FLOATING TIMELINE INDICATOR */
.timeline-indicator {
  position: fixed;
  left: 10px;
  top: 30%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 50;
  pointer-events: none;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #3b82f6;
  box-shadow: 0 0 0 6px rgba(59,130,246,0.35);
}

.timeline-label {
  margin-top: 6px;
  font-size: 0.7rem;
  color: #1f2933;
  background: #ffffff;
  padding: 2px 6px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* ================================
   BOTTOM NAV — MOBILE FIRST
================================ */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1rem;
  z-index: 999;
}

/* All nav items */
.bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 0.75rem;
  cursor: pointer;
}

/* Icon sizing */
.bottom-nav .nav-item img {
  width: 26px;
  height: 26px;
  margin-bottom: 0.2rem;
  object-fit: contain;
}

/* Active state */
.bottom-nav .nav-item.active span {
  color: #ff8f1f;
  font-weight: 700;
}

/* Disabled state */
.bottom-nav .nav-item.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ================================
   CENTER HOME ICON
================================ */

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-center .nav-item {
  background: rgba(255,255,255,0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

/* ================================
   RIGHT TEXT NAV
================================ */

.nav-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-right .nav-item {
  flex-direction: row;
  gap: 6px;
  font-size: 0.85rem;
}

/* ================================
   LEFT ICON GROUP
================================ */

.bottom-nav > button.nav-item {
  margin-right: 0.5rem;
}

/* ================================
   DESKTOP — HIDE NAV
================================ */

@media (min-width: 900px) {
  .bottom-nav {
    display: none;
  }
}
