/* style/index-app-download.css */
.page-index-app-download {
  font-family: 'Arial', sans-serif;
  color: #cccccc; /* Light gray for body text */
  background-color: #1a1a1a; /* Deep dark background */
  line-height: 1.6;
}

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

.page-index-app-download .highlight {
  color: #FFD700; /* Gold for highlights */
}

.page-index-app-download .page-index-app-download-title,
.page-index-app-download .page-index-app-download-section-title {
  color: #FFD700; /* Gold for main titles */
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.8em;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-app-download .page-index-app-download-subtitle,
.page-index-app-download .page-index-app-download-section-description {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #e0e0e0;
}

/* Hero Section */
.page-index-app-download-hero {
  background: linear-gradient(135deg, #CC0000 0%, #330000 100%); /* Red to dark red gradient */
  padding: 80px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-app-download-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract_pattern,gaming,subtle_texture]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-index-app-download-hero .page-index-app-download-container {
  position: relative;
  z-index: 1;
}

.page-index-app-download-hero .page-index-app-download-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index-app-download-hero .page-index-app-download-subtitle {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 30px;
}

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

.page-index-app-download-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-app-download-button.primary {
  background-color: #FFD700; /* Gold button */
  color: #1a1a1a; /* Dark text on gold */
  border: 2px solid #FFD700;
}

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

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

.page-index-app-download-button.secondary:hover {
  background-color: #FFD700;
  color: #1a1a1a; /* Dark text on gold */
  transform: translateY(-2px);
}

.page-index-app-download-app-mockups {
  margin-top: 40px;
}

.page-index-app-download-app-image {
  max-width: 80%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: floatEffect 3s ease-in-out infinite;
}

@keyframes floatEffect {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* General Section Styling */
.page-index-app-download-why-download,
.page-index-app-download-download-guide,
.page-index-app-download-game-diversity,
.page-index-app-download-exclusive-offers,
.page-index-app-download-security-responsibility,
.page-index-app-download-faq,
.page-index-app-download-final-cta {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.page-index-app-download-why-download {
  background-color: #222222;
}

.page-index-app-download-why-download h2,
.page-index-app-download-download-guide h2,
.page-index-app-download-game-diversity h2,
.page-index-app-download-exclusive-offers h2,
.page-index-app-download-security-responsibility h2,
.page-index-app-download-faq h2,
.page-index-app-download-final-cta h2 {
  color: #FFD700;
}

.page-index-app-download-text-link {
  color: #CC0000; /* Red for internal text links */
  text-decoration: underline;
}

.page-index-app-download-text-link:hover {
  color: #FFD700;
}

/* Features Grid */
.page-index-app-download-features-grid,
.page-index-app-download-offers-grid,
.page-index-app-download-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-index-app-download-feature-item,
.page-index-app-download-offer-item,
.page-index-app-download-info-item {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-index-app-download-feature-item:hover,
.page-index-app-download-offer-item:hover,
.page-index-app-download-info-item:hover {
  transform: translateY(-5px);
}

.page-index-app-download-feature-item h3,
.page-index-app-download-offer-item h3,
.page-index-app-download-info-item h3 {
  color: #CC0000;
  font-size: 1.5em;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-index-app-download-feature-icon,
.page-index-app-download-info-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 15px;
}

.page-index-app-download-offer-image {
  max-width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Download Guide */
.page-index-app-download-guide-steps {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.page-index-app-download-step-item {
  background-color: #222222;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  position: relative;
  text-align: center;
}

.page-index-app-download-step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #CC0000;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 4px solid #1a1a1a;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-index-app-download-step-item h3 {
  color: #FFD700;
  font-size: 1.8em;
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-index-app-download-step-item p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-index-app-download-step-image {
  max-width: 90%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  margin-top: 20px;
}

.page-index-app-download-qr-codes {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-index-app-download-qr-item {
  text-align: center;
  background-color: #1a1a1a;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-index-app-download-qr-image {
  width: 150px;
  height: 150px;
  border: 2px solid #CC0000;
  border-radius: 5px;
  margin-bottom: 10px;
}

/* Game Categories */
.page-index-app-download-game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-index-app-download-game-item {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-index-app-download-game-item:hover {
  transform: translateY(-5px);
}

.page-index-app-download-game-item h3 {
  color: #FFD700;
  font-size: 1.6em;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-index-app-download-game-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
}

/* FAQ Section (Accordion) */
.page-index-app-download-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.page-index-app-download-accordion-item {
  background-color: #2a2a2a;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-index-app-download-accordion-header {
  background-color: #CC0000;
  color: #ffffff;
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-index-app-download-accordion-header:hover {
  background-color: #a00000;
}

.page-index-app-download-accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-index-app-download-accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-index-app-download-accordion-content {
  padding: 0 25px;
  background-color: #333333;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-index-app-download-accordion-content p {
  padding: 15px 0;
  color: #cccccc;
  margin: 0;
}

.page-index-app-download-accordion-item.active .page-index-app-download-accordion-content {
  max-height: 200px; /* Adjust based on content */
  padding: 15px 25px;
}

/* Final CTA */
.page-index-app-download-final-cta {
  background-color: #222222;
  text-align: center;
  padding-bottom: 80px;
}

.page-index-app-download-final-cta .page-index-app-download-cta-buttons {
  margin-top: 40px;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-app-download-hero .page-index-app-download-title {
    font-size: 2.8em;
  }
  .page-index-app-download-hero .page-index-app-download-subtitle {
    font-size: 1.2em;
  }
  .page-index-app-download-app-image {
    max-width: 90%;
  }
  .page-index-app-download-section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-index-app-download-hero {
    padding: 60px 15px 30px;
  }
  .page-index-app-download-hero .page-index-app-download-title {
    font-size: 2.2em;
  }
  .page-index-app-download-hero .page-index-app-download-subtitle {
    font-size: 1em;
  }
  .page-index-app-download-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-app-download-button {
    width: 80%;
    margin: 0 auto;
  }
  .page-index-app-download-app-image {
    max-width: 100%;
  }
  .page-index-app-download-features-grid,
  .page-index-app-download-offers-grid,
  .page-index-app-download-info-grid,
  .page-index-app-download-game-categories {
    grid-template-columns: 1fr;
  }
  .page-index-app-download-step-item {
    padding: 30px;
  }
  .page-index-app-download-step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }
  .page-index-app-download-step-item h3 {
    font-size: 1.5em;
  }
  .page-index-app-download-section-title {
    font-size: 1.8em;
  }
  .page-index-app-download-accordion-header {
    font-size: 1em;
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-index-app-download-hero .page-index-app-download-title {
    font-size: 1.8em;
  }
  .page-index-app-download-button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-index-app-download-section-title {
    font-size: 1.5em;
  }
  .page-index-app-download-qr-codes {
    flex-direction: column;
    align-items: center;
  }
  .page-index-app-download-qr-image {
    width: 120px;
    height: 120px;
  }
}