/* style/g.css */

/* Custom Properties for Colors */
:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --bg-color: #0D0E12;
  --card-bg-color: #17191F;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
  --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

.page-g {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Default text color for the page */
  background-color: var(--bg-color); /* Default background color for the page */
  line-height: 1.6;
}

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

.page-g__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.page-g__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 0 0 5px rgba(255, 140, 26, 0.5);
}

.page-g__section-description {
  font-size: 18px;
  margin-bottom: 40px;
  color: var(--text-main-color);
}

.page-g__section-description--light {
  color: #f0f0f0;
}

.page-g__card {
  background-color: var(--card-bg-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  text-align: left;
  color: var(--text-main-color);
}

.page-g__card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-g__cta-button,
.page-g__text-button,
.page-g__promo-button,
.page-g__step-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-g__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
}

.page-g__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 165, 58, 0.4);
}

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

.page-g__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--card-bg-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 165, 58, 0.4);
}

.page-g__btn-tertiary {
  background: var(--primary-color);
  color: #ffffff;
  border: none;
}

.page-g__btn-tertiary:hover {
  background: var(--deep-orange);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.4);
}

/* HERO Section */
.page-g__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for hero section */
  overflow: hidden;
}

.page-g__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure it takes full width within max-width */
}

.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.5), 0 0 20px var(--glow-color);
}

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

.page-g__main-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 140, 26, 0.8);
}

.page-g__hero-description {
  font-size: 20px;
  color: var(--text-main-color);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Introduction Section */
.page-g__introduction-section .page-g__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-g__introduction-section .page-g__image-container {
  flex: 1;
  min-width: 300px;
}

.page-g__introduction-section .page-g__image-container img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-g__introduction-section .page-g__text-content {
  flex: 2;
}

.page-g__introduction-section p {
  margin-bottom: 15px;
  font-size: 17px;
}

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

.page-g__betting-card {
  padding: 30px;
}

.page-g__betting-tip {
  margin-top: 40px;
  font-size: 18px;
  color: var(--secondary-color);
}

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

.page-g__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
}

.page-g__step-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 140, 26, 0.1);
}

.page-g__step-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 50%;
}

.page-g__step-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-g__step-item p {
  font-size: 16px;
  margin-bottom: 20px;
}

.page-g__step-button {
  margin-top: auto; /* Push button to bottom */
}

/* Tips Section */
.page-g__tips-section .page-g__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-g__tips-section .page-g__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-g__tips-section .page-g__image-container {
  flex: 1;
  min-width: 300px;
}

.page-g__tips-section .page-g__image-container img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-g__tips-section .page-g__text-content {
  flex: 2;
}

.page-g__list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-g__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 17px;
}

.page-g__list li::before {
  content: '✓';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Security Section */
.page-g__dark-section {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--deep-orange) 100%);
}

.page-g__dark-section .page-g__section-title {
  color: #ffffff;
  text-shadow: none;
}

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

.page-g__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.page-g__feature-card .page-g__card-title {
  color: var(--secondary-color);
}

.page-g__security-section .page-g__text-button {
  margin-top: 40px;
}

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

.page-g__promo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.page-g__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-g__promo-card .page-g__card-title {
  font-size: 20px;
}

.page-g__promo-card p {
  font-size: 16px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-g__promo-button {
  margin-top: auto; /* Push button to bottom */
  width: 100%;
}

/* FAQ Section */
.page-g__faq-list {
  margin-top: 40px;
  text-align: left;
}

details.page-g__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
}

details.page-g__faq-item summary.page-g__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main-color);
}

details.page-g__faq-item summary.page-g__faq-question::-webkit-details-marker {
  display: none;
}

details.page-g__faq-item summary.page-g__faq-question:hover {
  background: rgba(255, 140, 26, 0.1);
}

.page-g__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--secondary-color);
}

.page-g__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-g__faq-item .page-g__faq-answer {
  padding: 0 20px 20px;
  background: rgba(255, 140, 26, 0.05);
  border-radius: 0 0 5px 5px;
  color: var(--text-main-color);
  font-size: 16px;
  line-height: 1.7;
}

/* Final CTA Section */
.page-g__cta-final-section {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--deep-orange) 0%, var(--primary-color) 100%);
}

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

.page-g__cta-final-section .page-g__section-title {
  color: #ffffff;
  margin-bottom: 25px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.page-g__cta-final-section .page-g__section-description {
  color: #f0f0f0;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-g__section-title {
    font-size: 32px;
  }
  .page-g__hero-image img {
    border-radius: 8px;
  }
  .page-g__main-title {
    font-size: 42px;
  }
  .page-g__hero-description {
    font-size: 18px;
  }
  .page-g__introduction-section .page-g__content-wrapper,
  .page-g__tips-section .page-g__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-g__introduction-section .page-g__image-container,
  .page-g__tips-section .page-g__image-container {
    max-width: 600px;
    margin: 0 auto 30px auto;
  }
  .page-g__introduction-section .page-g__text-content,
  .page-g__tips-section .page-g__text-content {
    text-align: center;
  }
  .page-g__list li {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-g__section {
    padding: 40px 0;
  }
  .page-g__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-g__main-title {
    font-size: 36px;
    margin-bottom: 15px;
  }
  .page-g__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-g__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-g__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-g__cta-button,
  .page-g__text-button,
  .page-g__promo-button,
  .page-g__step-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }
  .page-g__cta-buttons,
  .page-g__button-group,
  .page-g__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-g__promo-card img {
    height: 180px;
  }
  .page-g__card {
    padding: 25px;
  }
  .page-g__card-title {
    font-size: 20px;
  }
  .page-g__step-item {
    padding: 25px 15px;
  }
  .page-g__step-icon {
    width: 100px;
    height: 100px;
  }
  .page-g__step-icon img {
    width: 80px;
    height: 80px;
  }
  .page-g__tips-section .page-g__text-content,
  .page-g__introduction-section .page-g__text-content {
    padding: 0 10px;
  }
  .page-g__list li {
    font-size: 16px;
  }
  .page-g__dark-section {
    padding: 50px 0;
  }
  .page-g__feature-card .page-g__card-title {
    font-size: 18px;
  }
  details.page-g__faq-item summary.page-g__faq-question {
    padding: 15px;
  }
  .page-g__faq-qtext {
    font-size: 15px;
  }
  details.page-g__faq-item .page-g__faq-answer {
    padding: 0 15px 15px;
  }
  .page-g__cta-final-section {
    padding: 50px 0;
  }
  /* All images responsive */
  .page-g img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-g__section,
  .page-g__card,
  .page-g__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-g__main-title {
    font-size: 30px;
  }
  .page-g__section-title {
    font-size: 24px;
  }
  .page-g__cta-button,
  .page-g__text-button,
  .page-g__promo-button,
  .page-g__step-button {
    padding: 10px 15px;
    font-size: 15px;
  }
  .page-g__betting-grid,
  .page-g__steps-grid,
  .page-g__features-grid,
  .page-g__promo-grid {
    grid-template-columns: 1fr;
  }
}