.page-game-guides {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

.page-game-guides__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-game-guides__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #FFD36B; /* Glow color for emphasis */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-game-guides__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-game-guides__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-game-guides__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
  opacity: 0.9;
}

.page-game-guides__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow */
  border: 2px solid #3A2A12; /* Border */
}

.page-game-guides__btn-secondary:hover {
  background: #222222;
  color: #FFD86A;
  border-color: #F2C14E;
}

.page-game-guides__section {
  padding: 60px 0;
}

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

.page-game-guides__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
}

.page-game-guides__section-description {
  font-size: 1.05rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF6D6;
}

.page-game-guides__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

.page-game-guides__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-game-guides__dark-section {
  background-color: #0A0A0A; /* Background */
}

.page-game-guides__dark-bg {
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
}

/* Feature Grid */
.page-game-guides__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-guides__feature-item {
  text-align: center;
}

.page-game-guides__feature-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(242, 193, 78, 0.5));
}

.page-game-guides__feature-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
}

/* Getting Started Steps */
.page-game-guides__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-guides__step-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-guides__step-title {
  font-size: 1.4rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
}

.page-game-guides__step-item p {
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Game Categories */
.page-game-guides__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-game-guides__category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #FFF6D6;
  height: 100%; /* Ensure cards have equal height */
}

.page-game-guides__category-card:hover .page-game-guides__category-title {
  color: #FFD36B;
}

.page-game-guides__category-icon {
  width: 30px; /* Allowed small icon size */
  height: 30px; /* Allowed small icon size */
  object-fit: contain;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 3px rgba(242, 193, 78, 0.7));
}

.page-game-guides__category-title {
  font-size: 1.3rem;
  color: #F2C14E;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.page-game-guides__category-card p {
  font-size: 0.95rem;
}

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

/* Mobile App Section */
.page-game-guides__mobile-app-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-game-guides__mobile-app-text {
  flex: 1;
}

.page-game-guides__mobile-app-subtitle {
  font-size: 1.6rem;
  color: #FFD36B; /* Glow */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-game-guides__app-download-list {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-game-guides__app-download-list li {
  margin-bottom: 10px;
}

.page-game-guides__mobile-app-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-game-guides__mobile-app-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-game-guides__promo-item {
  text-align: center;
}

.page-game-guides__promo-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
}

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

.page-game-guides__responsible-item {
  text-align: center;
}

.page-game-guides__responsible-title {
  font-size: 1.4rem;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
}

/* FAQ Section */
.page-game-guides__faq-list {
  margin-top: 40px;
}

.page-game-guides__faq-item {
  margin-bottom: 15px;
  border-color: #3A2A12; /* Border */
  overflow: hidden;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2C14E; /* Main color */
  cursor: pointer;
  padding: 15px 20px;
  background-color: #111111; /* Card BG */
  border-bottom: 1px solid #3A2A12; /* Border */
}

.page-game-guides__faq-question:hover {
  background-color: #1a1a1a;
}

.page-game-guides__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B; /* Glow */
}

.page-game-guides__faq-item.active .page-game-guides__faq-toggle {
  transform: rotate(45deg);
}

.page-game-guides__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
}

.page-game-guides__faq-answer p {
  margin-bottom: 0;
}

/* Final CTA Section */
.page-game-guides__cta-final {
  text-align: center;
  padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__mobile-app-content {
    flex-direction: column;
    text-align: center;
  }

  .page-game-guides__mobile-app-text, .page-game-guides__mobile-app-image-wrapper {
    flex: none;
    width: 100%;
  }

  .page-game-guides__mobile-app-image {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }

  .page-game-guides__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-game-guides__hero-description {
    font-size: 1rem;
  }

  .page-game-guides__cta-button,
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .page-game-guides a[class*="button"],
  .page-game-guides a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px; /* Add margin for stacking buttons */
  }
  
  .page-game-guides__button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-game-guides__section {
    padding: 40px 0;
  }

  .page-game-guides__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .page-game-guides__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-game-guides__feature-grid,
  .page-game-guides__steps-grid,
  .page-game-guides__category-grid,
  .page-game-guides__promo-grid,
  .page-game-guides__responsible-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-guides__feature-icon,
  .page-game-guides__mobile-app-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-game-guides__faq-question {
    font-size: 1rem;
    padding: 12px 15px;
  }

  .page-game-guides__faq-answer {
    padding: 10px 15px;
  }
}