/* style/index.css */

/* Biến CSS */
:root {
  --page-index-primary-color: #0A2239;
  --page-index-secondary-color: #FFD700;
  --page-index-text-light: #F8F8F8;
  --page-index-text-dark: #333;
  --page-index-bg-dark: #0A2239;
  --page-index-bg-light: #F0F2F5;
  --page-index-accent-gold-hover: #e6c200;
  --page-index-border-color: #e0e0e0;
}

.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-index-text-dark);
  background-color: var(--page-index-bg-light);
}

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

.page-index__section-title {
  font-size: 2.5em;
  color: var(--page-index-primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
}

.page-index__section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--page-index-secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-index__section-title--light {
  color: var(--page-index-text-light);
}

.page-index__section-title--light::after {
  background-color: var(--page-index-text-light);
}

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

.page-index__section-description--light {
  color: #ccc;
}

.page-index__highlight {
  color: var(--page-index-secondary-color);
}

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

.page-index__btn--primary {
  background-color: var(--page-index-secondary-color);
  color: var(--page-index-primary-color);
  border: 2px solid var(--page-index-secondary-color);
}

.page-index__btn--primary:hover {
  background-color: var(--page-index-accent-gold-hover);
  border-color: var(--page-index-accent-gold-hover);
  color: var(--page-index-primary-color);
}

.page-index__btn--secondary {
  background-color: transparent;
  color: var(--page-index-primary-color);
  border: 2px solid var(--page-index-primary-color);
}

.page-index__btn--secondary:hover {
  background-color: var(--page-index-primary-color);
  color: var(--page-index-secondary-color);
}

.page-index__btn--gold {
  background-color: var(--page-index-secondary-color);
  color: var(--page-index-primary-color);
  border: 2px solid var(--page-index-secondary-color);
}

.page-index__btn--gold:hover {
  background-color: var(--page-index-accent-gold-hover);
  border-color: var(--page-index-accent-gold-hover);
  color: var(--page-index-primary-color);
}

.page-index__btn--text {
  background: none;
  border: none;
  color: var(--page-index-primary-color);
  padding: 0;
  text-decoration: underline;
  font-size: 1em;
}

.page-index__btn--text:hover {
  color: var(--page-index-secondary-color);
}

.page-index__btn--large {
  padding: 15px 35px;
  font-size: 1.1em;
}

.page-index__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

/* Hero Section */
.page-index__hero-section {
  background: linear-gradient(135deg, var(--page-index-bg-dark) 0%, #1a3a5a 100%);
  color: var(--page-index-text-light);
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-index__hero-content {
  max-width: 900px;
}

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

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

.page-index__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-index__hero-actions .page-index__btn--primary {
  background-color: var(--page-index-secondary-color);
  color: var(--page-index-primary-color);
  border-color: var(--page-index-secondary-color);
}

.page-index__hero-actions .page-index__btn--secondary {
  background-color: transparent;
  color: var(--page-index-text-light);
  border-color: var(--page-index-text-light);
}

.page-index__hero-actions .page-index__btn--secondary:hover {
  background-color: var(--page-index-text-light);
  color: var(--page-index-primary-color);
}

.page-index__hero-image-wrapper {
  max-width: 100%;
  padding: 0 20px;
}

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

/* About Section */
.page-index__about-section {
  padding: 80px 0;
  background-color: var(--page-index-bg-light);
}

.page-index__about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.page-index__about-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #444;
}

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

/* Games Section */
.page-index__games-section {
  padding: 80px 0;
  background-color: #fff;
}

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

.page-index__game-card {
  background-color: var(--page-index-bg-light);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index__game-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-index__game-card h3 {
  font-size: 1.5em;
  color: var(--page-index-primary-color);
  margin-bottom: 15px;
}

.page-index__game-card p {
  color: #666;
  margin-bottom: 25px;
}

.page-index__cta-full-width {
  text-align: center;
  margin-top: 40px;
}

/* Promo Section */
.page-index__promo-section {
  padding: 80px 0;
  background-color: var(--page-index-bg-dark);
  color: var(--page-index-text-light);
}

.page-index__promo-section .page-index__section-title,
.page-index__promo-section .page-index__section-description {
  color: var(--page-index-text-light);
}

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

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

.page-index__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index__promo-image {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index__promo-card h3 {
  font-size: 1.5em;
  color: var(--page-index-secondary-color);
  margin-bottom: 15px;
}

.page-index__promo-card p {
  color: #ccc;
  margin-bottom: 25px;
}

/* App Download Section */
.page-index__app-download-section {
  padding: 80px 0;
  background-color: var(--page-index-bg-light);
}

.page-index__app-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.page-index__app-text h2 {
  text-align: left;
}

.page-index__app-text h2::after {
  margin-left: 0;
}

.page-index__app-text p {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 30px;
}

.page-index__download-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-index__app-image {
  text-align: center;
}

/* Guide Section */
.page-index__guide-section {
  padding: 80px 0;
  background-color: #fff;
}

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

.page-index__step-card {
  background-color: var(--page-index-bg-light);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  padding-top: 60px;
}

.page-index__step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--page-index-secondary-color);
  color: var(--page-index-primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 4px solid var(--page-index-primary-color);
}

.page-index__step-card h3 {
  font-size: 1.4em;
  color: var(--page-index-primary-color);
  margin-bottom: 15px;
}

.page-index__step-card p {
  color: #666;
}

/* Responsible Gambling Section */
.page-index__responsible-gambling-section {
  padding: 80px 0;
  background-color: var(--page-index-bg-light);
}

.page-index__responsibility-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 700px;
  text-align: left;
}

.page-index__responsibility-list li {
  background-color: #fff;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-left: 5px solid var(--page-index-secondary-color);
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: #444;
}

/* Details Section */
.page-index__details-section {
  padding: 80px 0;
  background-color: #fff;
}

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

.page-index__detail-card {
  background-color: var(--page-index-bg-light);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__detail-card h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-index__detail-card h3 a {
  color: var(--page-index-primary-color);
  text-decoration: none;
}

.page-index__detail-card h3 a:hover {
  color: var(--page-index-secondary-color);
  text-decoration: underline;
}

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

/* FAQ Section */
.page-index__faq-section {
  padding: 80px 0;
  background-color: var(--page-index-bg-light);
}

.page-index__faq-item {
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__faq-item h3 {
  font-size: 1.3em;
  color: var(--page-index-primary-color);
  margin-bottom: 10px;
}

.page-index__faq-item p {
  color: #555;
}

/* Contact CTA Section */
.page-index__contact-cta {
  background: linear-gradient(90deg, var(--page-index-primary-color) 0%, #1a3a5a 100%);
  padding: 60px 0;
  text-align: center;
  color: var(--page-index-text-light);
}

.page-index__contact-cta .page-index__section-title {
  margin-bottom: 20px;
}

.page-index__contact-cta .page-index__section-description {
  margin-bottom: 30px;
}

/* 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__about-grid,
  .page-index__app-content {
    grid-template-columns: 1fr;
  }
  .page-index__app-text h2 {
    text-align: center;
  }
  .page-index__app-text h2::after {
    margin-left: auto;
    margin-right: auto;
  }
  .page-index__about-image,
  .page-index__app-image {
    order: -1;
  }
}

@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__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn--large {
    width: 100%;
  }
  .page-index__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-index__section-description {
    margin-bottom: 40px;
  }
  .page-index__game-grid,
  .page-index__promo-grid,
  .page-index__guide-steps,
  .page-index__detail-list-grid {
    grid-template-columns: 1fr;
  }
  .page-index__step-number {
    top: -20px;
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }
  .page-index__step-card {
    padding-top: 50px;
  }
}

@media (max-width: 480px) {
  .page-index__container {
    padding: 0 15px;
  }
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-index__game-card,
  .page-index__promo-card,
  .page-index__step-card,
  .page-index__detail-card,
  .page-index__faq-item {
    padding: 20px;
  }
}