body
{
   background-color: #1A1A1A;
   color: #000000;
   font-family: Inter;
   font-weight: normal;
   font-size: 16px;
   line-height: 1.1875;
   margin: 0;
   padding: 0;
}
#wb_choose
{
   clear: both;
   position: relative;
   table-layout: fixed;
   display: table;
   text-align: center;
   width: 100%;
   background-color: transparent;
   background-image: none;
   border: 0px solid transparent;
   border-radius: 0px;
   box-sizing: border-box;
   margin: 0;
}
#choose
{
   box-sizing: border-box;
   display: flex;
   flex-direction: row;
   flex-wrap: wrap;
   padding: 0 0 25px 0;
   margin-right: auto;
   margin-left: auto;
}
#choose > .col-1
{
   box-sizing: border-box;
   font-size: 0;
   min-height: 1px;
   padding-right: 0px;
   padding-left: 0px;
   position: relative;
}
#choose > .col-1
{
   flex: 0 0 auto;
}
#choose > .col-1
{
   background-color: transparent;
   background-image: none;
   border: 0px solid #FFFFFF;
   border-radius: 0px;
   flex-basis: 100%;
   max-width: 100%;
   display: flex;
   flex-wrap: wrap;
   align-content: center;
   align-self: stretch;
   align-items: center;
   justify-content: flex-start;
   text-align: left;
}
@media (max-width: 0px)
{
#choose > .col-1
{
   flex-basis: 100% !important;
   max-width: 100% !important;
}
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #6C43BF;
  --color-primary-light: #8B5BD6;
  --color-accent: #F54160;
  --color-accent-light: #FF9EAF;
  --color-white: #fff;
  --color-bg-dark: rgba(26, 26, 26, 0.95);
  --color-overlay: rgba(0, 0, 0, 0.75);
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 10px;
  --border-radius-xl: 12px;
  --border-radius-2xl: 14px;
  --transition-fast: 0.2s;
  --transition-medium: 0.3s;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --backdrop-blur: blur(20px);
}

.main-header *,
.modal-content * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.main-header {
  width: 100%;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  top: 0;
  z-index: 1000;
}

.header-wrapper {
  max-width: 1590px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left-section {
  display: flex;
  align-items: center;
  gap: 50px;
  flex: 1;
}

.header-left-section > a {
  display: inline-block;
  transition: opacity var(--transition-fast);
  line-height: 0;
}

.header-left-section > a:hover {
  opacity: 0.85;
}

.site-logo {
  font: 700 36px var(--font-family);
  color: var(--color-white);
  text-decoration: none;
}

.main-navigation {
  display: flex;
  gap: 35px;
  align-items: center;
  font-family: var(--font-family);
}

.main-navigation a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font: 500 16px var(--font-family);
  transition: color var(--transition-fast);
  position: relative;
  padding: 23px 0;
  white-space: nowrap;
}

.main-navigation a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.main-navigation a.active {
  color: var(--color-white);
}

.main-navigation a.active::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-white);
}

.header-right-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.promo-button {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: var(--border-radius-md);
  border: none;
  cursor: pointer;
  font: 500 15px var(--font-family);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition-fast);
  white-space: nowrap;
  backdrop-filter: var(--backdrop-blur);
}

.promo-button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.promo-button svg,
.header-action-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.header-action-btn svg {
  width: 22px;
  height: 22px;
}

.header-action-btn {
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background var(--transition-fast);
  position: relative;
}

.header-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.user-avatar {
  background: var(--color-accent);
  color: var(--color-accent-light);
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 16px var(--font-family);
  cursor: pointer;
  transition: transform var(--transition-fast);
  text-decoration: none;
}

.user-avatar:hover {
  transform: scale(1.05);
}

.modal-overlay,
.search-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  backdrop-filter: blur(5px);
  z-index: 10000;
  animation: fadeIn var(--transition-medium) ease;
}

.search-modal-overlay {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  padding: 80px 20px 20px;
}

.modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.search-modal-overlay.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-content {
  background: var(--color-bg-dark);
  backdrop-filter: var(--backdrop-blur);
  border-radius: var(--border-radius-xl);
  padding: 36px;
  max-width: 460px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp var(--transition-medium) ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close,
.search-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  z-index: 10;
}

.modal-close:hover,
.search-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-close svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.modal-header {
  margin-bottom: 28px;
  padding-right: 30px;
}

.modal-title {
  font: 700 26px var(--font-family);
  color: var(--color-white);
  margin-bottom: 10px;
  line-height: 1.2;
}

.modal-subtitle {
  font: 15px var(--font-family);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font: 600 14px var(--font-family);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  color: var(--color-white);
  font: 15px var(--font-family);
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(108, 67, 191, 0.1);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-button {
  width: 100%;
  padding: 15px;
  background: hsl(257, 49%, 51%);
  border: none;
  border-radius: var(--border-radius-lg);
  color: var(--color-white);
  font: 600 16px var(--font-family);
  cursor: pointer;
  position: relative;
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.2), 
              0 0 0 1px hsl(257, 49%, 51%), 
              0 0.3px 0.4px hsla(203, 13%, 12%, 0.02), 
              0 0.9px 1.5px hsla(203, 13%, 12%, 0.045), 
              0 3.5px 6px hsla(203, 13%, 12%, 0.09);
  text-shadow: 0 1px 1px hsla(203, 13%, 12%, 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.form-button::after {
  background: radial-gradient(ellipse at top, hsla(0, 0%, 100%, 1), hsla(0, 0%, 100%, 0));
  background-position: 0 100%;
  background-size: 100% 200%;
  border-radius: inherit;
  content: "";
  inset: 0;
  mix-blend-mode: overlay;
  pointer-events: none;
  position: absolute;
  transition: background var(--transition-medium);
  opacity: 0.65;
}

.form-button:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.25), 
              0 0 0 1px hsl(257, 49%, 56%), 
              0 10px 25px rgba(108, 67, 191, 0.4),
              0 0.3px 0.4px hsla(203, 13%, 12%, 0.02);
}

.form-button:hover::after {
  background-position: 0 0;
}

.form-button:active {
  transform: translateY(0);
}

.form-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-button:disabled::after {
  display: none;
}

.form-button.secondary {
  background: hsla(0, 0%, 100%, 0.1);
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.15), 
              0 0 0 1px hsla(0, 0%, 100%, 0.1), 
              0 0.3px 0.4px hsla(203, 13%, 12%, 0.02), 
              0 0.9px 1.5px hsla(203, 13%, 12%, 0.03);
  margin-top: 12px;
}

.form-button.secondary:hover {
  background: hsla(0, 0%, 100%, 0.15);
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.2), 
              0 0 0 1px hsla(0, 0%, 100%, 0.15), 
              0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.error-message,
.success-message,
.info-message {
  border-radius: var(--border-radius-lg);
  padding: 14px 16px;
  margin-bottom: 22px;
  font: 14px var(--font-family);
  line-height: 1.5;
  display: none;
}

.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1.5px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.success-message {
  background: rgba(34, 197, 94, 0.1);
  border: 1.5px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.info-message {
  background: rgba(59, 130, 246, 0.1);
  border: 1.5px solid rgba(59, 130, 246, 0.3);
  color: #3b82f6;
}

.error-message.show,
.success-message.show,
.info-message.show {
  display: block;
}

.subscription-info {
  background: rgba(108, 67, 191, 0.15);
  border: 1.5px solid rgba(108, 67, 191, 0.3);
  border-radius: var(--border-radius-xl);
  padding: 18px;
  margin-bottom: 22px;
}

.subscription-info h4 {
  font: 700 17px var(--font-family);
  color: var(--color-white);
  margin-bottom: 8px;
}

.subscription-info p {
  font: 14px var(--font-family);
  color: rgba(255, 255, 255, 0.7);
  margin: 5px 0;
}

.subscription-info .date {
  color: var(--color-primary-light);
  font-weight: 600;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 22px 0;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.form-divider span {
  color: rgba(255, 255, 255, 0.4);
  font: 500 13px var(--font-family);
}

.form-link {
  color: var(--color-primary-light);
  text-decoration: none;
  font: 600 14px var(--font-family);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.form-link:hover {
  color: var(--color-primary);
}

.text-center {
  text-align: center;
}

.search-container {
  max-width: 900px;
  margin: 0 auto;
}

.search-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.search-input-wrapper {
  flex: 1;
  position: relative;
}

.search-input-large {
  width: 100%;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: var(--backdrop-blur);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-2xl);
  color: var(--color-white);
  font: 18px var(--font-family);
  transition: all var(--transition-medium);
  box-sizing: border-box;
}

.search-input-large:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.search-input-large::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-close-btn {
  backdrop-filter: blur(10px);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}

.search-close-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  max-height: calc(100vh - 220px);
  overflow-y: auto;
  padding: 4px;
}

.search-movie-item {
  text-decoration: none;
  color: inherit;
  display: block;
}

.search-movie-item:hover .search-movie-img {
  transform: scale(1.05);
}

.search-movie-img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform var(--transition-fast) ease;
}

.search-movie-name {
  font: 500 14px var(--font-family);
  color: var(--color-white);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.no-results {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  padding: 60px 20px;
  font: 16px var(--font-family);
}

.notification-popup {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: var(--color-bg-dark);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-lg);
  padding: 14px 18px;
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 10001;
  display: none;
  animation: slideDown 0.25s ease;
  white-space: nowrap;
}

.notification-popup.show {
  display: block;
}

.notification-popup p {
  font: 13px var(--font-family);
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(108, 67, 191, 0.85);
  backdrop-filter: var(--backdrop-blur);
  padding: 8px 0 10px;
  z-index: 1000;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.bottom-nav-wrapper {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.65);
  font: 500 11px var(--font-family);
  transition: color var(--transition-fast);
  padding: 6px 12px;
  cursor: pointer;
  background: none;
  border: none;
}

.bottom-nav-item.active {
  color: var(--color-white);
}

.bottom-nav-item svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#slider-overlay {
  display: block;
}

#wb_slider::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(26, 26, 26, 1) 0%, rgba(26, 26, 26, 0.7) 60%, rgba(26, 26, 26, 0) 100%);
  pointer-events: none;
}

@media (max-width: 1150px) {
  #slider-overlay { display: none; }
  
  .main-header {
    position: relative;
    z-index: 1;
  }
  
  .main-header::before {
    content: '';
    height: 350%;
    position: absolute;
    inset: 0 0 auto;
    z-index: -1;
    background: linear-gradient(0deg, rgba(19, 15, 15, 0) 0%, rgba(19, 15, 15, .15) 9.38%, rgba(19, 16, 16, .35) 20.83%, rgba(20, 17, 17, .65) 46.35%, rgba(20, 17, 17, .85) 75%, rgba(20, 17, 17, 1) 100%);
    opacity: .7;
    pointer-events: none;
    transition: .8s;
  }
  
  .search-results-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 18px;
  }
}

@media (max-width: 1024px) {
  .main-navigation { gap: 25px; }
  .header-left-section { gap: 35px; }
}

@media (max-width: 960px) {
  .bottom-nav { display: block; }
  .main-navigation, .search-btn { display: none; }
  .notification-btn { display: flex; }
  .header-left-section { gap: 20px; }
  .header-right-section { gap: 12px; }
  .site-logo { font-size: 30px; }
  .search-results-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 590px) {
  #wb_slider::before {
    background: linear-gradient(to top, rgba(26, 26, 26, 1) 0%, rgba(26, 26, 26, 0.7) 25%, rgba(26, 26, 26, 0) 100%);
  }
  .site-logo { font-size: 28px; }
  .promo-button {
    font-size: 14px;
    padding: 9px 16px;
  }
  .modal-content { padding: 30px 22px; }
  .modal-title { font-size: 23px; }
  .search-modal-overlay { padding: 60px 16px 16px; }
  .search-input-large {
    padding: 16px 20px;
    font-size: 16px;
  }
  .search-close-btn {
    width: 44px;
    height: 44px;
  }
  .search-results-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 14px;
  }
  .search-movie-name { font-size: 13px; }
  .notification-popup {
    right: -10px;
    min-width: 200px;
  }
}

@media (max-width: 480px) {
  .main-header { padding: 14px 18px; }
  .site-logo { font-size: 26px; }
  .notification-btn { display: none; }
  .promo-button { font-size: 13px; }
  .bottom-nav-item {
    font-size: 10px;
    padding: 5px 10px;
  }
  .bottom-nav-item svg {
    width: 24px;
    height: 24px;
  }
  .modal-content { padding: 26px 20px; }
  .modal-title { font-size: 21px; }
  .search-results-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
  }
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

.catalogue-section {
    max-width: 1590px;
    margin: 0 auto;
    padding: 25px 20px;
    font-family: 'Inter', sans-serif;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 9;
}

.catalogue-header {
    margin-bottom: 35px;
}

.catalogue-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-family: 'Inter', sans-serif;
    text-align: left;
}

.catalogue-filters-wrapper {
    margin-bottom: 45px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.catalogue-filters-wrapper::-webkit-scrollbar {
    height: 8px;
    display: block;
}

.catalogue-filters-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 0 10px;
}

.catalogue-filters-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.catalogue-filters-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.catalogue-filters {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    min-width: max-content;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    height: 16px;
    display: flex;
    align-items: center;
}

.filter-select {
    padding: 11px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.filter-select:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.filter-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}

.filter-select option {
    background: #1a1a1a;
    color: #fff;
    padding: 10px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    border-radius: 34px;
}

.toggle-slider:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 50%;
}

input[type="checkbox"]:checked + .toggle-slider {
    background: #F54160;
    border-color: #F54160;
}

input[type="checkbox"]:checked + .toggle-slider:before {
    transform: translateX(24px) translateY(-50%);
}

.filter-actions {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 11px 16px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
}

.filter-btn-reset:hover {
    color: rgba(255, 255, 255, 1);
}

.reset-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.movies-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.movie-card {
    position: relative;
    width: 280px;
    height: 200px;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    flex-shrink: 0;
}

.movie-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 1px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.movie-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.movie-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.75) 25%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.25) 65%, transparent 85%);
    padding: 60px 14px 16px 14px;
    display: flex;
    align-items: flex-end;
    z-index: 2;
}

.movie-card-title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    text-align: left;
    font-family: 'Inter', sans-serif;
    line-height: 1.3;
    width: 100%;
}

.movie-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #F54160;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    padding: 6px 10px;
    border-radius: 8px;
    z-index: 3;
    box-shadow: 0 4px 16px rgba(245, 65, 96, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.load-more-btn {
    padding: 14px 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .catalogue-section {
        padding: 20px 15px;
    }

    .movies-grid {
        gap: 8px;
        justify-content: center;
    }

    .movie-card {
        width: calc(50% - 4px);
        height: 140px;
    }
}

@media (max-width: 480px) {
    .movie-card {
        width: 100%;
        height: 180px;
    }
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Для прижатия футера к низу страницы */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.ngm-footer {
    margin-top: auto;
    background: #1A1A1A;
    padding: 40px 40px 24px;
    color: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.ngm-footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.ngm-footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 34px;
    padding-bottom: 22px;
    border-bottom: 1px solid #2a2a2a;
    gap: 26px;
}

.ngm-brand h2 {
    font-size: 38px;
    font-weight: 700;
    color: #f5f5f5;
    letter-spacing: 3.5px;
    margin-bottom: 3px;
}

.ngm-brand p {
    font-size: 12px;
    color: #787878;
    letter-spacing: 0.8px;
    font-weight: 400;
}

.ngm-genres {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.ngm-genre-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: #2a2a2a;
    border-radius: 6px;
    color: #b0b0b0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: auto;
}

.ngm-genre-all {
    background: #333333;
    color: #d8d8d8;
    font-weight: 600;
}

.ngm-genre-pill svg {
    flex-shrink: 0;
    opacity: 0.75;
}

.ngm-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 34px;
}

.ngm-category h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #e0e0e0;
    letter-spacing: 0.3px;
}

.ngm-category ul {
    list-style: none;
    padding: 0;
}

.ngm-category ul li {
    margin-bottom: 9px;
}

.ngm-category ul li a {
    color: #a8a8a8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.2s ease;
    display: inline-block;
}

.ngm-category ul li a:hover {
    color: #e8e8e8;
}

.ngm-footer-end {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid #2a2a2a;
}

.ngm-footer-end p {
    color: #787878;
    font-size: 12px;
    font-weight: 400;
}

.ngm-legal-links {
    display: flex;
    gap: 18px;
    align-items: center;
}

.ngm-legal-links a {
    color: #a8a8a8;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.ngm-legal-links a:hover {
    color: #e8e8e8;
}

.ngm-dot {
    color: #555;
    font-size: 12px;
}

@media (max-width: 1200px) {
    .ngm-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 38px;
    }
    
    .ngm-footer-header {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .ngm-footer {
        padding: 34px 25px 20px;
    }

    .ngm-footer-header {
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }

    .ngm-brand h2 {
        font-size: 32px;
    }

    .ngm-genres {
        justify-content: center;
    }

    .ngm-grid {
        gap: 0;
    }

    .ngm-category {
        padding: 20px 0;
        border-bottom: 1px solid #2a2a2a;
    }

    .ngm-category:last-child {
        border-bottom: none;
    }

    .ngm-footer-end {
        flex-direction: column;
        gap: 13px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .ngm-grid {
        grid-template-columns: 1fr;
    }
    
    .ngm-genre-pill {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Отступ для нижней навигационной панели на мобильных */
@media (max-width: 590px) {
    .ngm-footer {
        padding-bottom: 80px;
    }
}
