/* style/g.css */
.page-g {
  font-family: 'Arial', sans-serif;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  line-height: 1.6;
}

.page-g__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding for visual separation */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-g__video-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-g__video {
  width: 100%;
  height: auto;
  display: block;
}

.page-g__hero-content {
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: 40px;
  background: rgba(23, 25, 31, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #A84F0C; /* Border */
}

.page-g__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  color: #FFB04D; /* Glow */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.5);
}

.page-g__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF3E6;
}

.page-g__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-g__cta-button:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
  transform: translateY(-2px);
}

.page-g__cta-button--centered {
  display: block;
  margin: 30px auto 0 auto;
  max-width: 350px;
}

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

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

.page-g__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-g__section-title {
  font-size: clamp(1.8em, 4vw, 2.8em);
  color: #FF8C1A; /* Main Color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 140, 26, 0.3);
}

.page-g__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #FFF3E6;
}

.page-g__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.page-g__text-block {
  font-size: 1em;
  line-height: 1.8;
  color: #FFF3E6;
  margin-bottom: 15px;
}

.page-g__text-block:last-child {
  margin-bottom: 0;
}

.page-g__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C;
}

.page-g__dark-section {
  background-color: #17191F; /* Card BG */
}

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

.page-g__card {
  background-color: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-g__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 165, 58, 0.4);
}

.page-g__card-title {
  font-size: 1.5em;
  color: #FFA53A; /* Auxiliary Color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-g__card-text {
  font-size: 1em;
  color: #FFF3E6;
  line-height: 1.7;
  flex-grow: 1;
}

.page-g__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  border: 1px solid #A84F0C;
}

.page-g__rule-list, .page-g__advantage-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 25px;
}

.page-g__rule-item, .page-g__advantage-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-g__rule-heading, .page-g__advantage-heading {
  font-size: 1.4em;
  color: #FF8C1A; /* Main Color */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-g__rule-text, .page-g__advantage-text {
  font-size: 1em;
  color: #FFF3E6;
  line-height: 1.7;
}

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

.page-g__step-item {
  background-color: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-g__step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(255, 165, 58, 0.5);
}

.page-g__step-title {
  font-size: 1.3em;
  color: #FFA53A; /* Auxiliary Color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-g__step-text {
  font-size: 0.95em;
  color: #FFF3E6;
  line-height: 1.7;
}

.page-g__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-g__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-g__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: 600;
  color: #FF8C1A; /* Main Color */
  background-color: #0D0E12; /* Background */
  border-bottom: 1px solid transparent; /* To prevent double border */
}

.page-g__faq-item[open] .page-g__faq-question {
  border-bottom: 1px solid #A84F0C;
}

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

.page-g__faq-question::marker {
  display: none;
}

.page-g__faq-qtext {
  flex-grow: 1;
}

.page-g__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #FFA53A;
  transition: transform 0.3s ease;
}

.page-g__faq-item[open] .page-g__faq-toggle {
  transform: rotate(45deg);
}

.page-g__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #FFF3E6;
  line-height: 1.7;
}

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

.page-g__text-link:hover {
  color: #FFA53A;
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-g__hero-content {
    margin-top: 30px;
    padding: 15px;
  }

  .page-g__main-title {
    font-size: clamp(1.8em, 4.5vw, 3em);
  }

  .page-g__section-title {
    font-size: clamp(1.6em, 3.5vw, 2.5em);
  }

  .page-g__card-grid, .page-g__step-by-step {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .page-g__section-padding {
    padding: 40px 15px;
  }
}

@media (max-width: 768px) {
  .page-g__video-wrapper,
  .page-g__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-g__hero-section {
    padding-bottom: 40px;
  }

  .page-g__hero-content {
    margin-top: 20px;
    padding: 15px;
    width: calc(100% - 30px); /* Adjust for padding */
    box-sizing: border-box;
  }

  .page-g__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-g__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-g__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-g__cta-button--centered,
  .page-g__cta-button--large {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-g__section-title {
    font-size: clamp(1.4em, 5vw, 2em);
    margin-bottom: 30px;
  }

  .page-g__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-g__card-grid, .page-g__step-by-step {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-g__card, .page-g__rule-item, .page-g__advantage-item, .page-g__step-item {
    padding: 20px;
  }

  .page-g__card-image, .page-g__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-g__faq-question {
    font-size: 1.05em;
    padding: 15px 20px;
  }

  .page-g__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }

  .page-g__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-g__hero-content {
    margin-top: 15px;
    padding: 10px;
  }

  .page-g__main-title {
    font-size: 1.8em;
  }

  .page-g__hero-description {
    font-size: 0.9em;
  }

  .page-g__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-g__section-padding {
    padding: 30px 10px;
  }

  .page-g__section-title {
    font-size: 1.6em;
  }

  .page-g__section-description {
    font-size: 0.85em;
  }

  .page-g__faq-question {
    font-size: 1em;
  }
}