
:root {
    --primary: #2a0454;
    --dark: #1a1a1a;
    --light: #f5f5f5;
    --gray: #e0e0e0;
    --text: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.header {
  background-color: var(--dark);
  color: white;
  padding: 15px 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.nav__list {
  display: flex;
  list-style: none;
}

.nav__list li {
  margin-left: 25px;
}

.nav__list a {
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

.nav__list a:hover {
  color: var(--primary);
}


.burger {
  display: none;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

.burger span {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s;
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger span:nth-child(3) { bottom: 0; }

.burger.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}



.hero-slider {
  padding-top: 70px;
}

.slider {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.slider__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.slider__item.active {
  opacity: 1;
}

.slider__content {
  position: absolute;
  bottom: 80px;
  left: 80px;
  max-width: 500px;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-radius: 8px;
}

.slider__content h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.slider__content p {
  margin-bottom: 20px;
  font-size: 18px;
}

.slider__controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
}

.slider__prev,
.slider__next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.slider__prev:hover,
.slider__next:hover {
  background-color: var(--primary);
}

.slider__dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.slider__dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}
.tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.tabs__btn {
  background: none;
  border: 2px solid #35186d;
  padding: 12px 30px;
  font-size: 16px;
  color: #2f0549;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.tabs__btn.active {
  background-color: #1e1058;
  color: white;
}

.tabs__btn:hover {
  background-color: #1f0c57;
  color: white;
}


.tabs-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: left;
}

.tab-content {
  display: none;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.tab-content.active {
  display: block;
}

.tab-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #343a40;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 1024px) {
  .slider__content {
    bottom: 50px;
    left: 50px;
    max-width: 400px;
    padding: 25px;
  }

  .slider__content h2 {
    font-size: 30px;
  }

  .slider__content p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .slider {
    height: 400px;
  }

  .slider__content {
    bottom: 40px;
    left: 30px;
    max-width: 300px;
    padding: 20px;
  }

  .slider__content h2 {
    font-size: 24px;
  }

  .slider__content p {
    font-size: 15px;
  }

  .slider__prev,
  .slider__next {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .tabs {
    flex-wrap: wrap;
    gap: 15px;
    padding: 0 10px;
  }

  .tabs__btn {
    flex: 1 1 45%;
    padding: 10px 20px;
    font-size: 14px;
  }

  .tabs-content {
    padding: 0 15px;
  }

  .tab-content h2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .slider {
    height: 300px;
  }

  .slider__content {
    bottom: 20px;
    left: 15px;
    max-width: 90%;
    padding: 15px;
  }

  .slider__content h2 {
    font-size: 20px;
  }

  .slider__content p {
    font-size: 14px;
  }

  .slider__dots {
    bottom: 20px;
  }

  .tabs {
    gap: 10px;
  }

  .tabs__btn {
    flex: 1 1 100%;
    padding: 10px;
    font-size: 14px;
  }

  .tab-content {
    padding: 15px;
  }

  .tab-content h2 {
    font-size: 20px;
  }
}

filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
  gap: 10px;
}

.filter__btn {
  padding: 8px 16px;
  background-color: var(--gray);
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter__btn.active {
  background-color: var(--primary);
  color: white;
}

.movies-container {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth; 
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; 
}


.movies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
  grid-auto-flow: column;
}


.movie-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.movie-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}


.movie-card__poster {
  position: relative;
  width: 100%;
  height: 375px;
  overflow: hidden;
}

.movie-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.movie-card:hover .movie-card__poster img {
  transform: scale(1.05);
}

.movie-card__trailer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  transition: all 0.3s;
}

.movie-card:hover .movie-card__trailer {
  opacity: 1;
}


.movie-card__info {
  padding: 15px;
}

.movie-card__info h3 {
  margin-bottom: 10px;
  font-size: 18px;
}


.movie-card__meta {
  display: flex;
  justify-content: space-between;
  color: #666;
  font-size: 14px;
}


.rating {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .movie-card__poster {
    height: 320px;
  }

  .movie-card__info h3 {
    font-size: 16px;
  }

  .movie-card__meta {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .filter {
    padding: 0 10px;
    gap: 8px;
  }

  .filter__btn {
    font-size: 13px;
    padding: 6px 14px;
  }

  .movies-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }

  .movie-card__poster {
    height: 280px;
  }

  .movie-card__info h3 {
    font-size: 15px;
  }

  .movie-card__meta {
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 480px) {
  .filter {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none; 
    -ms-overflow-style: none;  
  }

  .filter::-webkit-scrollbar {
    display: none; 
  }

  .filter__btn {
    white-space: nowrap;
    font-size: 12px;
    padding: 5px 12px;
  }

  .movies-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 10px;
  }

  .movie-card {
    min-width: 220px;
    scroll-snap-align: start;
  }

  .movie-card__poster {
    height: 250px;
  }

  .movie-card__info h3 {
    font-size: 14px;
  }

  .movie-card__meta {
    font-size: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
}


.series-grid-container {
  position: relative;
  margin-top: 30px;
}


.scroll-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 15px;
}

.scroll-nav button {
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  color: #495057;
}

.scroll-nav button:hover {
  background: #e9ecef;
  color: #212529;
}

.series-grid {
  display: flex;
  gap: 20px;
  padding: 10px 5px 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; 
}

.series-grid::-webkit-scrollbar {
  display: none; 
}

.series-card {
  scroll-snap-align: start;
  flex: 0 0 280px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.series-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.series-card__poster {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.series-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.series-card:hover .series-card__poster img {
  transform: scale(1.05);
}

.series-card__seasons {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}

.series-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #280259;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  z-index: 1;
}

.series-card__info {
  padding: 15px;
}

.series-card__info h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 600;
  color: #212529;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.series-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}

.rating {
  color: #ffc107;
  font-weight: bold;
}

.year {
  color: #6c757d;
}

.age {
  background: #f8f9fa;
  color: #212529;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid #dee2e6;
}

.series-card__genre {
  color: #6c757d;
  font-size: 14px;
  margin: 0 0 15px 0;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.series-card--featured {
  border: 2px solid #120365;
}

.series-card--new {
  position: relative;
}

.series-card--new::after {
  content: "Новинка";
  position: absolute;
  top: 10px;
  right: 10px;
  background: #198754;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  z-index: 1;
}

.series-card--popular {
  position: relative;
}

.series-card--popular::after {
  content: "Популярно";
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ffc107;
  color: #212529;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  z-index: 1;
}

.btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  text-align: center;
}

.btn--primary {
  background: #15034c;
  color: white;
  border: none;
}

.btn--primary:hover {
  background: #1f0468;
}

@media (max-width: 1024px) {
  .series-card {
    flex: 0 0 240px;
  }

  .series-card__poster {
    height: 320px;
  }

  .series-card__info h3 {
    font-size: 16px;
  }

  .series-card__meta {
    font-size: 13px;
  }

  .series-card__genre {
    font-size: 13px;
  }
}


@media (max-width: 768px) {
  .scroll-nav {
    justify-content: center;
  }

  .scroll-nav button {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .series-card {
    flex: 0 0 200px;
  }

  .series-card__poster {
    height: 260px;
  }

  .series-card__info {
    padding: 12px;
  }

  .series-card__info h3 {
    font-size: 15px;
  }

  .series-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .series-card__genre {
    font-size: 12px;
    height: auto;
  }

  .btn {
    font-size: 14px;
    padding: 6px 16px;
  }
}


@media (max-width: 480px) {
  .series-grid {
    gap: 15px;
    padding: 10px 10px 20px;
  }

  .series-card {
    flex: 0 0 170px;
  }

  .series-card__poster {
    height: 220px;
  }

  .series-card__info h3 {
    font-size: 14px;
  }

  .series-card__meta {
    font-size: 12px;
  }

  .series-card__genre {
    font-size: 11px;
  }

  .scroll-nav {
    margin-bottom: 10px;
  }

  .scroll-nav button {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .series-card__seasons,
  .series-card__badge {
    font-size: 11px;
    padding: 3px 6px;
  }

  .series-card--new::after,
  .series-card--popular::after {
    font-size: 11px;
    padding: 3px 6px;
  }

  .btn {
    font-size: 13px;
    padding: 5px 14px;
  }
}


.accordion__item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.accordion__header {
  padding: 20px;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.accordion__header:hover {
  background-color: #f9f9f9;
}

.accordion__header h3 {
  font-size: 18px;
}

.accordion__icon {
  transition: transform 0.3s;
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: white;
}

.accordion__content-inner {
  padding: 0 20px 20px;
}

.accordion__item.active .accordion__icon {
  transform: rotate(45deg);
}  


.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn--primary {
  background-color: var(--primary);
  color: white;
}

.btn--primary:hover {
  background-color: #3c0253;
}


.section {
  padding: 60px 0;
}

.section__title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  position: relative;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary);
}
.accordion__item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.accordion__header {
  padding: 20px;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.accordion__header:hover {
  background-color: #f9f9f9;
}

.accordion__header h3 {
  font-size: 18px;
}

.accordion__icon {
  transition: transform 0.3s;
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: white;
}

.accordion__content-inner {
  padding: 0 20px 20px;
}

.accordion__item.active .accordion__icon {
  transform: rotate(45deg);
}

@media (max-width: 1024px) {
  .section {
    padding: 50px 0;
  }

  .section__title {
    font-size: 28px;
  }

  .accordion__header {
    padding: 18px;
  }

  .accordion__header h3 {
    font-size: 16px;
  }

  .accordion__content-inner {
    padding: 0 18px 18px;
  }

  .btn {
    padding: 9px 18px;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 40px 0;
  }

  .section__title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .section__title::after {
    width: 60px;
    height: 2px;
  }

  .accordion__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
  }

  .accordion__header h3 {
    font-size: 15px;
  }

  .accordion__content-inner {
    padding: 0 16px 16px;
  }

  .btn {
    font-size: 14px;
    padding: 8px 16px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 30px 0;
  }

  .section__title {
    font-size: 22px;
  }

  .accordion__header {
    padding: 14px;
  }

  .accordion__header h3 {
    font-size: 14px;
  }

  .accordion__content-inner {
    padding: 0 14px 14px;
    font-size: 14px;
  }

  .btn {
    font-size: 13px;
    padding: 7px 14px;
  }
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 2000;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__content {
  background-color: white;
  border-radius: 8px;
  width: 90%;
  max-width: 800px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s;
}

.modal.active .modal__content {
  transform: scale(1);
}

.modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s;
}

.modal__close:hover {
  background-color: var(--primary);
}

.modal__video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.modal__video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 0;
    font-family: 'Roboto', sans-serif;
    position: relative;
}

.footer__top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
    flex: 1 0 100%;
    max-width: 150px;
    margin-bottom: 20px;
}

.footer__logo img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    flex: 2;
}

.footer__column {
    flex: 1;
    min-width: 160px;
}

.footer__column h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer__column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #200348;
}

.footer__column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__column ul li {
    margin-bottom: 12px;
}

.footer__column ul li a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

.footer__column ul li a:hover {
    color: #ffffff;
}

.footer__social {
    flex: 1;
    min-width: 200px;
}

.footer__social h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer__social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #290341;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #1d013e;
    transform: translateY(-3px);
}

.app-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.app-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.app-link:hover {
    transform: scale(1.05);
}

.app-link img {
    height: 40px;
    width: auto;
    border-radius: 6px;
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    font-size: 14px;
    color: #b3b3b3;
}

.copyright p {
    margin: 0;
}

.footer__links {
    display: flex;
    gap: 20px;
}

.footer__links a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: #ffffff;
}
.section--accent {
  background: linear-gradient(135deg, #3a416f 0%, #1e2a4a 100%);
  color: white;
  padding: 80px 0;
}


.subscription-plans {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}


.subscription-info {
  flex: 1;
  min-width: 300px;
   
}
.subscription-info h2{
  color: white;
}
.section__title {
  font-size: 36px;
  margin-bottom: 15px;
  font-weight: 700;

}

.section__subtitle {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 30px;
}

.subscription-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.subscription-features li {
  margin-bottom: 15px;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.subscription-features i {
  color: #4dabf7;
  margin-right: 12px;
  font-size: 18px;
}


.plans {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.plan-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  width: 280px;
  color: #333;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
}

.plan-card h3 {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #2c3e50;
}

.plan-price {
  margin-bottom: 25px;
}

.price {
  font-size: 32px;
  font-weight: 700;
  display: block;
  color: #2c3e50;
}

.period {
  font-size: 14px;
  opacity: 0.8;
}

.btn--primary {
  background: #3d2561;
  color: white;
  border: none;
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.btn--primary:hover {
  background: #3d2561;
}

.plan-save {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  color: #868e96;
}


.plan-card--popular {
  border: 2px solid #3d2561;
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #d01f48;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}
#devices {
  padding: 80px 0;
  background: #f8f9fa;
  text-align: center;
}

.section__title {
  font-size: 36px;
  margin-bottom: 60px;
  color: #212529;
}

.devices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.device-card {
  background: white;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.device-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.device-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #77639c 0%, #77639c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
}

.device-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #343a40;
}

.device-card p {
  color: #6c757d;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}
.modals {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
}

.modals__content {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  width: 100%;
  max-width: 400px;
  position: relative;
  text-align: center;
  animation: fadeIn 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


@keyframes fadeIn {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


.modals__close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 28px;
  color: #aaa;
  cursor: pointer;
  transition: color 0.3s;
}

.modals__close:hover {
  color: #333;
}


.modals__form {
  margin-top: 20px;
}

.modals__form input {
  width: 100%;
  margin-bottom: 20px;
  padding: 14px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  outline: none;
  transition: border 0.3s;
}

.modals__form input:focus {
  border-color: #2c023e;
}


.btn--submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, #30023d, #9922e3);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.btn--submit:hover {
  background: linear-gradient(90deg, #30023d, #9922e3);
}
.modales {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modales__content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  position: relative;
}

.modales__close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
}

.modales__form input {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.btn--submit {
  width: 100%;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
  gap: 10px;
}

.filter__btn {
  padding: 8px 16px;
  background-color: var(--gray);
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter__btn.active {
  background-color: var(--primary);
  color: white;
}

@media (max-width: 1024px) {
  .footer__top,
  .footer__bottom,
  .subscription-plans,
  .plans,
  .devices-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__nav,
  .footer__social,
  .footer__column {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .section__title {
    font-size: 28px;
  }

  .plan-card {
    width: 90%;
    max-width: 400px;
  }

  .modal__content {
    width: 95%;
  }

  .subscription-info {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .accordion__header h3 {
    font-size: 16px;
  }

  .section__title {
    font-size: 24px;
  }

  .section__subtitle {
    font-size: 16px;
  }

  .footer__top,
  .footer__bottom,
  .subscription-plans {
    gap: 20px;
    padding: 20px;
  }

  .device-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .device-card {
    padding: 20px;
  }

  .modal__content,
  .modals__content,
  .modales__content {
    padding: 20px;
    max-width: 90%;
  }

  .btn--primary,
  .btn--submit {
    font-size: 14px;
    padding: 10px;
  }

  .plan-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .section__title {
    font-size: 20px;
  }

  .section__subtitle,
  .subscription-features li {
    font-size: 14px;
  }

  .plan-card h3,
  .device-card h3 {
    font-size: 18px;
  }

  .price {
    font-size: 28px;
  }

  .footer__links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .modal__close,
  .modals__close,
  .modales__close {
    font-size: 22px;
    top: 10px;
    right: 10px;
  }

  .app-links {
    flex-direction: column;
    align-items: center;
  }

  .filter {
    flex-direction: column;
  }
}

@media (max-width: 992px) {
    .slider__content {
        left: 40px;
        bottom: 40px;
        max-width: 400px;
    }
    
    .movies-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: var(--dark);
        flex-direction: column;
        padding: 30px;
        transition: left 0.3s;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav__list {
        flex-direction: column;
    }
    
    .nav__list li {
        margin: 15px 0;
    }
    
    .burger {
        display: block;
    }
    
    .slider {
        height: 400px;
    }
    
    .slider__content {
        left: 20px;
        bottom: 20px;
        max-width: 80%;
        padding: 20px;
    }
    
    .slider__content h2 {
        font-size: 28px;
    }
    
    .tabs {
        flex-wrap: wrap;
    }
}
