* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
* {
    -webkit-tap-highlight-color: transparent !important;
}
body {
    margin: 0;
    background: #050505;
    overflow-x: hidden;
	color: white; 
}
.card, .card * {
    -webkit-tap-highlight-color: transparent !important;
}
.card:focus,
.card:active,
.card *:focus,
.card *:active {
    outline: none !important;
    box-shadow: none !important;
}
.card {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}
/* неоновые пятна */
.bg-light, .bg-light2, .bg-light3 {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.5;
    z-index: -1;
	pointer-events: none;
}

/* цвета */

.bg-light, .bg-light2, .bg-light3 {
    animation-duration: 10s !important;
}

.bg-light {
    background: #a100ff;
    top: 10%;
    left: 20%;
    animation: move1 20s infinite alternate ease-in-out;
}

.bg-light2 {
    background: #ff0066;
    top: 60%;
    left: 70%;
    animation: move2 25s infinite alternate ease-in-out;
}

.bg-light3 {
    background: #6a00ff;
    top: 40%;
    left: 40%;
    animation: move3 30s infinite alternate ease-in-out;
}

/* анимация */
@keyframes move1 {
    0% { transform: translate(0,0) scale(1); }
    100% { transform: translate(100px, -50px) scale(1.2); }
}

@keyframes move2 {
    0% { transform: translate(0,0) scale(1); }
    100% { transform: translate(-120px, 80px) scale(1.3); }
}

@keyframes move3 {
    0% { transform: translate(0,0) scale(1); }
    100% { transform: translate(60px, -100px) scale(1.1); }
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2vh 5vw;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo {
    font-size: clamp(16px, 3vw, 24px);
    font-weight: bold;
    color: #fff;
}

nav {
    display: flex;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: clamp(14px, 2.5vw, 18px);
}

/* HERO */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
	z-index: 1;
	padding-top: 12vh;
}

.bg-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.3) 50%,
    rgba(0,0,0,0) 100%
	
);
z-index: 1;
pointer-events: none;
}

.hero-text {
    position: absolute;
    top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 100%;
    text-align: center;
}
.hero-text svg {
	display: block;
}

.hero-text h1 {
    font-size: 50px;
}
@media (min-width: 769px) {
.hero-text h1 {
	display: none;
}
}

.hero-text p {
    margin-top: 10px;
    font-size: 18px;
}
@media (max-width: 768px) {
    .hero-text p {
        padding: 0 20px;
        font-size: 16px;
        line-height: 1.4;
    }
}
.btn {
    display: none !important;
    margin-top: 20px;
    padding: 12px 24px;
    background: red;
    color: white;
    text-decoration: none;
}

/* SECTIONS */
.section {
    padding: 100px 40px;
    text-align: center;
}

.dark {
    background: transparent;
}

/* NETFLIX GRID */
.netflix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.3s;
    border-radius: 6px;
}
.card:hover img {
    transform: scale(1.1);
}
.card-title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 14px;
}

/* CARDS */
.cards {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.card-box {
    flex: 1;
    padding: 30px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    transition: 0.3s;
	border: 2px solid transparent;
	cursor: pointer;
}

.card-box:hover {
    transform: translateY(-10px);
	border: 2px solid red;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: (0,0,0,0,85);
    justify-content: center;
    align-items: center;
    z-index: 999999;
}
.popup.show {
	display: flex;
}
.popup video {
    max-width: 90%;
	position: relative;
	z-index: 1000000;
}

/* FORM */
form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: auto;
}

input,
textarea {
    margin: 10px 0;
    padding: 12px;
    border: none;
}

button {
    padding: 12px;
    background: red;
    color: #fff;
    border: none;
} 
/* RESPONSIVE */
@media (max-width: 900px) {
    .netflix {
        grid-template-columns: 1fr;
    }

    .cards {
        flex-direction: column;
    }

}
.messengers {
    display: flex;
	justify-content: center;
    gap: 15px;
	margin-top: 40px;
}

.messengers a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.messengers a img {
    width: 40px;
    height: 40px;
}

.messengers a:hover {
    transform: scale(1.1);
}
#contact {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

#contact form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#contact input,
#contact textarea {
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .hero-text svg {
        display: none;
    }
}
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 32px;
        padding: 0 20px;
        line-height: 1.3;
    }
}
@media (max-width: 768px) {
    .mobile-title {
        display: block;
        font-size: 22px;
        font-weight: bold;
        text-align: center;
        padding: 0 25px;
        line-height: 1.4;
		max-width: 320px;
		margin: 0 auto;
    }
}
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.4s ease;
}

.modal-content {
  /*  background: #111;*/
    color: #fff;
	position: absolute;
    padding: 30px;
    width: 80%;
    max-width: 600px;
	opacity: 0;
	transform: scale(0.3);
	transition: all 0.4s ease;
}
.modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
    width: 80%;
    max-width: 600px;
}
.modal.show {
	display: flex;
    opacity: 1;
    pointer-events: auto;
}

.close {
    float: right;
    font-size: 30px;
    cursor: pointer;
}
/* overlay затемнение */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
}

/* активное состояние */
.video-overlay.active {
    opacity: 1;
}
.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* видео fullscreen */
.full-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    object-fit: contain;
    background: black;

    z-index: 9999;
    transition: all 0.5s ease;
}
.video-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10000;
}
/* ===== MOBILE MENU CLEAN RESET ===== */

/*.burger {
    display: none;
}
*/
@media (max-width: 768px) {

    .burger {
        display: block;
        position: fixed;
        top: 15px;
        right: 20px;
        font-size: 28px;
        color: white;
        z-index: 100000;
        cursor: pointer;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        background: rgba(0,0,0,0.95);
        display: flex;
        flex-direction: column !important;
        transition: 0.3s;
        z-index: 99999;
    }

    nav.active {
        right: 0;
    }

    nav a {
        display: block !important;
        font-size: 24px;
        margin: 15px 0;
        text-align: center;
    }
}
/* ===== FIX MENU FINAL ===== */

header {
    position: relative !important;
}


#menu {
  display: none;
  position: fixed;
  top: 70px;
  right: 20px;
  z-index: 9999;
}

#menu.active {
  display: flex;
}

#menu a {
  color: white;
  text-decoration: none;
  margin: 10px 0;
  font-size: 18px;
}
/* === MOBILE MENU FIX FINAL === */

#menu {
  justify-content: space-between;
  width: 100%;
  padding: 0 20px;
}

#menu a {
  flex: 1;
  text-align: center;
  font-size: 16px;
}

.burger {
  display: none;
}
/* ДЕСКТОП — показываем ТОЛЬКО SVG */
.mobil-title {
  display: none;
}

svg {
  display: block;
  width: 100%;
}

/* МОБИЛКА — показываем текст, скрываем SVG */
@media (max-width: 768px) {
  svg {
    display: none;
  }

  .mobil-title {
    display: block;
    font-size: 28px;
    text-align: center;
    color: white;
  }
}
svg text {
  font-size: clamp(40px, 6vw, 80px);
}
/* ===== MENU HARD RESET ===== */

/* ДЕСКТОП */
@media (min-width: 769px) {
  nav {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 40px !important;
    background: transparent !important;
  }

  nav a {
    display: inline-block !important;
  }

  .burger {
    display: none !important;
  }
}

/* МОБИЛКА */
@media (max-width: 768px) {
  .burger {
    display: block !important;
    position: fixed !important;
    top: 15px !important;
    right: 20px !important;
    font-size: 26px !important;
    color: white !important;
    z-index: 10000 !important;
  }

  nav {
    position: fixed !important;
  /*  top: 0 !important;*/
  /*  right: -100% !important; */
    width: 75% !important;
   /* height: 100% !important;*/
    background: rgba(0,0,0,0.95) !important;
    display: flex !important;
    flex-direction: column !important;
    padding-top: 80px !important;
    transition: 0.3s !important;
  }

 /* nav.active {
    right: 0 !important;
 }
*/
  nav a {
    margin: 15px 0 !important;
    text-align: center !important;
    font-size: 20px !important;
  }
}
/* ===== MODAL: НЕ ВЫЛАЗИТ ЗА ЭКРАН (БЕЗ ЦЕНТРИРОВАНИЯ) ===== */

/* ограничиваем только границы, не трогаем top/left из JS */
.modal-content {
  max-width: 90vw !important;
  max-height: 85vh !important;
  overflow-y: auto !important;
  box-sizing: border-box;
}

/* чуть меньше отступы на мобиле, чтобы влезало */
@media (max-width: 768px) {
  .modal-content {
    padding: 20px !important;
    width: 90vw !important;
  }
}
/* ===== BURGER FIX (desktop/mobile) ===== */

/* ДЕСКТОП — бургер скрыт */
@media (min-width: 769px) {
  .burger {
    display: none !important;
  }

  nav {
    display: flex !important;
    position: static !important;
  }
}

/* МОБИЛКА — бургер показываем */
@media (max-width: 768px) {
  .burger {
    display: block !important;
  }
}
/* ===== WORKING BURGER ===== */

/* десктоп */
@media (min-width: 769px) {
  .burger { display: none !important; }

  nav {
    display: flex !important;
    position: static !important;
    flex-direction: row !important;
  }
}

/* мобилка */
@media (max-width: 768px) {

  .burger {
    display: block !important;
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 10001;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    z-index: 10000;
  }

  nav.active {
    right: 0;
  }
}
/* ===== BURGER FORCE FIX ===== */

.burger {
  pointer-events: auto !important;
}

nav {
  z-index: 99999 !important;
}

/* гарантируем, что меню закрыто */
@media (max-width: 768px) {
  nav {
    right: -100% !important;
  }
  nav.active {
    right: 0 !important;
  }
}
/* ===== BURGER NORMAL FIX ===== */

/* бургер — поверх хедера, но НЕ всего сайта */
.burger {
  z-index: 1001 !important;
  pointer-events: auto;
}

/* меню ниже бургерa */
nav {
  z-index: 1000 !important;
}

/* мобилка */
@media (max-width: 768px) {

  nav {
    right: -100%;
  }

  nav.active {
    right: 0;
  }

}
/* ===== CLEAN HEADER + BURGER ===== */

/* убираем чёрную плашку */
header {
  background: transparent !important;
  backdrop-filter: none !important;
}

/* бургер — нормальный, аккуратный */
.burger {
  color: white !important;
  font-size: 28px;
  line-height: 1;
}

/* мобильное меню — лёгкое, прозрачное */
@media (max-width: 768px) {

  nav {
    position: fixed !important;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.25) !important; /* НЕ чёрный */
    backdrop-filter: blur(6px);

    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    transition: right 0.3s ease;
    z-index: 9999;
  }

  nav.active {
    right: 0;
  }

  nav a {
    font-size: 22px;
    margin: 12px 0;
    color: white;
  }

}
/* ===== ULTIMATE MENU FIX (УБИВАЕТ ВСЕ КОНФЛИКТЫ) ===== */

/* убираем весь мусор поведения */
#menu {
  display: flex !important;
}

/* ДЕСКТОП */
@media (min-width: 769px) {

  header {
    position: sticky !important;
    top: 0;
    background: transparent !important;
  }

  nav {
    position: static !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 40px !important;
    background: transparent !important;
  }

  .burger {
    display: none !important;
  }
}

/* МОБИЛКА */
@media (max-width: 768px) {

  .burger {
    display: block !important;
    position: fixed !important;
    top: 15px !important;
    right: 20px !important;
    z-index: 10001 !important;
  }

  nav {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 75% !important;
    height: 100% !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;

    background: rgba(0,0,0,0.3) !important;
    backdrop-filter: blur(10px);

    transition: right 0.3s ease !important;
    z-index: 10000 !important;
  }

  nav.active {
    right: 0 !important;
  }

  nav a {
    font-size: 22px !important;
    margin: 12px 0 !important;
  }

}
/* ===== FIX HEADER STICKY ===== */

header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;

    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(8px);
}
/* ===== FIX HEADER: FIXED + TRANSPARENT ===== */

header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;

    background: transparent !important;      /* полностью прозрачный */
    backdrop-filter: none !important;        /* убираем блюр */
    -webkit-backdrop-filter: none !important;
}

header {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
/* ===== KILL TOP STRIPE ===== */

header {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* убираем влияние светящихся пятен под хедером */
header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: -1;
}

/* важно — чтобы ничего не светило под шапкой */
.bg-light,
.bg-light2,
.bg-light3 {
    z-index: -2 !important;
}
.hero {
    padding-top: 0 !important;
}
/* ABOUT */
.about-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.about-text {
  flex: 1;
  text-align: left;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
}

/* REVIEWS */
.reviews {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.review {
  flex: 1;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}

/* MOBILE */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }

  .reviews {
    flex-direction: column;
  }
}
/* ===== SCROLL ANIMATION ===== */

.reveal {
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* чуть быстрее на мобиле */
@media (max-width: 768px) {
  .reveal {
    transform: translateY(50px);
  }
}
/* ===== CINEMATIC SCROLL (ВЫЕЗЖАЕТ ИЗ-ЗА ЭКРАНА) ===== */

.reveal {
  opacity: 0;
  transform: translateY(120%);
  will-change: transform, opacity;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* варианты направления */
.reveal-left {
  transform: translateX(-120%);
}
.reveal-left.active {
  transform: translateX(0);
}

.reveal-right {
  transform: translateX(120%);
}
.reveal-right.active {
  transform: translateX(0);
}
/* === АНИМАЦИЯ ДЛЯ КАЖДОГО ЭЛЕМЕНТА === */

.reveal-item {
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.22,1,0.36,1),
              opacity 0.4s ease;
  will-change: transform, opacity;
}

/* слева */
.reveal-left {
  transform: translateX(-120vw);
}

/* справа */
.reveal-right {
  transform: translateX(120vw);
}

/* активное состояние */
.reveal-item.active {
  transform: translateX(0);
  opacity: 1;
}