/* style/index.css */

/* Base styles for the page content */
.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #F8F8F8;
}

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

.page-index-section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

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

.page-index-sub-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-index-text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-index-strong {
  font-weight: bold;
  color: #0A2463;
}

.page-index-highlight {
  color: #FFD700;
}

/* Buttons */
.page-index-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.page-index-btn-primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

.page-index-btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-index-btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin-left: 15px;
}

.page-index-btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
}

.page-index-btn-outline {
  background-color: transparent;
  color: #0A2463;
  border: 2px solid #0A2463;
}

.page-index-btn-outline:hover {
  background-color: #0A2463;
  color: #FFFFFF;
}

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

.page-index-btn-large {
  padding: 15px 30px;
  font-size: 1.2em;
}

/* Hero Section */
.page-index-hero-section {
  background: linear-gradient(135deg, #0A2463 0%, #1A3B8A 100%);
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
}

.page-index-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-index-hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-index-hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-index-hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.page-index-hero-image {
  margin-top: 50px;
}

.page-index-hero-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* About Onbet Section */
.page-index-about-onbet-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

/* Features Section */
.page-index-features-section {
  padding: 60px 0;
  background-color: #F0F4F8;
}

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

.page-index-feature-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  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.12);
}

.page-index-feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.page-index-feature-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-feature-description {
  font-size: 1em;
  color: #555555;
}

/* Guide Section */
.page-index-guide-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-index-guide-step {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.page-index-guide-step.page-index-reverse {
  flex-direction: row-reverse;
}

.page-index-guide-img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-index-guide-text {
  flex: 1;
  min-width: 300px;
}

.page-index-guide-text h4 {
  font-size: 1.6em;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-index-guide-text p {
  font-size: 1.1em;
  margin-bottom: 25px;
}

/* Games Section */
.page-index-games-section {
  padding: 60px 0;
  background-color: #F0F4F8;
}

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

.page-index-game-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-game-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: #0A2463;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-index-game-title {
  font-size: 1.4em;
  color: #0A2463;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-index-game-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-index-promotions-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-index-promotion-item {
  background-color: #F0F4F8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-promotion-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-index-promotion-item h3 {
  font-size: 1.4em;
  color: #0A2463;
  padding: 20px 20px 10px;
  font-weight: 600;
}

.page-index-promotion-item p {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px;
}

.page-index-promotion-item .page-index-btn {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
}

/* Detail Pages Section */
.page-index-detail-pages-section {
  padding: 60px 0;
  background-color: #F0F4F8;
}

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

.page-index-detail-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-detail-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-index-detail-title a {
  color: #0A2463;
  text-decoration: none;
}

.page-index-detail-title a:hover {
  color: #FFD700;
}

.page-index-detail-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

/* CTA Section */
.page-index-cta-section {
  background: linear-gradient(90deg, #0A2463 0%, #1A3B8A 100%);
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
}

.page-index-cta-title {
  color: #FFFFFF;
  font-size: 3em;
}

.page-index-cta-title::after {
  background-color: #FFD700;
}

.page-index-cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* 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-guide-step {
    flex-direction: column;
    text-align: center;
  }
  .page-index-guide-step.page-index-reverse {
    flex-direction: column;
  }
  .page-index-guide-text {
    min-width: unset;
    width: 100%;
  }
  .page-index-hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-index-btn-secondary {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .page-index-hero-section {
    padding: 60px 0;
  }
  .page-index-hero-title {
    font-size: 2.2em;
  }
  .page-index-hero-description {
    font-size: 1em;
  }
  .page-index-section-title {
    font-size: 1.8em;
  }
  .page-index-sub-title {
    font-size: 1.5em;
  }
  .page-index-text-content {
    font-size: 1em;
  }
  .page-index-cta-title {
    font-size: 2.5em;
  }
  .page-index-cta-description {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-index-hero-section {
    padding: 40px 0;
  }
  .page-index-hero-title {
    font-size: 1.8em;
  }
  .page-index-hero-description {
    font-size: 0.9em;
  }
  .page-index-section-title {
    font-size: 1.5em;
  }
  .page-index-sub-title {
    font-size: 1.3em;
  }
  .page-index-btn {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 10px;
  }
  .page-index-hero-buttons .page-index-btn:last-child {
    margin-bottom: 0;
  }
  .page-index-cta-title {
    font-size: 2em;
  }
  .page-index-cta-description {
    font-size: 1em;
  }
}