/* style/-g.css */
:root {
  --primary-color: #0A2239;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f9f9f9;
  --background-dark: #1a1a1a;
  --border-color: #e0e0e0;
}

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

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

.page--g__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page--g__section:nth-of-type(odd) {
  background-color: #f0f0f0;
}

.page--g__section:nth-of-type(even) {
  background-color: var(--background-light);
}

.page--g h1,
.page--g h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.5em;
  font-weight: bold;
}

.page--g h3 {
  color: var(--primary-color);
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page--g p {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
}

.page--g a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page--g a:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.page--g__hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0A2239 50%, #1c3d5a 100%);
  padding: 80px 0;
  color: var(--text-light);
  text-align: center;
}

.page--g__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page--g__hero-content {
  margin-bottom: 40px;
}

.page--g__hero-content h1 {
  color: var(--secondary-color);
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page--g__hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #e0e0e0;
}

.page--g__hero-image {
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page--g__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page--g__cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 20px;
}

.page--g__cta-button:hover {
  background-color: #ffc400;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page--g__cta-button--large {
  padding: 18px 45px;
  font-size: 1.3em;
}

/* Why Choose Section */
.page--g__why-choose h2 {
  color: var(--primary-color);
}

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

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

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

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

.page--g__feature-item p {
  font-size: 1em;
  color: var(--text-dark);
}

.page--g__image-container {
  text-align: center;
  margin-top: 50px;
}

.page--g__image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Game Types Section */
.page--g__game-types h2 {
  color: var(--primary-color);
}

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

.page--g__type-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page--g__type-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page--g__type-card h3 {
  color: var(--primary-color);
  padding: 20px 20px 10px;
  font-size: 1.6em;
}

.page--g__type-card p {
  padding: 0 20px 20px;
  font-size: 1em;
  color: var(--text-dark);
}

/* How To Play Section */
.page--g__how-to-play h2 {
  color: var(--primary-color);
}

.page--g__step-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin-top: 40px;
}

.page--g__step-list li {
  background-color: #ffffff;
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  position: relative;
  padding-left: 70px; /* Space for step number */
}

.page--g__step-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 25px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page--g__step-list h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page--g__step-list p {
  font-size: 1em;
  color: var(--text-dark);
}

/* Betting Tips Section */
.page--g__betting-tips h2 {
  color: var(--primary-color);
}

.page--g__tip-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page--g__tip-list li {
  background-color: #ffffff;
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.page--g__tip-list h3 {
  color: var(--secondary-color);
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page--g__tip-list p {
  font-size: 1em;
  color: var(--text-dark);
}

/* FAQ Section */
.page--g__faq h2 {
  color: var(--primary-color);
}

.page--g__faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: #fcfcfc;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 25px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
  color: var(--text-dark);
}

/* Conclusion Section */
.page--g__conclusion {
  text-align: center;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 0;
}

.page--g__conclusion h2 {
  color: var(--secondary-color);
  margin-bottom: 25px;
}

.page--g__conclusion p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #e0e0e0;
}

.page--g__conclusion a {
  color: var(--secondary-color);
}

.page--g__conclusion a:hover {
  color: #ffc400;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page--g__hero-content h1 {
    font-size: 2.8em;
  }
  .page--g h2 {
    font-size: 2em;
  }
  .page--g__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page--g__cta-button--large {
    padding: 15px 35px;
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page--g__hero-section {
    padding: 60px 0;
  }
  .page--g__hero-content h1 {
    font-size: 2.2em;
  }
  .page--g__hero-content p {
    font-size: 1em;
  }
  .page--g__section {
    padding: 40px 0;
  }
  .page--g h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page--g h3 {
    font-size: 1.5em;
  }
  .page--g p {
    font-size: 0.95em;
  }
  .page--g__feature-grid, .page--g__type-card-grid {
    grid-template-columns: 1fr;
  }
  .page--g__step-list li,
  .page--g__tip-list li {
    padding: 20px 25px 20px 60px;
  }
  .page--g__step-list li::before {
    left: 15px;
    top: 20px;
    width: 30px;
    height: 30px;
    font-size: 1em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .page--g__hero-content h1 {
    font-size: 1.8em;
  }
  .page--g__hero-content p {
    font-size: 0.9em;
  }
  .page--g__cta-button {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page--g h2 {
    font-size: 1.5em;
  }
  .page--g h3 {
    font-size: 1.3em;
  }
  .page--g__type-card img {
    height: 200px;
  }
}