.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.about-bloobsy {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  position: relative;
}

@media (max-width: 1024px) {
  html, body {
    overflow-x: hidden !important;
    width: 100vw !important;
    max-width: 100vw !important;
    min-height: 100vh;
    height: auto;
  }
  
  * {
    max-width: 100vw !important;
  }
  
  .tentacle-left,
  .tentacle-right,
  .bloob-left,
  .bloob-right {
    max-width: none !important; 
  }
  
  .bubble-intro,
  .hero,
  .posters-photos,
  .vhs-section {
    width: 100% !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (pointer: coarse) {
  html {
    touch-action: pan-y !important; 
    -ms-touch-action: pan-y !important;
  }
  
  body {
    touch-action: pan-y !important;
    -ms-touch-action: pan-y !important;
  }
}

.loading-bloobs {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.loading-bloob {
  position: absolute;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(182, 255, 0, 0.3), transparent);
  border-radius: 50%;
}

.bloob-1 {
  top: -100px;
  left: -150px;
  animation: float1 3s infinite ease-in-out;
}

.bloob-2 {
  top: -80px;
  right: -180px;
  animation: float2 2.5s infinite ease-in-out;
}

.bloob-3 {
  bottom: -120px;
  left: -100px;
  animation: float3 3.5s infinite ease-in-out;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-20px) scale(1.1); opacity: 0.6; }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(15px) scale(0.9); opacity: 0.7; }
}

@keyframes float3 {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.2; }
  50% { transform: translateY(-25px) scale(1.2); opacity: 0.5; }
}

@media (max-width: 768px) {
  .preloader-logo-img {
    height: 60px;
  }
  
  .loading-bar {
    width: 250px;
  }
  
  .loading-bloob {
    width: 40px;
    height: 40px;
  }
  
  .bloob-1 { top: -60px; left: -100px; }
  .bloob-2 { top: -50px; right: -120px; }
  .bloob-3 { bottom: -80px; left: -70px; }
}

/* Bubble Intro Section */
.bubble-intro {
  position: relative;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.title {
  position: relative;
  width: clamp(250px, 38vw, 900px);
  height: auto;
  margin: 0;
  top: -80px;
  z-index: 1;
}

@media screen and (min-width: 1200px) and (pointer: fine) {
  .title {
    width: clamp(400px, 38vw, 900px);
    top: clamp(-120px, -8vh, -60px);
  }
}

@media screen and (min-width: 800px) and (max-width: 1199px) and (pointer: fine) {
  .title {
    width: clamp(300px, 45vw, 600px) !important;
    top: clamp(-100px, -10vh, -60px) !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .title {
    width: clamp(380px, 140vw, 620px);
    top: -120px;
  }
  
}

@media (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
  .title {
    width: clamp(250px, 55vw, 650px);
    top: -65px;
  }
}

.vhs-cassette {
  position: relative;
  width: clamp(300px, 28vw, 550px);
  max-width: 80vw;
  top: -116px;
  z-index: 10;
  order: 10;
  will-change: transform, opacity;
  --scroll-y: 0px;
  --scroll-scale: 1;
  animation: pulseWithScroll 4s infinite ease-in-out;
}

@media screen and (min-width: 1200px) and (pointer: fine) {
  .vhs-cassette {
    width: clamp(400px, 28vw, 550px);
    top: clamp(-150px, -12vh, -100px);
  }
}

.vhs-cassette.scrolling {
  animation: pulseSubtleWithScroll 4s infinite ease-in-out;
}

@keyframes pulseWithScroll {
  0%, 100% {
    transform: translateY(var(--scroll-y, 0px)) scale(calc(var(--scroll-scale, 1) * 1));
  }
  50% {
    transform: translateY(var(--scroll-y, 0px)) scale(calc(var(--scroll-scale, 1) * 1.07));
  }
}

@keyframes pulseSubtleWithScroll {
  0%, 100% {
    transform: translateY(var(--scroll-y, 0px)) scale(calc(var(--scroll-scale, 1) * 1));
  }
  50% {
    transform: translateY(var(--scroll-y, 0px)) scale(calc(var(--scroll-scale, 1) * 1.05));
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .vhs-cassette {
    width: clamp(280px, 70vw, 450px);
    max-width: 70vw;
    top: -150px;
  }
}

@media (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
  .vhs-cassette {
    width: clamp(350px, 90vw, 480px);
    max-width: 35vw;
    top: -110px;
  }
}

@media (max-width: 768px) {
  .title {
    width: clamp(300px, 60vw, 350px);
    max-width: 250vw;
    top: -192px;
  }
  
  .vhs-cassette {
    width: clamp(170px, 70vw, 260px);
    max-width: 150vw;
    top: -215px;
  }
}

@media (max-width: 480px) {
  .vhs-cassette {
    width: clamp(200px, 80vw, 240px);
    top: -215px;
    max-width: 80vw;
  }
}

@media (max-width: 320px) {
  .vhs-cassette {
    width: clamp(180px, 85vw, 250px);
    max-width: 85vw;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

@keyframes floatLeft {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes floatRight {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

.bloob {
  position: absolute;
  width: 120px;
  z-index: 0;
  will-change: transform;
}

.bloob-left {
  left: 15%;
  width: 300px;
  z-index: 0;
  top: 345px;
  animation: floatLeft 4s infinite ease-in-out;
}

.bloob-left.scrolling {
  animation: none !important;
}

.bloob-right {
  right: 15%;
  width: 300px;
  z-index: 0;
  top: 345px;
  animation: floatRight 5s infinite ease-in-out;
}

.bloob-right.scrolling {
  animation: none !important;
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .bloob-left {
    width: clamp(150px, 25vw, 250px);
    top: 420px;
    left: 0px;
    z-index: 3;
  }
  
  .bloob-right {
    width: clamp(150px, 25vw, 250px);
    top: 420px;
    right: 0px;
    z-index: 3;
  }
}

@media (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
  .bloob-left {
    width: clamp(120px, 20vw, 220px);
    top: 280px;
    left: 140px;
    z-index: 3;
  }
  
  .bloob-right {
    width: clamp(120px, 20vw, 220px);
    top: 280px;
    right: 140px;
    z-index: 3;
  }
}

@media (max-width: 768px) {
  .bloob-left {
    width: clamp(100px, 30vw, 300px);
    top: 290px;
    left: -15px;
    z-index: 3;
  }
  
  .bloob-right {
    width: clamp(100px, 30vw, 300px);
    top: 290px;
    right: -15px;
    z-index: 3;
  }
}

@media (max-width: 480px) {
  .bloob-left {
    width: clamp(100px, 30vw, 250px);
    top: 320px;
    left: -20px;
  }
  
  .bloob-right {
    width: clamp(100px, 30vw, 250px);
    top: 320px;
    right: -20px;
  }
}

@media (max-width: 320px) {
  .bloob-left {
    width: clamp(80px, 25vw, 200px);
    top: 300px;
    left: -25px;
  }
  
  .bloob-right {
    width: clamp(80px, 25vw, 200px);
    top: 300px;
    right: -25px;
  }
}

@media (max-width: 480px) {
  .bloob-left {
    width: clamp(100px, 30vw, 250px);
    top: 280px;
    left: -20px;
    z-index: 12;
  }
  
  .bloob-right {
    width: clamp(100px, 30vw, 250px); 
    top: 280px;
    right: -20px;
    z-index: 12;
  }
}

@media (max-width: 320px) {
  .bloob-left {
    width: clamp(80px, 25vw, 200px);
    top: 300px; 
    left: -25px;
  }
  
  .bloob-right {
    width: clamp(80px, 25vw, 200px); 
    top: 300px;
    right: -25px;
  }
}

.tentacle {
  position: absolute;
  width: clamp(80px, 10vw, 160px);
  opacity: 1;
  will-change: transform;
  transition: none; 
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

@media screen and (min-width: 1200px) and (pointer: fine) {
.tentacle-left {
  bottom: 52%;
  left: 0;
  margin-bottom: clamp(-350px, -350px + (100vw - 320px) / (1200px - 320px) * -200px, -550px);
  transform: scale(clamp(1.2, 1.2 + (100vw - 320px) / (1200px - 320px) * 1.3, 2.5));
  z-index: 1;
}

.tentacle-right {
  bottom: 52%;
  right: 0;
  margin-bottom: clamp(-350px, -350px + (100vw - 320px) / (1200px - 320px) * -200px, -550px);
  transform: scale(clamp(1.2, 1.2 + (100vw - 320px) / (1200px - 320px) * 1.3, 2.5));
  z-index: 1;
}

.tentacle-top-left {
  top: 30px;
  left: 60px;
  width: clamp(80px, 13vw, 200px);
  rotate: 10deg;
  z-index: 3;
}

.tentacle-top-right {
  top: 30px;
  right: 60px;
  width: clamp(80px, 13vw, 200px);
  rotate: -10deg;
  z-index: 3;
}
}

@media screen and (min-width: 900px) and (max-width: 1199px) and (pointer: fine) and (min-height: 700px) {
  .tentacle-left {
  bottom: 10% !important;
  left: 10px !important;
  width: clamp(120px, 120vw, 220px) !important;
  z-index: 1;
}
  
  .tentacle-right {
  bottom: 10% !important;
  right: 10px !important;
  width: clamp(120px, 120vw, 220px) !important;
  z-index: 1;
}
  
  .tentacle-top-left {
  top: -20px;
  left: 90px;
  width: clamp(100px, 100vw, 170px) !important;
  rotate: 10deg;
  z-index: 3;
}
  
  .tentacle-top-right {
  top: -20px;
  right: 90px;
  width: clamp(100px, 100vw, 170px) !important;
  rotate: -10deg;
  z-index: 3;
}

 .bloob-left {
  top: 320px;
  left: 1px;
  z-index: 3;
}

 .bloob-right {
  top: 320px;
  right: 1px;
  z-index: 3;
}
 .title {
  width: 650px !important;
  top: -110px !important;
 }

.you-cant-escape {
  width: 650px !important;
  top: 510px !important;
 }
}

@media screen and (min-width: 400px) and (max-width: 799px) and (pointer: fine) {
.tentacle-left {
  bottom: 52% !important;
  left: 0;
  margin-bottom: clamp(-350px, -350px + (100vw - 320px) / (1200px - 320px) * -200px, -550px);
  transform: scale(clamp(1.2, 1.2 + (100vw - 320px) / (1200px - 320px) * 1.3, 2.5));
  z-index: 1;
}

.tentacle-right {
  bottom: 52% !important;
  right: 0;
  margin-bottom: clamp(-350px, -350px + (100vw - 320px) / (1200px - 320px) * -200px, -550px);
  transform: scale(clamp(1.2, 1.2 + (100vw - 320px) / (1200px - 320px) * 1.3, 2.5));
  z-index: 1;
}

.tentacle-top-left {
  top: 30px;
  left: 60px;
  width: clamp(80px, 13vw, 200px);
  rotate: 10deg;
  z-index: 3;
}

.tentacle-top-right {
  top: 30px;
  right: 60px;
  width: clamp(80px, 13vw, 200px);
  rotate: -10deg;
  z-index: 3;
}

.you-cant-escape {
  top: 380px !important;
  width: 580px !important;
}

.title {
  width: 450px !important;
  top: -190px !important;
 }

.vhs-cassette {
  width: 350px !important;
  top: -215px !important;
 }
 
 .posters-photos {
  margin-top: 170px !important;
  margin-bottom: -150px !important;
 }
}

@media (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
  .tentacle-left {
    width: clamp(350px, 70vw, 450px);
    max-width: 150px;
    bottom: 100px;
    left: 100px;
    z-index: 1;
  }

  .tentacle-right {
    width: clamp(350px, 70vw, 450px);
    right: 100px;
    max-width: 150px;
    bottom: 100px; 
    z-index: 1;
  }
  
  .tentacle-top-left {
    top: 20px;
    left: 50px;
    width: clamp(170px, 12vw, 160px);
    rotate: 10deg;
    z-index: 3;
    perspective: 1000px;
  }
  
  .tentacle-top-right {
    top: 20px; 
    right: 50px; 
    width: clamp(170px, 12vw, 160px);
    rotate: -10deg;
    z-index: 3;
  }
}

@media (max-width: 768px) {
  .tentacle-top-left {
    left: -20px;
    top: -10px;
    width: 120px; 
  }
  
  .tentacle-top-right {
    right: -20px;
    top: -10px;
    width: 120px; 
  }
}

@media (max-width: 1024px) and (min-width: 769px) and (orientation: portrait) {
  .tentacle-top-left {
    left: 0px;
    top: -10px;
    width: 180px !important;
    transform: rotate(13deg) scale(0.8);
  }
  
  .tentacle-top-right {
    right: 20px;
    top: -10px;
    width: 180px !important;
    transform: rotate(-13deg) scale(0.8);
  }

  .tentacle-left {
    width: clamp(250px, 32vw, 450px);
    max-width: 60px;
    left: -130px;
    bottom: 260px;
    z-index: 2;
  }

  .tentacle-right {
    width: clamp(250px, 32vw, 450px);
    max-width: 60px;
    right: -130px;
    bottom: 260px;
    z-index: 2;
  }
}

@media (max-width: 480px) {
  .tentacle-top-left {
    top: -75px;
    left: -25px;
    width: clamp(60px, 60vw, 160px) !important;
  }
  
  .tentacle-top-right {
    top: -75px;
    right: -25px;
    width: clamp(60px, 60vw, 160px) !important;
  }
}

@media (max-width: 320px) {
  .tentacle-top-left {
    top: 0px;
    left: 10px;
    width: clamp(40px, 8vw, 80px) !important; 
    transform: scale(0.6);
  }
  
  .tentacle-top-right {
    top: 0px;
    right: 10px;
    width: clamp(40px, 8vw, 80px) !important; 
    transform: scale(0.6); 
  }
}

@media (max-width: 768px) {
  .tentacle-left {
    bottom: 666px;
    width: 240px;
    left: -120px;
    margin-bottom: -500px;
    z-index: 2;
  }
}

@media (max-width: 768px) {
  .tentacle-right {
    bottom: 666px;
    width: 240px;
    right: -120px;
    margin-bottom: -500px;
    z-index: 2;
  }
}

.you-cant-escape {
  position: absolute;
  width: 50%;
  will-change: transform, opacity;
  transform-origin: center center;
  backface-visibility: hidden;
  z-index: 5;
  top: 560px;
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .you-cant-escape {
    width: clamp(480px, 240vw, 720px);
    top: 620px;
  }
}

@media (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
  .you-cant-escape {
    width: clamp(250px, 100vw, 790px);
    top: 430px;
  }
}

@media (max-width: 480px) {
  .you-cant-escape {
    width: clamp(250px, 265vw, 350px);
    top: 250px;
  }
}

@media (max-width: 320px) {
  .you-cant-escape {
    width: clamp(120px, 70vw, 250px);
    top: 72%;
  }
}

@media screen and (min-width: 1400px) and (max-width: 1700px) and (min-height: 750px) and (max-height: 950px) {
  
  .bloob-left {
    width: clamp(200px, 18vw, 280px);
    top: 280px;
    left: 15%;
    z-index: 3;
  }
  
  .bloob-right {
    width: clamp(200px, 18vw, 280px);
    top: 280px;
    right: 15%;
    z-index: 3;
  }
  
  .tentacle-top-left {
    top: 20px;
    left: 80px;
    width: clamp(100px, 11vw, 180px);
    rotate: 10deg;
  }
  
  .tentacle-top-right {
    top: 20px;
    right: 80px;
    width: clamp(100px, 11vw, 180px);
    rotate: -10deg;
  }
  
  .tentacle-left {
    bottom: 68%;
    left: 0;
    margin-bottom: -420px;
  }
  
  .tentacle-right {
    bottom: 68%;
    right: 0;
    margin-bottom: -420px;
  }
  
  .vhs-cassette {
    width: clamp(420px, 26vw, 520px);
    top: -90px;
  }
  
  .title {
    width: clamp(440px, 42vw, 850px);
    top: -52px;
  }
  
  .you-cant-escape {
    width: clamp(550px, 55vw, 900px);
    top: 470px;
  }
}

/* Hero Section */
.hero {
  padding: 50px 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -95px;
  margin-bottom: -250px;
  z-index: 5;
}

.hero-image {
  position: relative;
  width: 80%;
  height: auto;
  margin-bottom: 200px; 
  z-index: 2;
  opacity: 1;
}

.hero-video {
  position: absolute;
  background: transparent !important;
  -webkit-background-composite: source-over;
  will-change: transform;
  width: 77%;
  top: 35px;
  z-index: 1;
  opacity: 0;
  display: none;
}

.hero-video-mobile {
  position: absolute;
  background: transparent !important;
  will-change: transform;
  top: 35px;
  z-index: 1;
  opacity: 0;
  display: none; 
}

@media (max-width: 1199px) {
  .hero-video {
    display: none !important;
  }
  
  .hero-video-mobile {
    display: block;
    z-index: 1;
  }
  
  .hero.video-active .hero-video-mobile {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .hero-video-mobile {
    width: 118%;
    margin-bottom: 40px;
    margin-top: -330px;
    z-index: 0;
  }
  
  .hero-image {
    width: 118%;
    margin-bottom: 40px; 
    margin-top: -330px;
    z-index: 0;
  }
}

@media (min-width: 769px) and (max-width: 1199px) and (orientation: portrait) {
  .hero-video-mobile {
    width: 100%;
    top: 20px;
  }
}

@media (min-width: 769px) and (max-width: 1199px) and (orientation: landscape) {
  .hero-video-mobile {
    width: 97%;
    top: 20px;
  }

@media (min-width: 769px) and (max-width: 1199px) and (orientation: landscape) {
  .hero-image {
    width: 80%;
    top: 20px;
  }
}
}

@media (max-width: 480px) {
  .hero-video-mobile {
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .hero-video-mobile {
    margin-bottom: 30px;
  }
  
  .hero-image {
    margin-bottom: 30px;
  }
}

.hero.video-active .hero-image {
  opacity: 0;
}

@media (min-width: 1200px) {
  .hero-video {
    display: block;
  }
  
  .hero.video-active .hero-video {
    opacity: 1;
    z-index: 2;
    width: 75% !important;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .hero-video {
    display: none !important;
  }
  
  .hero-image {
    width: 100%;
    bottom: 20px;
  }
  
  .hero.video-active .hero-image {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .hero.video-active .hero-video-mobile {
    opacity: 1;
    z-index: 2;
  }
}

.hero.video-active .hero-image {
  opacity: 0;
}

.hero.video-active .hero-video {
  opacity: 1;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-image {
    width: 118%;
    margin-bottom: 40px; 
    margin-top: -330px;
  }
  
  .hero-video {
    width: 118%;
    background-color: transparent !important;
    background-image: none !important;
    margin-bottom: 40px; 
    margin-top: -330px;
    mix-blend-mode: normal;
    isolation: isolate;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 480px) {
  .hero-image {
    margin-bottom: 30px;
  }
  
  .hero-video {
    margin-bottom: 30px;
    background-color: transparent !important;
    background-image: none !important;
  }
}

.video-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background: #000;
  min-height: 80vh;
}

.interactive-monitor {
  position: relative;
  max-width: 800px;
  width: 100%;
  transform: translateY(50px);
  opacity: 0;
  transition: all 1s ease;
}

.interactive-monitor.in-view {
  transform: translateY(0);
  opacity: 1;
}

.monitor-image {
  width: 100%;
  height: auto;
  transition: opacity 0.8s ease;
  filter: drop-shadow(0 0 30px rgba(255, 0, 255, 0.4));
}

.monitor-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
  filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.6));
}

.interactive-monitor.video-active .monitor-image {
  opacity: 0;
}

.interactive-monitor.video-active .monitor-video {
  opacity: 1;
}

/* Posters and Photos Section */
.posters-photos {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: -160px;
}

.posters-photos-image {
  width: 100%;
  max-width: 1450px;
  height: auto;
  display: block;
}

@media (min-width: 1200px) {
  .posters-photos {
   width: 80%;
margin: 0 auto;
margin-bottom: -150px;
  }
}

@media (min-width: 769px) and (max-width: 1199px) and (orientation: portrait) {
  .posters-photos {
    margin-bottom: 20px;
  }
  
  .posters-photos-image {
    max-width: 90%;
  }
}

@media (min-width: 769px) and (max-width: 1199px) and (orientation: landscape) {
  .posters-photos {
    margin-top: 20px;
    margin-bottom: 10px;
  }
  
  .posters-photos-image {
    max-width: 95%;
  }
}

@media (max-width: 768px) {
  .posters-photos {
    margin-top: 20px;
    margin-bottom: 100px;
    padding: 0 20px;
  }
  
  .posters-photos-image {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .posters-photos-image {
    width: 140%;
    margin-top: 150px;
    margin-bottom: -160px;
  }
}

/* VHS Section */
.vhs-stack a {
  display: block;
  text-decoration: none;
  margin: -1px;
  padding: 0;
  line-height: 0;
}

.vhs-stack a img {
  display: block;
  margin: 0;
  padding: 0;
}

.vhs-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 55px;
  gap: 50px;
  max-width: 1400px;
  margin: 0 auto;
  margin-top: 180px;
  margin-bottom: -70px;
}

.vhs-stack {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  flex: 1 1 500px;
  padding: 10px;
}

.vhs-box {
  width: 100%;
  max-width: 900px;
  transition: all 0.3s ease;
  margin-left: 50px;
  filter: brightness(1);
  cursor: pointer;
}

.vhs-stack:hover .vhs-box:not(:hover) {
  filter: brightness(0.4);
  transform: scale(1);
}

.vhs-stack .vhs-box:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.vhs-static-wrap {
  flex: 1 1 250px;
  max-width: 460px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vhs-static {
  width: 100%;
  height: auto;
  max-width: 450px;
}

@media (min-width: 769px) and (max-width: 1199px) and (orientation: portrait) {
  .vhs-section {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    gap: 0;
    margin: 0 auto;
  }
  
  .vhs-stack {
    width: 90%;
    max-width: 90%; 
    padding: 0;
    display: flex; 
    flex-direction: column;
    align-items: center; 
  }
  
  .vhs-box {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  
  .vhs-static-wrap {
    display: none !important; 
  }
  
  .vhs-static {
    display: none !important; 
  }
}

@media (min-width: 769px) and (max-width: 1199px) and (orientation: landscape) {
  .vhs-section {
    flex-direction: row;
    align-items: flex-start;
    padding: 40px 55px; 
    gap: 50px; 
    margin: 0 auto;
    margin-bottom: -60px;
  }
  
  .vhs-stack {
    flex: 1 1 500px;
    max-width: none; 
    padding: 10px;
  }

  .vhs-static {
    width: 96%;
    margin-right: 30px;
    display: block !important;
    max-width: none; 
  }

  .vhs-box {
    width: 100%;
    margin-left: 100px;
    margin-right: 70px;
    max-width: 900px; 
  }

  .vhs-static-wrap {
    flex: 1 1 250px;
    max-width: 460px;
    align-items: flex-start;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .vhs-section {
    flex-direction: column;
    align-items: center;
    padding: 2px 0px;
    margin-bottom: -120px;
  }

  .vhs-stack,
  .vhs-static-wrap {
    max-width: 100%;
    flex: none;
  }

  .vhs-static {
    display: none !important;
  }
  
  .vhs-box {
    max-width: 100%;
    margin: auto;
  }
}

/* GLITCH OVERLAY */
.glitch-gif-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw; 
  height: 100vh; 
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: none;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.1);
}

.glitch-gif-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.glitch-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  margin: 0;
  padding: 0;
  border: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

@media (max-width: 768px) {
  .glitch-gif-overlay {
    background-color: transparent;
  }
  
  .glitch-gif {
    object-fit: cover;
}
}

@media (max-width: 480px) {
  .glitch-gif {
    min-width: 100%;
    min-height: 100%;
  }
}

@media (min-width: 2560px) {
  .glitch-gif {
    object-fit: cover;
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .bloob-left,
  .bloob-right {
    animation: none !important;
  }
  
  .tentacle {
    will-change: auto;
    transform: translateZ(0);
  }
}

/* === IN-APP BROWSER FIXES === */
.in-app-browser .bubble-intro {
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  height: auto;
}

.in-app-instagram .tentacle-top-left {
  will-change: auto !important;
  transform: rotate(10deg) scale(1) !important;
  transition: none !important;
}

.in-app-instagram .tentacle-top-right {
  will-change: auto !important;
  transform: rotate(-10deg) scale(1) !important;
  transition: none !important;
}

.in-app-browser .tentacle,
.in-app-browser .bloob {
  will-change: auto;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}