/* General styling for the page content */
.page-index {
  font-family: Arial, sans-serif;
  color: #333333; /* Text Main */
  background-color: #F5F7FA; /* Background */
  line-height: 1.6;
}

/* Module 1: Top Text Section */
.page-index__top-text {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 15px 40px; /* 10px top padding (assuming body has header offset) */
  box-sizing: border-box;
  text-align: center;
}

.page-index__top-title {
  font-size: 3.2em;
  font-weight: 700;
  color: #E53935; /* Primary brand color */
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__top-lead {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__start-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button color */
  color: #ffffff;
  font-size: 1.2em;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
  max-width: 100%; /* For responsive button */
  box-sizing: border-box; /* For responsive button */
  white-space: normal; /* For responsive button text */
  word-wrap: break-word; /* For responsive button text */
}

.page-index__start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(229, 57, 53, 0.4);
}

.page-index__start-btn svg {
  fill: currentColor;
  margin-left: 5px;
}

/* Module 2: Casino Main Section */
.page-index__casino-main {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px 15px;
  box-sizing: border-box;
  background: #ffffff; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.page-index__casino-image-wrapper {
  text-align: center;
}

.page-index__casino-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.page-index__casino-title {
  font-size: 2.2em;
  color: #E53935;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-index__casino-content p {
  margin-bottom: 15px;
  color: #333333;
}

.page-index__reg-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 6px;
  background: #E53935; /* Primary brand color */
  color: #ffffff;
  font-size: 1em;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  max-width: 100%; /* For responsive button */
  box-sizing: border-box; /* For responsive button */
  white-space: normal; /* For responsive button text */
  word-wrap: break-word; /* For responsive button text */
}

.page-index__reg-button:hover {
  background: #FF5A4F; /* Secondary brand color */
  transform: translateY(-1px);
}

/* Module 3: Sports Section */
.page-index__sports-section {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px 15px;
  box-sizing: border-box;
  background: #ffffff; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.page-index__sports-image-wrapper {
  text-align: center;
}

.page-index__sports-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.page-index__sports-title {
  font-size: 2.2em;
  color: #E53935;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-index__sports-content p {
  margin-bottom: 15px;
  color: #333333;
}

/* Module 4: Promo Section */
.page-index__promo-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 15px;
  box-sizing: border-box;
  background: #fdf5f5; /* Lighter variant of brand color for background */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
}

.page-index__promo-title {
  font-size: 2em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-index__promo-subtitle {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 25px;
}

.page-index__promo-table-wrapper {
  overflow-x: auto; /* For responsive table */
  margin-bottom: 20px;
}

.page-index__promo-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  min-width: 600px; /* Ensure table is wide enough for desktop */
}

.page-index__promo-table th,
.page-index__promo-table td {
  border: 1px solid #E0E0E0; /* Border */
  padding: 12px 15px;
  text-align: left;
  color: #333333;
}

.page-index__promo-table th {
  background-color: #f0f0f0;
  font-weight: 600;
  color: #E53935;
}

.page-index__promo-table td a {
  color: #E53935;
  text-decoration: none;
  font-weight: 600;
}

.page-index__promo-table td a:hover {
  text-decoration: underline;
}

.page-index__promo-disclaimer {
  font-size: 0.9em;
  color: #666666;
  margin-top: 10px;
}

/* Module 5: Official Section */
.page-index__official-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px 15px;
  box-sizing: border-box;
  background: #ffffff; /* Card BG */
  border-left: 5px solid #E53935; /* Primary brand color for emphasis */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
}

.page-index__official-content {
  flex: 1;
  padding-left: 20px;
}

.page-index__official-title {
  font-size: 2em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-index__official-content p {
  margin-bottom: 15px;
  color: #333333;
}

/* Module 6: Rating Section */
.page-index__rating-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto 60px;
  padding: 30px 15px;
  box-sizing: border-box;
  background: #ffffff; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.page-index__benefits-title {
  font-size: 2em;
  color: #E53935;
  margin-bottom: 20px;
  font-weight: 700;
}

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

.page-index__benefits-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #333333;
}

.page-index__benefits-list li::before {
  content: '✔';
  color: #FF5A4F; /* Secondary brand color */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-index__rating-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.page-index__rating-value {
  font-size: 1.8em;
  font-weight: 700;
  color: #E53935;
}

.page-index__stars {
  font-size: 1.8em;
  color: #E0E0E0; /* Border */
  cursor: pointer;
  display: flex;
}

.page-index__stars .star {
  color: #E0E0E0; /* Default star color */
  transition: color 0.2s ease;
}

.page-index__stars .star.is-active {
  color: gold; /* Active star color */
}

.page-index__stars .star:hover {
  color: gold;
}
.page-index__stars .star:hover ~ .star {
  color: #E0E0E0;
}


.page-index__review-list {
  background: #f9f9f9; /* Slightly off-white for reviews section */
  padding: 20px;
  border-radius: 8px;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.05);
}

.page-index__review-item {
  background: #ffffff; /* Card BG */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-index__review-text {
  font-style: italic;
  color: #333333;
  margin-bottom: 10px;
}

.page-index__review-meta {
  font-size: 0.9em;
  color: #666666;
  margin-bottom: 5px;
}

.page-index__review-author {
  font-weight: bold;
}

.page-index__review-stars {
  color: gold;
  font-size: 1.1em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-index__top-title {
    font-size: 2.8em;
  }
  .page-index__casino-title,
  .page-index__sports-title,
  .page-index__promo-title,
  .page-index__official-title,
  .page-index__benefits-title {
    font-size: 1.8em;
  }
  .page-index__casino-main,
  .page-index__sports-section,
  .page-index__rating-section {
    gap: 30px;
    padding: 25px;
  }
  .page-index__promo-section {
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  /* General mobile adjustments */
  .page-index {
    font-size: 15px;
    line-height: 1.5;
  }
  
  /* Module 1: Top Text Section */
  .page-index__top-text {
    padding: 10px 15px 30px;
  }
  .page-index__top-title {
    font-size: 2.2em !important;
    margin-bottom: 15px;
  }
  .page-index__top-lead {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-index__start-btn {
    font-size: 1.1em !important;
    padding: 12px 20px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Module 2: Casino Main Section */
  .page-index__casino-main {
    grid-template-columns: 1fr !important; /* Single column stack */
    padding: 20px 15px;
    margin: 30px auto;
  }
  .page-index__casino-image-wrapper {
    order: 1; /* Image first */
  }
  .page-index__casino-content {
    order: 2; /* Text second */
  }
  .page-index__casino-title {
    font-size: 1.8em;
    margin-top: 20px; /* Add space above title after image */
  }
  .page-index__reg-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Module 3: Sports Section */
  .page-index__sports-section {
    grid-template-columns: 1fr !important; /* Single column stack */
    padding: 20px 15px;
    margin: 30px auto;
  }
  .page-index__sports-content {
    order: 1; /* Text first */
  }
  .page-index__sports-image-wrapper {
    order: 2; /* Image second */
  }
  .page-index__sports-title {
    font-size: 1.8em;
  }

  /* Module 4: Promo Section */
  .page-index__promo-section {
    padding: 30px 15px;
    margin: 30px auto;
  }
  .page-index__promo-title {
    font-size: 1.6em;
  }
  .page-index__promo-table-wrapper {
    overflow-x: auto !important; /* Ensure horizontal scroll for table */
  }
  .page-index__promo-table {
    min-width: 500px; /* Adjust min-width for smaller mobile screens if needed */
  }

  /* Module 5: Official Section */
  .page-index__official-section {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 15px;
    margin: 30px auto;
  }
  .page-index__official-content {
    padding-left: 0;
    margin-top: 15px;
  }
  .page-index__official-title {
    font-size: 1.8em;
  }

  /* Module 6: Rating Section */
  .page-index__rating-section {
    grid-template-columns: 1fr !important; /* Single column stack */
    padding: 20px 15px;
    margin: 30px auto 40px;
  }
  .page-index__benefits-title {
    font-size: 1.8em;
  }
  .page-index__rating-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .page-index__rating-value {
    font-size: 1.5em;
  }
  .page-index__stars {
    font-size: 1.5em;
  }

  /* Universal image responsive rule for content area */
  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Universal container responsive rule for content area */
  .page-index__top-text,
  .page-index__casino-main,
  .page-index__sports-section,
  .page-index__promo-section,
  .page-index__official-section,
  .page-index__rating-section,
  .page-index__promo-table-wrapper,
  .page-index__benefits,
  .page-index__review-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* For button groups */
  .page-index__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}