/* HineySpaces -- brand-kit stylesheet */

:root {
  --navy: #0A0F2C;
  --deep: #050819;
  --orange: #FF8D01;
  --orange2: #FFB347;
  --cream: #FDF8F1;
  --muted: #8C92AD;
  --card-bg: #111733;
  --card-border: rgba(255, 255, 255, 0.08);
  --card-radius: 14px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --accent: 'Fraunces', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: linear-gradient(180deg, var(--navy) 0%, var(--deep) 100%);
  color: var(--cream);
  font-family: var(--font);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ---- ORANGE TOP BAR ---- */
.top-bar {
  height: 8px;
  background: var(--orange);
}

/* ---- HEADER ---- */
.header {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px 0;
}
.header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.wordmark-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}
.wordmark {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.04em;
  line-height: 1;
}
.wm-h { color: var(--cream); }
.wm-s { color: var(--orange); }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.16em;
  margin-top: 6px;
}
.follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--navy);
  background: var(--orange);
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: 0.3px;
  box-shadow: 0 0 20px rgba(255, 141, 1, 0.25);
  transition: box-shadow 0.15s;
}
.follow-btn:hover { box-shadow: 0 0 32px rgba(255, 141, 1, 0.45); }

/* ---- SECTIONS ---- */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-inner {
  padding: 40px 0;
}
.section-title {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  color: var(--orange);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

/* ---- DATE ROW ---- */
.date-row {
  margin-bottom: 24px;
}
.date-pill {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--card-border);
  padding: 8px 18px;
  border-radius: 40px;
  letter-spacing: 0.1em;
}

/* ---- STALE NOTE ---- */
.stale-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 20px;
  padding: 10px 14px;
  background: rgba(255, 141, 1, 0.06);
  border: 1px solid rgba(255, 141, 1, 0.15);
  border-radius: 8px;
}
.stale-note a { color: var(--orange); text-decoration: none; }
.stale-note a:hover { text-decoration: underline; }
.hidden { display: none !important; }

/* ---- SHOW GRID ---- */
.show-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

/* ---- SHOW CARD ---- */
.show-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 18px 18px 18px 28px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
/* orange left accent bar */
.show-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--orange);
  border-radius: var(--card-radius) 0 0 var(--card-radius);
}

.show-time {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--orange);
  position: absolute;
  top: 16px;
  right: 16px;
}
.show-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--cream);
  margin-bottom: 4px;
  padding-right: 80px;
}
.show-host {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}
.show-host a {
  color: var(--muted);
  text-decoration: none;
}
.show-host a:hover { color: var(--orange); }

/* ---- LIVE / UP NEXT PILLS ---- */
.pill {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 6px;
  margin-top: 10px;
}
.pill-live {
  background: var(--orange);
  color: var(--navy);
}
.pill-next {
  background: rgba(255, 179, 71, 0.12);
  color: var(--orange2);
  border: 1px solid rgba(255, 179, 71, 0.25);
}

/* LIVE NOW card glow */
.show-card.is-live {
  border-color: rgba(255, 141, 1, 0.45);
  box-shadow: 0 0 24px rgba(255, 141, 1, 0.18), 0 0 48px rgba(255, 141, 1, 0.06);
}

/* ---- HOST GRID ---- */
.host-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

/* ---- HOST CARD ---- */
.host-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.host-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.host-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  border: 2px solid rgba(255, 141, 1, 0.3);
}
.host-avatar-fallback {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--navy);
  border: 2px solid rgba(255, 141, 1, 0.3);
}
.host-info { min-width: 0; }
.host-name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--cream);
}
.host-show {
  font-size: 0.82rem;
  color: var(--orange2);
  font-family: var(--accent);
  font-style: italic;
}
.host-slot {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.host-bio {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}
.host-follow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--orange);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid rgba(255, 141, 1, 0.3);
  border-radius: 8px;
  align-self: flex-start;
  transition: background 0.15s, border-color 0.15s;
}
.host-follow:hover {
  background: rgba(255, 141, 1, 0.08);
  border-color: rgba(255, 141, 1, 0.5);
}

/* ---- FOOTER ---- */
.footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 48px;
}
.footer-inner {
  border-top: 1px solid var(--card-border);
  padding-top: 24px;
  text-align: center;
}
.footer-link {
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.footer-pub {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.footer-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.footer-brand {
  font-weight: 900;
  font-size: 1.1rem;
}

/* ---- DAY THEME TAG ---- */
.day-tag {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(0.82rem, 2vw, 1rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 8px;
  animation: tagPulse 3s ease-in-out infinite;
}
@keyframes tagPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.03); }
}

/* ---- FLOATING PARTICLES ---- */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  font-size: 1.4rem;
  opacity: 0;
  animation: particleFloat linear forwards;
  will-change: transform, opacity;
}
@keyframes particleFloat {
  0%   { opacity: 0; transform: translateY(0) rotate(0deg) scale(0.6); }
  10%  { opacity: 0.7; }
  80%  { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-100vh) rotate(360deg) scale(1); }
}

/* All content above particles */
.top-bar, .header, .section, .footer { position: relative; z-index: 1; }

/* ---- DAY-SPECIFIC THEMES ---- */

/* Monday: MOON DAY */
body.day-monday .day-tag {
  background: linear-gradient(135deg, rgba(120, 140, 255, 0.15), rgba(180, 160, 255, 0.1));
  color: #B4A0FF;
  border: 1px solid rgba(180, 160, 255, 0.25);
}
body.day-monday .top-bar {
  background: linear-gradient(90deg, var(--orange), #B4A0FF);
}

/* Tuesday: TACO TUESDAY */
body.day-tuesday .day-tag {
  background: linear-gradient(135deg, rgba(255, 179, 71, 0.18), rgba(255, 120, 50, 0.1));
  color: var(--orange2);
  border: 1px solid rgba(255, 179, 71, 0.3);
}

/* Wednesday: HUMP DAY */
body.day-wednesday .day-tag {
  background: linear-gradient(135deg, rgba(120, 200, 255, 0.12), rgba(80, 180, 220, 0.08));
  color: #78C8FF;
  border: 1px solid rgba(120, 200, 255, 0.25);
}
body.day-wednesday .top-bar {
  background: linear-gradient(90deg, var(--orange), #78C8FF);
}

/* Thursday: THIRSTY THURSDAY */
body.day-thursday .day-tag {
  background: linear-gradient(135deg, rgba(255, 200, 100, 0.15), rgba(200, 140, 60, 0.1));
  color: #FFC864;
  border: 1px solid rgba(255, 200, 100, 0.3);
}

/* Friday: THIF! */
body.day-friday .day-tag {
  background: linear-gradient(135deg, rgba(255, 141, 1, 0.2), rgba(255, 80, 120, 0.12));
  color: var(--orange);
  border: 1px solid rgba(255, 141, 1, 0.4);
  animation: tagPulse 2s ease-in-out infinite, thifGlow 1.5s ease-in-out infinite alternate;
}
@keyframes thifGlow {
  from { box-shadow: 0 0 8px rgba(255, 141, 1, 0.2); }
  to   { box-shadow: 0 0 24px rgba(255, 141, 1, 0.45), 0 0 48px rgba(255, 80, 120, 0.15); }
}
body.day-friday .top-bar {
  background: linear-gradient(90deg, #FF5078, var(--orange), #FFD700, var(--orange), #FF5078);
  background-size: 200% 100%;
  animation: barSlide 3s linear infinite;
}
@keyframes barSlide {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}
body.day-friday .wordmark {
  animation: wordBounce 0.6s ease-in-out;
}
@keyframes wordBounce {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.06) rotate(-1deg); }
  60%  { transform: scale(1.03) rotate(0.5deg); }
  100% { transform: scale(1); }
}

/* Saturday: CHILL-A-DAY */
body.day-saturday .day-tag {
  background: linear-gradient(135deg, rgba(100, 220, 180, 0.12), rgba(80, 200, 160, 0.08));
  color: #64DCB4;
  border: 1px solid rgba(100, 220, 180, 0.25);
}
body.day-saturday .top-bar {
  background: linear-gradient(90deg, var(--orange), #64DCB4);
}

/* Sunday: SOUL SUNDAY */
body.day-sunday .day-tag {
  background: linear-gradient(135deg, rgba(255, 220, 100, 0.12), rgba(255, 180, 60, 0.08));
  color: #FFDC64;
  border: 1px solid rgba(255, 220, 100, 0.25);
}
body.day-sunday .top-bar {
  background: linear-gradient(90deg, #FFDC64, var(--orange));
}

/* ---- RESPONSIVE ---- */
@media (max-width: 480px) {
  .header { padding: 28px 16px 0; }
  .section { padding: 0 16px; }
  .footer { padding: 0 16px 40px; }
  .show-grid { grid-template-columns: 1fr; }
  .host-grid { grid-template-columns: 1fr; }
  .follow-btn { width: 100%; justify-content: center; }
}
