/* ========================
   MOBILE-FIRST DEFAULT STYLES
======================== */

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  width: 100%;
  z-index: 10;
}

.logo img {
  height: 40px;
  width: 40px;
}

.nav-links {
  display: flex; /* hide on mobile */
  gap: 16px;
  font-size: 12px;
  font-weight: 400;
}

.nav-link {
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.nav-link:hover {
  border-color: #ea3326;
}

.get-app-btn {
  background-color: red;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  transition: all 0.3s;
}

.get-app-btn:hover {
  background-color: #ea3326;
}

/* Carousel */
.carousel {
  width: 100%;
  height: 30vh;
  position: relative;
  overflow: hidden;
  background-color: #000;
  will-change: transform;
}

.slides {
  display: flex;
  height: 100%;
  overflow-x: scroll;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.slides::-webkit-scrollbar {
  display: none;
}

.slides img {
  min-width: 100%;
  height: 100%;
  object-fit: fill;
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* Carousel arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  font-size: 28px;
  color: white;
  background: rgba(0,0,0,0.3);
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease;
}

.nav-arrow:hover {
  background: rgba(0,0,0,0.6);
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

/* Video Section */
.section-2 {
  position: relative;
  height: 30vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
  z-index: 5;
}

.video-overlay.hide-thumb .video-thumb {
  display: none !important;
}

.video-overlay.show-icon {
  display: flex !important;
  background: transparent !important;
}

.video-overlay.show-icon .video-thumb {
  display: none !important;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 0.7;
}

.kyn-video {
  width: 100%;
  height: 100%;
  object-fit: fill;
  cursor: pointer;
}

.play-btn {
  position: absolute;
  font-size: 40px;
  color: rgb(0, 0, 0);
  background-color: rgba(255,255,255,0.7);
  border: none;
  border-radius: 25%;
  padding: 4px 16px 8px;
  cursor: pointer;
  z-index: 6;
}

.mute-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(255,255,255,0.7);
  border: none;
  padding: 6px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
}

/* Section 3 - Stats */

.responsive-grid {
  display: grid;
  grid-template-columns: 1fr; 
  text-align: center;
  gap: 16px; 
  margin: 0 auto; 
  padding: 8px 8px; 

}
.getapp {
  background-color: #FF5858;
  color: white;
  padding: 10px 0px;
  height: 100vh;
}

.stats-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 90%;
  margin: 0 auto;

}

.stat-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 16px;
  border-radius: 10px;
  text-align: center;
  backdrop-filter: blur(4px);
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-box .count {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.stat-box p {
  margin: 6px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,0.9);
}

/* Social & Store links */
.social-links a img {
  height: 20px;
  width: 20px;
}

.store-links img {
  height: 40px;
}

.qr-code {
  height: 100px;
  width: 100px;
  background-color: white;
  padding: 6px;
  border-radius: 8px;
}

/* Footer */
.footer {
  background-color: #FFF9F3;
  color: #333;
  padding: 32px 16px;
}

.footer a {
  color: #FF5858;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.terms {
  text-align: center;
}


/* ========================
   DESKTOP STYLES
======================== */
@media(min-width:768px){

  /* Navbar */
  .navbar {
    padding: 8px 50px;
  }

  .logo img {
    height: 50px;
    width: 50px;
  }

  .nav-links {
    display: flex;
    gap: 70px;
    font-size: 14px;
  }

  .get-app-btn {
    font-size: 14px;
    padding: 8px 16px;
  }

  /* Carousel */
  .carousel {
    height: 70vh;
  }

  .slides img {
    object-fit: fill;
  }

  .nav-arrow {
    font-size: 32px;
    padding: 12px 18px;
  }

  .section-2 {
    height: 100vh;
  }

  .play-btn {
    font-size: 50px;
    padding: 4px 20px 10px;
  }

  .mute-btn {
    font-size: 18px;
    padding: 8px;
  }

  /* Stats */
  .getapp {
  background-color: #FF5858;
  color: white;
  padding: 10px 0px;
  height: 70vh;
}
  .responsive-grid {
  grid-template-columns: repeat(3, 1fr); 
  gap: 32px;
}
  .stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 90%;
  margin: 0 auto;
  padding-top: 16px;
  padding-bottom: 50px;
  }

  .stat-box .count {
    font-size: 28px;
  }

  .store-links img {
    height: 48px;
  }

  .qr-code {
    height: 128px;
    width: 128px;
  }
  .footer{
    height: 30vh;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .terms {
    text-align: right;
  }
}
