/* style/index.css */

/* General Page Styling */
.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #F8F8F8;
}

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

.page-index__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  color: #0A2463;
}

.page-index__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #333333;
}

.page-index__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  text-align: center;
  cursor: pointer;
}

.page-index__btn--primary {
  background-color: #E0B94A;
  color: #0A2463;
  border: 2px solid #E0B94A;
}

.page-index__btn--primary:hover {
  background-color: #C8A33F;
  color: #0A2463;
  transform: translateY(-2px);
}

.page-index__btn--secondary {
  background-color: transparent;
  color: #E0B94A;
  border: 2px solid #E0B94A;
  margin-left: 15px;
}

.page-index__btn--secondary:hover {
  background-color: #E0B94A;
  color: #0A2463;
  transform: translateY(-2px);
}

.page-index__btn--dark {
  background-color: #0A2463;
  color: #E0B94A;
  border: 2px solid #0A2463;
}

.page-index__btn--dark:hover {
  background-color: #071A47;
  color: #E0B94A;
  transform: translateY(-2px);
}

.page-index__btn--text {
  color: #E0B94A;
  background-color: transparent;
  border: none;
  padding: 0;
  margin-top: 10px;
  font-size: 1em;
  text-decoration: underline;
}

.page-index__btn--text:hover {
  color: #C8A33F;
  text-decoration: none;
  transform: none;
}

.page-index__image--center {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.page-index__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0A2463 0%, #0A2463 50%, #E0B94A 100%); /* Adjusted gradient */
  opacity: 0.8;
  z-index: 0;
}

.page-index__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-index__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #E0B94A; /* Contrast with dark blue background */
}

.page-index__hero-title span {
  color: #FFFFFF;
}

.page-index__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #FFFFFF; /* Contrast with dark blue background */
}

.page-index__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-index__hero-image-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 800px;
}

.page-index__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* About Section */
.page-index__about-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

/* Features Section */
.page-index__features-section {
  padding: 80px 0;
  background-color: #0A2463;
  text-align: center;
}

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

.page-index__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index__feature-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-index__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #E0B94A);
}

.page-index__feature-title {
  font-size: 1.5em;
  color: #E0B94A;
  margin-bottom: 15px;
}

.page-index__feature-description {
  font-size: 1em;
  color: #FFFFFF;
}

/* Internal Links Section */
.page-index__internal-links-section {
  padding: 80px 0;
  background-color: #F8F8F8;
}

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

.page-index__link-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-index__card-title {
  font-size: 1.6em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-index__card-description {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Responsible Gaming Section */
.page-index__responsible-gaming-section {
  padding: 80px 0;
  background-color: #0A2463;
  color: #FFFFFF;
}

.page-index__responsible-gaming-section .page-index__section-title {
  color: #E0B94A;
}

.page-index__responsible-gaming-section .page-index__section-text {
  color: #FFFFFF;
}

/* FAQ Section */
.page-index__faq-section {
  padding: 80px 0;
  background-color: #F8F8F8;
}

.page-index__faq-item {
  background-color: #FFFFFF;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index__faq-question {
  font-size: 1.3em;
  color: #0A2463;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-index__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  font-weight: bold;
  color: #E0B94A;
  transition: transform 0.3s ease;
}

.page-index__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-index__faq-answer {
  font-size: 1em;
  color: #333333;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
  opacity: 0;
}

.page-index__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  opacity: 1;
  margin-top: 15px;
}

/* Call to Action Section */
.page-index__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #E0B94A;
}

.page-index__cta-section .page-index__section-title {
  color: #0A2463;
}

.page-index__cta-section .page-index__section-text {
  color: #0A2463;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero-section {
    flex-direction: column;
    padding: 60px 20px;
  }

  .page-index__hero-title {
    font-size: 2.8em;
  }

  .page-index__hero-description {
    font-size: 1.2em;
  }

  .page-index__hero-image-wrapper {
    margin-top: 40px;
  }

  .page-index__section-title {
    font-size: 2em;
  }

  .page-index__features-grid,
  .page-index__link-cards-grid {
    grid-template-columns: 1fr;
  }

  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-index__btn--secondary {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.2em;
  }

  .page-index__hero-description {
    font-size: 1.1em;
  }

  .page-index__section-title {
    font-size: 1.8em;
  }

  .page-index__section-text {
    font-size: 1em;
  }

  .page-index__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-index__feature-title,
  .page-index__card-title {
    font-size: 1.3em;
  }

  .page-index__faq-question {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-index__hero-section {
    padding: 40px 15px;
  }

  .page-index__hero-title {
    font-size: 1.8em;
  }

  .page-index__hero-description {
    font-size: 1em;
  }

  .page-index__section-title {
    font-size: 1.5em;
  }

  .page-index__btn {
    width: 100%;
    margin-left: 0 !important;
  }
}