.page-download {
  color: #ffffff; /* Body background is #1a1a1a (dark), so use light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Let body handle background */
}

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

.page-download__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0; /* Base padding */
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
  background: linear-gradient(135deg, #017439, #005f2e); /* Brand color gradient */
  color: #ffffff;
  overflow: hidden;
}

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

.page-download__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

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

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

.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-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

.page-download__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

.page-download__btn-primary:hover {
  background-color: #a30707;
  border-color: #a30707;
}

.page-download__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #ffffff;
}

.page-download__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

.page-download__hero-image-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-download__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-download__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-download__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

/* Video Section */
.page-download__video-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
}

.page-download__video-section .page-download__section-title {
  color: #ffffff;
}

.page-download__video-section .page-download__section-description {
  color: #f0f0f0;
}

.page-download__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-download__video,
.page-download__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

/* Why Download Section */
.page-download__why-download-section {
  padding: 80px 0;
  background-color: #2a2a2a; /* Slightly lighter dark background */
  color: #ffffff;
}

.page-download__why-download-section .page-download__section-title {
  color: #017439;
}

.page-download__why-download-section .page-download__section-description {
  color: #f0f0f0;
}

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

.page-download__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-download__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-download__feature-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-download__feature-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* Download Steps Section */
.page-download__steps-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-download__steps-section .page-download__section-title {
  color: #ffffff;
}

.page-download__steps-section .page-download__section-description {
  color: #f0f0f0;
}

.page-download__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
  text-align: center;
}

.page-download__step-item:last-child {
  margin-bottom: 0;
}

.page-download__step-title {
  font-size: 2em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-download__step-text {
  font-size: 1.1em;
  color: #e0e0e0;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-download__step-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Game Highlights Section */
.page-download__game-highlights-section {
  padding: 80px 0;
  background-color: #2a2a2a;
  color: #ffffff;
}

.page-download__game-highlights-section .page-download__section-title {
  color: #017439;
}

.page-download__game-highlights-section .page-download__section-description {
  color: #f0f0f0;
}