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

.page-download__section {
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
}

.page-download__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-download__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-download__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

/* Hero Section */
.page-download__hero-section {
  padding-top: 10px; /* Small top padding */
  position: relative;
  overflow: hidden;
  background-color: #0A0A0A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px; /* Ensure hero has some height */
}

.page-download__hero-image {
  width: 100%;
  height: auto;
  max-height: 700px; /* Limit image height */
  object-fit: cover;
  margin-bottom: 20px; /* Space between image and text */
}

.page-download__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-download__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  color: #FFD36B; /* Auxiliary color / Glow */
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-download__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-download__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
  width: 100%; /* Ensure container takes full width for responsive */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-download__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #FFF6D6; /* Text Main */
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-download__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4); /* Glow */
}

.page-download__cta-button--secondary {
  background: #111111; /* Card BG */
  border: 2px solid #F2C14E; /* Main color */
  color: #F2C14E;
}

.page-download__cta-button--secondary:hover {
  background: #F2C14E;
  color: #FFF6D6;
}

.page-download__cta-button--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

.page-download__cta-button--small {
    padding: 10px 20px;
    font-size: 1em;
}

/* Why Download Section */
.page-download__why-download {
  background-color: #111111; /* Card BG */
  border-top: 1px solid #3A2A12; /* Border */
  border-bottom: 1px solid #3A2A12; /* Border */
}

.page-download__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-download__benefit-card {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-download__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.3); /* Glow */
}

.page-download__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  max-width: 100%; /* Ensure responsive */
  height: auto;
  display: block;
}

.page-download__benefit-title {
  font-size: 1.4em;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-download__benefit-text {
  font-size: 0.95em;
  color: #FFF6D6;
}

/* How to Download Section */
.page-download__how-to-download {
  background-color: #0A0A0A; /* Background */
}

.page-download__download-platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.page-download__platform-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-download__platform-title {
  font-size: 1.8em;
  color: #FFD36B; /* Auxiliary color / Glow */
  margin-bottom: 25px;
  font-weight: 700;
}

.page-download__qr-code-wrapper {
  margin-bottom: 25px;
  border: 5px solid #F2C14E; /* Main color */
  border-radius: 10px;
  padding: 10px;
  background-color: #FFF6D6; /* Light background for QR */
}

.page-download__qr-code {
  width: 250px;
  height: 250px;
  object-fit: contain;
  max-width: 100%; /* Ensure responsive */
  height: auto;
  display: block;
}

.page-download__download-steps {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: left;
  color: #FFF6D6;
}

.page-download__download-steps li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  font-size: 1.05em;
}

.page-download__download-steps li:last-child {
  margin-bottom: 0;
}

.page-download__download-steps li::before {
  content: "✓";
  color: #F2C14E; /* Main color */
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* App Features Section */
.page-download__app-features {
  background-color: #111111; /* Card BG */
  border-top: 1px solid #3A2A12; /* Border */
  border-bottom: 1px solid #3A2A12; /* Border */
}

.page-download__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-download__feature-item {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-download__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.3); /* Glow */
}

.page-download__feature-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 15px;
  max-width: 100%; /* Ensure responsive */
  height: auto;
  display: block;
}

.page-download__feature-title {
  font-size: 1.5em;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-download__feature-text {
  font-size: 1em;
  color: #FFF6D6;
}

/* Promotions Section */
.page-download__promotions {
  background-color: #0A0A0A; /* Background */
}

.page-download__promo-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 30px auto 40px auto;
  text-align: left;
  color: #FFF6D6;
}

.page-download__promo-item {
  background-color: #111111; /* Card BG */
  border-left: 5px solid #F2C14E; /* Main color */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-download__promo-item strong {
  color: #FFD36B; /* Auxiliary color / Glow */
}

.page-download__cta-wrapper {
    text-align: center;
    margin-top: 30px;
}

/* FAQ Section */
.page-download__faq {
  background-color: #111111; /* Card BG */
  border-top: 1px solid #3A2A12; /* Border */
}

.page-download__faq-list {
  max-width: 900px;
  margin: 30px auto 0 auto;
}

.page-download__faq-item {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2C14E; /* Main color */
  cursor: pointer;
  background-color: #111111; /* Card BG */
  position: relative;
  list-style: none; /* Hide default marker */
}

.page-download__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-download__faq-toggle {
  font-size: 1.5em;
  color: #FFD36B; /* Auxiliary color / Glow */
  transition: transform 0.3s ease;
}

.page-download__faq-item[open] .page-download__faq-toggle {
  transform: rotate(45deg);
}

.page-download__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1.0em;
  color: #FFF6D6;
  border-top: 1px solid #3A2A12; /* Border */
}

/* Final CTA Section */
.page-download__final-cta {
  background-color: #0A0A0A; /* Background */
  text-align: center;
  padding-bottom: 60px;
}

/* General image styling for responsiveness */
.page-download img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-download__section {
    padding: 20px 0; /* Adjust padding for mobile */
  }

  .page-download__container {
    padding: 0 15px; /* Add horizontal padding for content */
  }

  .page-download__hero-section {
    min-height: 400px;
    padding-top: 10px; /* Keep small top padding */
  }

  .page-download__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-download__hero-description {
    font-size: 1em;
  }

  .page-download__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px; /* Add padding to button container */
  }

  .page-download__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-download__benefits-grid,
  .page-download__features-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

  .page-download__download-platforms {
    grid-template-columns: 1fr; /* Single column for download platforms */
    gap: 30px;
  }

  .page-download__platform-card {
    padding: 20px;
  }

  .page-download__platform-title {
    font-size: 1.5em;
  }

  .page-download__qr-code-wrapper {
    padding: 5px;
  }

  .page-download__qr-code {
    width: 200px;
    height: 200px;
  }

  .page-download__download-steps li {
    font-size: 0.95em;
  }

  .page-download__section-title {
    font-size: 1.8em;
  }

  .page-download__section-description {
    font-size: 0.95em;
  }

  .page-download img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-download__section,
  .page-download__card,
  .page-download__container,
  .page-download__cta-buttons,
  .page-download__button-group,
  .page-download__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-download__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-download__faq-answer {
    padding: 10px 20px 15px 20px;
    font-size: 0.9em;
  }
}