.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #F5F7FA;
}

.page-index__top-text {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 15px 40px;
  box-sizing: border-box;
  text-align: center;
  color: #333333;
}

.page-index__top-title {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #E53935;
  font-size: clamp(2em, 4vw, 3.2em);
}

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

.page-index__start-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.2s ease-in-out;
  box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__start-btn:hover {
  transform: translateY(-2px);
}

.page-index__casino-main,
.page-index__sports-section {
  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-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-index__sports-section {
  grid-template-columns: 7fr 5fr;
}

.page-index__casino-image img,
.page-index__sports-image img {
  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,
.page-index__sports-title {
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #E53935;
  line-height: 1.3;
}

.page-index__casino-content p,
.page-index__sports-content p {
  margin-bottom: 15px;
  font-size: 1em;
  color: #333333;
}

.page-index__reg-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  color: #ffffff;
  background-color: #E53935;
  font-weight: 600;
  margin-top: 20px;
  transition: background-color 0.2s ease-in-out;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__reg-button:hover {
  background-color: #FF5A4F;
}

.page-index__promo-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px 15px;
  box-sizing: border-box;
  background-color: #fcebeb; /* Light red/pink variant */
  border-radius: 10px;
  text-align: center;
  color: #333333;
}

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

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

.page-index__promo-section p {
  margin-bottom: 15px;
}

.page-index__promo-table-wrapper {
  overflow-x: auto;
  margin-top: 20px;
  margin-bottom: 20px;
}

.page-index__promo-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  min-width: 600px; /* Ensure table is not too narrow on desktop */
}

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

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

.page-index__promo-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

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

.page-index__official-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px 15px;
  box-sizing: border-box;
  background-color: #f9f9f9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-index__official-indicator {
  width: 8px;
  height: 100%;
  min-height: 120px;
  background-color: #E53935;
  border-radius: 4px;
  flex-shrink: 0;
}

.page-index__official-content {
  flex-grow: 1;
}

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

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

.page-index__rating-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px 15px;
  box-sizing: border-box;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  color: #333333;
}

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

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

.page-index__benefits-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #333333;
}

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

.page-index__user-rating {
  margin-top: 30px;
  font-size: 1.1em;
  font-weight: 600;
  color: #333333;
}

.page-index__star-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.page-index__star {
  font-size: 1.5em;
  color: #E0E0E0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.page-index__star.is-active,
.page-index__star[data-rating="1"].is-active ~ .page-index__star[data-rating="5"],
.page-index__star[data-rating="2"].is-active ~ .page-index__star[data-rating="5"],
.page-index__star[data-rating="3"].is-active ~ .page-index__star[data-rating="5"],
.page-index__star[data-rating="4"].is-active ~ .page-index__star[data-rating="5"] {
  color: #FFD700;
}

.page-index__rating-value {
  margin-left: 10px;
  font-weight: bold;
  color: #333333;
}

.page-index__review-card {
  background-color: #f9f9f9;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  color: #333333;
}

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

.page-index__review-author {
  font-weight: 600;
  text-align: right;
  color: #555555;
}

.page-index__review-stars {
  color: #FFD700;
  text-align: right;
  margin-top: 5px;
  font-size: 1.1em;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
  .page-index__top-text {
    padding: 10px 15px 30px;
  }

  .page-index__top-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-index__top-lead {
    font-size: 1em;
  }

  .page-index__start-btn,
  .page-index__reg-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index__casino-main,
  .page-index__sports-section,
  .page-index__rating-section {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 30px auto;
    padding: 20px 15px;
  }

  .page-index__casino-main .page-index__casino-image {
    order: 1;
  }

  .page-index__casino-main .page-index__casino-content {
    order: 2;
  }

  .page-index__sports-section .page-index__sports-content {
    order: 1;
  }

  .page-index__sports-section .page-index__sports-image {
    order: 2;
  }

  .page-index__casino-title,
  .page-index__sports-title {
    font-size: 1.8em;
    text-align: center;
  }

  .page-index__promo-section {
    margin: 30px auto;
    padding: 25px 15px;
  }

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

  .page-index__promo-subtitle {
    font-size: 1.1em;
  }

  .page-index__promo-table-wrapper {
    overflow-x: auto;
  }

  .page-index__promo-table {
    min-width: 500px;
  }

  .page-index__official-section {
    flex-direction: column;
    text-align: center;
    margin: 30px auto;
    padding: 25px 15px;
  }

  .page-index__official-indicator {
    width: 100%;
    height: 8px;
    min-height: auto;
    margin-bottom: 20px;
  }

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

  .page-index__benefits-title,
  .page-index__reviews-title {
    font-size: 1.6em;
    text-align: center;
  }

  .page-index__user-rating {
    text-align: center;
  }

  .page-index__review-author,
  .page-index__review-stars {
    text-align: center;
  }

  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index__casino-image,
  .page-index__sports-image,
  .page-index__promo-section,
  .page-index__official-section,
  .page-index__rating-section,
  .page-index__benefits,
  .page-index__reviews,
  .page-index__review-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}