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

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

.page-download__section {
  padding: 60px 0;
  text-align: center;
}

.page-download__section-title {
  font-size: 38px;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.5);
}

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

/* Hero Section */
.page-download__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(180deg, #0A0A0A 0%, #111111 100%);
}

.page-download__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-download__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 900px;
}

.page-download__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12; /* Border */
}

.page-download__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-download__main-title {
  font-size: 48px;
  font-weight: 900;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
}

.page-download__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #FFF6D6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-download__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-download__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-download__cta-button:hover {
  background: linear-gradient(180deg, #FFE68A 0%, #F2C14E 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-download__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
}

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

.page-download__btn-secondary:hover {
  background: #0A0A0A; /* Background */
  color: #FFE68A;
  border-color: #FFE68A;
}

.page-download__btn-small {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 20px;
  border: none;
}

.page-download__btn-small:hover {
  background: linear-gradient(180deg, #FFE68A 0%, #F2C14E 100%);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Intro Section */
.page-download__intro-section {
  background-color: #111111; /* Card BG */
}

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

.page-download__feature-item {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-download__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.page-download__feature-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #3A2A12;
  min-width: 200px;
  min-height: 200px;
}

.page-download__feature-title {
  font-size: 24px;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
}

.page-download__feature-item p {
  font-size: 16px;
  color: #FFF6D6;
}

/* Download Guide Section */
.page-download__download-guide-section {
  background-color: #0A0A0A; /* Background */
}

.page-download__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-download__step-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-download__step-item img {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin: 20px auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #3A2A12;
  min-width: 200px;
  min-height: 200px;
}

.page-download__step-title {
  font-size: 26px;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
}

.page-download__step-item p {
  font-size: 16px;
  color: #FFF6D6;
}

.page-download__note {
  margin-top: 40px;
  font-size: 17px;
  color: #F2C14E; /* Primary color */
}

/* Games Section */
.page-download__games-section {
  background-color: #111111; /* Card BG */
}

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

.page-download__game-card {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-download__game-card a {
  text-decoration: none;
  color: inherit;
  display: block;
  padding-bottom: 20px; /* Adjust padding for content below image */
}

.page-download__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.page-download__game-card img {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid #3A2A12; /* Border */
  min-width: 200px;
  min-height: 200px;
}

.page-download__game-title {
  font-size: 22px;
  color: #FFD36B; /* Glow */
  margin: 20px 15px 10px;
}

.page-download__game-card p {
  font-size: 15px;
  color: #FFF6D6;
  padding: 0 15px;
}

/* Security Section */
.page-download__security-section {
  background-color: #0A0A0A; /* Background */
}

.page-download__security-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 700px;
  text-align: left;
}

.page-download__security-list li {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-size: 17px;
  color: #FFF6D6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-download__security-icon {
  font-size: 24px;
  margin-right: 15px;
  color: #F2C14E; /* Primary color */
}

/* FAQ Section */
.page-download__faq-section {
  background-color: #111111; /* Card BG */
}

.page-download__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

details.page-download__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #0A0A0A; /* Background */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

details.page-download__faq-item summary.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFD36B; /* Glow */
  font-weight: bold;
}

details.page-download__faq-item summary.page-download__faq-question::-webkit-details-marker {
  display: none;
}

details.page-download__faq-item summary.page-download__faq-question:hover {
  background: rgba(255, 211, 107, 0.1); /* Light hover effect */
}

.page-download__faq-qtext {
  flex: 1;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
}

.page-download__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Primary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-download__faq-item .page-download__faq-answer {
  padding: 0 20px 20px;
  background: #111111; /* Card BG */
  border-top: 1px solid #3A2A12; /* Border */
  border-radius: 0 0 8px 8px;
  color: #FFF6D6;
  font-size: 16px;
}

/* CTA Bottom Section */
.page-download__cta-bottom-section {
  background-color: #0A0A0A; /* Background */
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-download__main-title {
    font-size: 42px;
  }
  .page-download__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-download__hero-section {
    padding-top: 10px !important; /* body handles header offset */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-download__main-title {
    font-size: 36px;
    margin-bottom: 10px;
  }
  .page-download__hero-description {
    font-size: 18px;
    margin-bottom: 25px;
  }
  .page-download__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-download__cta-button, .page-download__btn-small {
    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__section {
    padding: 40px 0;
  }
  .page-download__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-download__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-download__feature-item,
  .page-download__step-item,
  .page-download__game-card {
    padding: 20px;
  }
  .page-download__feature-title {
    font-size: 20px;
  }
  .page-download__step-title {
    font-size: 22px;
  }
  .page-download__game-title {
    font-size: 20px;
  }
  .page-download__game-card img {
    
  }
  .page-download__security-list li {
    font-size: 15px;
    padding: 12px 15px;
  }
  .page-download__security-icon {
    font-size: 20px;
    margin-right: 10px;
  }
  details.page-download__faq-item summary.page-download__faq-question {
    padding: 15px;
  }
  .page-download__faq-qtext {
    font-size: 16px;
  }
  .page-download__faq-toggle {
    font-size: 24px;
    width: 24px;
  }
  details.page-download__faq-item .page-download__faq-answer {
    padding: 0 15px 15px;
  }

  /* Mobile image specific styles */
  .page-download img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-download__container, .page-download__features-grid, .page-download__step-by-step, .page-download__game-categories, .page-download__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-download__cta-buttons {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-download__main-title {
    font-size: 30px;
  }
  .page-download__section-title {
    font-size: 24px;
  }
  .page-download__hero-image img {
    border-radius: 8px;
  }
  .page-download__cta-button {
    font-size: 16px;
    padding: 12px 25px;
  }
  .page-download__feature-item img,
  .page-download__step-item img,
  .page-download__game-card img {
    min-width: unset;
    min-height: unset;
  }
}