.page--g {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

.page--g section {
  padding: 60px 0;
}

.page--g section:nth-of-type(even) {
  background-color: #ffffff;
}

.page--g .section-title {
  font-size: 36px;
  color: #0A2463;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  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: #FFD700;
  border-radius: 2px;
}

.page--g .section-description {
  font-size: 17px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #555555;
}

.page--g .text-link {
  color: #0A2463;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page--g .text-link:hover {
  color: #FFD700;
}

/* Hero Section */
.page--g .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #0A2463, #1A3F87);
  color: #ffffff;
}

.page--g .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page--g .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page--g .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page--g .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page--g .main-title {
  font-size: 52px;
  margin-bottom: 20px;
  font-weight: 900;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page--g .hero-description {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page--g .hero-description .page--g.text-link {
  color: #FFD700;
}

.page--g .hero-description .page--g.text-link:hover {
  color: #ffffff;
}

.page--g .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #FFD700;
  color: #0A2463;
  text-decoration: none;
  border-radius: 8px;
  font-size: 22px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid #FFD700;
}

.page--g .cta-button:hover {
  background: #0A2463;
  color: #FFD700;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border-color: #0A2463;
}

.page--g .cta-button.small {
  padding: 10px 25px;
  font-size: 16px;
  margin-top: 15px;
}

.page--g .cta-button.small:hover {
  transform: translateY(-1px);
}

/* Game Types Section */
.page--g .game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page--g .game-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 25px;
}

.page--g .game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.page--g .card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eeeeee;
  margin-bottom: 20px;
}

.page--g .card-title {
  font-size: 24px;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: bold;
  padding: 0 15px;
}

.page--g .card-text {
  font-size: 15px;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page--g .card-button {
  display: inline-block;
  padding: 12px 30px;
  background: #0A2463;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #0A2463;
}

.page--g .card-button:hover {
  background: #FFD700;
  color: #0A2463;
  border-color: #FFD700;
}

/* How-To-Bet Section */
.page--g .steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page--g .step-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page--g .step-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page--g .step-title {
  font-size: 22px;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: bold;
}

.page--g .step-text {
  font-size: 15px;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page--g .step-button {
  display: inline-block;
  padding: 10px 25px;
  background: #FFD700;
  color: #0A2463;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #FFD700;
}

.page--g .step-button:hover {
  background: #0A2463;
  color: #FFD700;
  border-color: #0A2463;
}

/* Tips Section */
.page--g .tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page--g .tip-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.09);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page--g .tip-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}

.page--g .tip-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eeeeee;
}

.page--g .tip-title {
  font-size: 22px;
  color: #0A2463;
  margin: 20px 20px 10px 20px;
  font-weight: bold;
}

.page--g .tip-text {
  font-size: 15px;
  color: #666666;
  padding: 0 20px 25px 20px;
  flex-grow: 1;
}

/* Benefits Section */
.page--g .benefit-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page--g .benefit-item {
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page--g .benefit-heading {
  font-size: 22px;
  color: #0A2463;
  margin-bottom: 10px;
  font-weight: bold;
}

.page--g .benefit-text {
  font-size: 16px;
  color: #555555;
}

/* FAQ Section */
.page--g .faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page--g .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

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

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

.page--g .faq-question h3 {
  font-size: 18px;
  color: #0A2463;
  margin: 0;
  font-weight: bold;
}

.page--g .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

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

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px 25px;
  border-top: 1px solid #e0e0e0;
}

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

.page--g .faq-answer p {
  margin: 0;
  font-size: 16px;
  color: #555555;
}

.page--g .faq-answer ul {
  margin-top: 10px;
  margin-bottom: 0;
  padding-left: 20px;
  color: #555555;
}

.page--g .faq-answer li {
  font-size: 16px;
  margin-bottom: 5px;
}

/* Conclusion Section */
.page--g .conclusion-section {
  background: linear-gradient(135deg, #0A2463, #1A3F87);
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page--g .conclusion-section .section-title {
  color: #FFD700;
}

.page--g .conclusion-section .section-title::after {
  background-color: #FFD700;
}

.page--g .conclusion-section .section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page--g .conclusion-section .page--g.text-link {
  color: #FFD700;
}

.page--g .conclusion-section .page--g.text-link:hover {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page--g .main-title {
    font-size: 44px;
  }
  .page--g .hero-description {
    font-size: 18px;
  }
  .page--g .cta-button {
    padding: 15px 35px;
    font-size: 20px;
  }
  .page--g .section-title {
    font-size: 32px;
  }
  .page--g .section-description {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page--g section {
    padding: 40px 0;
  }
  .page--g .hero-section {
    padding: 60px 15px;
  }
  .page--g .main-title {
    font-size: 36px;
  }
  .page--g .hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page--g .cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }
  .page--g .section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page--g .section-description {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page--g .game-cards, .page--g .steps-container, .page--g .tips-grid, .page--g .benefit-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page--g .card-image {
    height: 180px;
  }
  .page--g .card-title {
    font-size: 20px;
  }
  .page--g .step-title {
    font-size: 18px;
  }
  .page--g .tip-title {
    font-size: 20px;
  }
  .page--g .benefit-heading {
    font-size: 20px;
  }
  .page--g .faq-question {
    padding: 15px 20px;
  }
  .page--g .faq-question h3 {
    font-size: 16px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page--g .main-title {
    font-size: 30px;
  }
  .page--g .hero-description {
    font-size: 14px;
  }
  .page--g .cta-button {
    padding: 10px 25px;
    font-size: 16px;
  }
  .page--g .section-title {
    font-size: 24px;
  }
  .page--g .section-description {
    font-size: 14px;
  }
  .page--g .step-icon {
    width: 80px;
    height: 80px;
  }
  .page--g .faq-question h3 {
    font-size: 14px;
  }
  .page--g .faq-toggle {
    font-size: 20px;
  }
  .page--g .faq-answer p, .page--g .faq-answer li {
    font-size: 14px;
  }
}