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

.page-download__section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

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

.page-download__section-title {
  font-size: 36px;
  color: #FFD36B; /* Glow */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-download h1 {
  font-size: clamp(28px, 4vw, 48px);
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-download h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  color: #FFD36B; /* Glow */
  margin-bottom: 25px;
  font-weight: bold;
}

.page-download h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  color: #F2C14E; /* Primary */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-download p {
  margin-bottom: 15px;
  font-size: 16px;
  color: #FFF6D6; /* Text Main */
}

.page-download a {
  color: #F2C14E;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-download a:hover {
  color: #FFD36B;
}

/* 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(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.8)); /* Overlay for text readability */
}

.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%; /* Ensure full width for flex item */
}

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

.page-download__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px 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%;
  padding: 0 20px;
}

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

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

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

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

.page-download__card {
  background: #111111; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-download__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-download__card-title {
  color: #F2C14E; /* Primary */
  margin-bottom: 15px;
}

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

.page-download__download-steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.page-download__step-item {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  text-align: center;
  background: #111111; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border */
}

.page-download__step-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #F2C14E;
}

.page-download__step-item p {
  font-size: 15px;
  margin-bottom: 20px;
}

.page-download__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for contrast */
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-download__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-download__installation-info {
  display: flex;
  gap: 40px;
  align-items: center;
  background: #111111; /* Card BG */
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border */
}

.page-download__installation-info img {
  flex-shrink: 0;
  width: 50%;
  max-width: 450px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #F2C14E;
}

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

/* App Features Section */
.page-download__app-features-section {
  background-color: #0A0A0A; /* Background */
}

.page-download__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: center;
}

.page-download__feature-card {
  background: #111111; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  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 8px 25px rgba(0, 0, 0, 0.3);
}

.page-download__feature-image-wrapper {
  grid-column: span 2; /* Span two columns in desktop layout */
  text-align: center;
}

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

/* System Requirements Section */
.page-download__system-requirements-section {
  background-color: #0A0A0A; /* Background */
}

.page-download__requirements-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.page-download__requirement-item {
  background: #111111; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
}

/* Responsible Gaming Section */
.page-download__responsible-gaming-section {
  background-color: #0A0A0A; /* Background */
  text-align: center;
}

.page-download__responsible-gaming-section p {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 17px;
}

.page-download__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: #F2C14E; /* Primary */
  border: 2px solid #F2C14E; /* Primary */
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.page-download__btn-secondary:hover {
  background: #F2C14E; /* Primary */
  color: #111111; /* Dark text for contrast */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-download__faq-list {
  max-width: 900px;
  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 */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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.1); /* Light hover effect from Primary color */
}

.page-download__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6; /* Text Main */
}

.page-download__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Primary */
  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.9); /* Slightly darker for answer area */
  border-radius: 0 0 12px 12px;
}

.page-download__faq-answer p {
  font-size: 16px;
  color: #FFF6D6; /* Text Main */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-download__installation-info {
    flex-direction: column;
    text-align: center;
  }
  .page-download__installation-info img {
    width: 80%;
    max-width: 400px;
    margin-bottom: 30px;
  }
  .page-download__feature-image-wrapper {
    grid-column: span 1; /* Adjust for smaller screens */
  }
}

@media (max-width: 768px) {
  .page-download h1 {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-download h2 {
    font-size: clamp(20px, 5vw, 30px);
  }
  .page-download h3 {
    font-size: clamp(18px, 4vw, 24px);
  }

  .page-download__section {
    padding: 40px 0;
  }

  .page-download__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-download__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-download__hero-image img {
    border-radius: 8px;
  }

  .page-download__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-download__grid, .page-download__feature-grid, .page-download__requirements-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-download__card, .page-download__step-item, .page-download__feature-card, .page-download__requirement-item {
    padding: 20px;
    border-radius: 10px;
  }

  .page-download__download-steps {
    flex-direction: column;
    gap: 20px;
  }

  .page-download__installation-info {
    flex-direction: column;
    padding: 30px;
  }
  .page-download__installation-info img {
    width: 100%;
    margin-bottom: 20px;
  }

  .page-download__feature-image-wrapper {
    order: -1; /* Move image to top on mobile */
    margin-bottom: 20px;
  }
  .page-download__feature-image-wrapper img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-download__btn-primary, .page-download__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  details.page-download__faq-item summary.page-download__faq-question {
    padding: 15px 20px;
  }
  .page-download__faq-qtext {
    font-size: 16px;
  }
  .page-download__faq-toggle {
    font-size: 24px;
  }
  details.page-download__faq-item .page-download__faq-answer {
    padding: 0 20px 15px;
  }
  .page-download__faq-answer p {
    font-size: 15px;
  }

  /* All images responsive */
  .page-download img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
}