/* style/download.css */

/* Base styles for the download page */
.page-download {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

/* Hero Section */
.page-download__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Content below video for desktop */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
  min-height: 600px; /* Ensure hero section has a minimum height */
}

.page-download__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0; /* Ensure video is behind content */
}

.page-download__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the entire area */
  filter: brightness(0.5); /* Darken video for text readability */
}

.page-download__hero-content {
  position: relative; /* Ensure content is above video */
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: #FFF6D6; /* Ensure text is visible on video */
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for better readability */
  border-radius: 8px;
}

.page-download__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD36B; /* Glow color for emphasis */
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-download__lead-text {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-download__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.page-download__btn-primary,
.page-download__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-download__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for light button */
  border: none;
}

.page-download__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-download__btn-secondary {
  background-color: #111111; /* Card BG */
  color: #FFD36B; /* Glow color for text */
  border: 2px solid #FFD36B; /* Glow color for border */
}

.page-download__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 211, 107, 0.1);
}

.page-download__qr-code-section {
    margin-top: 20px;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 8px;
    display: inline-block;
}

.page-download__qr-code-text {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #FFF6D6;
}