.page-download {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css (#222) */
}

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

/* Hero Section */
.page-download__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70vh; /* Adjust as needed */
  padding: 80px 20px;
  background-color: #0A2463; /* Main brand color for hero background */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  box-sizing: border-box;
}

.page-download__hero-content {
  z-index: 1;
  max-width: 800px;
  margin-bottom: 40px;
}

.page-download__main-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700; /* Gold for main title */
}

.page-download__description {
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 30px;
}

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

.page-download__btn-primary,
.page-download__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  max-width: 100%;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-download__btn-primary {
  background-color: #FFD700; /* Gold accent */
  color: #0A2463; /* Dark blue text on gold */
  border: 2px solid #FFD700;
}

.page-download__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
}

.page-download__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text on dark background */
  border: 2px solid #FFD700;
}

.page-download__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
  transform: translateY(-3px);
}

.page-download__hero-image-wrapper {
  margin-top: 40px;
  width: 100%;
  max-width: 800px; /* Constrain image width */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-download__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* General Section Styles */
.page-download__benefits-section,
.page-download__how-to-download-section,
.page-download__video-section,
.page-download__game-features-section,
.page-download__security-section,
.page-download__faq-section,
.page-download__cta-final-section {
  padding: 80px 0;
  box-sizing: border-box;
}

.page-download__light-bg {
  background-color: #f8f9fa; /* Light background for sections */
  color: #333333; /* Dark text on light background */
}

.page-download__dark-bg {
  background-color: #0A2463; /* Dark brand color for sections */
  color: #ffffff; /* Light text on dark background */
}

.page-download__section-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from section background */
}

.page-download__section-intro {
  font-size: 1.2em;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: inherit;
}

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

.page-download__benefit-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #333333; /* Dark text on white card */
}

.page-download__benefit-card:hover {
  transform: translateY(-10px);
}

.page-download__benefit-icon {
  width: 100%;
  max-width: 250px; /* Constrain icon size */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-download__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #0A2463; /* Dark blue for card titles */
}

.page-download__card-text {
  font-size: 1em;
  line-height: 1.5;
  color: #555555;
}

/* How to Download Section */
.page-download__platform-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  gap: 15px;
  flex-wrap: wrap;
}

.page-download__tab-button {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 2px solid #FFD700;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-download__tab-button:hover {
  background-color: #FFD700;
  color: #0A2463;
}

.page-download__tab-button--active {
  background-color: #FFD700;
  color: #0A2463;
}

.page-download__guide-content {
  display: none;
  padding: 30px 0;
}

.page-download__guide-content--active {
  display: block;
}

.page-download__guide-subtitle {
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Gold for guide subtitles */
}

.page-download__guide-intro-text {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

.page-download__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-download__step-item {
  display: flex;
  align-items: center;
  gap: 30px;
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-download__step-item:nth-child(even) {
  flex-direction: row-reverse; /* Alternate image/text direction */
}

.page-download__step-number {
  background-color: #FFD700;
  color: #0A2463;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  flex-shrink: 0;
}

.page-download__step-text {
  flex-grow: 1;
}

.page-download__step-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-download__step-text p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-download__step-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}