/* === RIGROT GLOBAL STYLES (Unified Main Sheet) === */

/* === PAGE STRUCTURE: ensures footer stays at bottom === */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 80px; /* existing navbar spacing */
}

.wrapper {
  flex: 1; /* pushes footer down when content is short */
}

/* === BASE PAGE SETUP === */
html, body {
  width: 100%;
  background-color: #0a0a0a;
  background-image: url("/images/background_tile.png");
  background-repeat: repeat;
  background-size: auto;
  color: #e6f1ff;
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

/* --- WRAPPER --- */
.wrapper {
  width: 100%;
  max-width: 820px;
  margin: 0 auto 120px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* === HERO === */
.rigrot-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}
.rigrot-wrapper img {
  width: 100%;
  max-width: 820px;
  z-index: 2;
}
.rigrot-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255,119,0,0.3) 0%, transparent 70%);
  filter: blur(35px);
  z-index: 1;
}

/* === SECTION TITLES === */
.content-box-title {
  font-size: 1.4rem;
  color: #ffb84d;
  text-shadow: 0 0 12px rgba(255,140,0,0.8);
  margin-bottom: 10px;
  text-align: center;
}

/* === BOXES === */
.description, .episode-box, .audio-player, .streaming-links-container, .sticker-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255,119,0,0.4);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 40px;
  box-shadow: 0 0 20px rgba(255,119,0,0.25);
}
.episode-summary {
  line-height: 1.6;
  font-size: 1rem;
}
.episode-date {
  color: #b3d9ff;
  font-weight: 500;
  margin-bottom: 10px;
  text-align: center;
}

/* === AUDIO PLAYER === */
.player-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,119,0,0.4);
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 0 0 12px rgba(255,119,0,0.2);
}
.play-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  fill: #ffb84d;
  transition: transform 0.2s ease;
}
.play-btn:hover {
  transform: scale(1.1);
}
.progress-container {
  flex: 1;
  background: rgba(255,255,255,0.15);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ff9900, #ff5e00);
  box-shadow: 0 0 10px rgba(255,119,0,0.6);
  border-radius: 3px;
  transition: width 0.2s ease;
}
.time {
  font-size: 0.9rem;
  color: #b3d9ff;
  width: 48px;
  text-align: right;
}

/* === STREAMING LINKS === */
.streaming-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.streaming-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,119,0,0.15);
  border: 1px solid rgba(255,119,0,0.5);
  border-radius: 8px;
  padding: 10px 16px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(255,119,0,0.3);
  transition: background 0.3s ease, transform 0.2s ease;
}
.streaming-btn:hover {
  background: rgba(255,119,0,0.3);
  transform: scale(1.05);
}
.icon-mic {
  width: 22px;
  height: 22px;
  fill: #ffb84d;
}

/* === IMAGES === */
.ambulance-container, .junkdrawer-container {
  display: flex;
  justify-content: center;
  margin: 40px auto;
  max-width: 100%;
}
.ambulance-container img, .junkdrawer-container img {
  width: 100%;
  max-width: 820px;
  border-radius: 8px;
  display: block;
}

/* === STICKERS (Centered Layout) === */
.sticker-box {
  text-align: center;
}
.sticker-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
}
.sticker-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.sticker-image img {
  width: 100%;
  max-width: 200px;
  border-radius: 10px;
  display: block;
}
.sticker-content {
  text-align: center;
  max-width: 500px;
  width: 100%;
}
.sticker-text {
  margin-bottom: 10px;
  text-align: center;
  line-height: 1.5;
}

/* === Sticker Form === */
.sticker-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.sticker-form input,
.sticker-form textarea {
  width: 100%;
  margin: 6px 0;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid rgba(255,119,0,0.4);
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  box-sizing: border-box;
}
.sticker-form input::placeholder,
.sticker-form textarea::placeholder {
  color: #e6f1ff;
  opacity: 0.7;
  font-family: 'Inter', sans-serif;
}
.sticker-form button {
  background: linear-gradient(90deg,#ff9900,#ff5e00);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 0 10px rgba(255,140,0,0.6);
  transition: background 0.3s ease, transform 0.2s ease;
}
.sticker-form button:hover {
  transform: scale(1.05);
}

/* === Removed note === */
.sticker-note {
  display: none;
}

/* === COUNTDOWN CLOCK === */
#countdown {
  font-size: 1.4em;
  font-weight: 600;
  color: #ffae00;
  margin-top: 10px;
  text-align: center;
}

/* === EPISODE IMAGE === */
.episode-image {
  text-align: center;
  margin: 15px 0;
}
.episode-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  border: 2px solid #e6f1ff22;
  box-shadow: 0 0 10px rgba(230, 241, 255, 0.2);
}

/* === FOOTER === */
.site-footer {
  background: rgba(0, 0, 0, 0.7);
  border-top: 2px solid rgba(255, 119, 0, 0.6);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
  padding: 40px 15px 50px 15px;
  text-align: center;
  color: #e6f1ff;
  backdrop-filter: blur(8px);
  transition: opacity 0.6s ease;
  position: relative;
  z-index: 100;
  margin-top: auto;
}
.footer-content {
  max-width: 900px;
  margin: 0 auto;
}
.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}
.footer-logo img {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 0 15px rgba(255, 140, 0, 0.8));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.footer-logo a:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 25px rgba(255, 184, 77, 1));
}
.footer-text {
  font-size: 0.95rem;
  color: #b3d9ff;
  line-height: 1.5;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 119, 0, 0.1);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.footer-social a:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 184, 77, 0.8);
}
.footer-social a img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(255, 119, 0, 0.7));
  transition: filter 0.3s ease;
}
.footer-social a:hover img {
  filter: drop-shadow(0 0 12px rgba(255, 184, 77, 1));
}
.footer-note {
  margin-top: 20px;
}
.footer-note p {
  color: #ffb84d;
  font-size: 0.9rem;
  text-shadow: 0 0 10px rgba(255, 140, 0, 0.6);
}

/* === EPISODES PAGE FIX === */
.episode-box {
  text-align: center;
}
.episode-box img {
  display: block;
  margin: 0 auto 18px auto;
}
.episode-summary {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 16px auto;
  line-height: 1.6;
}

/* === BIG BABY NO NECK (BBNN) INSIDE DESCRIPTION BOX === */
.description {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}
.bbnn-container {
  display: flex;
  justify-content: center;
  align-items: end;
  width: 100%;
  margin-top: 20px;
}
.bbnn-img {
  width: 50%;
  max-width: 220px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 14px rgba(255,119,0,0.7));
  opacity: 0.9;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .wrapper {
    margin-top: 90px;
    margin-bottom: 100px;
    max-width: 90%;
    padding: 0 15px;
  }
  .sticker-flex {
    flex-direction: column;
    align-items: center;
  }
  .sticker-image {
    justify-content: center;
  }
  .sticker-image img {
    width: 120px;
  }
  .content-box-title {
    font-size: 1.2rem;
  }
  .ambulance-container img,
  .junkdrawer-container img,
  .rigrot-wrapper img {
    max-width: 100%;
  }
  .footer-logo img {
    width: 180px;
  }
  .footer-social a {
    width: 42px;
    height: 42px;
  }
  .footer-social a img {
    width: 24px;
    height: 24px;
  }
}

/* === LARGE SCREEN BALANCE === */
@media (min-width: 820px) {
  .sticker-flex {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  .sticker-image {
    margin-right: 30px;
  }
}

