/* ==========================================================
   FONTS FILES
   ========================================================== */
/* Light */
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Regular */
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Medium */
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* SemiBold */
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Base Body Usage */
body {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
}

/* ==========================================================
   DESIGN TOKENS & ROOT VARIABLES (FLUID SCALING ENHANCED)
   ========================================================== */
:root {
  /* Fluid Typography: clamp(min, preferred, max) */
  --fs-base: clamp(0.875rem, 0.8rem + 0.38vw, 1rem);
  --fs-h6: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --fs-h5: clamp(1.125rem, 1rem + 0.63vw, 1.25rem);
  --fs-h4: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.88vw, 1.75rem);
  --fs-h2: clamp(1.5rem, 1.3rem + 1.12vw, 2.125rem);
  --fs-h1: clamp(2rem, 1.5rem + 2vw, 2.8rem);

  --black: #000000;
  --white: #ffffff;
  --darkgrey: #242424;
  --red: #d90429;
}

/* ==========================================================
   BASE RESET & LAYOUT CONSTRAINTS
   ========================================================== */
*,
*:after,
*:before {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--white);
  -ms-overflow-style: none;
}

.panda-promo h1 {
  font-size: var(--fs-h1);
  line-height: 1.2;
  letter-spacing: normal;
}

.panda-promo h2 {
  font-size: var(--fs-h2);
  line-height: 1.2;
  letter-spacing: normal;
}

.panda-promo h3 {
  font-size: var(--fs-h3);
  line-height: 1.2;
  letter-spacing: normal;
}

.panda-promo h4 {
  font-size: var(--fs-h4);
  line-height: 1.2;
  letter-spacing: normal;
}

.panda-promo h5 {
  font-size: var(--fs-h5);
  line-height: 1.2;
  letter-spacing: normal;
}

.panda-promo p {
  font-size: var(--fs-base);
  line-height: 1.5;
}

.panda-promo .img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.panda-promo .img-w {
  z-index: 1;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: clip;
}

.panda-promo .text-light {
  color: var(--white);
}

.panda-promo .text-center {
  text-align: center;
}

/* ==========================================================
   HERO BANNER
   ========================================================== */
.panda-promo,
.main-container {
  overflow: clip !important;
  position: relative;
  width: 100%;
  height: auto;
}

.panda-promo .hero-sec {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.panda-promo .fixed-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url("../images/bg-panda.jpg");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.panda-promo .fixed-bg .gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}

.panda-promo .panda-assets {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.panda-promo .img-holder {
  position: relative;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.panda-promo .shock-panda {
  position: relative;
  width: 100%;
  height: 60vh;
  opacity: 0;
  object-fit: contain;
  will-change: transform;
  z-index: 2;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.panda-promo .wave {
  position: absolute;
  width: 100%;
  height: auto;
  left: 60%;
  bottom: 0;
  object-fit: cover;
  z-index: 1;
  -webkit-mask-image: conic-gradient(
    from 0deg at bottom left,
    #000 var(--angle),
    transparent var(--angle)
  );
  mask-image: conic-gradient(
    from 0deg at bottom left,
    #000 var(--angle),
    transparent var(--angle)
  );
}

.panda-promo .hero-scroll-container {
  position: relative;
  z-index: 2;
}

.panda-promo .hero-banner-sec {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: center;
}

.panda-promo .hero-banner-sec .title-holder {
  width: 100%;
  color: var(--white);
  border-radius: 24px;
  padding: 50px;
  text-align: center;
  height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 2;
}

.panda-promo .hero-banner-sec h1 {
  font-weight: 300;
  margin-bottom: 10px;
  opacity: 0;
}

.panda-promo .hero-banner-sec p {
  font-size: var(--fs-h4);
  opacity: 0;
  font-weight: 300;
}

.panda-promo .hero-banner-sec h1,
.panda-promo .hero-banner-sec p {
  opacity: 0;
  transform: scale(0.8) translateY(30px);
  transform-origin: center bottom;
}

/* ==========================================================
   PROMO SEC
   ========================================================== */
.panda-promo .promo-sec {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  position: relative;
  z-index: 3;
}

.panda-promo .promo-sec .cta-banner {
  width: 90%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transform: scale(0.8);
  margin: 0 auto;
}

.panda-promo .promo-sec .cta-banner .img-holder {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/7;
}

.panda-promo .promo-sec .cta-banner .title-holder {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 50%;
  text-align: left;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.panda-promo .promo-sec .cta-banner .cta-promo-mobile {
  display: none;
}

/* ==========================================================
   FIXED BOTTOM
   ========================================================== */
.panda-promo .fixed-bottom-cta {
  display: flex;
  width: 100%;
  padding: 15px 20px 30px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  position: sticky;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
  backdrop-filter: blur(6px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  margin-top: -125.85px;
}

.panda-promo .fixed-bottom-cta p {
  color: var(--white);
  text-align: center;
}

.panda-promo .btn-red {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--red);
  color: var(--white);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 400;
  font-size: var(--fs-base);
  border: none;
}

.panda-promo .btn-red:hover {
  background-color: var(--white);
  color: var(--black);
}

.panda-promo .btn-red:focus {
  color: var(--white);
}

.panda-promo .popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.panda-promo .popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.panda-promo .popup-box {
  background: linear-gradient(#0c43db, #0b30c6);
  border-radius: 1rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(30px);
  transition: transform 0.3s ease;
  margin: 0;
  opacity: 0;
  position: relative;
}

.panda-promo .popup-overlay.active .popup-box {
  opacity: 1;
  transform: translateY(0);
}

.panda-promo .popup-body {
  padding: 32px 16px;
  color: #fff;
  font-size: 16px;
  text-align: center;
}

.panda-promo .close-icon {
  background: none;
  border: none;
  font-size: 36px !important;
  line-height: 1;
  color: var(--white);
  opacity: 0.5;
  padding: 0;
  position: absolute;
  right: 10px;
  top: 5px;
}

.panda-promo .popup-box img {
  width: 60%;
}

@media (max-width: 768px) {
  .panda-promo .hero-banner-sec .title-holder {
    padding: 20px;
  }

  .panda-promo .promo-sec .cta-banner {
    width: 80%;
  }

  .panda-promo .promo-sec .cta-banner .img-holder {
    aspect-ratio: 3/2;
  }

  .panda-promo .promo-sec .cta-banner .title-holder {
    width: 80%;
  }
}

@media (max-width: 600px) {
  .panda-promo .fixed-bottom-cta {
    padding: 15px 20px 70px;
    margin-top: -165.85px;
  }

  .panda-promo .promo-sec .cta-banner {
    width: 100%;
  }

  .panda-promo .promo-sec .cta-banner .img-holder {
    aspect-ratio: 1/1.3;
  }

  .panda-promo .promo-sec .cta-banner .img-holder img:first-child {
    display: none;
  }

  .panda-promo .promo-sec .cta-banner .cta-promo-mobile {
    display: block;
  }

  .panda-promo .fixed-bg {
    height: 100vh;
  }

  .panda-promo .shock-panda,
  .panda-promo .hero-banner-sec .title-holder {
    height: 50vh;
  }

}
