/* style/index.css */

/* Variables */
:root {
  --page-index-primary-color: #1A2B4C; /* Deep Blue/Purple */
  --page-index-accent-color: #F0B90B; /* Bright Orange/Gold */
  --page-index-text-light: #FFFFFF; /* White for dark backgrounds */
  --page-index-text-dark: #333333; /* Dark grey for light backgrounds */
  --page-index-background-light: #F8F8F8; /* Light grey */
  --page-index-background-dark: #0F1A2D; /* Slightly darker than primary for contrast */
  --page-index-border-color: #E0E0E0;
  --page-index-shadow-light: rgba(0, 0, 0, 0.1);
  --page-index-font-family: 'Arial', sans-serif;
}

.page-index {
  font-family: var(--page-index-font-family);
  line-height: 1.6;
  color: var(--page-index-text-dark);
  background-color: var(--page-index-background-light);
}

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

/* Typography */
.page-index__main-heading {
  font-size: 3.2em;
  color: var(--page-index-text-light);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index__section-heading {
  font-size: 2.5em;
  color: var(--page-index-primary-color);
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-index__section-heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--page-index-accent-color);
  border-radius: 2px;
}

.page-index__hero-subheading {
  font-size: 1.5em;
  color: var(--page-index-text-light);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 300;
}

.page-index__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--page-index-text-dark);
}

.page-index__section-description strong {
  color: var(--page-index-primary-color);
}

.page-index__game-title, .page-index__promo-title, .page-index__advantage-title, .page-index__detail-title {
  font-size: 1.6em;
  color: var(--page-index-primary-color);
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-index__game-description, .page-index__promo-description, .page-index__advantage-description, .page-index__detail-description {
  font-size: 1em;
  color: var(--page-index-text-dark);
  margin-bottom: 15px;
}

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

.page-index__btn--primary {
  background-color: var(--page-index-accent-color);
  color: var(--page-index-primary-color);
  border: 2px solid var(--page-index-accent-color);
}

.page-index__btn--primary:hover {
  background-color: transparent;
  color: var(--page-index-accent-color);
  border-color: var(--page-index-accent-color);
}

.page-index__btn--secondary {
  background-color: transparent;
  color: var(--page-index-accent-color);
  border: 2px solid var(--page-index-accent-color);
  margin-left: 20px;
}

.page-index__btn--secondary:hover {
  background-color: var(--page-index-accent-color);
  color: var(--page-index-primary-color);
}

.page-index__btn--text {
  color: var(--page-index-primary-color);
  font-weight: bold;
  text-decoration: none;
  padding: 10px 0;
  font-size: 1.1em;
}

.page-index__btn--text:hover {
  text-decoration: underline;
  color: var(--page-index-accent-color);
}

.page-index__btn--small {
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 5px;
  background-color: var(--page-index-primary-color);
  color: var(--page-index-accent-color);
  border: 1px solid var(--page-index-primary-color);
}

.page-index__btn--small:hover {
  background-color: var(--page-index-accent-color);
  color: var(--page-index-primary-color);
  border-color: var(--page-index-accent-color);
}

/* Sections */
.page-index__hero-section {
  background: linear-gradient(135deg, var(--page-index-primary-color) 0%, var(--page-index-background-dark) 100%);
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.page-index__hero-content {
  z-index: 1;
  max-width: 800px;
  text-align: center;
}

.page-index__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-index__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  overflow: hidden;
}

.page-index__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) blur(5px);
  transform: scale(1.1);
}

.page-index__about-section,
.page-index__games-section,
.page-index__promotions-section,
.page-index__mobile-app-section,
.page-index__why-choose-section,
.page-index__detail-pages-section,
.page-index__responsible-gambling-section,
.page-index__contact-cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-index__about-section {
  background-color: var(--page-index-background-light);
}

.page-index__games-section {
  background-color: var(--page-index-background-dark);
  color: var(--page-index-text-light);
}

.page-index__games-section .page-index__section-heading,
.page-index__games-section .page-index__section-description,
.page-index__games-section .page-index__game-title,
.page-index__games-section .page-index__game-description {
  color: var(--page-index-text-light);
}

.page-index__games-section .page-index__section-heading::after {
  background-color: var(--page-index-accent-color);
}

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

.page-index__game-item {
  background-color: var(--page-index-primary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px var(--page-index-shadow-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__game-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.page-index__game-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: invert(1) brightness(1.5);
}

.page-index__promotions-section {
  background-color: var(--page-index-background-light);
}

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

.page-index__promo-item {
  background-color: var(--page-index-text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--page-index-shadow-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__promo-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-index__promo-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index__mobile-app-section {
  background-color: var(--page-index-primary-color);
  color: var(--page-index-text-light);
  padding: 100px 0;
}

.page-index__mobile-app-section .page-index__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  text-align: left;
}

.page-index__app-content {
  flex: 1;
  min-width: 300px;
  max-width: 550px;
  margin-right: 40px;
}

.page-index__app-image-wrapper {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index__app-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
}

.page-index__mobile-app-section .page-index__section-heading {
  color: var(--page-index-text-light);
  text-align: left;
}

.page-index__mobile-app-section .page-index__section-heading::after {
  left: 0;
  transform: translateX(0);
}

.page-index__mobile-app-section .page-index__section-description {
  color: var(--page-index-text-light);
  text-align: left;
  margin: 0 0 30px 0;
}

.page-index__app-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-index__app-features li {
  color: var(--page-index-text-light);
  font-size: 1.1em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.page-index__icon {
  margin-right: 10px;
  color: var(--page-index-accent-color);
  font-size: 1.2em;
}

.page-index__icon--check::before {
  content: '✔'; /* Unicode checkmark */
}

.page-index__why-choose-section {
  background-color: var(--page-index-background-light);
}

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

.page-index__advantage-item {
  background-color: var(--page-index-text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--page-index-shadow-light);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__advantage-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-index__advantage-title {
  color: var(--page-index-accent-color);
  font-size: 1.8em;
  margin-bottom: 10px;
}

.page-index__advantage-description {
  color: var(--page-index-text-dark);
}

.page-index__detail-pages-section {
  background-color: var(--page-index-background-dark);
  color: var(--page-index-text-light);
}

.page-index__detail-pages-section .page-index__section-heading,
.page-index__detail-pages-section .page-index__section-description,
.page-index__detail-pages-section .page-index__detail-title a,
.page-index__detail-pages-section .page-index__detail-description {
  color: var(--page-index-text-light);
}

.page-index__detail-pages-section .page-index__section-heading::after {
  background-color: var(--page-index-accent-color);
}

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

.page-index__detail-item {
  background-color: var(--page-index-primary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px var(--page-index-shadow-light);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__detail-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.page-index__detail-title a {
  text-decoration: none;
  color: var(--page-index-accent-color);
  transition: color 0.3s ease;
}

.page-index__detail-title a:hover {
  text-decoration: underline;
  color: var(--page-index-text-light);
}

.page-index__responsible-gambling-section {
  background-color: var(--page-index-background-light);
  padding: 80px 0;
}

.page-index__responsible-gambling-section .page-index__section-description {
  text-align: left;
}

.page-index__contact-cta-section {
  background-color: var(--page-index-primary-color);
  color: var(--page-index-text-light);
  padding: 80px 0;
}

.page-index__contact-cta-section .page-index__section-heading,
.page-index__contact-cta-section .page-index__section-description {
  color: var(--page-index-text-light);
}

.page-index__contact-cta-section .page-index__section-heading::after {
  background-color: var(--page-index-accent-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__main-heading {
    font-size: 2.8em;
  }

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

  .page-index__hero-section {
    padding: 80px 0;
    flex-direction: column;
  }

  .page-index__hero-content {
    margin-bottom: 40px;
  }

  .page-index__mobile-app-section .page-index__container {
    flex-direction: column;
  }

  .page-index__app-content {
    margin-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }

  .page-index__mobile-app-section .page-index__section-heading,
  .page-index__mobile-app-section .page-index__section-description {
    text-align: center;
  }

  .page-index__mobile-app-section .page-index__section-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .page-index__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

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

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

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

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

  .page-index__games-section,
  .page-index__promotions-section,
  .page-index__why-choose-section,
  .page-index__detail-pages-section {
    padding: 60px 0;
  }

  .page-index__game-grid,
  .page-index__promo-grid,
  .page-index__advantages-grid,
  .page-index__detail-grid {
    grid-template-columns: 1fr;
  }

  .page-index__game-item,
  .page-index__promo-item,
  .page-index__advantage-item,
  .page-index__detail-item {
    padding: 25px;
  }

  .page-index__app-content,
  .page-index__app-image-wrapper {
    min-width: unset;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-index__main-heading {
    font-size: 1.8em;
  }

  .page-index__section-heading {
    font-size: 1.6em;
  }

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

  .page-index__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-index__game-icon {
    width: 60px;
    height: 60px;
  }
}