/* Base styles for the page */
.page-download {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Text Main */
  background: #140C0C; /* Background */
  padding-top: 10px; /* Small top padding, relying on body for header offset */
}

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

.page-download__section-title {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  text-align: center;
  color: #F3C54D; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-download__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFF1E8;
}

.page-download__card {
  background: #2A1212; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #FFF1E8;
  border: 1px solid #6A1E1E; /* Border */
}

.page-download__card-title {
  font-size: 22px;
  font-weight: 600;
  margin-top: 15px;
  margin-bottom: 10px;
  color: #F3C54D; /* Gold */
}

.page-download__card-text {
  font-size: 16px;
  color: #FFF1E8;
}

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

.page-download__cta-buttons--center {
  justify-content: center;
}

.page-download__btn-primary,
.page-download__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.page-download__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #140C0C; /* Dark text for bright button */
  border: none;
}

.page-download__btn-primary:hover {
  background: linear-gradient(180deg, #FFC06A 0%, #E87A24 100%);
  transform: translateY(-2px);
}

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

.page-download__btn-secondary:hover {
  background: rgba(243, 197, 77, 0.1);
  transform: translateY(-2px);
}

/* Hero Section */
.page-download__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  background: #140C0C; /* Background */
  color: #FFF1E8;
  gap: 40px;
  max-width: 100%;
  box-sizing: border-box;
}

.page-download__hero-content {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.page-download__main-title {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #F3C54D; /* Gold */
}

.page-download__hero-description {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #FFF1E8;
}

.page-download__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 600px;
}

.page-download__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  display: block;
}

/* Features Section */
.page-download__features-section {
  padding: 80px 0;
  background: #140C0C; /* Background */
}

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

.page-download__feature-icon {
  width: 100%;
  height: auto;
  max-width: 100px;
  margin: 0 auto 15px;
  display: block;
  border-radius: 8px;
}

/* Guide Section */
.page-download__guide-section {
  padding: 80px 0;
  background: #2A1212; /* Card BG */
}

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

.page-download__guide-item {
  text-align: left;
}

.page-download__guide-title {
  font-size: 24px;
  font-weight: 700;
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
}

.page-download__guide-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
}

.page-download__guide-steps {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
  padding: 0;
  color: #FFF1E8;
}

.page-download__guide-steps li {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-download__guide-item .page-download__btn-primary {
  width: auto;
  margin-top: 20px;
}

/* Benefits Section */
.page-download__benefits-section {
  padding: 80px 0;
  background: #140C0C; /* Background */
}

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

.page-download__benefit-card {
  text-align: left;
}

.page-download__benefit-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

/* Requirements Section */
.page-download__requirements-section {
  padding: 80px 0;
  background: #2A1212; /* Card BG */
}

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

.page-download__requirements-text {
  flex: 1;
  text-align: left;
}

.page-download__requirements-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  padding: 0;
  color: #FFF1E8;
  font-size: 17px;
}

.page-download__requirements-list li {
  margin-bottom: 10px;
}

.page-download__requirements-image {
  flex: 1;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* Security Section */
.page-download__security-section {
  padding: 80px 0;
  background: #140C0C; /* Background */
}

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

.page-download__security-item {
  text-align: left;
}

.page-download__security-icon {
  width: 100%;
  height: auto;
  max-width: 120px;
  margin-bottom: 15px;
  display: block;
  border-radius: 8px;
}

/* FAQ Section */
details.page-download__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
}
details.page-download__faq-item summary.page-download__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F3C54D; /* Gold */
}
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: #3A1A1A;
}
.page-download__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-download__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F3C54D; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-download__faq-item .page-download__faq-answer {
  padding: 0 20px 20px;
  background: #140C0C; /* Background */
  border-radius: 0 0 10px 10px;
  color: #FFF1E8;
}
.page-download__faq-answer p {
  margin: 0;
  padding: 0;
  font-size: 16px;
}

/* Final CTA Section */
.page-download__cta-final-section {
  padding: 60px 0;
  background: #140C0C; /* Background */
}

.page-download__cta-final-section .page-download__container {
  padding: 40px;
  background: #2A1212; /* Card BG */
  border-radius: 15px;
  border: 1px solid #6A1E1E;
}

/* Dark/Light Background Classes */
.page-download__dark-section {
  background: #140C0C; /* Background */
  color: #FFF1E8;
}

.page-download__light-bg {
  background: #2A1212; /* Card BG, used as lighter alternative */
  color: #FFF1E8;
}

/* --- Media Queries --- */

/* Homepage trial specific CSS (as per strict requirement, even if not directly used by this page's HTML) */
@media (max-width: 1023px) {
  .page-download__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-download__hero-brand,
  .page-download__hero-jackpot {
    display: none !important;
  }
  .page-download__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-download__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-download__game-trial-topbar,
  .page-download__game-trial-bottombar {
    display: none !important;
  }
  .page-download__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
}