/* style/download-center.css */
.page-download-center {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-download-center__section {
  padding: 60px 0;
  text-align: center;
}

.page-download-center__section--dark-bg {
  background-color: #0A246A;
  color: #fff;
}

.page-download-center__section--dark-bg .page-download-center__section-title,
.page-download-center__section--dark-bg .page-download-center__section-description {
  color: #fff;
}

.page-download-center__section-title {
  font-size: 2.5em;
  color: #0A246A;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-download-center__section-description {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-download-center__hero-section {
  background: linear-gradient(135deg, #0A246A 0%, #3a5c9f 100%); /* Darker blue to lighter blue for depth */
  padding: 80px 0 40px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-download-center__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis */
  font-weight: bold;
  line-height: 1.2;
}

.page-download-center__hero-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #e0e0e0;
}

.page-download-center__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.page-download-center__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-download-center__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #0A246A;
}

.page-download-center__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-download-center__btn--secondary {
  background-color: #fff;
  color: #0A246A;
  border: 2px solid #0A246A;
}

.page-download-center__btn--secondary:hover {
  background-color: #f0f0f0;
  border-color: #0A246A;
  transform: translateY(-2px);
}

.page-download-center__btn-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.page-download-center__hero-image-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding-top: 20px;
}

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

/* Why Download Section */
.page-download-center__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-download-center__feature-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-download-center__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-download-center__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.page-download-center__feature-title {
  font-size: 1.5em;
  color: #0A246A;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-download-center__feature-text {
  color: #666;
  font-size: 1em;
}

/* Download Guides Section (Detail Pages) */
.page-download-center__detail-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-download-center__detail-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-download-center__detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-download-center__detail-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.page-download-center__detail-card-title {
  font-size: 1.6em;
  color: #0A246A;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-download-center__detail-card-title a {
  color: #0A246A;
  text-decoration: none;
}

.page-download-center__detail-card-title a:hover {
  text-decoration: underline;
  color: #FFD700;
}

.page-download-center__detail-card-description {
  color: #666;
  font-size: 1em;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-download-center__btn--small {
  padding: 10px 20px;
  font-size: 0.95em;
  background-color: #0A246A;
  color: #fff;
}

.page-download-center__btn--small:hover {
  background-color: #FFD700;
  color: #0A246A;
}

/* How to Install Section */
.page-download-center__installation-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-download-center__step-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  position: relative;
  padding-left: 80px;
}

.page-download-center__step-number {
  position: absolute;
  left: 20px;
  top: 30px;
  width: 40px;
  height: 40px;
  background-color: #FFD700;
  color: #0A246A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-download-center__step-title {
  font-size: 1.4em;
  color: #0A246A;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-download-center__step-text {
  color: #666;
  font-size: 1em;
}

.page-download-center__installation-image-wrapper {
    max-width: 800px;
    margin: 50px auto 0;
}

.page-download-center__installation-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Exclusive Offers Section */
.page-download-center__section--exclusive-offers .page-download-center__section-description {
  color: #e0e0e0;
}

.page-download-center__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
  margin-top: 30px;
}

.page-download-center__promotion-image-wrapper {
    max-width: 900px;
    margin: 50px auto 0;
}

.page-download-center__promotion-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsible Gaming Section */
.page-download-center__responsible-gaming-image {
    max-width: 200px;
    height: auto;
    margin-top: 30px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

/* FAQ Section */
.page-download-center__faq-items {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-download-center__faq-item {
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-download-center__faq-question {
  font-size: 1.2em;
  color: #0A246A;
  padding: 20px 25px;
  cursor: pointer;
  position: relative;
  margin: 0;
  background-color: #f0f4f8;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

.page-download-center__faq-question:hover {
  background-color: #e6eef5;
}

.page-download-center__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-download-center__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-download-center__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-download-center__faq-answer.active {
  max-height: 200px; /* Adjust based on content */
  padding: 20px 25px;
}

.page-download-center__faq-answer p {
  color: #444;
  font-size: 1em;
  margin: 0;
}

/* Floating Promotion */
.page-download-center__floating-promotion {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    background-color: #0A246A;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    padding: 15px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 1;
    transform: translateX(0);
}

.page-download-center__floating-promotion.hidden {
    opacity: 0;
    transform: translateX(100%);
}

.page-download-center__floating-content p {
    margin: 0 0 10px 0;
    font-size: 1em;
    color: #e0e0e0;
}

.page-download-center__btn--floating-cta {
    background-color: #FFD700;
    color: #0A246A;
    padding: 10px 20px;
    font-size: 0.95em;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-download-center__btn--floating-cta:hover {
    background-color: #e6c200;
}

.page-download-center__floating-close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

.page-download-center__floating-close-btn:hover {
    color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-download-center__hero-title {
    font-size: 2.5em;
  }
  .page-download-center__section-title {
    font-size: 2em;
  }
  .page-download-center__features-grid,
  .page-download-center__detail-cards-grid,
  .page-download-center__installation-steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-download-center__hero-title {
    font-size: 2em;
  }
  .page-download-center__hero-description {
    font-size: 1em;
  }
  .page-download-center__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-download-center__btn {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-download-center__section {
    padding: 40px 0;
  }
  .page-download-center__section-title {
    font-size: 1.8em;
  }
  .page-download-center__faq-question,
  .page-download-center__faq-answer p {
    font-size: 1em;
  }
  .page-download-center__faq-question::after {
    font-size: 1.2em;
    right: 15px;
  }
  .page-download-center__floating-promotion {
      width: 90%;
      left: 5%;
      right: 5%;
      bottom: 15px;
  }
}

@media (max-width: 480px) {
  .page-download-center__hero-title {
    font-size: 1.8em;
  }
  .page-download-center__hero-description {
    font-size: 0.9em;
  }
  .page-download-center__btn {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-download-center__section-title {
    font-size: 1.5em;
  }
  .page-download-center__feature-title,
  .page-download-center__detail-card-title {
    font-size: 1.2em;
  }
  .page-download-center__step-title {
    font-size: 1.1em;
  }
  .page-download-center__floating-promotion {
      padding: 10px;
  }
  .page-download-center__floating-content p {
      font-size: 0.9em;
  }
  .page-download-center__btn--floating-cta {
      padding: 8px 15px;
      font-size: 0.85em;
  }
  .page-download-center__floating-close-btn {
      font-size: 1.2em;
  }
}