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

:root {
  --page-app-download-ios-app-primary-color: #003366;
  --page-app-download-ios-app-secondary-color: #FFD700;
  --page-app-download-ios-app-accent-color: #DC143C;
  --page-app-download-ios-app-text-color-light: #f8f8f8;
  --page-app-download-ios-app-text-color-dark: #333333;
  --page-app-download-ios-app-background-light: #ffffff;
  --page-app-download-ios-app-background-dark: #002244;
  --page-app-download-ios-app-border-color: #e0e0e0;
}

.page-app-download-ios-app {
  font-family: 'Arial', sans-serif;
  color: var(--page-app-download-ios-app-text-color-dark);
  line-height: 1.6;
}

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

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

.page-app-download-ios-app__section:nth-of-type(odd) {
  background-color: var(--page-app-download-ios-app-background-light);
}

.page-app-download-ios-app__section:nth-of-type(even) {
  background-color: var(--page-app-download-ios-app-background-dark);
  color: var(--page-app-download-ios-app-text-color-light);
}

.page-app-download-ios-app__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: var(--page-app-download-ios-app-primary-color);
  font-weight: bold;
}

.page-app-download-ios-app__section:nth-of-type(even) .page-app-download-ios-app__section-title {
  color: var(--page-app-download-ios-app-secondary-color);
}

.page-app-download-ios-app__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-app-download-ios-app__hero-section {
  background: linear-gradient(135deg, var(--page-app-download-ios-app-primary-color) 0%, var(--page-app-download-ios-app-background-dark) 100%);
  color: var(--page-app-download-ios-app-text-color-light);
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-app-download-ios-app__hero-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: page-app-download-ios-app-float 10s ease-in-out infinite;
}

.page-app-download-ios-app__hero-section::after {
  content: '';
  position: absolute;
  bottom: -70px;
  right: -70px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: page-app-download-ios-app-float 12s reverse ease-in-out infinite;
}

@keyframes page-app-download-ios-app-float {
  0% { transform: translate(0, 0); }
  50% { transform: translate(15px, 15px); }
  100% { transform: translate(0, 0); }
}

.page-app-download-ios-app__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-app-download-ios-app__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--page-app-download-ios-app-secondary-color);
  line-height: 1.2;
}

.page-app-download-ios-app__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-app-download-ios-app__cta-button i {
  margin-right: 10px;
}

.page-app-download-ios-app__cta-button--primary {
  background-color: var(--page-app-download-ios-app-secondary-color);
  color: var(--page-app-download-ios-app-primary-color);
  border: 2px solid var(--page-app-download-ios-app-secondary-color);
}

.page-app-download-ios-app__cta-button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-app-download-ios-app__cta-button--secondary {
  background-color: transparent;
  color: var(--page-app-download-ios-app-text-color-light);
  border: 2px solid var(--page-app-download-ios-app-text-color-light);
}

.page-app-download-ios-app__cta-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-app-download-ios-app__cta-button--accent {
  background-color: var(--page-app-download-ios-app-accent-color);
  color: var(--page-app-download-ios-app-text-color-light);
  border: 2px solid var(--page-app-download-ios-app-accent-color);
}

.page-app-download-ios-app__cta-button--accent:hover {
  background-color: #b31131;
  border-color: #b31131;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-app-download-ios-app__hero-image-wrapper {
  margin-top: 50px;
  max-width: 300px;
  perspective: 1000px;
}

.page-app-download-ios-app__hero-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: rotateY(15deg) rotateX(5deg);
  transition: transform 0.5s ease-out;
}

.page-app-download-ios-app__hero-image:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

/* Intro Section */
.page-app-download-ios-app__section--intro .page-app-download-ios-app__section-title {
  color: var(--page-app-download-ios-app-primary-color);
}

.page-app-download-ios-app__feature-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 700px;
  text-align: left;
}

.page-app-download-ios-app__feature-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: var(--page-app-download-ios-app-text-color-dark);
  display: flex;
  align-items: center;
}

.page-app-download-ios-app__feature-list li i {
  color: var(--page-app-download-ios-app-accent-color);
  margin-right: 10px;
  font-size: 1.2em;
}

/* Guide Section */
.page-app-download-ios-app__section--guide {
  background-color: var(--page-app-download-ios-app-background-dark);
  color: var(--page-app-download-ios-app-text-color-light);
}

.page-app-download-ios-app__section--guide .page-app-download-ios-app__section-title {
  color: var(--page-app-download-ios-app-secondary-color);
}

.page-app-download-ios-app__section--guide .page-app-download-ios-app__text-content {
  color: var(--page-app-download-ios-app-text-color-light);
}

.page-app-download-ios-app__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-app-download-ios-app__step {
  background-color: var(--page-app-download-ios-app-primary-color);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-app-download-ios-app__step-icon-wrapper {
  background-color: var(--page-app-download-ios-app-secondary-color);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.page-app-download-ios-app__step-icon {
  font-size: 2.5em;
  color: var(--page-app-download-ios-app-primary-color);
}

.page-app-download-ios-app__step-title {
  font-size: 1.5em;
  color: var(--page-app-download-ios-app-secondary-color);
  margin-bottom: 15px;
}

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

.page-app-download-ios-app__step-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 10px;
  margin-top: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.page-app-download-ios-app__note {
  background-color: var(--page-app-download-ios-app-accent-color);
  color: var(--page-app-download-ios-app-text-color-light);
  padding: 20px;
  border-radius: 10px;
  margin-top: 40px;
  font-weight: bold;
}

/* FAQ Section */
.page-app-download-ios-app__section--faq .page-app-download-ios-app__section-title {
  color: var(--page-app-download-ios-app-primary-color);
}

.page-app-download-ios-app__faq-item {
  background-color: var(--page-app-download-ios-app-background-light);
  border: 1px solid var(--page-app-download-ios-app-border-color);
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-app-download-ios-app__faq-question {
  font-size: 1.3em;
  color: var(--page-app-download-ios-app-primary-color);
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

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

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

.page-app-download-ios-app__faq-answer {
  font-size: 1.05em;
  color: var(--page-app-download-ios-app-text-color-dark);
  display: none;
  padding-top: 10px;
  border-top: 1px dashed var(--page-app-download-ios-app-border-color);
  margin-top: 10px;
}

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

/* CTA Bottom Section */
.page-app-download-ios-app__section--cta-bottom {
  background: linear-gradient(45deg, var(--page-app-download-ios-app-accent-color) 0%, var(--page-app-download-ios-app-primary-color) 100%);
  color: var(--page-app-download-ios-app-text-color-light);
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-app-download-ios-app__cta-bottom-content {
  z-index: 1;
}

.page-app-download-ios-app__section--cta-bottom .page-app-download-ios-app__section-title {
  color: var(--page-app-download-ios-app-secondary-color);
  margin-bottom: 25px;
}

.page-app-download-ios-app__section--cta-bottom .page-app-download-ios-app__text-content {
  color: var(--page-app-download-ios-app-text-color-light);
  margin-bottom: 30px;
}

.page-app-download-ios-app__cta-bottom-image {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: auto;
  opacity: 0.15;
  transform: rotate(-20deg);
  z-index: 0;
}

/* Responsible Gaming Section */
.page-app-download-ios-app__section--responsible-gaming {
  background-color: var(--page-app-download-ios-app-background-light);
  color: var(--page-app-download-ios-app-text-color-dark);
}

.page-app-download-ios-app__section--responsible-gaming .page-app-download-ios-app__section-title {
  color: var(--page-app-download-ios-app-primary-color);
}

.page-app-download-ios-app__section--responsible-gaming .page-app-download-ios-app__text-content {
  color: var(--page-app-download-ios-app-text-color-dark);
}

/* Responsive Design */
@media (min-width: 768px) {
  .page-app-download-ios-app__hero-section {
    flex-direction: row;
    text-align: left;
    padding: 120px 20px;
    gap: 40px;
  }

  .page-app-download-ios-app__hero-content {
    text-align: left;
  }

  .page-app-download-ios-app__hero-title {
    font-size: 4em;
  }

  .page-app-download-ios-app__hero-description {
    font-size: 1.4em;
  }

  .page-app-download-ios-app__hero-image-wrapper {
    margin-top: 0;
    max-width: 400px;
  }

  .page-app-download-ios-app__section-title {
    font-size: 3em;
  }

  .page-app-download-ios-app__step-by-step {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-app-download-ios-app__cta-button--primary,
  .page-app-download-ios-app__cta-button--secondary,
  .page-app-download-ios-app__cta-button--accent {
    padding: 18px 35px;
    font-size: 1.2em;
  }

  .page-app-download-ios-app__cta-bottom-image {
    width: 400px;
    right: -100px;
    bottom: -100px;
  }
}

@media (min-width: 1024px) {
  .page-app-download-ios-app__hero-title {
    font-size: 4.5em;
  }

  .page-app-download-ios-app__hero-image-wrapper {
    max-width: 450px;
  }

  .page-app-download-ios-app__step-by-step {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .page-app-download-ios-app__hero-title {
    font-size: 2.5em;
  }
  .page-app-download-ios-app__hero-description {
    font-size: 1em;
  }
  .page-app-download-ios-app__section-title {
    font-size: 2em;
  }
  .page-app-download-ios-app__cta-button {
    width: 100%;
    margin: 10px 0;
  }
  .page-app-download-ios-app__hero-image-wrapper {
    order: -1; /* Image above text on mobile */
  }
  .page-app-download-ios-app__cta-bottom-image {
    display: none;
  }
}