/* ─── PROMO SECTION CONTAINER ───────────────────────────────────────────────── */
.promo-section {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  background-color: #1b1b1b;
  overflow: hidden;
  font-family: sans-serif;
  box-sizing: border-box;
}

.check-the-new-app {
  position: relative;
  text-align: center;
  font-family: 'Sofia Pro', sans-serif;
  font-weight: 500;
  color: #1b1b1b;
  padding: 2vh 1rem;
  background-color: #ffffff;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  line-height: 1.2;
}

.check-the-new-app h1 {
  font-size: clamp(1.25rem, 2.5vw, 2rem); /* responsive scaling */
  margin-bottom: 0.5rem; /* closer to button */
}

.black-btn-download {
  border: #1b1b1b solid 0.3vh;
  font-size: clamp(0.9rem, 1vw + 0.5rem, 1.1rem); /* scales with screen */
  font-weight: bold;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: #1b1b1b;
}

.black-btn-download:hover {
  background-color: #1b1b1b;
  color: #ffffff;
}

/* Extra spacing adjustments for very small screens */
@media (max-width: 480px) {
  .check-the-new-app {
    padding: 1.5rem 1rem;
  }

  .check-the-new-app h1 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
  }

  .black-btn-download {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
}


.black-btn-download:hover{
  background-color: #1b1b1b;
  color: #ffffff;
  border: #fff solid 0.5vh;
}

/* ─── VIDEO WRAPPER (maintains 16:9) ───────────────────────────────────────── */
.video-wrapper {
  position: relative;
  width: 100%;
  /* Keep a 16:9 aspect ratio; adjust if your video is a different ratio */
  height: 0;
  padding-bottom: 56.25%;
  cursor: pointer;
}

/* The video itself fills the wrapper */
.promo-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── OVERLAY (desktop hover only) ──────────────────────────────────────────── */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;            /* shown on desktop hover */
  z-index: 1;
}

/* ─── BUTTONS ON VIDEO (desktop hover only) ────────────────────────────────── */
.btn-overlay-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;            /* shown on desktop hover */
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}

/* Common button styles (download & restart) */
.btn-download,
.btn-restart {
  font-size: 1rem;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: none;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* “Download” pill style */
.btn-download {
  background-color: #1b1b1b;
  color: #ffffff;
}

.btn-download:hover {
  background-color: #ffffff;
  color: #1b1b1b;
  border: #1b1b1b solid 0.5vh;
}

/* “Restart” style: transparent border */
.btn-restart {
  background-color: transparent;
  color: #470000;
  border: 2px solid #470000;
}

.btn-restart:hover {
  background-color: #410000;
  color: #ffffff;
}

/* ─── MOBILE BUTTONS (always visible on mobile) ─────────────────────────────── */
.btn-mobile-container {
  display: none;            /* hidden on desktop; shown on mobile */
  background-color: #1b1b1b;
  width: 100%;
  padding: 1rem 0;
  box-sizing: border-box;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Make mobile buttons line up in a row (wrap if needed) */
.btn-mobile-container .btn-download,
.btn-mobile-container .btn-restart {
  max-width: max-content;
  text-align: center;
}

/* ─── RESPONSIVE RULES ──────────────────────────────────────────────────────── */
@media (min-width: 769px) {
  /* DESKTOP/TABLET: show overlay + overlay-buttons on hover */
  .video-wrapper:hover .overlay {
    display: block;
  }
  .video-wrapper:hover .btn-overlay-container {
    display: flex;
  }
}

@media (max-width: 768px) {
  /* MOBILE: hide overlay/buttons‐on‐video; show buttons‐below‐video */
  .overlay,
  .btn-overlay-container {
    display: none !important;
  }

  /* Make sure the video still shows full‐width */
  .promo-video {
    position: relative;      /* no absolute needed on mobile layout */
    width: 100%;
    height: 100%;
    background-color: #1b1b1b;
    box-sizing: border-box;
  }
  .video-wrapper {
    height: auto;            /* remove the 16:9 aspect wrapper on mobile */
    padding-bottom: 0;
    box-sizing: border-box;
  }

  /* Show the mobile buttons container */
  .btn-mobile-container {
    position: relative;
    display: flex;
    background-color: #ffffff;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    margin: 0;
  }

  .check-the-new-app{
  flex-direction: column;
}
}

  /* Optional: Style for content on top of the video */
.content-download {
    position: fixed;  /* Ensure it sits above the video background */
    z-index: 1;
    margin: 0;
    padding: 0;
    top: 30%;
    width: 100vw;
    height: auto;
    color: #fff;
    z-index: 0;
}

.content-download-title{
    text-align: center;
    font-family: 'Sofia Pro';
    font-size: 8vh;    
    font-weight: 800;
    color: #fff;
}

.content-download-text{
    text-align: center;
    font-family: 'Sofia Pro';
    font-size: 4vh;    
    font-weight: 500;
    color: #fff;
}

.download-section{
    padding: 20vh 0 0 0;
    width: 100vw;
    height: 100%;
    background-color: #fff;
    position: relative;

    box-sizing: border-box;
}

.video-background-container{
  background-image: url(../Assets/BG-APP-PAGE.jpg);
}
