/* ---------------------------------
   LOGIN PAGE
--------------------------------- */
.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: radial-gradient(circle at center, hsl(240, 10%, 12%) 0%, var(--bg-primary) 100%);
  padding: var(--spacing-md);
}

.login-card {
  background: var(--bg-glass);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  max-width: 440px;
  padding: var(--spacing-xl) var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  text-align: center;
}

.login-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, #8c8c9a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--spacing-xs);
}

.login-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  text-align: left;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

.form-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
  transform: scale(1.01);
}

.btn-login {
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.05rem;
  transition: all var(--transition-fast);
  margin-top: var(--spacing-sm);
}

.btn-login:hover {
  background: #ffffff;
  transform: scale(1.02);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.2);
}

/* ---------------------------------
   HOME PAGE (DASHBOARD)
--------------------------------- */
.home-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  max-height: 600px;
  width: 100%;
  overflow: hidden;
  margin-bottom: var(--spacing-xl);
}

.home-hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 20%;
  z-index: 1;
}

.home-hero-backdrop::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(to right, rgba(4, 4, 6, 0.95) 0%, rgba(4, 4, 6, 0.6) 40%, rgba(4, 4, 6, 0) 100%),
    linear-gradient(to top, var(--bg-primary) 0%, rgba(4, 4, 6, 0.3) 50%, rgba(4, 4, 6, 0) 100%);
  z-index: 2;
}

.home-hero-content {
  position: absolute;
  bottom: var(--spacing-xl);
  left: var(--spacing-xxl);
  max-width: 650px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.home-hero-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.home-hero-metadata {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.home-hero-desc {
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text-secondary);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-hero-actions {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-sm);
}

/* ---------------------------------
   SEARCH PAGE
--------------------------------- */
.search-container {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  max-width: 1400px;
  margin: 0 auto;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: var(--spacing-xl) auto 0 auto;
}

.search-input-field {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 24px;
  border-radius: var(--radius-xl);
  font-size: 1.25rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.search-input-field:focus {
  outline: none;
  background: var(--bg-tertiary);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(255, 255, 255, 0.05);
  transform: scale(1.02);
}

.search-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 300px;
  color: var(--text-secondary);
  gap: var(--spacing-md);
}

.search-empty-state h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
}

/* ---------------------------------
   DETAIL PAGE
--------------------------------- */
.detail-page {
  position: relative;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  padding-bottom: 0;
}

.detail-hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: min(76vh, 720px);
  min-height: 520px;
  background-size: cover;
  background-position: center 24%;
  pointer-events: none;
  z-index: 1;
}

.detail-hero-backdrop::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(to right, rgba(4, 4, 6, 0.98) 0%, rgba(4, 4, 6, 0.78) 38%, rgba(4, 4, 6, 0.28) 100%),
    linear-gradient(to top, var(--bg-primary) 0%, rgba(4, 4, 6, 0.72) 18%, rgba(4, 4, 6, 0.2) 72%, rgba(4, 4, 6, 0) 100%);
  z-index: 2;
}

.detail-content {
  position: relative;
  z-index: 3;
  width: min(100%, 1480px);
  max-width: 100%;
  margin: 0 auto;
  padding: clamp(78px, 9vh, 116px) clamp(20px, 5vw, 64px) clamp(16px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.5vw, 32px);
  min-width: 0;
}

.detail-hero-main {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  min-height: clamp(430px, 54vh, 620px);
  min-width: 0;
}

.detail-poster {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 2/3;
  justify-self: start;
  align-self: center;
  margin-top: clamp(12px, 2vh, 28px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: #0c0c10; /* Dark premium background for letterboxing/pillarboxing */
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  width: 100%;
  max-width: 860px;
  min-width: 0;
}

.detail-title {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  max-width: 900px;
}

.detail-original-title {
  display: block;
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 1.15rem;
  font-weight: 400;
}

.detail-episode-title {
  color: var(--text-secondary);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.35;
  max-width: 780px;
}

.detail-tagline {
  margin: 2px 0;
  color: var(--text-primary);
  opacity: 0.86;
  font-size: 1.08rem;
  font-style: italic;
}

.detail-metadata {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--spacing-md);
  color: var(--text-secondary);
  font-size: 1rem;
}

.metadata-item {
  display: flex;
  align-items: center;
}

.metadata-item:not(:last-child)::after {
  content: '•';
  margin-left: var(--spacing-md);
}

.detail-genres {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.genre-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.detail-overview {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 780px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.detail-crew {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.detail-actions {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-top: 4px;
}

@media (max-width: 992px) {
  .detail-hero-backdrop {
    height: 58vh;
    min-height: 480px;
    background-position: center top;
  }

  .detail-content {
    padding: 42px var(--spacing-md) 20px;
    gap: var(--spacing-lg);
  }

  .detail-hero-main {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: var(--spacing-lg);
  }

  .detail-poster {
    width: min(54vw, 210px);
    margin: 0 auto;
    justify-self: center;
  }

  .detail-info {
    align-items: center;
    max-width: 760px;
    margin: 0 auto;
  }

  .detail-title {
    font-size: 2.2rem;
    text-align: center;
  }

  .detail-original-title {
    font-size: 1rem;
  }

  .detail-episode-title {
    font-size: 1rem;
    text-align: center;
  }

  .detail-metadata, .detail-genres, .detail-actions {
    justify-content: center;
  }

  .detail-overview {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .detail-content {
    padding-top: 30px;
  }

  .detail-poster {
    width: min(62vw, 190px);
  }

  .detail-title {
    font-size: 1.9rem;
  }
}

/* ---------------------------------
   EXTENDED DETAILS (CAST, SEASONS)
--------------------------------- */
.detail-cast-section {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 0;
  overflow: hidden;
  padding-top: 2px;
}

.detail-cast-section .carousel-header,
.cast-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: 12px;
}

.carousel-arrows {
  display: flex;
  gap: var(--spacing-sm);
}

.carousel-arrow {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-arrow svg {
  fill: currentColor;
}

.carousel-arrow:hover:not(.disabled) {
  background: var(--text-primary);
  color: var(--bg-primary);
  transform: scale(1.05);
}

.carousel-arrow.disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

.cast-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
}

.cast-list {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-lg);
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  min-width: 0;
  scroll-behavior: smooth;
  scroll-padding-inline: 4px;
  padding: 8px 4px 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
  touch-action: pan-x pan-y;
}

.cast-list::-webkit-scrollbar {
  display: none;
}

.cast-card {
  flex: 0 0 112px;
  width: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.cast-card:hover {
  transform: translateY(-3px) scale(1.03);
  opacity: 0.95;
}

.cast-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--bg-tertiary);
  margin-bottom: var(--spacing-xs);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-sm);
}

.cast-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.cast-role {
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

/* ---------------------------------
   ACTOR DETAILS MODAL
--------------------------------- */
body.actor-modal-open {
  overflow: hidden;
  touch-action: none;
}

.actor-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  background: rgba(4, 4, 6, 0.985);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
}

.actor-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.actor-modal {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 90%;
  max-width: 800px;
  max-height: 85dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: var(--spacing-xl);
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-smooth);
}

.actor-modal::-webkit-scrollbar {
  width: 6px;
}
.actor-modal::-webkit-scrollbar-track {
  background: transparent;
}
.actor-modal::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 3px;
}

.actor-modal-overlay.active .actor-modal {
  transform: scale(1);
}

.actor-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.actor-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  transform: scale(1.05);
}

.actor-profile-row {
  display: flex;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  margin-top: var(--spacing-md);
}

.actor-modal-avatar {
  flex: 0 0 140px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
  background-color: var(--bg-tertiary);
}

.actor-profile-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  justify-content: center;
}

.actor-modal-name {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.actor-modal-role {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.actor-metadata-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: var(--spacing-xs);
}

.actor-bio {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
}

@media (max-width: 768px) {
  .carousel-arrows {
    gap: 6px;
  }

  .carousel-arrow {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 600px) {
  .actor-profile-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .actor-profile-info {
    align-items: center;
  }
}

.seasons-section {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  overflow: hidden;
}

.seasons-tabs {
  display: flex;
  gap: var(--spacing-sm);
  overflow-x: auto;
  scrollbar-width: none;
}

.seasons-tabs::-webkit-scrollbar {
  display: none;
}

.season-tab {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.season-tab:hover, .season-tab.active {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-sm);
}

.detail-similar-section {
  position: relative;
  z-index: 4;
  margin-top: 0;
  padding-top: 10px;
  background: var(--bg-primary);
  overflow: hidden;
}

.detail-similar-section .media-carousel-container {
  margin-bottom: 0;
}

/* ---------------------------------
   MOBILE PAGE REFINEMENTS
--------------------------------- */
@media (max-width: 768px) {
  .login-card {
    max-width: 420px;
    padding: 28px 20px;
    border-radius: 16px;
    gap: var(--spacing-lg);
  }

  .login-header h1 {
    font-size: 1.9rem;
    letter-spacing: 0;
  }

  .home-hero {
    height: 68dvh;
    min-height: 420px;
    max-height: none;
    margin-bottom: var(--spacing-md);
  }

  .home-hero-backdrop {
    background-position: center top;
  }

  .home-hero-backdrop::after {
    background:
      linear-gradient(to right, rgba(4, 4, 6, 0.98) 0%, rgba(4, 4, 6, 0.78) 58%, rgba(4, 4, 6, 0.3) 100%),
      linear-gradient(to top, var(--bg-primary) 0%, rgba(4, 4, 6, 0.72) 36%, rgba(4, 4, 6, 0.12) 100%);
  }

  .home-hero-content {
    left: var(--spacing-md);
    right: var(--spacing-md);
    bottom: 24px;
    max-width: none;
    gap: 12px;
  }

  .home-hero-title {
    font-size: 2.15rem;
    letter-spacing: 0;
    line-height: 1.08;
  }

  .home-hero-metadata {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9rem;
  }

  .home-hero-desc {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .home-hero-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .search-input-wrapper {
    margin-top: var(--spacing-md);
  }

  .search-input-field {
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 1rem;
    text-align: left;
  }

  .search-empty-state {
    min-height: 220px;
    padding: 0 var(--spacing-sm);
  }

  .search-empty-state h3 {
    font-size: 1.25rem;
  }

  .detail-hero-backdrop {
    height: 64vh;
    min-height: 420px;
  }

  .detail-content {
    padding: 28px var(--spacing-md) 16px;
    gap: 18px;
  }

  .detail-hero-main {
    gap: 18px;
  }

  .detail-info {
    align-items: flex-start;
    text-align: left;
  }

  .detail-title {
    font-size: 2rem;
    text-align: left;
  }

  .detail-original-title,
  .detail-episode-title {
    text-align: left;
  }

  .detail-metadata,
  .detail-genres,
  .detail-actions {
    justify-content: flex-start;
  }

  .detail-metadata {
    gap: 8px 12px;
    font-size: 0.9rem;
  }

  .metadata-item:not(:last-child)::after {
    margin-left: 12px;
  }

  .detail-overview {
    font-size: 0.98rem;
    line-height: 1.5;
    text-align: left;
  }

  .detail-actions .btn-primary,
  .detail-actions .btn-secondary {
    flex: 1 1 150px;
    min-width: 0;
  }

  .cast-title {
    font-size: 1.15rem;
  }

  .cast-card {
    flex-basis: 96px;
    width: 96px;
  }

  .cast-avatar {
    width: 70px;
    height: 70px;
  }

  .actor-modal-overlay {
    width: 100%;
    height: 100dvh;
    padding: 12px;
  }

  .actor-modal {
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 20px 16px;
    border-radius: 16px;
  }

  .actor-modal-close {
    top: 12px;
    right: 12px;
  }

  .actor-profile-row {
    gap: var(--spacing-md);
    margin-top: 8px;
    margin-bottom: var(--spacing-lg);
  }

  .actor-modal-avatar {
    flex: 0 0 112px;
    width: 112px;
    height: 112px;
  }

  .actor-modal-name {
    font-size: 1.65rem;
    letter-spacing: 0;
  }

  .actor-bio {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .episodes-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .home-hero {
    height: auto;
    min-height: 0;
    max-height: none;
    padding-top: 48px;
    margin-bottom: 8px;
  }

  .home-hero::before {
    content: '';
    display: block;
    min-height: 30dvh;
  }

  .home-hero-content {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0 var(--spacing-md) 18px;
    gap: 9px;
  }

  .home-hero-title {
    font-size: 1.78rem;
    line-height: 1.12;
    max-width: 12ch;
  }

  .home-hero-metadata {
    gap: 8px;
    font-size: 0.82rem;
  }

  .home-hero-desc {
    max-width: 44ch;
    font-size: 0.88rem;
    line-height: 1.42;
    -webkit-line-clamp: 2;
  }

  .home-hero-actions {
    gap: 8px;
    margin-top: 4px;
    max-width: 100%;
    min-width: 0;
  }

  .detail-hero-backdrop {
    height: 46vh;
    min-height: 300px;
  }

  .detail-content {
    padding: 20px var(--spacing-md) 12px;
  }

  .detail-title {
    font-size: 1.72rem;
    line-height: 1.14;
  }

  .detail-overview {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .home-hero {
    padding-top: 40px;
  }

  .home-hero::before {
    min-height: 26dvh;
  }

  .home-hero-actions {
    flex-direction: row;
    align-items: center;
    width: 100%;
    min-width: 0;
  }

  .home-hero-actions .btn-primary,
  .home-hero-actions .btn-secondary {
    flex: 1 1 0;
    min-width: 0;
  }

  .detail-content {
    padding-top: 22px;
  }

  .detail-poster {
    width: min(58vw, 168px);
  }

  .detail-title {
    font-size: 1.75rem;
  }

  .detail-actions {
    width: 100%;
  }

  .detail-actions .btn-primary,
  .detail-actions .btn-secondary {
    width: 100%;
  }
}
