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

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

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

.page-download__section-subtitle,
.page-download__description {
  font-size: 18px;
  color: #FFF6D6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-download__text-center {
  text-align: center;
}

/* Hero Section */
.page-download__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Adjust as needed */
  padding-top: 10px; /* Minimal top padding, assuming body handles header offset */
  background-color: #0A0A0A; /* Background */
}

.page-download__hero-image-wrapper {
  width: 100%;
  position: relative;
  z-index: 1;
  margin-bottom: 30px; /* Space between image and content */
}

.page-download__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 810px; /* Recommended height for banner */
}

.page-download__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  color: #FFF6D6; /* Text Main */
}

.page-download__main-title {
  font-size: 48px;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-download__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-download__btn-download {
  display: inline-block;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 200px;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-download__btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(242, 193, 78, 0.4);
}

/* Why Download Section */
.page-download__why-download-section {
  background-color: #0A0A0A; /* Background */
}

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

.page-download__feature-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-download__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(242, 193, 78, 0.2);
}

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

.page-download__feature-title {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Main Color */
  margin-bottom: 10px;
}

.page-download__feature-text {
  font-size: 16px;
  color: #FFF6D6; /* Text Main */
}

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

.page-download__download-platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
}

.page-download__download-platform {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #3A2A12; /* Border */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-download__platform-title {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Main Color */
  margin-bottom: 25px;
}

.page-download__platform-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 25px;
  border-radius: 8px;
  display: block;
  object-fit: contain;
}

.page-download__download-steps {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  text-align: left;
  margin-bottom: 30px;
  width: 100%;
  max-width: 400px;
}

.page-download__download-steps li {
  margin-bottom: 15px;
  font-size: 17px;
  color: #FFF6D6; /* Text Main */
  position: relative;
  padding-left: 30px;
}

.page-download__download-steps li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #FFD36B; /* Glow */
  color: #0A0A0A;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.page-download__btn-full-width {
  width: 100%;
  max-width: 300px;
  margin-top: auto; /* Push to bottom */
}

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

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

.page-download__game-card {
  background-color: #111111; /* Card BG */
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #3A2A12; /* Border */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-download__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(242, 193, 78, 0.2);
}

.page-download__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-download__game-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-download__game-title a {
  color: #F2C14E; /* Main Color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-download__game-title a:hover {
  color: #FFD36B; /* Glow */
}

.page-download__game-description {
  font-size: 15px;
  color: #FFF6D6; /* Text Main */
}

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

.page-download__btn-primary {
  display: inline-block;
  padding: 15px 35px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-download__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(242, 193, 78, 0.4);
}

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

.page-download__promo-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-download__promo-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-download__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(242, 193, 78, 0.2);
}

.page-download__promo-icon {
  font-size: 48px;
  margin-bottom: 15px;
  color: #FFD36B; /* Glow */
}

.page-download__promo-title {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Main Color */
  margin-bottom: 10px;
}

.page-download__promo-text {
  font-size: 16px;
  color: #FFF6D6; /* Text Main */
}

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

.page-download__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-download__security-text {
  flex: 1;
  color: #FFF6D6; /* Text Main */
}

.page-download__security-text p {
  margin-bottom: 20px;
  font-size: 17px;
}

.page-download__security-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-download__security-list li {
  margin-bottom: 10px;
  font-size: 17px;
  position: relative;
  padding-left: 25px;
}

.page-download__security-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FFD36B; /* Glow */
  font-weight: bold;
}

.page-download__security-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-download__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: contain;
}

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

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

details.page-download__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
}
details.page-download__faq-item summary.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
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(242, 193, 78, 0.05); /* Slight hover effect */
}
.page-download__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Main Color */
}
.page-download__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-download__faq-item .page-download__faq-answer {
  padding: 0 25px 20px;
  background: rgba(17, 17, 17, 0.8); /* Slightly darker than card bg */
  border-radius: 0 0 12px 12px;
  color: #FFF6D6; /* Text Main */
}
.page-download__faq-answer p {
  margin: 0;
  font-size: 16px;
}