@font-face {
  font-family: 'ZakiSans';
  src: local('Manrope'), local('Arial');
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --bg: #000;
  --header: #090909;
  --text: #f2f2f2;
  --muted: #9a9a9a;
  --line: rgba(255, 255, 255, 0.09);
  --btn: #292525;
  --btn-hover: #383131;
  --red: #5c1717;
  --red-hover: #751f1f;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 52% 32%, rgba(255,255,255,.035), transparent 28%),
    #000;
  color: var(--text);
  font-family: ZakiSans, Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* HEADER */

.header {
  height: 58px;
  padding: 0 14px;
  background: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.035);
}

.logo {
  font-size: 14px;
  letter-spacing: .075em;
  font-weight: 300;
  color: #e8e8e8;
}

.nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.nav a {
  position: relative;
  font-size: 11px;
  letter-spacing: .045em;
  text-transform: uppercase;
  color: #c8c8c8;
  font-weight: 300;
  transition: color .2s ease;
}

.nav a:hover,
.nav a.active {
  color: #fff;
}

.nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 1px;
  background: rgba(255,255,255,.55);
}

/* MOBILE MENU */

.menu-btn {
  display: none;
  width: 40px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  padding: 9px;
}

.menu-btn span {
  display: block;
  height: 1px;
  background: #fff;
  margin: 6px 0;
}

/* GENERAL */

.page {
  min-height: calc(100vh - 118px);
  position: relative;
}

h1 {
  margin: 0 0 34px;
  font-size: 27px;
  line-height: 1.15;
  font-weight: 300;
  letter-spacing: .015em;
  animation: fadeDown .75s ease forwards;
}

/* PLAN BUTTON */

.plan-btn {
  position: fixed;
  top: 66px;
  right: 18px;
  z-index: 5;
  padding: 13px 22px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(0,0,0,.38);
  backdrop-filter: blur(12px);
  opacity: 0;
  animation: flyFromTop .7s ease .95s forwards;
  transition:
    transform .25s ease,
    background .25s ease,
    box-shadow .25s ease;
}

.plan-btn:hover {
  background: rgba(255,255,255,.08);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 30px rgba(255,255,255,.08);
}

/* ABOUT */

.about {
  padding: 34px 20px 110px;
}

.about-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 365px 1fr;
  align-items: center;
  gap: 70px;
}

.photo-wrap {
  width: 260px;
  height: 260px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: #151515;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 22px 80px rgba(255,255,255,.045);
  opacity: 0;
  animation: flyFromLeft .9s ease .15s forwards;
}

.photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.03);
}

.about-content {
  max-width: 650px;
  text-align: center;
}

.lead {
  margin: 0 auto 34px;
  max-width: 640px;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 300;
  color: #eeeeee;
  opacity: 0;
  animation: flyFromTop .85s ease .25s forwards;
}

.lead::first-letter {
  color: #d9d3b0;
}

/* MAIN BUTTONS */

.main-links {
  width: 220px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.main-links a,
.write-link {
  position: relative;
  overflow: hidden;
  height: 35px;
  border-radius: 7px;
  background: var(--btn);

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 13px;
  font-weight: 700;

  opacity: 0;
  translate: 0 0;

  transform: translateZ(0);
  will-change: transform;

  transition:
    transform .45s cubic-bezier(.22, 1, .36, 1),
    background .25s ease,
    box-shadow .35s ease,
    filter .35s ease;
}

.main-links a::before,
.write-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.12),
    transparent
  );
  transition: .65s ease;
}

.main-links a:hover::before,
.write-link:hover::before {
  left: 130%;
}

.main-links a:hover,
.write-link:hover {
  transform: translateY(-3px) scale(1.045);

  box-shadow:
    0 14px 35px rgba(0,0,0,.45),
    0 0 18px rgba(255,255,255,.06);
}

.write-link:hover {
  background: var(--red-hover);
}



.main-links a:nth-child(1) {
  animation: btnFromRight .7s ease .35s forwards;
}

.main-links a:nth-child(2) {
  animation: btnFromLeft .7s ease .45s forwards;
}

.main-links a:nth-child(3) {
  animation: btnFromRight .7s ease .55s forwards;
}

.main-links a:nth-child(4) {
  animation: btnFromBottom .7s ease .65s forwards;
}

.write-link {
  width: 220px;
  margin: 72px auto 0;
  background: var(--red);
  animation: btnFromBottom .75s ease .85s forwards;
}

.write-link:hover {
  background: var(--red-hover);
  transform: translateY(-4px) scale(1.06);

  box-shadow:
    0 14px 35px rgba(92,23,23,.45),
    0 0 18px rgba(255,255,255,.08);
}
/* FIX: анимация входа кнопок не трогает transform */

@keyframes btnFromLeft {
  from {
    opacity: 0;
    translate: -70px 0;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes btnFromRight {
  from {
    opacity: 0;
    translate: 70px 0;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes btnFromBottom {
  from {
    opacity: 0;
    translate: 0 55px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
/* SMALL CONTACT SECTION */

.small-section {
  width: min(720px, calc(100% - 32px));
  margin: -55px auto 80px;
  display: none;
}

.small-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  border-radius: 18px;
  padding: 22px;
  text-align: center;
}

.small-title {
  font-size: 20px;
  color: #fff !important;
  margin-bottom: 8px !important;
}

.small-card p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 16px;
}

.small-card a {
  display: inline-flex;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--red);
  font-weight: 700;
}

/* PORTFOLIO PAGE */

.portfolio-page {
  min-height: calc(100vh - 118px);
  padding: 26px 20px 70px;
}

.portfolio-head {
  width: min(560px, 100%);
  margin: 0 auto 52px;
  opacity: 0;
  animation: fadeDown .75s ease forwards;
}

.portfolio-head h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  color: rgba(255,255,255,.72);
  font-weight: 300;
  letter-spacing: .01em;
  animation: none;
}

.portfolio-head p {
  margin: 3px 0 0;
  font-size: 21px;
  color: rgba(255,255,255,.62);
  font-weight: 300;
}

.portfolio-list {
  width: min(470px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.portfolio-card {
  position: relative;
  height: 150px;
  border-radius: 11px;
  overflow: hidden;
  background: #151515;
  opacity: 0;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 20px 60px rgba(0,0,0,.35);
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    filter .28s ease;
}

.portfolio-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.72),
      rgba(0,0,0,.18),
      rgba(0,0,0,.55)
    );
  z-index: 1;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      120deg,
      transparent,
      rgba(255,255,255,.13),
      transparent
    );
  transform: translateX(-120%);
  transition: .7s ease;
  z-index: 2;
}

.portfolio-card:hover::before {
  transform: translateX(120%);
}

.portfolio-card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 24px 70px rgba(0,0,0,.55);
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.86) saturate(.9);
  transition: transform .5s ease, filter .3s ease;
}

.portfolio-card:hover img {
  transform: scale(1.045);
  filter: brightness(1) saturate(1);
}

.portfolio-card span {
  position: absolute;
  left: 17px;
  bottom: 18px;
  z-index: 3;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.7);
}

.card-1 {
  animation: flyFromTop .75s ease .15s forwards;
}

.card-2 {
  animation: flyFromRight .75s ease .27s forwards;
}

.card-3 {
  animation: flyFromLeft .75s ease .39s forwards;
}

.card-4 {
  animation: flyFromBottom .75s ease .51s forwards;
}

/* CLIPS PAGE */

.clips-page {
  min-height: calc(100vh - 118px);
  padding: 24px 20px 120px;
  position: relative;
}

.clips-head {
  width: min(720px, 100%);
  margin: 0 auto 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeDown .75s ease forwards;
}

.clips-head h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: .01em;
  color: rgba(255,255,255,.84);
  animation: none;
}


.review-btn {
  position: fixed;
  top: 66px;
  right: 18px;
  z-index: 10;
  padding: 13px 24px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  animation: flyFromTop .7s ease .65s forwards;
  transition:
    transform .25s ease,
    background .25s ease,
    box-shadow .25s ease;
}

.review-btn:hover {
  transform: translateY(-2px) scale(1.02);
  background: rgba(255,255,255,.08);
  box-shadow: 0 14px 35px rgba(0,0,0,.45);
}

.video-list {
  width: min(720px, 100%);
  margin: 0 auto;
}

.vk-video-wrapper {
  position: relative;
  width: 100%;
  height: 405px;
  margin: 0 auto 30px;
  overflow: hidden;
  border-radius: 14px;
  background: #111;
  cursor: pointer;
  opacity: 0;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.03),
    0 26px 80px rgba(0,0,0,.45);
  transition:
    transform .32s ease,
    box-shadow .32s ease;
}

.vk-video-wrapper:nth-child(1) {
  animation: flyFromTop .8s ease .15s forwards;
}

.vk-video-wrapper:nth-child(2) {
  animation: flyFromRight .8s ease .28s forwards;
}

.vk-video-wrapper:nth-child(3) {
  animation: flyFromLeft .8s ease .41s forwards;
}

.vk-video-wrapper:nth-child(4) {
  animation: flyFromBottom .8s ease .54s forwards;
}

.vk-video-wrapper:nth-child(5) {
  animation: flyFromRight .8s ease .67s forwards;
}

.vk-video-wrapper:nth-child(6) {
  animation: flyFromLeft .8s ease .8s forwards;
}

.vk-video-wrapper:nth-child(7) {
  animation: flyFromBottom .8s ease .93s forwards;
}

.vk-video-wrapper:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 30px 90px rgba(0,0,0,.65);
}

.vk-video-wrapper iframe,
.vk-video-wrapper .vk-placeholder {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.vk-placeholder {
  background-size: cover;
  background-position: center;
  transition:
    transform .55s ease,
    filter .35s ease;
}

.vk-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.06),
      rgba(0,0,0,.24)
    );
  z-index: 1;
}

.vk-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background:
    linear-gradient(
      120deg,
      transparent,
      rgba(255,255,255,.12),
      transparent
    );
  transition: .8s ease;
  z-index: 2;
}

.vk-video-wrapper:hover .vk-placeholder::before {
  left: 130%;
}

.vk-video-wrapper:hover .vk-placeholder {
  transform: scale(1.03);
  filter: brightness(1.04);
}

.vk-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(0,0,0,.52);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform .25s ease,
    background .25s ease;
}

.vk-play-button::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 18px solid white;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}

.vk-video-wrapper:hover .vk-play-button {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(255,255,255,.16);
}

.vk-hidden-iframe {
  display: none;
}

.booking-btn {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  transform: translateX(-50%);
  width: min(260px, calc(100% - 40px));
  height: 36px;
  border-radius: 7px;
  background: #7a2430;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 16px 45px rgba(0,0,0,.45);
  transition:
    background .25s ease,
    transform .25s ease;
}

.booking-btn:hover {
  background: #943040;
  transform: translateX(-50%) translateY(-2px);
}

/* FOOTER */

.footer {
  height: 60px;
  border-top: 1px solid rgba(255,255,255,.1);
  width: 100%;
  display: flex;
  align-items: center;
}

.footer p {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  color: #6f7780;
  font-size: 12px;
}

/* ANIMATIONS */

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes flyFromLeft {
  from {
    opacity: 0;
    transform: translateX(-70px) scale(.96);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes flyFromRight {
  from {
    opacity: 0;
    transform: translateX(70px) scale(.96);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes flyFromTop {
  from {
    opacity: 0;
    transform: translateY(-45px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes flyFromBottom {
  from {
    opacity: 0;
    transform: translateY(55px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MOBILE */

@media (min-width: 1200px) {
  .about {
    padding-top: 36px;
  }
}

@media (max-width: 820px) {
  .header {
    height: 58px;
  }

  .menu-btn {
    display: block;
  }

  .nav {
    position: fixed;
    top: 66px;
    left: 14px;
    right: 14px;
    z-index: 20;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    background: rgba(12,12,12,.96);
    border: 1px solid var(--line);
    border-radius: 16px;
    backdrop-filter: blur(16px);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 14px;
    text-align: center;
    border-radius: 10px;
  }

  .nav a.active::after {
    display: none;
  }

  .plan-btn {
    position: static;
    display: block;
    width: fit-content;
    margin: 18px auto 0;
    font-size: 12px;
    padding: 11px 18px;
  }

  .about {
    padding: 30px 18px 70px;
  }

  h1 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .photo-wrap {
    width: 218px;
    height: 218px;
  }

  .lead {
    font-size: 18px;
    line-height: 1.42;
  }

  .write-link {
    margin-top: 42px;
  }

  .small-section {
    display: block;
  }

  .portfolio-page {
    padding: 28px 16px 60px;
  }

  .portfolio-head {
    margin-bottom: 34px;
    text-align: left;
  }

  .portfolio-head h1 {
    font-size: 20px;
  }

  .portfolio-head p {
    font-size: 19px;
  }

  .portfolio-list {
    width: 100%;
    max-width: 470px;
  }

  .portfolio-card {
    height: 140px;
    border-radius: 12px;
  }

  .clips-page {
    padding: 28px 14px 120px;
  }

  .clips-head {
    display: block;
    margin-bottom: 24px;
  }

  .clips-head h1 {
    font-size: 21px;
  }

  .vpn-note {
    margin-top: 6px;
    font-size: 10px;
  }

  .review-btn {
    position: static;
    display: block;
    width: fit-content;
    margin: 18px auto 0;
  }

  .vk-video-wrapper {
    height: auto;
    padding-top: 56.25%;
    border-radius: 11px;
    margin-bottom: 22px;
  }

  .vk-play-button {
    width: 58px;
    height: 58px;
  }

  .vk-play-button::before {
    border-left-width: 16px;
    border-top-width: 10px;
    border-bottom-width: 10px;
  }

  .footer {
    height: auto;
    padding: 22px 0;
  }

  .footer p {
    text-align: center;
  }
}

@media (max-width: 420px) {
  .logo {
    font-size: 12px;
  }

  .about {
    padding-left: 14px;
    padding-right: 14px;
  }

  .lead {
    font-size: 17px;
  }

  .main-links,
  .write-link {
    width: 100%;
    max-width: 240px;
  }
}
/* VPN FINAL FIX */

/* =========================
FINAL FIX
========================= */

/* VPN */

.vpn-note {
  position: fixed !important;

  left: 50% !important;
  bottom: 72px !important;

  transform: translateX(-50%) !important;

  z-index: 99999 !important;

  margin: 0 !important;
  padding: 6px 12px !important;

  width: auto !important;
  max-width: calc(100% - 40px) !important;

  border-radius: 10px !important;

  background: rgba(0,0,0,.72) !important;
  border: 1px solid rgba(255,255,255,.06) !important;

  backdrop-filter: blur(10px) !important;

  color: rgba(255,255,255,.88) !important;

  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;

  white-space: nowrap !important;

  box-shadow: 0 6px 18px rgba(0,0,0,.28) !important;
}

/* FLOATING SOCIALS */

@keyframes floatSocial {
  0%, 100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-6px);
  }
}

.floating-instagram-button,
.floating-whatsapp-button,
.floating-telegram-button {
  position: fixed !important;

  right: 18px !important;

  width: 46px !important;
  height: 46px !important;

  border-radius: 50% !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  z-index: 99999 !important;

  box-shadow: 0 10px 28px rgba(0,0,0,.35) !important;

  animation: floatSocial 2.2s ease-in-out infinite !important;

  transition:
    transform .2s ease,
    filter .2s ease !important;
}

.floating-instagram-button {
  bottom: 170px !important;
}

.floating-whatsapp-button {
  bottom: 110px !important;
}

.floating-telegram-button {
  bottom: 230px !important;
}

.floating-instagram-button:hover,
.floating-whatsapp-button:hover,
.floating-telegram-button:hover {
  filter: brightness(1.08);
}

@media (max-width: 768px) {

  .floating-instagram-button,
  .floating-whatsapp-button,
  .floating-telegram-button {
    width: 42px !important;
    height: 42px !important;

    right: 12px !important;
  }

  .floating-telegram-button {
    bottom: 205px !important;
  }

  .floating-instagram-button {
    bottom: 150px !important;
  }

  .floating-whatsapp-button {
    bottom: 95px !important;
  }
}
.floating-telegram-button {
  background: #0088cc !important;
}

.floating-instagram-button {
  background: radial-gradient(
    circle at 30% 30%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285AEB 90%
  ) !important;
}

.floating-whatsapp-button {
  background: #25D366 !important;
}
.bottom-nav-buttons {
  position: fixed;
  left: 50%;
  bottom: 68px;
  transform: translateX(-50%);
  z-index: 99998;

  display: flex;
  gap: 14px;
}

.bottom-nav-buttons a {
  width: 120px;
  height: 34px;

  border-radius: 7px;
  background: #7a2424;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 12px;
  font-weight: 800;

  box-shadow: 0 12px 35px rgba(0,0,0,.4);
}

.bottom-nav-buttons a:hover {
  background: #943030;
}

.vpn-note {
  bottom: 112px !important;
}
.footer {
  margin-top: 80px;
  padding: 40px 20px 50px;

  background: #000;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-inner {
  width: min(1100px, 100%);
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;

  text-align: center;
}

.footer-logo {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: .18em;
  color: rgba(255,255,255,.92);
}

.footer-links,
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.footer-links a,
.footer-socials a {
  color: rgba(255,255,255,.62);
  text-decoration: none;
  font-size: 14px;

  transition:
    color .25s ease,
    transform .25s ease;
}

.footer-links a:hover,
.footer-socials a:hover {
  color: #fff;
  transform: translateY(-2px);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,.35);
}

@media (max-width: 768px) {
  .footer {
    padding: 36px 14px 110px;
  }

  .footer-logo {
    font-size: 16px;
    letter-spacing: .12em;
  }

  .footer-links,
  .footer-socials {
    gap: 14px;
  }

  .footer-links a,
  .footer-socials a {
    font-size: 13px;
  }
}
.hero-subtitle {
  margin: -18px 0 34px;

  font-size: 18px;
  font-weight: 300;
  letter-spacing: .08em;

  color: rgba(255,255,255,.55);

  text-transform: uppercase;

  text-align: center;
}