/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #FFFFFF; /* White text on dark background */
  background-color: #1A2035; /* Main dark blue background */
  line-height: 1.6;
}

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

.page-index-section {
  padding: 80px 0;
  text-align: center;
}

.page-index-section:nth-of-type(even) {
  background-color: #2a334d; /* Slightly lighter dark blue for contrast */
}

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

.page-index-section-description {
  font-size: 1.1em;
  margin-bottom: 60px;
  color: #e0e0e0;
}

.page-index-highlight {
  color: #FFD700;
  font-weight: bold;
}

/* Hero Section */
.page-index-hero {
  background: linear-gradient(135deg, #1A2035 0%, #3a4b75 100%);
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.page-index-hero-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  max-width: 800px;
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

.page-index-hero .page-index-container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-index-hero-title {
  font-size: 4em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-index-hero-description {
  font-size: 1.4em;
  color: #e0e0e0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-index-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.page-index-btn-primary {
  background-color: #FFD700;
  color: #1A2035; /* Dark text on gold */
  border: 2px solid #FFD700;
}

.page-index-btn-primary:hover {
  background-color: #e6c200;
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index-btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index-btn-secondary:hover {
  background-color: #FFD700;
  color: #1A2035;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index-btn-tertiary {
  background-color: #1A2035;
  color: #FFD700;
  border: 2px solid #3a4b75;
}

.page-index-btn-tertiary:hover {
  background-color: #3a4b75;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index-btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-index-btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Content Wrappers */
.page-index-content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-bottom: 40px;
}

.page-index-content-wrapper .page-index-text-content {
  flex: 1;
}

.page-index-content-wrapper img {
  flex: 0 0 45%;
  max-width: 45%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index-image-right {
  order: 2;
}

.page-index-image-left {
  order: 1;
}

.page-index-about .page-index-image-right {
  order: 2;
}

/* Why Choose Us Section */
.page-index-why-choose-us .page-index-section-title {
  margin-bottom: 60px;
}

.page-index-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.page-index-feature-item {
  background-color: #1A2035;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3a4b75;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-index-feature-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-feature-item p {
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-feature-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Products Section */
.page-index-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-product-item {
  background-color: #1A2035;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3a4b75;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-index-product-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-product-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index-product-item p {
  color: #e0e0e0;
  flex-grow: 1;
}

/* App Download Section */
.page-index-app-download .page-index-content-wrapper img {
  flex: 0 0 35%;
  max-width: 35%;
}

.page-index-app-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Registration Guide */
.page-index-registration-guide .page-index-section-description {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

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

.page-index-step-item {
  background-color: #1A2035;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3a4b75;
  text-align: left;
}

.page-index-step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index-step-item p {
  color: #e0e0e0;
}

.page-index-center-button {
  margin-top: 50px;
  text-align: center;
}

/* Payment Section */
.page-index-payment .page-index-subtitle {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-index-payment .page-index-text-content p {
  color: #e0e0e0;
  margin-bottom: 20px;
}

/* Responsible Gambling Section */
.page-index-responsible-gambling .page-index-text-content p {
  color: #e0e0e0;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-index-faq .page-index-faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-faq-item {
  background-color: #1A2035;
  border: 1px solid #3a4b75;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-faq-question {
  font-size: 1.3em;
  color: #FFD700;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #2a334d;
  position: relative;
  transition: background-color 0.3s ease;
}

.page-index-faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

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

.page-index-faq-answer {
  padding: 0 25px 20px;
  color: #e0e0e0;
  display: none;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  max-height: 0;
}

.page-index-faq-question.active + .page-index-faq-answer {
  display: block;
  max-height: 200px; /* Adjust as needed */
  padding-top: 15px;
}

.page-index-faq-image {
  margin-top: 50px;
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Detail Pages List */
.page-index-detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-detail-item {
  background-color: #1A2035;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3a4b75;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-index-detail-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-index-detail-title a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-index-detail-title a:hover {
  text-decoration: underline;
}

.page-index-detail-description {
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Final CTA */
.page-index-cta-final {
  background-color: #FFD700; /* Gold background */
  color: #1A2035; /* Dark text on gold */
  padding: 80px 0;
}

.page-index-cta-final .page-index-cta-title {
  font-size: 3em;
  color: #1A2035;
  margin-bottom: 20px;
}

.page-index-cta-final .page-index-cta-description {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-cta-final .page-index-btn-primary {
  background-color: #1A2035;
  color: #FFD700;
  border: 2px solid #1A2035;
}

.page-index-cta-final .page-index-btn-primary:hover {
  background-color: #3a4b75;
  color: #FFFFFF;
  border-color: #3a4b75;
}

/* Floating Promotion */
.page-index-floating-promo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #FFD700;
  color: #1A2035;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: all 0.5s ease-out;
  border: 2px solid #e6c200;
}

.page-index-floating-promo.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-index-floating-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-index-floating-promo p {
  margin: 0;
  font-weight: bold;
  font-size: 1.1em;
  color: #1A2035;
}

.page-index-floating-promo .page-index-btn-promo {
  background-color: #1A2035;
  color: #FFD700;
  padding: 8px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index-floating-promo .page-index-btn-promo:hover {
  background-color: #3a4b75;
  color: #FFFFFF;
}

.page-index-floating-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #1A2035;
}

.page-index-close-promo {
  background: none;
  border: none;
  color: #1A2035;
  font-size: 1.8em;
  cursor: pointer;
  position: absolute;
  top: 5px;
  right: 10px;
  line-height: 1;
  padding: 0;
}

.page-index-close-promo:hover {
  color: #000000;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-hero-title {
    font-size: 3.5em;
  }

  .page-index-section-title {
    font-size: 2.2em;
  }

  .page-index-content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-index-content-wrapper img {
    max-width: 80%;
    order: -1; /* Image first on mobile */
    margin-bottom: 30px;
  }

  .page-index-image-right,
  .page-index-image-left {
    order: -1;
  }

  .page-index-reverse-on-mobile.page-index-content-wrapper {
    flex-direction: column-reverse;
  }

  .page-index-reverse-on-mobile.page-index-content-wrapper img {
    order: 1;
  }

  .page-index-floating-promo {
    flex-direction: column;
    text-align: center;
    right: 10px;
    left: 10px;
    bottom: 10px;
    width: auto;
    padding: 15px;
  }

  .page-index-floating-content {
    flex-direction: column;
    gap: 10px;
  }

  .page-index-close-promo {
    top: 5px;
    right: 5px;
  }

  .page-index-hero-image {
    width: 80%;
    right: -10%;
    bottom: -5%;
  }
}

@media (max-width: 768px) {
  .page-index-hero {
    padding: 100px 0 50px;
  }

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

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

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

  .page-index-btn {
    width: 100%;
    max-width: 300px;
  }

  .page-index-section {
    padding: 60px 0;
  }

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

  .page-index-cta-final .page-index-cta-title {
    font-size: 2.2em;
  }

  .page-index-floating-promo p {
    font-size: 1em;
  }

  .page-index-floating-image {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .page-index-hero-title {
    font-size: 2.2em;
  }

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

  .page-index-section-title {
    font-size: 1.6em;
  }

  .page-index-feature-title,
  .page-index-product-title,
  .page-index-step-title,
  .page-index-subtitle,
  .page-index-faq-question,
  .page-index-detail-title {
    font-size: 1.3em;
  }

  .page-index-cta-final .page-index-cta-title {
    font-size: 1.8em;
  }

  .page-index-floating-promo {
    padding: 10px;
  }

  .page-index-floating-content {
    width: 100%;
  }

  .page-index-floating-promo p {
    font-size: 0.9em;
  }

  .page-index-floating-promo .page-index-btn-promo {
    padding: 6px 12px;
    font-size: 0.9em;
  }
}