/* ============================================================
   PINT KIDS LANDING PAGE – Global layout (technical-spec)
   ============================================================ */

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  color: #fff;
}

/* ---- App wrapper ---- */
.app {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* ============================================================
   Background layer (fixed, opacity-only transitions)
   ============================================================ */
.background-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* overlay layer to darken backgrounds for depth */
}

/* dark translucent overlay sitting above all background images */
.background-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.25); /* adjust alpha for desired darkness */
  pointer-events: none;
  z-index: 1;
}

.background-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  will-change: opacity;
  transition: opacity 1000ms ease-in-out;
}

.background-image.is-active {
  opacity: 1;
}

/* ============================================================
   SVG Skeleton Loading
   ============================================================ */
.svg-section-wrapper {
  position: relative;
  width: 100%;
}

.svg-section {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

/* ============================================================
   Vertical banner (only scrollable area), right-aligned
   ============================================================ */
.vertical-banner-scroll-container {
  position: relative;
  z-index: 10;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  width: 100%;
  max-width: 450px;
  margin: 0;
  margin-left: auto;
  margin-right: 128px;
  background-color: #fff;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.vertical-banner-scroll-container::-webkit-scrollbar {
  display: none;
}

.vertical-banner-wrapper {
  /* width: 488px; */
  min-height: 100%;
  position: relative;
}

.svg-section {
  width: 100%;
  height: auto;
  display: block;
}

.svg-spacer {
  /* width: 488px; */
  height: 20px;
}

.banner-design-image {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* ============================================================
   Floating bottom-left product
   ============================================================ */
.floating-bottom-left-product {
  position: fixed;
  left: 20px;
  bottom: -150px;
  z-index: 20;
  opacity: 0;
  transform: translateY(0);
  transition: transform 600ms ease-out, opacity 600ms ease-out;
  pointer-events: auto;
}

.floating-bottom-left-product.is-visible {
  transform: translateY(-160px);
  opacity: 1;
}

.floating-product-placeholder {
  width: 80px;
  height: 80px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #333;
}

/* ============================================================
   Green horizontal bar at bottom
   ============================================================ */
.green-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 88px;
  background-color: #499356; /* Green */
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Gray vertical bar on left
   ============================================================ */
.gray-left-bar {
  position: fixed;
  left: 0;
  top: 0;
  width: 68px;
  height: 100vh;
  background-color: #DAEBE7; /* Gray */
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Logo above gray bar
   ============================================================ */
.logo-above-bar {
  position: fixed;
  left: 40px;
  top: 20px;
  z-index: 25;
  transition: left 0.3s ease;
}

.logo-image {
  height: auto;
  transition: opacity 0.3s ease;
}

/* modifiers for dual-logo approach */
.logo-small {
  width: 28px;
  opacity: 0;
}

.logo-large {
  width: 56px;
  opacity: 1;
}

/* bottom logo inserted dynamically by JavaScript */
.bottom-logo-link {
  cursor: pointer;
  text-decoration: none;
  display: block;
  line-height: 0;
  position: fixed;
  left: 45px;
  bottom: 0;
  z-index: 15;
}

.bottom-logo {
  display: block;
  height: auto;
}

/* bounce animations adapted from animate.css */
@keyframes bounceInUp {
  from, 60%, 75%, 90%, to {
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  from {
    opacity: 0;
    transform: translate3d(0, 3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, -20px, 0);
  }
  75% {
    transform: translate3d(0, 10px, 0);
  }
  90% {
    transform: translate3d(0, -5px, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes bounceOutDown {
  /* Simplified exit animation to avoid flicker by keeping opacity
     at 1 until the very end.  The previous intermediate keyframes
     intermittently reset opacity, causing a blink during the move.
     Here we just translate down a bit, then push off-screen while
     fading out in the final frame. */
  20% {
    transform: translate3d(0, 10px, 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-height: 980px) {
  .bottom-logo {
    width: 275px;
  }
}

/* ============================================================
   Common text Group
   ============================================================ */

.common-text-wrapper {
  position: fixed;
  left: min(8%, 168px);
  bottom: 54px;

  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 15;

  transition: opacity 0.5s ease;
}

.common-text {
  font-size: 30px;
  line-height: 72px;
}

.cta-text {
  font-size: 48px;
  font-weight: normal;
  line-height: 80px;
  margin: 0;
}


/* ============================================================
   Sections texts
   ============================================================ */

.sections-texts {
  position: fixed;
  left: min(15%, 282px);
  top: 8%;

  font-weight: 500;
  font-size: 20px;
  line-height: 32px;
  color: #DAEBE7;

  flex-direction: column;
  align-items: center;
  gap: 22px;

  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  min-width: 540px;

  z-index: 15;
}

.sections-texts div,
.sections-texts a {
  text-decoration: none;
  transition: all 0.3s ease;
  transform-origin: center center; 
  text-shadow: 1px 1px transparent;
  display: inline-block;
}

.sections-texts a:not(.section-active):hover {
  transform: scale(1.10);
  text-shadow: 1px 1px #333;
  color: #fff;
}

.section-active {
  font-size: 30px;
  font-weight: 700;
  text-shadow: 1px 1px #333 !important;
  color: #fff;
}

/* ============================================================
   Hamburger Menu (mobile)
   ============================================================ */

.hamburger {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: transform 0.3s ease;

  border-radius: 10px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center center;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  overflow-y: auto;
  padding-top: 80px;
  padding-bottom: 40px;
  height: 100%;
}

.mobile-menu.is-active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px;
  width: 100%;
}

.mobile-menu-nav a {
  text-align: center;
  font-weight: 500;
  font-size: 22px;
  line-height: 32px;
  color: #DAEBE7;
  text-decoration: none;
  transition: all 0.3s ease;
  transform-origin: center center;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a:active {
  transform: scale(1.10);
  text-shadow: 1px 1px #333;
  color: #fff;
}

.mobile-menu-nav a.section-active {
  font-size: 26px;
  font-weight: 700;
  text-shadow: 1px 1px #333 !important;
  color: #fff;
}

@media screen and (max-width: 1200px) {
  .hamburger,
  .mobile-menu {
    display: flex;
  }
}

.trigger-mark {
  position: absolute;
  width: 100%;
  height: 5px;
  top: 56604px;
  border-radius: 50%;
  border: 5px solid red;
  z-index: 9999;
}

.gif-image {
  position: absolute;
  height: auto;
  z-index: 20;
  pointer-events: none;
}

.dog-on-camera-gif {
  top: 14362px;
  width: 331px;
}

.camera-gif {
  top: 16100px;
  left: 50px;
  width: 368px;
}

.hotspot {
  z-index: 9999;
  position: absolute;
  pointer-events: auto; /* Re-enable clicks on hotspots */
    cursor: pointer;
    background: transparent;
    border: 0px; /* invisible border for easier debugging */
    padding: 0;
    margin: 0;
    display: block;
      /* debug red styling moved to debug mode below */
    border-radius: 4px;
    /* Debug mode - uncdomment to see hotspots */
    /* background: rgba(255, 0, 0, 0.3); */
    /* border: 1px solid red; */
}

.hotspot:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Touch feedback for mobile */
.hotspot:active {
    background: rgba(255, 255, 255, 0.2);
}


/* ============================================================
   YouTube Short hit area (inline vertical-03.svg <a> + thumbnail)
   ============================================================ */

/* Inline SVG: lock layout box to viewBox ratio (488×5483) after JS strips width/height */
.svg-section-wrapper--vertical-03 > svg.svg-section {
  width: 100%;
  height: auto;
  aspect-ratio: 488 / 5483;
}

.svg-section-wrapper--vertical-03 svg .youtube-short-hit--desktop {
  pointer-events: auto;
  visibility: visible;
}

.svg-section-wrapper--vertical-03 svg a.youtube-short-hit:focus-visible rect {
  stroke: #dfb728;
  stroke-width: 4px;
}

.svg-section-wrapper--vertical-03 svg a.youtube-short-hit image {
  pointer-events: none;
}

/* In-page YouTube embed (scripts/youtube-short-modal.js) */
.youtube-short-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.youtube-short-modal.youtube-short-modal--open {
  display: flex;
}

.youtube-short-modal[hidden] {
  display: none !important;
}

.youtube-short-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.youtube-short-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100vw - 32px, 420px);
  max-height: 85vh;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.youtube-short-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.youtube-short-modal__close:focus-visible {
  outline: 3px solid #dfb728;
  outline-offset: 2px;
}

.youtube-short-modal__iframe-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%;
  height: 0;
}

.youtube-short-modal__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media screen and (max-width: 1199px) {
  #banner-design-image #promoted-goods,
  #banner-design-image [id="promoted-goods"] {
    display: none !important;
  }
}

@media screen and (max-width: 1280px) and (max-height: 1060px) {
  .bottom-logo-link {
    display: none !important;
  }
}

@media screen and (max-width: 1330px) {
  .sections-texts {
    left: min(10%, 200px);
  }

  .common-text {
    font-size: 26px;
  }

  .cta-text {
    font-size: 38px;
  }
}

@media screen and (max-width: 1200px) {
  .common-text-wrapper, .sections-texts {
    display: none !important;
  }

  .vertical-banner-scroll-container {
    margin-right: auto;
  }
}

@media screen and (max-width: 680px) {
  .gray-left-bar, .logo-above-bar {
    display: none;
  }

  .hamburger {
    width: 42px;
    height: 39px;
    background-color: #fff;
  }

  .hamburger span {
    background-color: #dfb728;
  }
}

@media screen and (max-width: 450px) {
  .dog-on-camera-gif {
    width: 73.8vw;
    top: calc(3190vw + 5px);
  }

  .camera-gif {
    width: 82.4vw;
    left: 11%;
    top: calc(3580vw - 10px);
  }

  /* Adjust hotspot positions and sizes for mobile (generated — run: node scripts/generate-hotspot-mobile-css.js) */

  .hotspot-model-lists {
    left: 8.44% !important;
    width: 82.22vw !important;
    height: calc(69.33vw + 0px) !important;
    top: calc(543vw + 0px) !important;
  }

  .hotspot-external-models-list {
    left: 18.67% !important;
    width: 32vw !important;
    height: calc(45.33vw + 0px) !important;
    top: calc(657vw + 0px) !important;
  }

  .hotspot-cocotas-instagram {
    left: 22.22% !important;
    width: 62.22vw !important;
    height: calc(56.44vw + 0px) !important;
    top: calc(1332vw + 0px) !important;
  }

  .hotspot-pintkids-warranty-about-scroll {
    left: 44.89% !important;
    width: 49.11vw !important;
    height: calc(4.44vw + 0px) !important;
    top: calc(2280vw + 0px) !important;
  }

  .hotspot-cocotas-mainpage-01 {
    left: 12.89% !important;
    width: 74.44vw !important;
    height: calc(33.33vw + 0px) !important;
    top: calc(2398vw + 0px) !important;
  }

  .hotspot-r-a {
    left: 14.67% !important;
    width: 21.78vw !important;
    height: calc(21.78vw + 0px) !important;
    top: calc(2464vw + 0px) !important;
  }

  .hotspot-amazon-a {
    left: 40% !important;
    width: 21.33vw !important;
    height: calc(21.78vw + 0px) !important;
    top: calc(2464vw + 0px) !important;
  }

  .hotspot-yahoo-a {
    left: 64.44% !important;
    width: 20.44vw !important;
    height: calc(21.78vw + 0px) !important;
    top: calc(2464vw + 0px) !important;
  }

  .hotspot-reason-01-internal-link {
    left: 15.56% !important;
    width: 63.56vw !important;
    height: calc(22.22vw + 0px) !important;
    top: calc(2555vw + 0px) !important;
  }

  .hotspot-reason-02-internal-link {
    left: 13.33% !important;
    width: 70vw !important;
    height: calc(15.56vw + 0px) !important;
    top: calc(2584vw + 0px) !important;
  }

  .hotspot-reason-03-internal-link {
    left: 9.78% !important;
    width: 68.89vw !important;
    height: calc(15.56vw + 0px) !important;
    top: calc(2609vw + 0px) !important;
  }

  .hotspot-reason-04-internal-link {
    left: 16% !important;
    width: 72.44vw !important;
    height: calc(28.89vw + 0px) !important;
    top: calc(2632vw + 0px) !important;
  }

  .hotspot-reason-05-internal-link {
    left: 8.89% !important;
    width: 73.78vw !important;
    height: calc(16vw + 0px) !important;
    top: calc(2668vw + 0px) !important;
  }

  .hotspot-cocotas-mainpage-02 {
    left: 12.89% !important;
    width: 74.44vw !important;
    height: calc(35.11vw + 0px) !important;
    top: calc(5954vw + 0px) !important;
  }

  .hotspot-r-b {
    left: 14.67% !important;
    width: 21.78vw !important;
    height: calc(22.22vw + 0px) !important;
    top: calc(6020vw + 0px) !important;
  }

  .hotspot-amazon-b {
    left: 40% !important;
    width: 21.33vw !important;
    height: calc(22.22vw + 0px) !important;
    top: calc(6020vw + 0px) !important;
  }

  .hotspot-yahoo-b {
    left: 64.89% !important;
    width: 20.44vw !important;
    height: calc(21.78vw + 0px) !important;
    top: calc(6020vw + 0px) !important;
  }

  .hotspot-felicross-support-links {
    left: 9.56% !important;
    width: 80.89vw !important;
    height: calc(35.56vw + 0px) !important;
    top: calc(5846vw + 0px) !important;
  }

  .hotspot-cocotas-instagram-post {
    left: 11.11% !important;
    width: 77.78vw !important;
    height: calc(13.33vw + 0px) !important;
    top: calc(6567vw + 0px) !important;
  }

  .hotspot-cocotas-instagram-post-2 {
    left: 11.11% !important;
    width: 77.78vw !important;
    height: calc(13.33vw + 0px) !important;
    top: calc(7046vw + 0px) !important;
  }

  .hotspot-cocotas-mainpage-03 {
    left: 12.89% !important;
    width: 74.44vw !important;
    height: calc(34.22vw + 0px) !important;
    top: calc(7234vw + 0px) !important;
  }

  .hotspot-r-c {
    left: 14.67% !important;
    width: 21.78vw !important;
    height: calc(21.78vw + 0px) !important;
    top: calc(7299vw + 0px) !important;
  }

  .hotspot-amazon-c {
    left: 40% !important;
    width: 21.33vw !important;
    height: calc(21.78vw + 0px) !important;
    top: calc(7299vw + 0px) !important;
  }

  .hotspot-yahoo-c {
    left: 64.89% !important;
    width: 20.44vw !important;
    height: calc(21.78vw + 0px) !important;
    top: calc(7299vw + 0px) !important;
  }

  /* vertical-06+ hotspots: top uses calc(NNNvw + 48px) to compensate the fixed 48px
     spacer inserted by svg-preloader.js after vertical-05, which does not scale with vw */

  .hotspot-with-you-models {
    left: 10% !important;
    width: 80.22vw !important;
    height: calc(180.44vw + 0px) !important;
    top: calc(8310vw + 48px) !important;
  }

  .hotspot-clover-models {
    left: 10% !important;
    width: 80.22vw !important;
    height: calc(174.89vw + 0px) !important;
    top: calc(8509vw + 48px) !important;
  }

  .hotspot-camouflage-models {
    left: 8% !important;
    width: 80.22vw !important;
    height: calc(118.67vw + 0px) !important;
    top: calc(8701vw + 48px) !important;
  }

  .hotspot-cocotas-mainpage-04 {
    left: 12.89% !important;
    width: 74.44vw !important;
    height: calc(35.11vw + 0px) !important;
    top: calc(10054vw + 48px) !important;
  }

  .hotspot-r-d {
    left: 14.67% !important;
    width: 21.78vw !important;
    height: calc(21.78vw + 0px) !important;
    top: calc(10120vw + 48px) !important;
  }

  .hotspot-amazon-d {
    left: 40% !important;
    width: 21.33vw !important;
    height: calc(21.78vw + 0px) !important;
    top: calc(10120vw + 48px) !important;
  }

  .hotspot-yahoo-d {
    left: 64.89% !important;
    width: 20.44vw !important;
    height: calc(21.78vw + 0px) !important;
    top: calc(10120vw + 48px) !important;
  }

  .hotspot-cocotas-mainpage-05 {
    left: 12.89% !important;
    width: 74.44vw !important;
    height: calc(35.11vw + 0px) !important;
    top: calc(12206vw + 48px) !important;
  }

  .hotspot-r-e {
    left: 14.67% !important;
    width: 21.78vw !important;
    height: calc(21.78vw + 0px) !important;
    top: calc(12272vw + 48px) !important;
  }

  .hotspot-amazon-e {
    left: 39.56% !important;
    width: 21.33vw !important;
    height: calc(21.78vw + 0px) !important;
    top: calc(12272vw + 48px) !important;
  }

  .hotspot-yahoo-e {
    left: 64.44% !important;
    width: 20.44vw !important;
    height: calc(21.78vw + 0px) !important;
    top: calc(12272vw + 48px) !important;
  }
}