/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #FFFFFF; /* White text for readability on dark background */
  background-color: #1a1a1a; /* Very dark grey 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--dark {
  background-color: #000000; /* Black background for contrast */
}

.page-index__section--light {
  background-color: #2a2a2a; /* Slightly lighter dark grey */
}

.page-index__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for main titles */
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
  display: inline-block;
}

.page-index__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 4px;
  background-color: #CC0000; /* Red underline */
  border-radius: 2px;
}

.page-index__section-description {
  font-size: 1.1em;
  color: #CCCCCC;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__highlight {
  color: #FFD700;
}

.page-index__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-index__btn--primary {
  background-color: #CC0000; /* Deep Red */
  color: #FFFFFF; /* White text */
  border: 2px solid #CC0000;
}

.page-index__btn--primary:hover {
  background-color: #FFD700; /* Gold on hover */
  color: #1a1a1a; /* Dark text on gold */
  border-color: #FFD700;
}

.page-index__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
  margin-left: 15px;
}

.page-index__btn--secondary:hover {
  background-color: #FFD700;
  color: #1a1a1a;
}

.page-index__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

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

.page-index__link {
  color: #FFD700;
  text-decoration: none;
}

.page-index__link:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-index__hero-section {
  position: relative;
  background-color: #000000;
  height: 600px; /* Fixed height for hero */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-index__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6);
}

.page-index__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.3));
  z-index: 2;
}

.page-index__hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
}

.page-index__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-index__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #E0E0E0;
}

.page-index__hero-buttons .page-index__btn {
  margin: 10px;
}

/* About Section */
.page-index__about-section p {
  text-align: left;
  margin-bottom: 15px;
  color: #E0E0E0;
}

.page-index__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-index__content-grid .page-index__content-text {
  flex: 1;
}

.page-index__content-grid .page-index__content-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index__img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

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

.page-index__advantage-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

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

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

.page-index__advantage-description {
  font-size: 1em;
  color: #CCCCCC;
}

/* CTA Section */
.page-index__cta-section {
  position: relative;
  background-color: #CC0000; /* Deep Red background */
  padding: 100px 0;
  overflow: hidden;
}

.page-index__cta-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  max-width: 800px;
}

.page-index__cta-section .page-index__section-title {
  color: #FFFFFF; /* White title on red background */
}

.page-index__cta-section .page-index__section-title::after {
  background-color: #FFD700;
}

.page-index__cta-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-index__cta-subtext {
  margin-top: 20px;
  font-size: 1.1em;
}

.page-index__cta-image {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) translateX(20%);
  height: 120%;
  object-fit: contain;
  opacity: 0.2;
  z-index: 1;
}

/* Detail Pages Section */
.page-index__detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index__detail-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__detail-item:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

.page-index__detail-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-index__detail-title a {
  color: #FFD700;
  text-decoration: none;
}

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

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

/* Responsible Gaming Section */
.page-index__responsible-gaming-section ul {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 700px;
  margin: 30px auto;
}

.page-index__responsible-gaming-section ul li {
  background-color: #1a1a1a;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid #CC0000;
  border-radius: 5px;
  color: #FFFFFF;
}

.page-index__responsible-gaming-section ul li strong {
  color: #FFD700;
}

.page-index__responsible-gaming-section p {
  text-align: left;
  color: #E0E0E0;
  margin-bottom: 15px;
}

/* Contact Section */
.page-index__contact-section {
  background-color: #1a1a1a;
  padding: 80px 0;
}

.page-index__contact-content {
  max-width: 700px;
}

.page-index__contact-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #E0E0E0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__hero-description {
    font-size: 1.2em;
  }
  .page-index__section-title {
    font-size: 2.2em;
  }
  .page-index__content-grid {
    flex-direction: column;
  }
  .page-index__cta-image {
    display: none;
  }
  .page-index__cta-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    height: 500px;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-index__hero-buttons .page-index__btn {
    margin: 10px 0;
  }
  .page-index__section {
    padding: 60px 0;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__advantages-grid, .page-index__detail-grid {
    grid-template-columns: 1fr;
  }
  .page-index__responsible-gaming-section ul {
    margin: 20px auto;
  }
}

@media (max-width: 480px) {
  .page-index__hero-section {
    height: 400px;
  }
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-description {
    font-size: 0.9em;
  }
  .page-index__btn {
    padding: 12px 25px;
    font-size: 0.9em;
  }
  .page-index__btn--large {
    padding: 15px 30px;
    font-size: 1em;
  }
  .page-index__section {
    padding: 40px 0;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
}