/* style/app-download-ios.css */

/* Variables for consistency */
:root {
  --k8vn-primary-color: #FFD700; /* Gold */
  --k8vn-secondary-color: #8B0000; /* Burgundy Red */
  --k8vn-dark-background: #1a1a1a; /* Dark background for contrast */
  --k8vn-light-text: #f0f0f0; /* Light text on dark background */
  --k8vn-dark-text: #333333; /* Dark text on light background */
  --k8vn-hover-primary: #e6c200;
  --k8vn-hover-secondary: #6b0000;
}

/* Base styles for the page content */
.page-app-download-ios {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--k8vn-light-text); /* Default text color for dark backgrounds */
  background-color: var(--k8vn-dark-background);
  line-height: 1.6;
}

.page-app-download-ios .highlight {
  color: var(--k8vn-primary-color);
  font-weight: bold;
}

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

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

.page-app-download-ios__section:nth-of-type(even) {
  background-color: #222222;
}

.page-app-download-ios__title {
  font-size: 3.2em;
  color: var(--k8vn-primary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-app-download-ios__subtitle {
  font-size: 1.3em;
  color: var(--k8vn-light-text);
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-app-download-ios__section-title {
  font-size: 2.5em;
  color: var(--k8vn-primary-color);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-app-download-ios__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 4px;
  background-color: var(--k8vn-secondary-color);
  border-radius: 2px;
}

/* Buttons */
.page-app-download-ios__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;
  cursor: pointer;
  border: none;
}

.page-app-download-ios__button--primary {
  background-color: var(--k8vn-primary-color);
  color: var(--k8vn-dark-text); /* Ensure contrast */
}

.page-app-download-ios__button--primary:hover {
  background-color: var(--k8vn-hover-primary);
  transform: translateY(-3px);
}

.page-app-download-ios__button--secondary {
  background-color: var(--k8vn-secondary-color);
  color: var(--k8vn-light-text);
  border: 2px solid var(--k8vn-secondary-color);
}

.page-app-download-ios__button--secondary:hover {
  background-color: var(--k8vn-hover-secondary);
  border-color: var(--k8vn-hover-secondary);
  transform: translateY(-3px);
}

/* Hero Section */
.page-app-download-ios__hero {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.8), rgba(139, 0, 0, 0.8)), url('[GALLERY:bg:k8vn_abstract_pattern,gaming_background,dark_gold]') center/cover no-repeat;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.page-app-download-ios__hero-image {
  max-width: 400px;
  margin-top: 50px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: floatImage 3s ease-in-out infinite;
}

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

/* Features Grid */
.page-app-download-ios__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-app-download-ios__feature-item:hover {
  transform: translateY(-10px);
}

.page-app-download-ios__feature-title {
  color: var(--k8vn-primary-color);
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-app-download-ios__feature-item p {
  color: var(--k8vn-light-text);
}

/* Preparation List */
.page-app-download-ios__list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-app-download-ios__list li {
  background-color: #2a2a2a;
  margin-bottom: 20px;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-app-download-ios__list-title {
  color: var(--k8vn-primary-color);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-app-download-ios__list li p {
  color: var(--k8vn-light-text);
}

/* Download Guide Steps */
.page-app-download-ios__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-app-download-ios__step-item {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-app-download-ios__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--k8vn-secondary-color);
  background-color: var(--k8vn-primary-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.3);
}

.page-app-download-ios__step-title {
  color: var(--k8vn-primary-color);
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-app-download-ios__step-item p {
  color: var(--k8vn-light-text);
  margin-bottom: 20px;
}

.page-app-download-ios__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Troubleshooting / FAQ */
.page-app-download-ios__faq-item {
  background-color: #2a2a2a;
  padding: 25px 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-app-download-ios__faq-question {
  color: var(--k8vn-primary-color);
  font-size: 1.4em;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
}

.page-app-download-ios__faq-answer {
  color: var(--k8vn-light-text);
  font-size: 1.05em;
}

/* Features List (Cards) */
.page-app-download-ios__features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-app-download-ios__feature-card {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-app-download-ios__feature-card:hover {
  transform: translateY(-10px);
}

.page-app-download-ios__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px var(--k8vn-primary-color));
}

.page-app-download-ios__feature-card-title {
  color: var(--k8vn-primary-color);
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-app-download-ios__feature-card p {
  color: var(--k8vn-light-text);
}

/* CTA Section */
.page-app-download-ios__cta {
  background-color: var(--k8vn-secondary-color);
  color: var(--k8vn-light-text);
  padding: 80px 0;
}

.page-app-download-ios__cta .page-app-download-ios__section-title {
  color: var(--k8vn-primary-color);
}

.page-app-download-ios__cta .page-app-download-ios__section-title::after {
  background-color: var(--k8vn-primary-color);
}

.page-app-download-ios__description {
  font-size: 1.15em;
  max-width: 900px;
  margin: 0 auto 40px;
  color: var(--k8vn-light-text);
}

.page-app-download-ios__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsible Gambling & Contact Sections */
.page-app-download-ios__responsible-gambling, .page-app-download-ios__contact {
  padding: 60px 0;
}

.page-app-download-ios__responsible-gambling .page-app-download-ios__section-title,
.page-app-download-ios__contact .page-app-download-ios__section-title {
  color: var(--k8vn-primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-app-download-ios__title {
    font-size: 2.5em;
  }

  .page-app-download-ios__subtitle {
    font-size: 1.1em;
  }

  .page-app-download-ios__section-title {
    font-size: 2em;
  }

  .page-app-download-ios__hero-image {
    max-width: 300px;
  }

  .page-app-download-ios__features-grid,
  .page-app-download-ios__steps-grid,
  .page-app-download-ios__features-list {
    grid-template-columns: 1fr;
  }

  .page-app-download-ios__button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-app-download-ios__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .page-app-download-ios__title {
    font-size: 2em;
  }

  .page-app-download-ios__subtitle {
    font-size: 1em;
  }

  .page-app-download-ios__section-title {
    font-size: 1.8em;
  }

  .page-app-download-ios__hero {
    padding: 60px 0;
  }

  .page-app-download-ios__hero-image {
    max-width: 250px;
  }

  .page-app-download-ios__button {
    width: 80%;
  }
}