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

html {
  background: #fff; /* важливо для iOS overscroll */
}

html::before {
  content: "";
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: -1;
  pointer-events: none;
}

body {
  font-family: "Space Grotesk", sans-serif;
  background: #fff;
  color: #282828;
}

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

.preload * {
  transition: none !important;
  animation: none !important;
}

/* ========================================================= */
/* === FIX: БЛОКУВАННЯ СКРОЛУ BODY ПРИ ВІДКРИТОМУ МЕНЮ (IOS JUMP FIX) === */
/* ========================================================= */
html.menu-open {
  overflow: hidden !important;
  height: 100%;
}

body.menu-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

/* Header */
.header {
  padding: 110px 50px 90px 50px;
  background: #fff;
  max-width: 1440px;
  margin: 0 auto;
}


/* Контейнер меню */
.menu-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  padding: 0 50px;
  margin: 0 auto;
  gap: 20px;
  z-index: 10002;
}

.hamburger {
  position: relative;
    display: none; /* Цей стиль має бути глобальним */
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 10001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #282828;
    transition: all 0.3s ease;
}


.hamburger:active span {
    background: #D8CDB8;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

/* Анімація перетворення на Х */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Мобільне меню --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
  transition: opacity 0.18s ease, visibility 0s linear 0.18s;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transition: opacity 0.18s ease, visibility 0s;
}

.mobile-menu-content,
.mobile-menu-bottom {
    display: none;
}

html.is-ios .mobile-menu {
  height: 100vh;
  height: 100svh;
}


/* Android / non-iOS: меню має підлаштовуватись під реальний viewport (address bar hide/show) */
@media (hover: none) and (pointer: coarse) {
  html:not(.is-ios) .mobile-menu {
    height: 100vh;
    height: 100dvh;
  }
}

/* Menu */
.menu {
  display: flex;
  align-items: center;
  width: 100%;
  height: 110px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background: #fff;
  justify-content: center;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

html.is-ios .menu{
  -webkit-transform: none !important;
  transform: none !important;
}
.menu-right {
  position: relative;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #282828;
  text-decoration: none;
}

.showreel-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  height: 52px;
  border-radius: 64px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  background: #282828;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  touch-action: manipulation; /* стабільніше на iOS для tap */
}


/* Fix iOS Safari: visited link could inherit dark color (hides text on dark btn) */
.showreel-btn:visited {
  color: #fff;
}

/* Відео поверх кнопки */
.showreel-btn video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 64px;
  opacity: 0;
  pointer-events: none; /* щоб відео не блокувало ховер/клік */
  transition: opacity 0.3s ease;
}

/* Текст та SVG завжди поверх відео */
.showreel-btn span,
.showreel-btn svg {
  position: relative;
  z-index: 1;
}

/* Пульсуюча обводка та світіння при ховері */
.showreel-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 64px;
  padding: 2px; /* товщина обводки */
  background: linear-gradient(270deg, #282828, #A2EE40, #282828);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude; /* для сучасних браузерів */
  opacity: 0;
  transition: opacity 0.3s ease;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.6; }
}

/* Вказуємо, що SVG можна анімувати */
.showreel-btn svg {
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* плавний bounce ефект */
}

.showreel-btn span {
  transition: color 0.3s ease; /* плавна зміна кольору */
}

/* pressed state (короткий) */
.showreel-btn:active {
  transform: scale(0.95);
}

.menu-link {
  font-size: 16px;
  font-weight: 500;
  color: #282828;
  text-decoration: none;
  transition: opacity 0.15s ease-out;
}

/* Стан при натисканні (працює на всіх пристроях, включаючи мобільні) */
.menu-link:active {
  opacity: 0.5;
  transform: scale(0.95);
  transition: opacity 0.1s ease;
}

.socials {
  display: flex;
  align-items: center;
  gap: 24px;
}

.socials img {
  width: 33px;
  height: 33px;
  display: block;
}

/* 3. Соцмережі (в хедері та мобільному меню) */
.mobile-socials img:active,
.socials img:active {
  opacity: 0.5;
  transform: scale(0.95);
  transition: all 0.1s ease;
}

/* Hero Block */
#showreel {
  scroll-margin-top: 90px;
}

.hero-block {
  position: relative;
  width: 100%;
  max-width: 1340px;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-video-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 40px;
}

.hero-title-mobile {
  display: none;
}

.hero-watch-showreel {
  display: none;
}

.hero-title {
  position: absolute;
  top: 45%;
  left: 40px;
  transform: translateY(-50%);
  font-size: 32px;
  font-weight: 700;
  line-height: 42px;
  color: #A2EE40;
}

.hero-bottom {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.hero-description {
  font-size: 32px;
  font-weight: 300;
  line-height: 42px;
  color: #fff;
  margin-bottom: 20px;
  max-width: 750px;
}

.hero-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  --playScale: 1;
  transform: translate(-50%, -50%) scale(var(--playScale));
  transition: transform 0.12s ease-out, opacity 0.12s ease-out;
  z-index: 5;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  width: 72px;
  height: 72px;
  display: none;
}

.hero-video-play:active {
  --playScale: 0.92;
}

/* якщо JS додасть клас — буде те саме (надійніше на мобільних) */
.hero-video-play.is-pressed {
  --playScale: 0.92;
}

.hero-video-play svg {
  width:100%;
  height:100%;
  display:block;
}

.hero-block.needs-user-play .hero-video-play {
  display:block;
}

.hero-video-play::after{
  content:"";
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.35);
  border-top-color: rgba(255,255,255,.95);
  display: none;
  box-sizing: border-box;
  pointer-events: none;
}

@keyframes spin{ to { transform: rotate(360deg); } }

.hero-block.video-loading .hero-video-play svg{ opacity:0; }
.hero-block.video-loading .hero-video-play::after{
  display:block;
  animation: spin .8s linear infinite;
}

.tags {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tags-mobile {
  display: none;
}

.tag {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  height: 52px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.tag.green {
  background: #A2EE40;
  color: #282828;
}

.tag.white {
  background: #fff;
  color: #282828;
}

.tag.black-mobile {
  background: #282828;
  color: #fff;
}

.tag.beige {
  background: #D8CDB8;
  color: #282828;
}

.hash {
  opacity: 0.25;
  left: 20px;
  margin-right: 2px;
  margin-left: -4px;
}

.bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0px;
  width: 100%;
}

.hero-right {
  display: flex;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.hero-left .tags-wrapper {
  height: 52px;
  display: flex;
  align-items: center;
}

.local-time {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: #A2EE40;
  white-space: nowrap;
}

.video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.about-block {
  width: 100%;
  background: #0F0F0F;
  border-radius: 20px;
  padding: 0 50px;
}

.about-inner {
  width: 100%;
  padding: 90px 0 90px 0;
  box-sizing: border-box;
}

.about-text-container {
  max-width: 1340px;
  width: 100%;
  margin: 0 auto;
}

.about-text-left {
  padding-left: 40px;
  padding-right: 40px;
}

.about-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 42px;
  color: #fff;
  margin: 0;
}

.about-title .about-subtitle {
  color: #5A5A5A;
}

.about-video-container {
  max-width: 1340px;
  margin: 40px auto 0 auto;
}

.showreel-block {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
}

.showreel-video-container,
.yt-wrapper,
.yt-frame-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;

}

.yt-thumbnail {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 115px;
  height: 115px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.yt-play-btn svg {
  width: 100%;
  height: 100%;
}

.yt-frame-container iframe {
  position: absolute;
  top: -1px;
  left: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  border: 0;
  display: block;
}

.showreel-label {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  z-index: 1;
}

.showreel-label .bracket {
  color: #5A5A5A;
}

.showreel-label .showreel-text {
  color: #A2EE40;
  margin: 0 5px;
}

.showreel-label-mobile {
  display: none;
}

/* коли відео запущене — ховаємо */
.showreel-block.playing .showreel-label {
  display: none;
}

#info {
  scroll-margin-top: 120px;
}

.showreel-description {
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #FFFFFF;
  opacity: 0.6;
  z-index: 1;
  text-align: left;
  max-width: 232px;
}

/* Ховати при відтворенні відео, як і лівий блок */
.showreel-block.playing ~ .showreel-description {
  display: none;
}


.text-info-block {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin: 100px auto 100px auto;
  max-width: 1340px; /* твоя рамка */
  padding: 0;
  box-sizing: border-box;
}

.text-info-item {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}

.text-info-title {
  flex: 0 0 30%;
  min-width: 150px;
  margin-left: 40px;
  color: #FFF;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.5;
}

.text-info-description {
  flex: 1;
  max-width: 800px;
  margin-right: 40px;
  color: #5A5A5A;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.text-info-description .underline {
  text-decoration: underline;
}

#contact {
  scroll-margin-top: 120px;
}

.connect-card {
  max-width: 1340px;
  background: #fff;
  border-radius: 20px;
  margin: 40px auto 0 auto;
  padding: 40px 0;
  box-sizing: border-box;
}

.connect-item {
  display: flex;
  align-items: flex-start;
  max-width: 1340px;
  margin: 0 auto;
}

.connect-title {
  flex: 0 0 30%;
  min-width: 150px;
  margin-left: 40px;
  color: #0F0F0F;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.5;
}

.connect-links {
  flex: 1;
  max-width: 900px;
  margin-right: 40px;
  color: #5A5A5A;
  font-family: "Space Grotesk", sans-serif;
  display: flex;
  flex-direction: column;
}

.connect-link.main-link {
  color: #0F0F0F;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 40px;
  display: inline-flex;
  width: fit-content;
  transform-origin: 50% 50%;
  vertical-align: baseline;
  will-change: transform;
  -webkit-font-smoothing: antialiased;
}

.connect-link.main-link:active {
  opacity: 0.5;
  transform: scale(0.95);
  transition: opacity 0.1s ease;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.connect-link {
  color: #5A5A5A;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.connect-link:active {
  color: #0F0F0F;
  transform: scale(0.95);
  transition: all 0.1s ease;
}

.footer {
  background: #fff;
  padding: 60px 50px;
}

.footer-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back-to-top {
  width: 105px;
  color: #282828;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  text-align: right;
  transition: opacity 0.3s;
}

.back-to-top:active {
  opacity: 0.5;
  transform: scale(0.95);
  transition: all 0.1s ease;
}

.footer-copy {
  width: 224px;
  color: #282828;
  text-align: left;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.back-to-top,
.footer-copy {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.footer-visible {
  opacity: 1;

}

.plain-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s;
  display: inline-flex;
  width: fit-content;
  transform-origin: 50% 50%;
  vertical-align: baseline;
  will-change: transform;
  -webkit-font-smoothing: antialiased;
}

.plain-link:active {
  color: #ffffff;
  transform: scale(0.95);
  transition: all 0.1s ease;
}

.plain-link.long:active {
  transform: scale(0.98);
}

/*   -----------------------------------------------------------------------   */

/* ---- 1040px ---- */
@media (max-width: 1040px) {
  .local-time {
    display: none;
  }
}

/* ---- 1024px ---- */
@media (max-width: 1024px) {
  .header {
    padding: 80px 50px 80px 50px;
  }

  .menu {
    height: 80px;
  }

  .hero-block {
    margin: 0;
  }

  .hero-title {
    top: 5%;
    transform: none;
  }

  .local-time {
    display: none;
  }

  .about-inner {
    padding: 80px 0 80px 0;
  }

  .about-title {
    max-width: 600px;
  }

  .yt-play-btn {
    width: 100px;
    height: 100px;
  }

.showreel-description {
  max-width: 193px;
  font-size: 10px;
}

  .text-info-description{
    margin-right: 30px;
  }

  .text-info-title {
    flex: 0 0 25%;
  }

  .connect-title{
    flex: 0 0 25%;
  }
}

/* ---- 910px ---- */
@media (max-width: 910px) {
  .hero-bottom {
    bottom: 40px;
  }

  .hero-description {
    font-size: 28px;
    line-height: 34px;
    margin-bottom: 10px;
    max-width: 750px;
  }

  .tag {
  padding: 0 22px;
  height: 48px;
  }
}

/* ---- 768px ---- */
@media (max-width: 768px) {
  .menu-link, .showreel-btn span {
    font-size: 14px;
  }

  .header {
    padding: 80px 50px 60px 50px;
    background: #fff;
    max-width: 1440px;
    margin: 0 auto;
  }

  .logo {
    font-size: 22px;
  }

  .hero-block {
    position: relative;
    width: 100%;
    max-width: 1340px;
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
  }

  .hero-title {
      font-size: 28px;
  }

  .hero-description {
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 5px;
  max-width: 750px;
  }

  .hero-video-play {
  width: 64px;
  height: 64px;
  }

  .tag {
  font-size: 12px;
  padding: 0 20px;
  height: 44px;
  }

  .tags {
    flex-wrap: wrap;
  }

  .about-inner {
    padding: 60px 0 60px 0;
  }

  .about-subtitle {
    display: block;
  }

  .showreel-btn {
    padding: 0 12px;
    height: 44px;
  }

  .showreel-btn svg {
    width: 20px;
    height: 20px;
  }

  .menu-inner {
    padding: 0 50px;
    gap: 16px;
  }

  .menu-right {
    gap: 18px;
  }

  .socials img {
    width: 28px;
    height: 28px;
  }

  .socials {
    gap: 18px;
  }

  .about-title {
    max-width: 600px;
  }

  .yt-play-btn {
    width: 86px;
    height: 86px;
  }

  .showreel-description {
    max-width: 141px;
  }

  .text-info-block {
    margin: 60px auto 60px auto;
  }

  .text-info-description {
    margin-right: 10px;
  }

  .text-info-title {
    flex: 0 0 20%;
    min-width: 120px;
    margin-left: 40px;
  }

  .connect-title {
    flex: 0 0 20%;
    min-width: 120px;
    margin-left: 40px;
  }

  .footer {
    padding: 40px 50px;
  }

  .footer-inner {
    padding: 0 40px;
  }

}

/* ---- 640px ---- */
@media (max-width: 640px) {
  .menu-right .menu-link,
  .menu-right .socials {
    display: none;
  }

  .menu-inner {
    padding: 0 40px;
  }

  .header {
    padding: 80px 40px 60px 40px;
    height: auto;
    width: 100%;
    margin: 0 auto;
  }

  .hamburger {
    display: flex;
  }


  .mobile-menu {
    display: flex;
    flex-direction: column;
    padding: 100px 40px 50px 40px;
    justify-content: flex-start;
  }


  .mobile-menu-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    justify-content: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 0;
  }

  .mobile-menu-bottom {
    display: flex;
    flex-shrink: 0; /* КРИТИЧНО: Гарантуємо, що блок не стискається */
    margin-top: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 0px;
  }

/* --- Анімація елементів гамбургера --- */
  .mobile-menu-content .mobile-link {
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.5s ease, transform 0.6s ease;
  }

  .mobile-menu.active .mobile-menu-content .mobile-link {
    opacity: 1;
    transform: translateX(0);
  }

  /* Stagger delays */
  .mobile-menu-content .mobile-link:nth-child(1) {
    transition-delay: 0.1s;
  }
  .mobile-menu-content .mobile-link:nth-child(2) {
    transition-delay: 0.15s;
  }
  .mobile-menu-content .mobile-link:nth-child(3) {
    transition-delay: 0.2s;
  }

  /* Коли скидаємо — початковий стан */
  .mobile-link.reset {
    opacity: 0 !important;
    transform: translateX(10px) !important;
    transition: none !important;
  }

  /* Кнопка закриття Х */
.mobile-link {
    font-size: 22px;
    color: #282828;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
  }

  .mobile-link:active {
    opacity: 0.5;
    color: #D8CDB8;
    transition: all 0.1s ease;
  }

  .mobile-socials {
    display: flex;
    gap: 10px;
    margin-top: 40px;
    margin-left: -5px;
  }

  .mobile-socials img {
    width: 36px;
    height: 36px;
    transition: opacity 0.3s ease;
  }

  .mobile-copy {
    width: 224px;
    color: #282828;
    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.6;
  }

  .hero-block {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
  }

  .hero-inner {
    padding: 30px;
  }

  .hero-title {
    left: 30px;
  }

  .hero-bottom {
    left: 30px;
    right: 30px;
  }

  .tag {
    font-size: 16px;
    padding: 0 20px;
    height: 44px;
  }

  .about-block {
    padding: 0 40px;
  }

  .about-inner {
    padding: 60px 0 60px 0;
  }

  .about-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .about-text-left {
    padding: 0 30px 0 30px;
  }

  .showreel-label {
    left: 30px;
  }

  .showreel-btn {
     display: none;
   }

  .showreel-description {
    position: static;
    transform: none;
    margin:  10px 30px 0px 30px;
    text-align: left;
    max-width: none;
    color: #5A5A5A;
    opacity: 0.8;
  }

  .showreel-block.playing ~ .showreel-description {
    display: block;
  }

  .text-info-title {
    margin-left: 30px;
  }

  .connect-title {
    margin-left: 30px;
  }

  .footer {
    padding: 40px 50px;
  }

  .footer-inner {
    padding: 0 20px;
  }
}

/* ---- 480px ---- */
@media (max-width: 480px) {
  .header {
    padding: 80px 20px 40px 20px;
    height: auto;
    width: 100%;
    margin: 0 auto;
  }

  .mobile-menu {
    padding: 60px 20px 60px;
    display: flex;
    flex-direction: column;
  }

  .menu-inner {
    padding: 0 20px;
  }

  .hero-block {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 7;
    height: auto;
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
  }

  .hero-video-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
    padding-bottom: 90px;
    box-sizing: border-box;
  }

  .hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 20px;
  }

  .hero-video-container {
    border-radius: 20px;
    overflow: hidden;
    background-color: #000;
    background-repeat: no-repeat;
  }

  /* Градієнт */
  .hero-video-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.2) 100%
      );
      pointer-events: none;
      z-index: 1;
      border-radius: inherit;
  }

  .hero-title {
    display: none;
  }

  .hero-title-mobile {
    display: block;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: #FFF;
    padding-top: 20px;
  }

  .hero-video-play {
    width: 56px;
    height: 56px;
  }

  .subtext {
    font-weight: 400;
    opacity: .85;
  }

  .highlight {
    color: #A2EE40;
  }

  .cursor {
    display: inline-block;
    width: 5px;
    height: 1.2em;
    background-color: #A2EE40;
    vertical-align: bottom;
    animation: blink 1.2s steps(1) infinite;
    margin-left: 1px;
    transform: translateY(-2px);
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

 .hero-watch-showreel {
   position: absolute;
   left: 20px;
   right: 20px;
   bottom: 20px;
   margin: 0;
   z-index: 3;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 0 30px;
   height: 52px;
   border-radius: 40px;
   font-size: 18px;
   font-weight: 700;
   text-align: center;
   margin-bottom: 5px;
   background: #A2EE40;
   color: #282828;
   text-decoration: none;
   cursor: pointer;
   transition: background 0.3s ease, color 0.3s ease;
 }

 .hero-watch-showreel:active {
   background: #fff;
   color: #282828;
   transition: all 0.1s ease;
 }

 .hero-watch-showreel span {
   display: inline-block;
   transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
 }

 .hero-watch-showreel:active span {
   transform: scale(0.95);
   transition: transform 0.1s ease;
 }

 .hero-bottom {
   bottom: 30px;
   left: 20px;
 }

 .hero-left {
   gap: 0;
 }

 .hero-description {
   display: none;
   font-size: 16px;
   line-height: 1.3;
   margin-bottom: 0px;
 }

 .tags {
   display: none;
 }

 .tags-mobile {
   position: relative;
   height: 20px;
   display: flex;
   justify-content: flex-start;
   overflow: hidden;
   margin-bottom: 10px;
 }

 .static-hash {
   font-size: 16px;
   font-weight: 700;
   color: #5A5A5A;
   flex-shrink: 0;
 }

 .tag-mobile {
   position: absolute;
   font-size: 16px;
   font-weight: 700;
   color: #A2EE40;
   opacity: 0;
   transform: translateY(100%);
   animation: slideUp 6s infinite cubic-bezier(0.65, 0, 0.35, 1);
 }
 /* Задаємо затримку для кожного тегу, щоб стартував після попереднього */
 .tag-mobile:nth-child(1) { animation-delay: 0s; }
 .tag-mobile:nth-child(2) { animation-delay: 1s; }
 .tag-mobile:nth-child(3) { animation-delay: 2s; }
 .tag-mobile:nth-child(4) { animation-delay: 3s; }
 .tag-mobile:nth-child(5) { animation-delay: 4s; }
 .tag-mobile:nth-child(6) { animation-delay: 5s; }

 /* Анімація: знизу -> на місці -> вгору -> прозоро */
 @keyframes slideUp {
   0%, 5% {
     transform: translateY(100%);
     opacity: 0;
   }
   10%, 20% {
     transform: translateY(0);
     opacity: 1;
   }
   30%, 100% {
     transform: translateY(-100%);
     opacity: 0;
   }
 }

 .about-block {
   padding: 0 20px;
 }

 .about-inner {
   padding: 50px 0 50px 0;
 }

 .about-title {
   font-size: 28px;
   line-height: 1.3;
 }

 .about-text-left {
   padding: 0 20px 0 20px;
 }

 .about-subtitle {
   display: block;
 }

 .showreel-label {
   display: none;
 }

 .showreel-label-mobile {
   display: block;
   font-size: 16px;
   font-weight: 700;
   color: #A2EE40;
   margin: 10px 20px 15px 20px;
   text-transform: uppercase;
 }

 .about-video-container {
   padding: 0px;
 }
 .yt-play-btn {
   width: 68px;
   height: 68px;
 }

 .yt-play-btn:active {
   transform: translate(-50%, -50%) scale(0.9);
   opacity: 0.7;
   transition: all 0.1s ease;
 }

 .showreel-description {
   margin:  10px 20px 0px 20px;
 }

 .text-info-block {
   margin: 60px auto 50px auto;
 }

 .text-info-item {
   flex-direction: column;
 }

 .text-info-title {
   margin: 0px 20px 0px 20px;
   margin-bottom: 10px;
 }

 .text-info-title br {
   display: none;
 }

 .text-info-description {
   margin: 0 20px 0 20px;
 }

 .connect-card {
   padding: 30px 0;
 }

 .connect-item {
   flex-direction: column;
 }

 .connect-title {
   margin: 0 20px 0 20px;
   margin-bottom: 20px;
 }

 .connect-links {
   margin: 0 20px 0 20px;
   max-width: 80%;
 }

 .social-links {
   flex-direction: column;
   align-items: flex-start;
   gap: 10px;
 }

 .connect-link.main-link {
   margin-bottom: 20px;
 }

 .footer {
   padding: 40px;
 }

 .footer-inner {
   padding: 0px;
 }

 .back-to-top {
   font-size: 12px;
 }

 .footer-copy {
   font-size: 12px;
 }
}

/* Анімація */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================= */
/* === FIX: HOVER ТІЛЬКИ ДЛЯ ПРИСТРОЇВ З МИШКОЮ (DESKTOP) === */
/* ========================================================= */
@media (hover: hover) and (pointer: fine) {

  :root:not(.hover-suspend) .hamburger:hover span {
    background: #D8CDB8;
  }

  :root:not(.hover-suspend) .mobile-link:hover {
    opacity: 0.5;
  }

  :root:not(.hover-suspend) .mobile-socials img:hover {
    opacity: 0.6;
  }

  :root:not(.hover-suspend) .menu-link:hover {
    opacity: 0.5;
  }

  :root:not(.hover-suspend) .hero-watch-showreel:hover {
    background: #fff;
  }

  :root:not(.hover-suspend) .hero-watch-showreel:hover span {
    transform: scale(0.95);
  }

  :root:not(.hover-suspend) .socials img:hover {
    opacity: 0.5;
  }

  :root:not(.hover-suspend) .yt-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.9;
  }

  :root:not(.hover-suspend) .connect-link.main-link:hover {
    opacity: 0.5;
  }

  :root:not(.hover-suspend) .connect-link:hover {
    color: #0F0F0F;
  }

  :root:not(.hover-suspend) .back-to-top:hover {
    opacity: 0.5;
  }

  :root:not(.hover-suspend) .plain-link:hover {
    color: #ffffff;
  }

  /* Showreel button (desktop hover) */
  :root:not(.hover-suspend) .showreel-btn:hover video {
    opacity: 0.5;
  }

  :root:not(.hover-suspend) .showreel-btn:hover::before {
    opacity: 1;
    animation: pulseGlow 1s ease infinite;
  }

  :root:not(.hover-suspend) .showreel-btn:hover svg {
    color: #A2EE40;
    transform: scale(0.9);
  }

  :root:not(.hover-suspend) .showreel-btn:hover span {
    color: #A2EE40;
  }

  /* keyboard (focus) */
  :root:not(.hover-suspend) .showreel-btn:focus-visible::before {
    opacity: 1;
    animation: pulseGlow 1s ease infinite;
  }

  :root:not(.hover-suspend) .showreel-btn:focus-visible video {
    opacity: 0.5;
  }

  :root:not(.hover-suspend) .showreel-btn:focus-visible svg,
  :root:not(.hover-suspend) .showreel-btn:focus-visible span {
    color: #A2EE40;
  }
}

/* ========================================================= */
/* === SHOWREEL (TOUCH): NO HOVER / NO TAP-ANIMATION === */
/* ========================================================= */
@media (hover: none) and (pointer: coarse) {
  .showreel-btn:active {
    transform: scale(0.92);
    background: #363636;
  }

  .showreel-btn:active span {
     color: #A2EE40;
   }

  .showreel-btn {
      transition: transform 0.1s ease-out, background 0.1s ease-out;
  }

  .showreel-btn span {
      transition: color 0.1s ease-out;
  }

  .showreel-btn video,
  .showreel-btn::before {
    display: none;
  }
}

/* ========================================================= */
/* === 1. МИТТЄВА РЕАКЦІЯ НА ДОТИК (ВКЛ) === */
/* ========================================================= */

.mobile-link:active,
.mobile-socials img:active,
.socials img:active,
.showreel-btn:active video,
.showreel-btn:active::before,
.showreel-btn:active svg,
.showreel-btn:active span,
.menu-link:active,
.hero-watch-showreel:active,
.hero-watch-showreel:active span,
.yt-play-btn:active,
.connect-link:active,
.back-to-top:active,
.plain-link:active {
  transition: all 0s !important;
}

/* ========================================================= */
/* === 2. ПОВІЛЬНЕ ЗГАСАННЯ (ТІЛЬКИ МОБІЛЬНІ / TABLET) === */
/* ========================================================= */
@media (pointer: coarse) {

  .menu-link {
    transition: opacity 0.6s ease-out;
  }

  .hamburger span {
    transition: transform 0.3s ease-out, background-color 0.5s ease-out;
  }

  .mobile-link {
    transition: all 0.6s ease-out;
  }

  .showreel-btn video,
  .showreel-btn::before,
  .showreel-btn svg,
  .showreel-btn span {
    transition: all 0.8s ease-out;
  }

  .hero-watch-showreel,
  .hero-watch-showreel span {
    transition: all 0.6s ease-out;
  }

  .socials img,
  .mobile-socials img {
    transition: all 0.6s ease-out;
  }

  .yt-play-btn {
    transition: all 0.6s ease-out;
  }

  .connect-link,
  .connect-link.main-link,
  .plain-link,
  .back-to-top {
    transition: all 0.6s ease-out;
  }
}
