/* GLOBAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* PREVENT HORIZONTAL SCROLLING */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* GLOBAL RESPONSIVE FIX FOR IMAGES + IFRAME */
img, iframe, video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

body {
  background-size:
    100% auto,
    auto;
  background-color: #fff;
  font-family: "Noto Sans SC", sans-serif;
  color: #fff;
}
/* MOBILE WRAPPER */
.mobile-wrapper {
  max-width: 420px;     /* your mobile width */
  margin: 0 auto;       /* center on desktop */
  background-color: #000; /* or white if you prefer border */
  overflow-x: hidden;   /* prevent horizontal scroll */
  width: 100%;
  min-height: 100vh;
  box-shadow: 0 0 0px #000; /* optional: add subtle shadow for desktop */
	 background:
    url("../images/background.png") no-repeat top center,
    url("../images/background-repeat-slice.png") repeat-y center bottom;
  background-size:
    100% auto,
    auto;
  font-family: "Noto Sans SC", sans-serif;
  color: #fff;
}

/* Optional: force sections inside wrapper to match width */
.mobile-wrapper .section,
.mobile-wrapper .video-block,
.mobile-wrapper .banner-group {
  width: 100%;
  max-width: 100%;
}
/* UNIVERSAL SECTION STYLING */
.section {
  width: 100%;
  padding: 0 20px;
  text-align: center;
}
.section-1 {
  width: 100%;
  padding: 400px 20px 0px;
  text-align: center;
}

.full-img {
  width: 100%;
  height: auto;
  display: block;
}

.title-img,
.caption-img,
.text-img {
  width: 100%;
  height: auto;
}

/* VIDEO BLOCK WRAPPER */
.video-block {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* FRAME SCALES BASED ON PNG SIZE */
.frame {
  background: url("../images/s2-frame.png") no-repeat center top;
  background-size: contain;

  width: 100%;
  max-width: 420px; /* your preferred displayed width */
  aspect-ratio: 1080 / 1379;  /* EXACT FRAME RATIO */

  position: relative;
  margin: 0 auto;
}

/* VIDEO CONTAINER MAINTAINS 16:9 VIDEO RATIO */
.video-container {
  position: absolute;

  /* CHANGE THESE SO THE VIDEO FITS THE HOLE */
  top: 25%;      /* push video down */
  left: 8%;      /* push video right */
  width: 84%;    /* video width inside frame */
  aspect-ratio: 16 / 9; /* 960x540 */
  
  overflow: hidden;
  border-radius: 12px;
}

/* MAKE IFRAME FILL THE VIDEO CONTAINER */
.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* PLAY BUTTON */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 36px;
  color: #fff;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.play-btn svg {
  width: 64px;
  height: 64px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Optional hover/tap effect */
.play-btn:hover svg,
.play-btn:active svg {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px #fff);
}

.play-btn.hide {
  opacity: 0;
  pointer-events: none;
}
/* IMAGE ROW 50/50 */
.img-row {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.img-row img {
  width: 100%;
}

/* BANNER GROUP */
.banner-group {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* safety */
}

.banner-group img {
  width: 100%;
}

/* CTA BUTTON */
.cta-btn {
  display: inline-block;
  width: 320px;
  height: 100px;
  background: url("../images/cta-button.png") no-repeat center center;
  background-size: contain;
}
.cta-btn {
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(1); filter: drop-shadow(0 0 0px #0696f5); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 8px #0696f5); }
  100% { transform: scale(1); filter: drop-shadow(0 0 0px #0696f5); }
}
.cta-btn.small {
  padding: 10px 20px;
  font-size: 16px;
}

/* FOOTER BAR 1 */
.footer-bar-1 {
  margin-top: 40px;
  padding: 20px;
  background: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-item img {
  width: 24px;
  height: auto;
}

/* FOOTER BAR 2 */
.footer-bar-2 {
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bar-2 img {
  width: auto;
}
