.reels-page {
  position: relative;
  background: #0a0a0f;
  color: #fff;
  min-height: 100vh;
}

.public-site.reels-site {
  overflow: hidden;
}

.public-site.reels-site main {
  padding: 0;
  margin: 0;
}

.reels-navbar .public-logo {
  padding: 0 !important; 
  margin: 0 !important;
}

.reels-navbar .an-logo {height: 53px !important;}

.reels-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background-color: #ffffff !important;
  border-bottom: none;
  padding: 0;
}

.reels-navbar .an-container-wide {
  max-width: 480px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.reels-navbar .navbar-brand img,
.reels-navbar .site-wordmark img {
  filter: none;
}

.reels-navbar .nav-link {
  color: rgba(0, 0, 0, 0.65) !important;
}

.reels-scroll {
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.reels-scroll::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

.reel-card {
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 0 5.5rem;
  box-sizing: border-box;
}

.reel-video-container {
  position: relative;
  width: 100%;
  height: 75vh;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}

.reel-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}

.reel-meta {
  padding: 1rem 1.25rem 0.5rem;
  text-align: left;
}

.reel-meta__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  line-height: 1.35;
  color: #fff;
}

.reel-meta__subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 0.65rem;
}

.reel-meta__sign {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0.5rem;
}

.reel-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3em 0.65em;
}

.reel-share-btn {
  position: absolute;
  right: 1.25rem;
  bottom: 5.75rem;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.reel-share-btn:hover,
.reel-share-btn:focus-visible {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  outline: none;
}

.reel-share-btn .bi {
  font-size: 1.1rem;
  line-height: 1;
}

.reels-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: linear-gradient(0deg, rgba(10, 10, 15, 0.98) 0%, rgba(10, 10, 15, 0.85) 60%, transparent 100%);
  padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: center;
}

.reels-cta-bar .btn {
  max-width: 480px;
  width: 100%;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
}

.reels-status {
  scroll-snap-align: start;
  min-height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 6rem;
  max-width: 480px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.reels-status .spinner-border {
  width: 2rem;
  height: 2rem;
  border-width: 0.2em;
}

.reels-empty {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem 7rem;
  max-width: 480px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.85);
}

.reels-empty h1 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.reels-empty p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.5rem;
}

@media (min-width: 481px) {
  .reels-scroll {
    background: #0a0a0f;
  }

  .reel-card {
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }
}
