/* style/game-guides.css */
.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;
}

.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  background-color: #0A0A0A; /* Ensure consistent background */
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  position: relative;
}

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

.page-game-guides__hero-content-wrapper {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  text-align: center;
  background-color: rgba(10, 10, 10, 0.7); /* Semi-transparent background for readability */
  width: 100%;
  box-sizing: border-box;
  margin-top: -80px; /* Overlap slightly for visual flow, but not covering image text */
}

.page-game-guides__hero-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFD36B; /* Glow color for emphasis */
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

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

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

.page-game-guides__section-title {
  font-size: 2.5em;
  color: #FFD36B;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-game-guides__introduction-section,
.page-game-guides__responsible-gaming-section,
.page-game-guides__faq-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
}

.page-game-guides__casino-section,
.page-game-guides__sports-betting-section,
.page-game-guides__mobile-section,
.page-game-guides__promotions-section,
.page-game-guides__conclusion-section {
  padding: 80px 0;
}

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

.page-game-guides__light-bg {
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}

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

.page-game-guides__guide-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: #FFF6D6; /* Text Main */
}

.page-game-guides__guide-card.page-game-guides__dark-bg {
  background-color: #0A0A0A; /* Darker card for contrast in sports section */
  border: 1px solid #F2C14E;
}

.page-game-guides__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-game-guides__card-title {
  font-size: 1.8em;
  color: #FFD36B;
  padding: 20px;
  margin-bottom: 10px;
}

.page-game-guides__card-subtitle {
  font-size: 1.3em;
  color: #F2C14E; /* Primary */
  padding: 0 20px;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-game-guides__guide-card p,
.page-game-guides__guide-card ul {
  padding: 0 20px;
  margin-bottom: 15px;
}

.page-game-guides__guide-card ul {
  list-style: disc;
  padding-left: 40px;
}

.page-game-guides__guide-card li {
  margin-bottom: 5px;
}

.page-game-guides__guide-card .page-game-guides__btn-primary {
  margin: auto 20px 20px 20px; /* Push button to bottom */
  text-align: center;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for button */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-game-guides__guide-card .page-game-guides__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-game-guides__promotions-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-game-guides__promotions-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-game-guides__promotions-text {
  flex: 1;
  max-width: 50%;
}

.page-game-guides__promotions-text p {
  margin-bottom: 20px;
}

.page-game-guides__promotions-text ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-game-guides__promotions-text .page-game-guides__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for button */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-game-guides__promotions-text .page-game-guides__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

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

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

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #FFD36B;
  transition: background-color 0.3s ease;
}

.page-game-guides__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

.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, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
  max-height: 1000px !important;
  padding: 15px 20px;
}

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

/* Buttons */
.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

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

.page-game-guides__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-game-guides__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Primary color for text */
  border: 2px solid #F2C14E; /* Border color */
}

.page-game-guides__btn-secondary:hover {
  transform: translateY(-2px);
  background-color: rgba(242, 193, 78, 0.1);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

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

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

  .page-game-guides__promotions-content {
    flex-direction: column;
  }

  .page-game-guides__promotions-image,
  .page-game-guides__promotions-text {
    max-width: 100%;
  }
}

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

  .page-game-guides__hero-content-wrapper {
    padding: 30px 15px;
    margin-top: -60px;
  }

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

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

  .page-game-guides__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-game-guides__introduction-section,
  .page-game-guides__casino-section,
  .page-game-guides__sports-betting-section,
  .page-game-guides__mobile-section,
  .page-game-guides__responsible-gaming-section,
  .page-game-guides__promotions-section,
  .page-game-guides__faq-section,
  .page-game-guides__conclusion-section {
    padding: 60px 0;
  }

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

  .page-game-guides__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-game-guides__guide-grid {
    grid-template-columns: 1fr;
  }

  .page-game-guides__card-image {
    height: 200px;
  }

  .page-game-guides__card-title {
    font-size: 1.5em;
  }

  .page-game-guides__card-subtitle {
    font-size: 1.1em;
  }

  .page-game-guides__promotions-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-game-guides__promotions-image,
  .page-game-guides__promotions-text {
    max-width: 100%;
  }

  .page-game-guides__promotions-text .page-game-guides__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-game-guides__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  /* Image and Video responsive rules */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container,
  .page-game-guides__hero-image-wrapper,
  .page-game-guides__promotions-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-game-guides__hero-section {
    padding-top: 10px !important;
  }

  .page-game-guides__cta-buttons,
  .page-game-guides__button-group,
  .page-game-guides__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;
    flex-direction: column;
  }
}

/* Specific color contrast adjustments */
.page-game-guides p, .page-game-guides li {
  color: #FFF6D6; /* Text Main */
}

/* Ensure buttons have good contrast */
.page-game-guides__btn-primary {
  color: #111111; /* Dark text on gradient button */
}

.page-game-guides__btn-secondary {
  color: #F2C14E; /* Primary color on transparent/dark background */
}