/* style/-g.css */

/* Biến CSS cho màu sắc */
:root {
  --page-g-primary-color: #0A2240;
  --page-g-secondary-color: #FFD700;
  --page-g-text-light: #FFFFFF;
  --page-g-text-dark: #333333;
  --page-g-bg-light: #F8F8F8;
  --page-g-bg-dark: #1A3A5C;
}

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

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

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

.page--g__mt-4 {
  margin-top: 2rem;
}

/* Hero Section */
.page--g__hero-section {
  background: linear-gradient(135deg, var(--page-g-primary-color), var(--page-g-bg-dark));
  color: var(--page-g-text-light);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page--g__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:cockfighting,abstract_pattern,dark_gold]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page--g__hero-section .page--g__container {
  position: relative;
  z-index: 1;
}

.page--g__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--page-g-secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page--g__hero-description {
  font-size: 1.3rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page--g__hero-cta .page--g__btn {
  margin: 0 10px;
}

/* General Section Styling */
.page--g__section-title {
  font-size: 2.5rem;
  color: var(--page-g-primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page--g__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

/* Buttons */
.page--g__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
}

.page--g__btn--primary {
  background-color: var(--page-g-secondary-color);
  color: var(--page-g-primary-color);
}

.page--g__btn--primary:hover {
  background-color: #E6B800;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page--g__btn--secondary {
  background-color: transparent;
  color: var(--page-g-secondary-color);
  border: 2px solid var(--page-g-secondary-color);
}

.page--g__btn--secondary:hover {
  background-color: var(--page-g-secondary-color);
  color: var(--page-g-primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page--g__btn--small {
  padding: 10px 20px;
  font-size: 1rem;
}

.page--g__btn--large {
  padding: 18px 40px;
  font-size: 1.2rem;
}

/* Grid Layouts */
.page--g__grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

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

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

/* Image Styling */
.page--g__img-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page--g__content-block p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--page-g-text-dark);
}

.page--g__content-block strong {
  color: var(--page-g-primary-color);
}

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

.page--g__features-section .page--g__section-title {
  color: var(--page-g-secondary-color);
}

.page--g__features-section .page--g__section-title::after {
  background-color: var(--page-g-text-light);
}

.page--g__feature-card {
  background-color: var(--page-g-primary-color);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page--g__feature-card:hover {
  transform: translateY(-10px);
}

.page--g__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px var(--page-g-secondary-color)); /* Allowed for icons, not images */
}

.page--g__feature-title {
  font-size: 1.5rem;
  color: var(--page-g-secondary-color);
  margin-bottom: 15px;
}

.page--g__feature-description {
  font-size: 1rem;
  color: #E0E0E0;
}

/* How-To-Play Section */
.page--g__how-to-play-section {
  padding: 80px 0;
  background-color: var(--page-g-bg-light);
}

.page--g__step-card {
  background-color: var(--page-g-text-light);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border-top: 5px solid var(--page-g-secondary-color);
}

.page--g__step-card:hover {
  transform: translateY(-5px);
}

.page--g__step-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--page-g-secondary-color);
  margin-bottom: 15px;
}

.page--g__step-title {
  font-size: 1.6rem;
  color: var(--page-g-primary-color);
  margin-bottom: 15px;
}

.page--g__step-description {
  font-size: 1rem;
  color: var(--page-g-text-dark);
  margin-bottom: 20px;
}

/* Betting Types Section */
.page--g__betting-types-section {
  padding: 80px 0;
  background-color: var(--page-g-bg-dark);
  color: var(--page-g-text-light);
}

.page--g__betting-types-section .page--g__section-title {
  color: var(--page-g-secondary-color);
}

.page--g__betting-types-section .page--g__section-title::after {
  background-color: var(--page-g-text-light);
}

.page--g__betting-types-section .page--g__section-description {
  color: #E0E0E0;
}

.page--g__card {
  background-color: var(--page-g-primary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page--g__card-title {
  font-size: 1.8rem;
  color: var(--page-g-secondary-color);
  margin-bottom: 15px;
}

.page--g__card-description {
  font-size: 1rem;
  color: #E0E0E0;
}

/* Live Stream Section */
.page--g__live-stream-section {
  padding: 80px 0;
  background-color: var(--page-g-bg-light);
}

.page--g__live-stream-section--alt {
  background-color: var(--page-g-bg-dark);
  color: var(--page-g-text-light);
}

.page--g__live-stream-section--alt .page--g__section-title {
  color: var(--page-g-secondary-color);
}

.page--g__live-stream-section--alt .page--g__section-title::after {
  background-color: var(--page-g-text-light);
}

.page--g__live-stream-section--alt .page--g__content-block p {
  color: #E0E0E0;
}

.page--g__grid-2--reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.page--g__grid-2--reverse > *:nth-child(1) {
  grid-column: 2;
}

.page--g__grid-2--reverse > *:nth-child(2) {
  grid-column: 1;
}

/* Promotions Section */
.page--g__promotions-section {
  padding: 80px 0;
  background-color: var(--page-g-primary-color);
  color: var(--page-g-text-light);
}

.page--g__promotions-section .page--g__section-title {
  color: var(--page-g-secondary-color);
}

.page--g__promotions-section .page--g__section-title::after {
  background-color: var(--page-g-text-light);
}

.page--g__promotions-section .page--g__section-description {
  color: #E0E0E0;
}

.page--g__promo-card {
  background-color: var(--page-g-bg-dark);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border-bottom: 5px solid var(--page-g-secondary-color);
}

.page--g__promo-card:hover {
  transform: translateY(-10px);
}

.page--g__promo-img {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
}

.page--g__promo-title {
  font-size: 1.8rem;
  color: var(--page-g-secondary-color);
  margin-bottom: 15px;
}

.page--g__promo-description {
  font-size: 1rem;
  color: #E0E0E0;
  margin-bottom: 20px;
}

.page--g__cta-full-width {
  text-align: center;
  margin-top: 60px;
  padding: 30px;
  background-color: rgba(255, 215, 0, 0.1);
  border-radius: 10px;
  border: 1px solid var(--page-g-secondary-color);
}

.page--g__cta-full-width p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: var(--page-g-text-light);
}

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

.page--g__faq-item {
  background-color: var(--page-g-text-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page--g__faq-question {
  font-size: 1.3rem;
  color: var(--page-g-primary-color);
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page--g__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--page-g-secondary-color);
  transition: transform 0.3s ease;
}

.page--g__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page--g__faq-answer {
  font-size: 1rem;
  color: var(--page-g-text-dark);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding-top: 0;
}

.page--g__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding-top: 15px;
}

.page--g__faq-item .page--g__btn {
  margin-top: 15px;
}

/* Final CTA Section */
.page--g__final-cta-section {
  padding: 80px 0;
  background: linear-gradient(45deg, var(--page-g-primary-color), var(--page-g-bg-dark));
  color: var(--page-g-text-light);
}

.page--g__final-cta-section .page--g__section-title {
  color: var(--page-g-secondary-color);
}

.page--g__final-cta-section .page--g__section-title::after {
  background-color: var(--page-g-text-light);
}

.page--g__final-cta-section .page--g__section-description {
  color: #E0E0E0;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page--g__hero-title {
    font-size: 2.8rem;
  }

  .page--g__section-title {
    font-size: 2rem;
  }

  .page--g__grid-2,
  .page--g__grid-2--reverse {
    grid-template-columns: 1fr;
    direction: ltr; /* Reset for mobile */
  }

  .page--g__grid-2--reverse > *:nth-child(1),
  .page--g__grid-2--reverse > *:nth-child(2) {
    grid-column: auto;
  }

  .page--g__hero-section,
  .page--g__about-section,
  .page--g__features-section,
  .page--g__how-to-play-section,
  .page--g__betting-types-section,
  .page--g__live-stream-section,
  .page--g__promotions-section,
  .page--g__faq-section,
  .page--g__final-cta-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page--g__hero-title {
    font-size: 2.2rem;
  }

  .page--g__hero-description {
    font-size: 1.1rem;
  }

  .page--g__btn {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page--g__hero-cta .page--g__btn {
    display: block;
    margin: 15px auto;
    width: 80%;
  }

  .page--g__grid-3,
  .page--g__steps-grid {
    grid-template-columns: 1fr;
  }

  .page--g__feature-title,
  .page--g__step-title,
  .page--g__card-title,
  .page--g__promo-title {
    font-size: 1.4rem;
  }

  .page--g__faq-question {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .page--g__hero-title {
    font-size: 1.8rem;
  }

  .page--g__section-title {
    font-size: 1.8rem;
  }

  .page--g__hero-section,
  .page--g__about-section,
  .page--g__features-section,
  .page--g__how-to-play-section,
  .page--g__betting-types-section,
  .page--g__live-stream-section,
  .page--g__promotions-section,
  .page--g__faq-section,
  .page--g__final-cta-section {
    padding: 40px 0;
  }
}