/* ========================================================================
   Radio Esperanza Design System
   Self-hosted fonts + CSS Custom Properties + Base + Utilities
   ======================================================================== */

/* ═══ SECTION 1: FONT-FACE ═══ */
@import url('../fonts/fonts.css');

/* Material Symbols base — required for ligature rendering */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'liga';
}

/* Filled icon variant (FILL=1) */
.material-symbols-filled {
  font-family: 'Material Symbols Filled' !important;
}

/* ═══ SECTION 2: TOKENS ═══ */
:root {
  --re-surface:                  #16121b;
  --re-surface-dim:              #16121b;
  --re-surface-bright:           #3c3741;
  --re-surface-container-lowest:  #100d15;
  --re-surface-container-low:    #1e1a23;
  --re-surface-container:        #221e27;
  --re-surface-container-high:   #2d2832;
  --re-surface-container-highest: #38333d;
  --re-on-surface:               #e8dfed;
  --re-on-surface-variant:       #d0c5af;
  --re-inverse-surface:          #e8dfed;
  --re-inverse-on-surface:       #332e38;
  --re-outline:                  #99907c;
  --re-outline-variant:          #4d4635;
  --re-surface-tint:             #e9c349;
  --re-primary:                  #f2ca50;
  --re-on-primary:               #3c2f00;
  --re-primary-container:        #d4af37;
  --re-on-primary-container:     #554300;
  --re-inverse-primary:          #735c00;
  --re-secondary:                #fface8;
  --re-on-secondary:             #57124d;
  --re-secondary-container:      #752d67;
  --re-on-secondary-container:   #f49bdd;
  --re-tertiary:                 #ffc293;
  --re-on-tertiary:              #4d2600;
  --re-tertiary-container:       #ff9b3f;
  --re-on-tertiary-container:    #6c3800;
  --re-error:                    #ffb4ab;
  --re-on-error:                 #690005;
  --re-error-container:          #93000a;
  --re-on-error-container:       #ffdad6;
  --re-primary-fixed:            #ffe088;
  --re-primary-fixed-dim:        #e9c349;
  --re-on-primary-fixed:         #241a00;
  --re-on-primary-fixed-variant:  #574500;
  --re-secondary-fixed:          #ffd7f0;
  --re-secondary-fixed-dim:      #fface8;
  --re-on-secondary-fixed:       #3a0033;
  --re-on-secondary-fixed-variant: #722b65;
  --re-tertiary-fixed:           #ffdcc3;
  --re-tertiary-fixed-dim:       #ffb77d;
  --re-on-tertiary-fixed:        #2f1500;
  --re-on-tertiary-fixed-variant: #6e3900;
  --re-background:               #16121b;
  --re-on-background:            #e8dfed;
  --re-surface-variant:          #38333d;

  /* ── PRD v2.0: fixed brand backgrounds ── */
  --re-bg-primary:               #0f0b14;
  --re-bg-secondary:             #16121b;

  /* ── Typography tokens ── */
  --re-font-display: 'Playfair Display', Georgia, serif;
  --re-font-body:    'Manrope', system-ui, sans-serif;
  --re-font-icons:   'Material Symbols Outlined';

  /* ── Spacing tokens (8px base from DESIGN.md) ── */
  --re-space-xs:   4px;
  --re-space-sm:   8px;
  --re-space-md:  16px;
  --re-space-lg:  24px;
  --re-space-xl:  48px;

  /* ── Container ── */
  --re-container-max:    1200px;
  --re-container-pad:    var(--re-space-lg);
  --re-gutter:           var(--re-space-md);
  --re-section-gap:      var(--re-space-xl);

  /* ── Shape tokens ── */
  --re-radius-sm:    0.25rem;
  --re-radius:       0.5rem;
  --re-radius-md:    0.75rem;
  --re-radius-lg:    1rem;
  --re-radius-xl:    1.5rem;
  --re-radius-full:  9999px;

  /* ── Shadow tokens ── */
  --re-shadow-card: 0 10px 40px -10px rgba(26, 22, 31, 0.6);
  --re-shadow-glow: 0 10px 40px -10px rgba(242, 202, 80, 0.3);
}

/* ── Dynamic ambient color (updated via JS) ── */
:root {
  --current-song-color: 180, 140, 60;
}

/* ═══ SECTION 3: RESET & BASE ═══ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--re-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--re-on-surface);
  width: 100%;
  max-width: 100vw;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.008) 2px,
      rgba(255, 255, 255, 0.008) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.004) 2px,
      rgba(255, 255, 255, 0.004) 4px
    ),
    var(--re-bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 0;
  padding-top: env(safe-area-inset-top);
}

.re-main {
  padding-top: 35px;
  position: relative;
}

/* ── Scroll reveal ── */
.re-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.re-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.re-reveal--stagger > *:nth-child(1) { transition-delay: 0ms; }
.re-reveal--stagger > *:nth-child(2) { transition-delay: 120ms; }
.re-reveal--stagger > *:nth-child(3) { transition-delay: 240ms; }
.re-reveal--stagger > *:nth-child(4) { transition-delay: 360ms; }
.re-reveal--stagger > *:nth-child(5) { transition-delay: 480ms; }

::selection {
  background-color: var(--re-primary);
  color: var(--re-on-primary);
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input {
  font: inherit;
  color: inherit;
}

/* ═══ SECTION 4: TYPOGRAPHY CLASSES ═══ */
.headline-lg {
  font-family: var(--re-font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -0.02em;
}

.headline-md {
  font-family: var(--re-font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
}

.headline-sm {
  font-family: var(--re-font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.body-lg {
  font-family: var(--re-font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.body-md {
  font-family: var(--re-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.label-md {
  font-family: var(--re-font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.05em;
}

.headline-lg-mobile {
  font-family: var(--re-font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}

/* ═══ SECTION 5: SPACING & LAYOUT UTILITIES ═══ */
.container {
  max-width: var(--re-container-max);
  margin-inline: auto;
}

.section-padding {
  padding-block: var(--re-section-gap);
}

.flex-gap-sm  { gap: var(--re-space-sm); }
.flex-gap-md  { gap: var(--re-space-md); }
.flex-gap-lg  { gap: var(--re-space-lg); }

.grid-gap-sm  { gap: var(--re-space-sm); }
.grid-gap-md  { gap: var(--re-space-md); }
.grid-gap-lg  { gap: var(--re-space-lg); }

/* ═══ SECTION 6: COLOR UTILITY CLASSES ═══ */
/* ── Text colors ── */
.text-primary           { color: var(--re-primary); }
.text-secondary        { color: var(--re-secondary); }
.text-tertiary         { color: var(--re-tertiary); }
.text-on-surface       { color: var(--re-on-surface); }
.text-on-surface-variant { color: var(--re-on-surface-variant); }

/* ── Background colors ── */
.bg-surface                 { background-color: var(--re-surface); }
.bg-surface-dim             { background-color: var(--re-surface-dim); }
.bg-surface-bright          { background-color: var(--re-surface-bright); }
.bg-surface-container-lowest { background-color: var(--re-surface-container-lowest); }
.bg-surface-container-low   { background-color: var(--re-surface-container-low); }
.bg-surface-container       { background-color: var(--re-surface-container); }
.bg-surface-container-high  { background-color: var(--re-surface-container-high); }
.bg-surface-container-highest { background-color: var(--re-surface-container-highest); }
.bg-primary                 { background-color: var(--re-primary); }

/* ═══ SECTION 7: GRADIENT & GLASS UTILITIES ═══ */
.grace-gradient {
  background: linear-gradient(135deg, #f2ca50 0%, #ff9b3f 100%);
}

.spiritual-glow {
  box-shadow: var(--re-shadow-glow);
}

.glass {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(34, 30, 39, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ═══ SECTION 8: COMPONENTS ═══ */

/* ── Header / Navigation ── */
.re-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(22, 18, 27, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.re-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--re-container-max);
  margin-inline: auto;
  padding: var(--re-space-sm) var(--re-container-pad);
}

.re-header__logo {
  font-family: var(--re-font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: var(--re-primary);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* Shrink logo on small screens so header doesn't overflow */
@media (max-width: 480px) {
  .re-header__logo {
    font-size: 18px;
  }
}

.re-header__nav {
  display: none;
  align-items: center;
  gap: var(--re-gutter);
}

.re-nav-link {
  font-family: var(--re-font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.05em;
  color: var(--re-on-surface-variant);
  text-decoration: none;
  transition: color 0.2s ease;
  padding-block: var(--re-space-xs);
  white-space: nowrap;
}

.re-nav-link:hover,
.re-nav-link--active {
  color: var(--re-primary);
}

.re-nav-link--active {
  border-bottom: 2px solid var(--re-primary);
}

.re-header__actions {
  display: flex;
  align-items: center;
  gap: var(--re-space-sm);
}

.re-share-btn,
.re-hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--re-space-sm);
  color: var(--re-on-surface-variant);
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.re-share-btn:hover,
.re-hamburger-btn:hover {
  color: var(--re-primary);
}

/* ── Mobile Menu Overlay ── */
.re-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(16, 13, 21, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--re-space-xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.re-mobile-menu--open {
  opacity: 1;
  pointer-events: auto;
}

.re-mobile-menu .re-nav-link {
  font-family: var(--re-font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

/* ── Main Content ── */
.re-main {
  padding-top: 35px;
  position: relative;
}

/* ── Hero Section ── */
.re-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--re-space-lg);
  padding-block: var(--re-space-xl);
  padding-inline: var(--re-container-pad);
  max-width: var(--re-container-max);
  margin-inline: auto;
}

/* Ambient color glow + bottom fade — hero only */
.re-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 200%;
  z-index: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: var(--backdrop-image, url('../img/logo.webp'));
  filter: blur(80px) saturate(1.8);
  opacity: 0.28;
  transition: opacity 0.8s ease;
}

.re-hero__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--re-space-lg);
  text-align: center;
}

.re-live-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--re-space-sm);
  padding: var(--re-space-xs) var(--re-space-md);
  border-radius: var(--re-radius-full);
  background: rgba(255, 155, 63, 0.1);
  color: var(--re-tertiary);
  border: 1px solid rgba(255, 194, 147, 0.2);
  font-family: var(--re-font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.05em;
  width: fit-content;
  align-self: center;
}

.re-live-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--re-tertiary);
  flex-shrink: 0;
  animation: re-pulse-live 2s ease-in-out infinite;
}

/* Offline state */
.re-live-chip--offline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--re-on-surface-variant);
  border-color: rgba(255, 255, 255, 0.08);
}

.re-live-chip--offline .re-live-chip__dot {
  background: var(--re-outline);
  animation: none;
}

.re-hero__title {
  font-family: var(--re-font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -0.02em;
  color: var(--re-on-surface);
}

.re-hero__title .text-primary {
  color: var(--re-primary);
}

.re-hero__description {
  font-family: var(--re-font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  min-height: 3.5em;
  color: var(--re-on-surface-variant);
  max-width: 36rem;
  margin-inline: auto;
}

.re-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--re-space-lg);
  padding-top: var(--re-space-sm);
}

.re-btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--re-space-sm);
  padding: var(--re-space-md) var(--re-space-xl);
  border-radius: var(--re-radius-full);
  background: linear-gradient(135deg, var(--re-primary) 0%, var(--re-tertiary-container) 100%);
  color: var(--re-on-primary);
  font-family: var(--re-font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.05em;
  box-shadow: var(--re-shadow-glow);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.2s ease;
}

.re-btn-play:hover {
  filter: brightness(1.1);
}

.re-btn-play:active {
  transform: scale(0.95);
}

.re-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--re-space-md) var(--re-space-xl);
  border-radius: var(--re-radius-full);
  border: 1px solid var(--re-outline-variant);
  color: var(--re-on-surface);
  font-family: var(--re-font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.05em;
  background: none;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.re-btn-outline:hover {
  background-color: rgba(56, 51, 61, 0.3);
}

.re-hero__visual {
  position: relative;
  width: 20rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--re-space-md);
}

.re-hero__visual-glow {
  position: absolute;
  inset: -2rem;
  top: 0;
  height: 20rem;
  background: rgba(242, 202, 80, 0.1);
  filter: blur(120px);
  border-radius: 50%;
  pointer-events: none;
}

.re-hero__visual-art {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2rem;
}

.re-hero__caption {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}

.re-hero__caption-title {
  font-family: var(--re-font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--re-on-surface);
}

.re-hero__caption-sub {
  font-family: var(--re-font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: var(--re-on-surface-variant);
}

.re-section-divider {
  width: 100%;
  height: 0;
}

/* ── Schedule Section ── */
.re-schedule {
  padding-block: 0;
  padding-inline: var(--re-container-pad);
  padding-top: var(--re-space-md);
}

.re-schedule__inner {
  max-width: var(--re-container-max);
  margin-inline: auto;
}

.re-schedule__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--re-space-xl);
}

.re-schedule__title-group {
  display: flex;
  flex-direction: column;
}

.re-schedule__title {
  font-family: var(--re-font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: var(--re-on-surface);
}

.re-schedule__subtitle {
  font-family: var(--re-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--re-on-surface-variant);
  margin-top: var(--re-space-sm);
}

.re-schedule__view-all {
  display: flex;
  align-items: center;
  gap: var(--re-space-xs);
  color: var(--re-primary);
  font-family: var(--re-font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.re-schedule__view-all:hover {
  opacity: 0.8;
}

.re-schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--re-gutter);
}

.re-schedule-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(22, 18, 27, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--re-radius-xl);
  padding: var(--re-space-lg);
  cursor: default;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.re-schedule-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(242, 202, 80, 0.04);
}

.re-schedule-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at center, rgba(242, 202, 80, 0.03), transparent 70%);
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.re-schedule-card:hover::after {
  opacity: 1;
}

.re-schedule-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--re-space-sm);
}

.re-schedule-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--re-font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: var(--re-space-xs) var(--re-space-sm);
  border-radius: var(--re-radius-full);
  border: 1px solid transparent;
}

.re-schedule-badge--manana {
  background: rgba(255, 155, 63, 0.1);
  color: var(--re-tertiary);
  border-color: rgba(255, 194, 147, 0.2);
}

.re-schedule-badge--tarde {
  background: rgba(242, 202, 80, 0.1);
  color: var(--re-primary);
  border-color: rgba(242, 202, 80, 0.2);
}

.re-schedule-badge--noche {
  background: rgba(255, 172, 232, 0.1);
  color: var(--re-secondary);
  border-color: rgba(255, 172, 232, 0.2);
}

.re-schedule-card__time {
  font-family: var(--re-font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--re-on-surface-variant);
}

.re-schedule-card__title {
  font-family: var(--re-font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  color: var(--re-on-surface);
  margin-bottom: var(--re-space-sm);
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.re-schedule-card:hover .re-schedule-card__title {
  color: var(--re-primary);
}

.re-schedule-card__desc {
  font-family: var(--re-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--re-on-surface-variant);
  margin-bottom: var(--re-space-lg);
}

.re-schedule-card__host {
  display: flex;
  align-items: center;
  gap: var(--re-space-sm);
  margin-top: auto;
  padding-top: var(--re-space-md);
}

.re-schedule-card__avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--re-radius-md);
  overflow: hidden;
  background-color: var(--re-surface-variant);
  flex-shrink: 0;
}

.re-schedule-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.re-schedule-card__host-name {
  font-family: var(--re-font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--re-on-surface);
}

/* ── Verse / Quote Card ── */
.re-verse {
  padding-block: var(--re-section-gap);
  padding-inline: var(--re-container-pad);
  max-width: var(--re-container-max);
  margin-inline: auto;
}

.re-verse__title {
  font-family: var(--re-font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 36px;
  color: var(--re-on-surface);
  text-align: center;
  margin-bottom: var(--re-space-xl);
}

.re-verse-card {
  position: relative;
  background: rgba(22, 18, 27, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2.5rem;
  padding: var(--re-space-xl);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
}

.re-verse-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(242, 202, 80, 0.12),
              0 2px 12px rgba(0, 0, 0, 0.2);
}

.re-verse-card:hover .re-verse-card__decoration {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.re-verse-card:hover .re-verse-card__icon {
  color: var(--re-secondary);
  transition: color 0.4s ease;
}

.re-verse-card:hover .re-verse-card__source {
  letter-spacing: 0.1em;
  transition: letter-spacing 0.4s ease;
}

.re-verse-card__decoration {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 100%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    rgba(242, 202, 80, 0.06),
    transparent 70%
  );
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.re-verse-card__content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.re-verse-card__icon {
  font-size: 48px;
  line-height: 1;
  color: var(--re-primary);
  margin-bottom: var(--re-space-lg);
  font-family: var(--re-font-icons);
  transition: color 0.4s ease;
}

.re-verse-card__text {
  font-family: var(--re-font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: var(--re-on-surface);
  margin-bottom: var(--re-space-lg);
}

.re-verse-card__reference {
  display: flex;
  align-items: center;
  gap: var(--re-space-sm);
}

.re-verse-card__line {
  width: 48px;
  height: 1px;
  background-color: var(--re-primary);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.4s ease;
}

.re-verse-card__source {
  font-family: var(--re-font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--re-primary);
  transition: letter-spacing 0.4s ease;
}

/* ── About Section ── */
.re-about {
  padding-block: var(--re-section-gap);
  padding-inline: var(--re-container-pad);
  max-width: var(--re-container-max);
  margin-inline: auto;
}

.re-about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--re-section-gap);
  align-items: center;
}

.re-about__image-container {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--re-radius-xl);
  overflow: hidden;
  box-shadow: var(--re-shadow-card);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
}

.re-about__image-container:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(242, 202, 80, 0.08),
              var(--re-shadow-card);
}

.re-about__image-container:hover img {
  filter: brightness(1.1);
  transition: filter 0.4s ease;
}

.re-about__image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.re-about__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--re-surface), transparent);
}

.re-about__location-badge {
  position: absolute;
  bottom: var(--re-space-lg);
  left: var(--re-space-lg);
  font-family: var(--re-font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: var(--re-space-xs) var(--re-space-md);
  border-radius: var(--re-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.re-about__content {
  display: flex;
  flex-direction: column;
  gap: var(--re-space-lg);
}

.re-about__title {
  font-family: var(--re-font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: var(--re-on-surface);
}

.re-about__text {
  font-family: var(--re-font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--re-on-surface-variant);
}

.re-check-list {
  display: flex;
  flex-direction: column;
  gap: var(--re-space-md);
  list-style: none;
  padding: 0;
  margin: 0;
}

.re-check-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--re-space-sm);
}

.re-check-list__icon {
  color: var(--re-primary);
  flex-shrink: 0;
}

.re-check-list__text {
  font-family: var(--re-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--re-on-surface);
}

/* ── Ministry Section ── */
.re-ministry {
  padding-block: var(--re-section-gap);
  padding-inline: var(--re-container-pad);
  max-width: var(--re-container-max);
  margin-inline: auto;
}

.re-ministry__inner {
  display: flex;
  flex-direction: column;
  gap: var(--re-section-gap);
}

.re-ministry__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--re-space-lg);
  max-width: 40rem;
  margin-inline: auto;
  text-align: left;
}

.re-ministry__logo {
  width: 80px;
  height: 80px;
  border-radius: var(--re-radius-lg);
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.4s ease;
}

.re-ministry__logo:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px rgba(242, 202, 80, 0.3));
}

.re-ministry__header-text {
  display: flex;
  flex-direction: column;
  gap: var(--re-space-xs);
}

.re-ministry__title {
  font-family: var(--re-font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: var(--re-on-surface);
}

.re-ministry__subtitle {
  font-family: var(--re-font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--re-on-surface-variant);
}

.re-ministry__days {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--re-space-lg);
}

.re-ministry__day-card {
  position: relative;
  background: rgba(22, 18, 27, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--re-radius-xl);
  padding: var(--re-space-lg) var(--re-space-xl);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease;
}

.re-ministry__day-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(242, 202, 80, 0.08),
              0 2px 12px rgba(0, 0, 0, 0.2);
}

.re-ministry__day-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at center, rgba(242, 202, 80, 0.03), transparent 70%);
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.re-ministry__day-card:hover::before {
  opacity: 1;
}

.re-ministry__day-name {
  font-family: var(--re-font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  color: var(--re-primary);
  margin-bottom: var(--re-space-md);
  padding-bottom: var(--re-space-sm);
  border-bottom: 1px solid rgba(242, 202, 80, 0.15);
}

.re-ministry__meeting-card {
  display: flex;
  align-items: flex-start;
  gap: var(--re-space-md);
  padding: var(--re-space-sm) 0;
}

.re-ministry__meeting-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin: 0;
}

.re-ministry__time {
  font-family: var(--re-font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.04em;
  color: var(--re-primary);
  background: rgba(242, 202, 80, 0.1);
  padding: 2px var(--re-space-sm);
  border-radius: var(--re-radius-full);
  min-width: 82px;
  text-align: center;
  flex-shrink: 0;
}

.re-ministry__meeting-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.re-ministry__meeting-type {
  font-family: var(--re-font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--re-on-surface);
}

.re-ministry__meeting-loc {
  font-family: var(--re-font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--re-on-surface-variant);
}

/* ── Footer ── */
.re-footer {
  background: var(--re-bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: var(--re-section-gap);
  padding-inline: var(--re-container-pad);
  padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
}

.re-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--re-section-gap);
  max-width: var(--re-container-max);
  margin-inline: auto;
}

.re-footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--re-space-lg);
}

.re-footer__brand {
  font-family: var(--re-font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: var(--re-primary);
}

.re-footer__desc {
  font-family: var(--re-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--re-on-surface-variant);
  max-width: 20rem;
}

.re-social-links {
  display: flex;
  gap: var(--re-space-md);
}

.re-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--re-surface-variant);
  color: var(--re-on-surface-variant);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.re-social-icon:hover {
  background-color: rgba(242, 202, 80, 0.2);
  color: var(--re-primary);
}

.re-footer__heading {
  font-family: var(--re-font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--re-primary);
}

.re-footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--re-space-md);
}

.re-footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--re-space-sm);
  font-family: var(--re-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--re-on-surface-variant);
}

.re-footer__contact-icon {
  color: var(--re-primary);
  flex-shrink: 0;
}

.re-footer__links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--re-space-md);
}

.re-footer__link {
  font-family: var(--re-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--re-on-surface-variant);
  text-decoration: none;
  transition: color 0.2s ease;
}

.re-footer__link:hover {
  color: var(--re-primary);
}

.re-footer__bottom {
  max-width: var(--re-container-max);
  margin-inline: auto;
  margin-top: var(--re-space-xl);
  padding-top: var(--re-space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: var(--re-space-md);
  font-family: var(--re-font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  color: var(--re-on-surface-variant);
}

/* ── Fixed Bottom Player ── */
.re-player {
  position: fixed;
  z-index: 60;
  max-width: 56rem;
  margin-inline: auto;
  bottom: max(var(--re-space-lg), env(safe-area-inset-bottom, 16px));
  left: max(var(--re-space-lg), env(safe-area-inset-left, 16px));
  right: max(var(--re-space-lg), env(safe-area-inset-right, 16px));
  transform: translate3d(0, 0, 0);
}

/* Clip pill overflow on mobile without affecting fixed positioning */
@media (max-width: 639px) {
  .re-player__pill {
    overflow: hidden;
  }
}



.re-player__pill {
  display: flex;
  align-items: center;
  gap: var(--re-space-md);
  padding: var(--re-space-sm) var(--re-space-lg) var(--re-space-sm) var(--re-space-sm);
  border-radius: var(--re-radius-full);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(34, 30, 39, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px -5px rgba(26, 22, 31, 0.7);
}

.re-album-art {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.re-album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.re-album-art__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
}

.re-album-art__center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.re-album-art__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--re-surface);
}

.re-album-art--playing {
  animation: re-pulse-glow 3s ease-in-out infinite;
}

.re-track-info {
  flex: 1;
  min-width: 0;
}

.re-track-info h3 {
  font-family: var(--re-font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--re-on-surface);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.re-track-info p {
  font-family: var(--re-font-body);
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: var(--re-on-surface-variant);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.re-live-badge {
  display: inline-flex;
  align-items: center;
  color: var(--re-primary);
  font-family: var(--re-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  padding: 2px var(--re-space-sm);
  border-radius: var(--re-radius-sm);
  background: rgba(242, 202, 80, 0.1);
  border: 1px solid rgba(242, 202, 80, 0.2);
  flex-shrink: 0;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.re-live-badge--paused {
  opacity: 0.3;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
}

.re-live-badge--playing {
  animation: re-badge-pulse 3s ease-in-out infinite;
}

@keyframes re-badge-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.re-volume-control {
  display: none;
  align-items: center;
  gap: var(--re-space-sm);
}

.re-volume-icon {
  color: var(--re-on-surface-variant);
  font-size: 20px;
}

.re-volume-slider {
  width: 96px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--re-radius-full);
  outline: none;
  cursor: pointer;
}

.re-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--re-primary);
  cursor: pointer;
}

.re-volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--re-primary);
  border: none;
  cursor: pointer;
}

.re-player-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--re-primary) 0%, var(--re-tertiary-container) 100%);
  color: var(--re-on-primary);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease;
  box-shadow: 0 4px 15px rgba(242, 202, 80, 0.25);
}

.re-player-btn:active {
  transform: scale(0.9);
}

/* ── PWA Install Modal ── */
.re-pwa-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(16, 13, 21, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  padding: var(--re-space-lg);
}

.re-pwa-overlay--visible {
  display: flex;
}

.re-pwa-modal {
  background-color: var(--re-surface-container-high);
  border-radius: var(--re-radius-lg);
  padding: var(--re-space-xl);
  max-width: 24rem;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  animation: re-pop-in 0.3s ease-out;
}

.re-pwa-modal__logo {
  width: 80px;
  height: 80px;
  border-radius: var(--re-radius-lg);
  margin-inline: auto;
  margin-bottom: var(--re-space-lg);
  object-fit: cover;
}

.re-pwa-modal__title {
  font-family: var(--re-font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: var(--re-on-surface);
  margin-bottom: var(--re-space-sm);
}

.re-pwa-modal__desc {
  font-family: var(--re-font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--re-on-surface-variant);
  margin-bottom: var(--re-space-lg);
}

.re-pwa-modal__install-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--re-space-sm);
  width: 100%;
  padding: var(--re-space-md) var(--re-space-lg);
  border-radius: var(--re-radius-full);
  background: linear-gradient(135deg, var(--re-primary) 0%, var(--re-tertiary-container) 100%);
  color: var(--re-on-primary);
  font-family: var(--re-font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.re-pwa-modal__install-btn:hover {
  filter: brightness(1.1);
}

.re-pwa-modal__install-btn:active {
  transform: scale(0.95);
}

.re-pwa-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--re-space-md);
  padding: var(--re-space-sm);
  color: var(--re-on-surface-variant);
  font-family: var(--re-font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.re-pwa-modal__close:hover {
  color: var(--re-on-surface);
}

/* ── Body Bottom Padding (for fixed player) ── */
.re-body--with-player .re-main {
  padding-bottom: calc(var(--re-space-xl) + env(safe-area-inset-bottom, 0px));
}

.re-body--with-player .re-footer {
  margin-bottom: 0;
}

/* ═══ SECTION 9: ANIMATIONS ═══ */

@keyframes re-pulse-live {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.15); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes re-pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(242, 202, 80, 0);
  }
  50% {
    box-shadow: 0 0 14px 4px rgba(242, 202, 80, 0.3);
  }
}

@keyframes re-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes re-pop-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-pulse-live {
  animation: re-pulse-live 2s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: re-pulse-glow 3s ease-in-out infinite;
}

.animate-fade-in {
  animation: re-fade-in 0.5s ease-out forwards;
}

.animate-pop-in {
  animation: re-pop-in 0.3s ease-out forwards;
}

/* ═══ SECTION 10: RESPONSIVE ═══ */

/* ── Minimum sizing (320px and below) ── */
@media (max-width: 320px) {
  .re-hero__title {
    font-size: 28px;
    line-height: 36px;
  }

  .re-hero__description {
    font-size: 16px;
    line-height: 24px;
  }

  .re-schedule-card {
    padding: var(--re-space-md);
  }

  .re-player__pill {
    padding: var(--re-space-xs);
    padding-right: var(--re-space-md);
    gap: var(--re-space-sm);
  }

  .re-album-art {
    width: 40px;
    height: 40px;
  }
}

/* ── Base: Audio Spectrum ── */
.re-player__spectrum {
  display: block;
  width: 96px;
  height: 32px;
  flex-shrink: 0;
}

/* ── Mobile player adjustments — less margin, spectrum hidden ── */
@media (max-width: 639px) {
  .re-player {
    left: var(--re-space-sm);
    right: var(--re-space-sm);
  }

  .re-player__pill {
    padding: var(--re-space-xs);
    padding-right: var(--re-space-sm);
    gap: var(--re-space-sm);
  }

  .re-album-art {
    width: 40px;
    height: 40px;
  }

  .re-player-btn {
    width: 36px;
    height: 36px;
  }

  .re-player__spectrum {
    display: none;
  }

  .re-track-info h3 {
    font-size: 12px;
  }

  .re-track-info p {
    font-size: 10px;
  }

  .re-verse-card {
    padding: var(--re-space-lg);
    border-radius: var(--re-radius-xl);
  }
}

/* ── Small mobile / larger touch targets (480px+) ── */
@media (min-width: 480px) {
  .re-hero__actions {
    flex-direction: row;
  }

  .re-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ── Tablet / desktop layout (768px+) ── */
@media (min-width: 768px) {
  /* Header: show nav, hide hamburger */
  .re-header__nav {
    display: flex;
  }

  .re-hamburger-btn {
    display: none;
  }

  /* Hero: two-column layout */
  .re-hero {
    flex-direction: row;
    text-align: left;
    padding-block: var(--re-section-gap);
  }

  .re-hero__content {
    text-align: left;
  }

  .re-hero__title {
    font-size: 48px;
    line-height: 56px;
  }

  .re-hero__description {
    margin-inline: 0;
  }

  .re-live-chip {
    align-self: flex-start;
  }

  .re-hero__actions {
    flex-direction: row;
    justify-content: flex-start;
  }

  /* Schedule: 3-column grid */
  .re-schedule-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* About: two-column grid */
  .re-about__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Verse card: wider padding */
  .re-verse-card {
    padding: 6rem;
  }

  .re-verse-card__text {
    font-size: 32px;
    line-height: 40px;
  }

  /* Ministry: 2-column card grid */
  .re-ministry__days {
    grid-template-columns: repeat(2, 1fr);
  }

  .re-ministry__day-name {
    font-size: 24px;
    line-height: 32px;
  }

  /* Footer: 3-column grid */
  .re-footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  /* Player: show volume control on desktop */
  .re-volume-control {
    display: flex;
  }
}

/* ── Large desktop (1024px+) ── */
@media (min-width: 1024px) {
  .re-album-art {
    width: 48px;
    height: 48px;
  }

  .re-about__image-container {
    order: 1;
  }

  .re-about__content {
    order: 2;
  }
}

/* ── Landscape mobile (short viewport height) ── */
@media (max-height: 480px) and (orientation: landscape) {
  .re-hero {
    padding-block: var(--re-space-lg);
    gap: var(--re-space-lg);
  }

  .re-player {
    bottom: var(--re-space-sm);
    left: var(--re-space-sm);
    right: var(--re-space-sm);
  }
}

/* ── iOS Safe Area adjustments ── */
@supports (padding-top: env(safe-area-inset-top)) {
  .re-header {
    padding-top: env(safe-area-inset-top);
  }

  .re-body--with-player .re-main {
    padding-bottom: calc(var(--re-space-xl) + env(safe-area-inset-bottom));
  }
}