/* style/download-app.css */
.page-download-app {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light grey for general text */
  background-color: #0A1931; /* Midnight Blue */
  line-height: 1.6;
}

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

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

.page-download-app__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
}

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

/* Hero Section */
.page-download-app__hero {
  background: linear-gradient(135deg, #0A1931 0%, #1a2a47 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-download-app__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,geometric,pattern,dark_blue]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-download-app__hero .page-download-app__container {
  position: relative;
  z-index: 1;
}

.page-download-app__hero-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.page-download-app__hero-description {
  font-size: 1.4em;
  color: #F0F0F0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-download-app__download-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-download-app__btn {
  display: inline-flex;
  align-items: center;
  padding: 18px 35px;
  border-radius: 10px;
  font-size: 1.3em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-download-app__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #0A1931; /* Midnight Blue */
  border: 2px solid #FFD700;
}

.page-download-app__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-download-app__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-download-app__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A1931; /* Midnight Blue */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-download-app__btn-icon {
  width: 30px;
  height: 30px;
  margin-right: 15px;
  filter: brightness(0) saturate(100%) invert(10%) sepia(20%) saturate(1000%) hue-rotate(200deg) brightness(90%) contrast(90%); /* Adjust icon color for contrast */
}

.page-download-app__btn--primary .page-download-app__btn-icon {
  filter: none; /* Keep original icon color for primary button */
}

.page-download-app__qr-code-section {
  margin-top: 30px;
}

.page-download-app__qr-code-section p {
  font-size: 1.1em;
  color: #C0C0C0;
  margin-bottom: 20px;
}

.page-download-app__qr-code {
  width: 180px;
  height: 180px;
  border: 5px solid #FFD700;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  animation: pulse-qr 2s infinite alternate;
}

@keyframes pulse-qr {
  from { transform: scale(1); box-shadow: 0 0 15px rgba(255, 215, 0, 0.4); }
  to { transform: scale(1.05); box-shadow: 0 0 30px rgba(255, 215, 0, 0.7); }
}

/* Advantages Section */
.page-download-app__advantages {
  background-color: #1a2a47;
}

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

.page-download-app__advantage-item {
  background-color: #0A1931;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-download-app__advantage-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border-color: #FFD700;
}

.page-download-app__advantage-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: brightness(0) saturate(100%) invert(80%) sepia(80%) saturate(1000%) hue-rotate(0deg) brightness(120%) contrast(100%); /* Gold tint */
}

.page-download-app__advantage-item h3 {
  font-size: 1.6em;
  color: #FFD700; /* Gold */
  margin-bottom: 15px;
}

.page-download-app__advantage-item p {
  font-size: 1em;
  color: #C0C0C0;
}

/* Download Guide Section */
.page-download-app__download-guide {
  background-color: #0A1931;
}

.page-download-app__guide-steps {
  background-color: #1a2a47;
  padding: 40px;
  border-radius: 15px;
  margin-bottom: 40px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-download-app__guide-subtitle {
  font-size: 2.2em;
  color: #FFD700; /* Gold */
  margin-bottom: 25px;
  text-align: center;
}

.page-download-app__guide-steps ol {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-download-app__guide-steps li {
  counter-increment: step-counter;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #E0E0E0;
  position: relative;
  padding-left: 40px;
}

.page-download-app__guide-steps li strong {
  color: #FFD700;
}

.page-download-app__guide-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #FFD700; /* Gold */
  color: #0A1931; /* Midnight Blue */
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1em;
}

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

.page-download-app__link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-download-app__link:hover {
  text-decoration: underline;
}

/* Features Overview */
.page-download-app__features-overview {
  background-color: #1a2a47;
}

.page-download-app__feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}

.page-download-app__feature-list li {
  background-color: #0A1931;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  border-left: 5px solid #FFD700;
  transition: transform 0.2s ease;
}

.page-download-app__feature-list li:hover {
  transform: translateX(5px);
}

.page-download-app__feature-list li strong {
  color: #FFD700;
  font-size: 1.2em;
  display: block;
  margin-bottom: 10px;
}

.page-download-app__features-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  margin-top: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* FAQ Section */
.page-download-app__faq {
  background-color: #0A1931;
}

.page-download-app__faq-item {
  background-color: #1a2a47;
  margin-bottom: 20px;
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-download-app__faq-question {
  font-size: 1.4em;
  color: #FFD700; /* Gold */
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-download-app__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

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

.page-download-app__faq-answer {
  font-size: 1.1em;
  color: #C0C0C0;
  padding-top: 10px;
  display: none;
}

.page-download-app__faq-answer.active {
  display: block;
}

/* Related Articles Section */
.page-download-app__related-articles {
  background-color: #1a2a47;
}

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

.page-download-app__article-card {
  background-color: #0A1931;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-download-app__article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-download-app__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-download-app__article-card h3 {
  font-size: 1.5em;
  color: #FFD700; /* Gold */
  padding: 20px 20px 10px;
}

.page-download-app__article-card p {
  font-size: 1em;
  color: #C0C0C0;
  padding: 0 20px 20px;
}

.page-download-app__btn--small {
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.9em;
  margin: 0 20px 20px;
  background-color: #FFD700;
  color: #0A1931;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-download-app__btn--small:hover {
  background-color: #e6c200;
}

/* CTA Section */
.page-download-app__cta {
  background: linear-gradient(90deg, #0A1931 0%, #1a2a47 100%);
  padding: 80px 0;
}

.page-download-app__cta-description {
  font-size: 1.3em;
  color: #F0F0F0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-download-app__btn--large {
  padding: 20px 45px;
  font-size: 1.5em;
  border-radius: 12px;
}

.page-download-app__responsible-gambling {
  font-size: 0.9em;
  color: #888;
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-download-app__hero-title {
    font-size: 2.8em;
  }
  .page-download-app__hero-description {
    font-size: 1.2em;
  }
  .page-download-app__section-title {
    font-size: 2.2em;
  }
  .page-download-app__advantage-item h3 {
    font-size: 1.4em;
  }
  .page-download-app__guide-subtitle {
    font-size: 1.8em;
  }
  .page-download-app__feature-list li strong {
    font-size: 1.1em;
  }
  .page-download-app__article-card h3 {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-download-app__hero {
    padding: 80px 0;
  }
  .page-download-app__hero-title {
    font-size: 2.2em;
  }
  .page-download-app__hero-description {
    font-size: 1em;
  }
  .page-download-app__download-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-download-app__btn {
    width: 80%;
    margin: 0 auto;
    font-size: 1.1em;
    padding: 15px 25px;
  }
  .page-download-app__section {
    padding: 40px 0;
  }
  .page-download-app__section-title {
    font-size: 1.8em;
  }
  .page-download-app__section-intro {
    font-size: 0.9em;
  }
  .page-download-app__advantage-item, .page-download-app__guide-steps, .page-download-app__faq-item, .page-download-app__article-card {
    padding: 20px;
  }
  .page-download-app__guide-steps li {
    font-size: 1em;
  }
  .page-download-app__faq-question {
    font-size: 1.2em;
  }
  .page-download-app__faq-answer {
    font-size: 1em;
  }
  .page-download-app__btn--large {
    font-size: 1.3em;
    padding: 18px 35px;
  }
}

@media (max-width: 480px) {
  .page-download-app__hero-title {
    font-size: 1.8em;
  }
  .page-download-app__qr-code {
    width: 150px;
    height: 150px;
  }
  .page-download-app__btn {
    width: 95%;
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-download-app__section-title {
    font-size: 1.5em;
  }
  .page-download-app__guide-subtitle {
    font-size: 1.5em;
  }
  .page-download-app__article-card h3 {
    font-size: 1.2em;
  }
  .page-download-app__btn--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}