/* style/index.css */
.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f8f8;
}

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

.page-index__section {
  padding: 60px 0;
  text-align: center;
}

.page-index__section-title {
  font-size: 2.5em;
  color: #003366;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-index__section-text {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 20px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__text--center {
  text-align: center;
}

.page-index__text-link {
  color: #003366;
  text-decoration: underline;
  font-weight: bold;
}

.page-index__text-link:hover {
  color: #FFCC00;
}

.page-index__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
  margin: 10px;
}

.page-index__button--primary {
  background-color: #FFCC00;
  color: #003366;
}

.page-index__button--primary:hover {
  background-color: #e6b800;
}

.page-index__button--secondary {
  background-color: #003366;
  color: #ffffff;
  border: 2px solid #003366;
}

.page-index__button--secondary:hover {
  background-color: #002244;
  border-color: #002244;
}

.page-index__button--small {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-index__button--link {
  background: none;
  color: #003366;
  text-decoration: underline;
  padding: 0;
  margin: 0;
}

.page-index__button--link:hover {
  color: #FFCC00;
}

.page-index__button--center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

/* Hero Section */
.page-index__hero {
  position: relative;
  background-color: #003366;
  color: #ffffff;
  padding: 100px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-index__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.4;
}

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

.page-index__hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

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

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

.page-index__hero-actions .page-index__button {
  font-size: 1.1em;
  padding: 15px 30px;
}

/* About Section */
.page-index__about {
  background-color: #ffffff;
}

.page-index__detail-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-index__detail-card {
  background-color: #f0f8ff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  flex: 1 1 calc(50% - 30px);
  max-width: 450px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-index__detail-card-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
}

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

.page-index__detail-card-title a:hover {
  color: #FFCC00;
}

.page-index__detail-card-description {
  color: #666;
  margin-bottom: 20px;
}

/* Features Section */
.page-index__features {
  background-color: #f0f8ff;
}

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

.page-index__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-index__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.page-index__feature-title {
  font-size: 1.4em;
  color: #003366;
  margin-bottom: 10px;
}

.page-index__feature-description {
  color: #666;
  font-size: 0.95em;
}

/* Games Section */
.page-index__games {
  background-color: #ffffff;
}

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

.page-index__game-category-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__game-category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-index__game-category-image {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
}

.page-index__game-category-title {
  font-size: 1.3em;
  color: #003366;
  margin-bottom: 10px;
}

.page-index__game-category-description {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 20px;
}

/* Guide Section */
.page-index__guide {
  background-color: #f0f8ff;
}

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

.page-index__guide-step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-index__guide-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
}

.page-index__guide-step-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 10px;
}

.page-index__guide-step-description {
  color: #666;
  font-size: 0.95em;
}

.page-index__guide-actions {
  margin-top: 40px;
  text-align: center;
}

/* Responsible Gambling Section */
.page-index__responsible-gambling {
  background-color: #003366;
  color: #ffffff;
}

.page-index__responsible-gambling .page-index__section-title {
  color: #FFCC00;
}

.page-index__responsible-gambling .page-index__section-text {
  color: #e0e0e0;
}

.page-index__image--full-width {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Why Choose Section */
.page-index__why-choose {
  background-color: #ffffff;
}

.page-index__why-choose-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__why-choose-list li {
  background-color: #f9f9f9;
  border-left: 5px solid #FFCC00;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  color: #333;
}

.page-index__why-choose-list li strong {
  color: #003366;
}

/* Testimonials Section */
.page-index__testimonials {
  background-color: #f0f8ff;
}

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

.page-index__testimonial-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  position: relative;
}

.page-index__testimonial-item::before {
  content: '“';
  font-size: 4em;
  color: #FFCC00;
  position: absolute;
  top: 10px;
  left: 15px;
  opacity: 0.3;
  line-height: 1;
}

.page-index__testimonial-text {
  font-style: italic;
  color: #555;
  margin-bottom: 15px;
  padding-left: 20px;
}

.page-index__testimonial-author {
  font-weight: bold;
  color: #003366;
  text-align: right;
}

/* CTA Section */
.page-index__cta {
  background-color: #003366;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-index__cta-content {
  position: relative;
  z-index: 3;
}

.page-index__cta-title {
  font-size: 2.8em;
  color: #FFCC00;
  margin-bottom: 20px;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__detail-card {
    flex: 1 1 calc(100% - 20px);
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-index__hero {
    padding: 80px 0;
    min-height: 400px;
  }
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-actions .page-index__button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-index__section {
    padding: 40px 0;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__feature-grid, .page-index__game-categories, .page-index__guide-steps, .page-index__testimonial-grid {
    grid-template-columns: 1fr;
  }
  .page-index__image--full-width {
    margin-top: 20px;
  }
  .page-index__cta-title {
    font-size: 2.2em;
  }
  .page-index__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__hero-description {
    font-size: 0.9em;
  }
  .page-index__hero-actions {
    flex-direction: column;
  }
  .page-index__hero-actions .page-index__button {
    width: 100%;
    margin: 5px 0;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__section-text {
    font-size: 0.9em;
  }
  .page-index__detail-card, .page-index__feature-item, .page-index__game-category-item, .page-index__guide-step-item, .page-index__testimonial-item {
    padding: 20px;
  }
  .page-index__cta-title {
    font-size: 1.8em;
  }
  .page-index__cta-description {
    font-size: 0.9em;
  }
}