/* style/download.css */

/* Base styles for the download page */
.page-download {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  padding-bottom: 60px; /* Ensure space above footer */
}

.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;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  background-color: #0A0A0A; /* Ensure dark background for hero */
}

.page-download__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 40px;
}

.page-download__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  filter: none; /* Ensure no CSS filter */
}

.page-download__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-download__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.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.1rem;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  text-align: center;
}

.page-download__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-download__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
  opacity: 0.9;
}

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

.page-download__btn-secondary:hover {
  background: #FFD36B; /* Glow */
  color: #111111; /* Card BG */
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-download__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #FFD36B; /* Glow */
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
  line-height: 1.3;
}

.page-download__section-description {
  font-size: 1.1rem;
  color: #FFF6D6; /* Text Main */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-download__why-download-section,
.page-download__how-to-download-section,
.page-download__app-features-section,
.page-download__game-selection-section,
.page-download__security-trust-section,
.page-download__promotions-section,
.page-download__faq-section,
.page-download__cta-bottom-section {
  padding: 40px 0;
  background-color: #0A0A0A;
}

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

.page-download__feature-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
}

.page-download__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter */
}

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

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

.page-download__feature-text a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-download__platform-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

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

.page-download__guide-title {
  font-size: 1.8rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 25px;
  text-align: center;
}

.page-download__guide-steps {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
  max-width: 500px;
}

.page-download__guide-steps li {
  margin-bottom: 15px;
  line-height: 1.5;
}

.page-download__guide-steps strong {
  color: #F2C14E; /* Primary color */
}

.page-download__guide-steps a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-download__guide-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 8px;
  filter: none; /* Ensure no CSS filter */
}

.page-download__btn-download {
  width: 100%;
  max-width: 300px;
}

.page-download__tips-section {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border */
}

.page-download__tips-title {
  font-size: 1.6rem;
  color: #F2C14E; /* Primary color */
  margin-bottom: 20px;
  text-align: center;
}

.page-download__tips-list {
  list-style: disc;
  padding-left: 25px;
  color: #FFF6D6; /* Text Main */
  max-width: 800px;
  margin: 0 auto;
}

.page-download__tips-list li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.page-download__tips-list a {
  color: #FFD36B;
  text-decoration: underline;
}

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

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

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

.page-download__feature-item-text {
  font-size: 1rem;
  color: #FFF6D6; /* Text Main */
}

.page-download__feature-item-text a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-download__game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}