/* style/faq-game-rules.css */

/* Biến CSS cho màu sắc */
:root {
  --gk88-primary-color: #007BFF;
  --gk88-secondary-color: #FFD700;
  --gk88-text-dark: #333333;
  --gk88-text-light: #ffffff;
  --gk88-bg-light: #f9f9f9;
  --gk88-bg-dark: #1a1a1a;
  --gk88-border-color: #e0e0e0;
}

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

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

/* Hero Section */
.page-faq-game-rules__hero {
  background: linear-gradient(135deg, var(--gk88-primary-color) 0%, #0056b3 100%); /* Adjusted for better contrast with text */
  color: var(--gk88-text-light);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-faq-game-rules__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,geometric,blue_gold,pattern]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-faq-game-rules__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  color: var(--gk88-text-light);
}

.page-faq-game-rules__hero-subtitle {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
  color: var(--gk88-text-light);
}

.page-faq-game-rules__cta-button {
  display: inline-block;
  background-color: var(--gk88-secondary-color);
  color: var(--gk88-text-dark);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.page-faq-game-rules__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold */
  transform: translateY(-3px);
}

.page-faq-game-rules__cta-button--secondary {
  background-color: var(--gk88-primary-color);
  color: var(--gk88-text-light);
  margin-left: 20px;
}

.page-faq-game-rules__cta-button--secondary:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
}

.page-faq-game-rules__cta-button--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

/* Sections */
.page-faq-game-rules__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--gk88-border-color);
}

.page-faq-game-rules__section:last-of-type {
  border-bottom: none;
}

.page-faq-game-rules__section-title {
  font-size: 2.5em;
  color: var(--gk88-primary-color);
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.page-faq-game-rules__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--gk88-secondary-color);
  border-radius: 2px;
}

/* Rule Items */
.page-faq-game-rules__rule-item {
  background-color: var(--gk88-text-light);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-faq-game-rules__rule-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-faq-game-rules__rule-heading {
  font-size: 1.8em;
  color: var(--gk88-primary-color);
  margin-bottom: 15px;
  border-left: 5px solid var(--gk88-secondary-color);
  padding-left: 15px;
}

.page-faq-game-rules__rule-item p {
  font-size: 1.1em;
  color: var(--gk88-text-dark);
  margin-bottom: 15px;
}

.page-faq-game-rules__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-faq-game-rules__secondary-cta {
  display: inline-block;
  background-color: var(--gk88-primary-color);
  color: var(--gk88-text-light);
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
  margin-top: 15px;
}

.page-faq-game-rules__secondary-cta:hover {
  background-color: #0056b3;
}

/* Game Categories */
.page-faq-game-rules__game-category {
  background-color: var(--gk88-text-light);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gk88-border-color);
}

.page-faq-game-rules__category-heading {
  font-size: 2em;
  color: var(--gk88-primary-color);
  margin-bottom: 20px;
  border-bottom: 3px solid var(--gk88-secondary-color);
  padding-bottom: 10px;
}

.page-faq-game-rules__game-category ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--gk88-text-dark);
}

.page-faq-game-rules__game-category ul li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

/* Final CTA Section */
.page-faq-game-rules__final-cta {
  background: linear-gradient(45deg, var(--gk88-primary-color), #0056b3);
  color: var(--gk88-text-light);
  padding: 80px 0;
  text-align: center;
  border-radius: 15px;
  margin: 40px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-faq-game-rules__final-cta-content {
  max-width: 900px;
}

.page-faq-game-rules__final-cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--gk88-text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-faq-game-rules__final-cta-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: var(--gk88-text-light);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-faq-game-rules__hero-title {
    font-size: 2.8em;
  }
  .page-faq-game-rules__section-title {
    font-size: 2em;
  }
  .page-faq-game-rules__rule-heading {
    font-size: 1.5em;
  }
  .page-faq-game-rules__category-heading {
    font-size: 1.8em;
  }
  .page-faq-game-rules__final-cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-faq-game-rules__hero {
    padding: 80px 0;
  }
  .page-faq-game-rules__hero-title {
    font-size: 2.2em;
  }
  .page-faq-game-rules__hero-subtitle {
    font-size: 1em;
  }
  .page-faq-game-rules__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 10px 5px;
  }
  .page-faq-game-rules__cta-button--secondary {
    margin-left: 0;
  }
  .page-faq-game-rules__section {
    padding: 40px 0;
  }
  .page-faq-game-rules__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-faq-game-rules__rule-item {
    padding: 20px;
    margin-bottom: 20px;
  }
  .page-faq-game-rules__rule-heading {
    font-size: 1.3em;
  }
  .page-faq-game-rules__game-category {
    padding: 20px;
    margin-bottom: 30px;
  }
  .page-faq-game-rules__category-heading {
    font-size: 1.6em;
  }
  .page-faq-game-rules__final-cta {
    padding: 50px 0;
  }
  .page-faq-game-rules__final-cta-title {
    font-size: 1.8em;
  }
  .page-faq-game-rules__final-cta-text {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-faq-game-rules__hero {
    padding: 60px 0;
  }
  .page-faq-game-rules__hero-title {
    font-size: 1.8em;
  }
  .page-faq-game-rules__hero-subtitle {
    font-size: 0.9em;
  }
  .page-faq-game-rules__cta-button {
    width: 100%;
    margin-bottom: 15px;
  }
  .page-faq-game-rules__cta-button--secondary {
    margin-left: 0;
  }
  .page-faq-game-rules__section-title {
    font-size: 1.5em;
  }
  .page-faq-game-rules__rule-heading {
    font-size: 1.2em;
  }
  .page-faq-game-rules__category-heading {
    font-size: 1.4em;
  }
  .page-faq-game-rules__final-cta-title {
    font-size: 1.6em;
  }
}