/* style/game-guides.css */

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

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

.page-game-guides__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Main Color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-game-guides__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
  text-align: center;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
  z-index: 0;
}

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

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

.page-game-guides__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-game-guides__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #ffffff;
  border: none;
}

.page-game-guides__btn-primary:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.page-game-guides__btn-secondary {
  background: #111111; /* Card B G */
  color: #F2C14E; /* Main Color */
  border: 2px solid #F2C14E;
}

.page-game-guides__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: #F2C14E;
  color: #111111;
}

/* Introduction Section */
.page-game-guides__introduction-section,
.page-game-guides__getting-started-section,
.page-game-guides__game-categories-section,
.page-game-guides__strategy-tips-section,
.page-game-guides__safe-gaming-section,
.page-game-guides__mobile-app-section,
.page-game-guides__faq-section,
.page-game-guides__conclusion-section {
  padding: 60px 0;
}

.page-game-guides__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-game-guides__card {
  background: #111111; /* Card B G */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-game-guides__card-title {
  font-size: 1.8em;
  color: #FFD36B; /* Glow */
  margin-bottom: 15px;
}

.page-game-guides__card-text {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 25px;
}

.page-game-guides__card-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s ease;
}

.page-game-guides__card-button:hover {
  opacity: 0.9;
}

/* Game Categories Section */
.page-game-guides__category-card {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-game-guides__category-card:hover {
  background-color: rgba(17, 17, 17, 0.8);
}

.page-game-guides__category-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.page-game-guides__category-icon {
  width: 30px;
  height: 30px;
  margin-right: 15px;
  object-fit: contain;
}

.page-game-guides__category-title {
  font-size: 1.6em;
  color: #F2C14E;
}

.page-game-guides__category-description {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-game-guides__category-link {
  display: inline-block;
  color: #FFD36B;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFD36B;
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-game-guides__category-link:hover {
  color: #F2C14E;
  border-color: #F2C14E;
}

/* Strategy Tips Section */
.page-game-guides__strategy-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
}

.page-game-guides__strategy-title {
  font-size: 1.5em;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-game-guides__strategy-description {
  font-size: 1em;
  color: #FFF6D6;
}

.page-game-guides__view-promos-btn {
  margin-top: 30px;
}

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

.page-game-guides__feature-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
}

.page-game-guides__feature-icon {
  width: 200px; /* Min size for content images */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-game-guides__feature-title {
  font-size: 1.6em;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-game-guides__feature-description {
  font-size: 1em;
  color: #FFF6D6;
}

.page-game-guides__responsible-gaming-btn {
  margin-top: 30px;
}

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

.page-game-guides__app-feature-card {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
}

.page-game-guides__app-feature-image {
  width: 100%;
  max-width: 400px; /* Recommended size */
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
}

.page-game-guides__app-feature-title {
  font-size: 1.5em;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-game-guides__app-feature-description {
  font-size: 1em;
  color: #FFF6D6;
}

.page-game-guides__download-app-btn {
  margin-top: 30px;
}

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

.page-game-guides__faq-item {
  background: #111111; /* Card B G */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #111111;
  transition: background-color 0.3s ease;
}

.page-game-guides__faq-question:hover {
  background-color: rgba(17, 17, 17, 0.8);
}

.page-game-guides__faq-title {
  font-size: 1.2em;
  color: #F2C14E;
  margin: 0;
  flex-grow: 1;
  text-align: left;
}

.page-game-guides__faq-toggle {
  font-size: 1.8em;
  color: #FFD36B;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

.page-game-guides__faq-item.active .page-game-guides__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate for active state */
}

.page-game-guides__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 1em;
}

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

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

/* Conclusion Section */
.page-game-guides__conclusion-section .page-game-guides__btn-primary {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__section-title {
    font-size: 2em;
  }

  .page-game-guides__text-block {
    font-size: 1em;
  }

  .page-game-guides__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-game-guides__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-game-guides {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-game-guides__container {
    padding: 0 15px;
  }

  .page-game-guides__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* Ensure minimal padding-top on mobile */
  }

  .page-game-guides__hero-content {
    margin-top: 20px;
  }

  .page-game-guides__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    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;
  }

  .page-game-guides__introduction-section,
  .page-game-guides__getting-started-section,
  .page-game-guides__game-categories-section,
  .page-game-guides__strategy-tips-section,
  .page-game-guides__safe-gaming-section,
  .page-game-guides__mobile-app-section,
  .page-game-guides__faq-section,
  .page-game-guides__conclusion-section {
    padding: 40px 0;
  }

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

  .page-game-guides__text-block {
    font-size: 0.95em;
  }

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

  .page-game-guides__card,
  .page-game-guides__category-card,
  .page-game-guides__strategy-item,
  .page-game-guides__feature-item,
  .page-game-guides__app-feature-card,
  .page-game-guides__faq-item {
    padding: 20px;
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  
  .page-game-guides__faq-question {
    padding: 15px;
  }

  .page-game-guides__faq-answer {
    padding: 0 15px;
  }
  
  .page-game-guides__faq-item.active .page-game-guides__faq-answer {
    padding: 15px !important;
  }

  .page-game-guides__card-title,
  .page-game-guides__category-title,
  .page-game-guides__strategy-title,
  .page-game-guides__feature-title,
  .page-game-guides__app-feature-title {
    font-size: 1.4em;
  }

  .page-game-guides__feature-icon {
    width: 150px;
    height: 150px;
  }
}