/* style/game-guides.css */

/* Base styles for the page */
.page-game-guides {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#0a0a0a), so text should be light */
}

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

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

.page-game-guides__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #26A9E0;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.page-game-guides__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-game-guides__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-game-guides__text-block .highlight {
  color: #26A9E0;
  font-weight: bold;
}

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, then generous bottom padding */
  min-height: 600px;
  text-align: center;
  overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and text */
}

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

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

.page-game-guides__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.page-game-guides__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-game-guides__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
  margin-right: 15px;
}

.page-game-guides__btn-primary:hover {
  background-color: #1a7fb0;
  border-color: #1a7fb0;
}

.page-game-guides__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-game-guides__btn-secondary:hover {
  background-color: #e0e0e0;
}

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

/* Intro Section */
.page-game-guides__intro-section {
  background-color: #0d0d0d;
  padding: 60px 0;
}

/* Why Choose Us Section */
.page-game-guides__why-choose-us {
  background-color: #1a1a1a;
  padding: 60px 0;
}

.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-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #f0f0f0;
  height: 100%;
  box-sizing: border-box;
}

.page-game-guides__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-game-guides__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-game-guides__card-text {
  font-size: 1em;
  color: #cccccc;
  flex-grow: 1;
}

/* Game Categories Section */
.page-game-guides__game-categories {
  background-color: #0a0a0a;
  padding: 60px 0;
}

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

.page-game-guides__game-categories .page-game-guides__card {
  text-align: center;
  align-items: center;
}

.page-game-guides__game-categories .page-game-guides__card .page-game-guides__btn-secondary {
  margin-top: 20px;
}

/* Bonuses & Tips Section */
.page-game-guides__bonuses-tips {
  background-color: #1a1a1a;
  padding: 60px 0;
}

.page-game-guides__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto 30px;
  border-radius: 8px;
}

.page-game-guides__list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-game-guides__list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  color: #f0f0f0;
  font-size: 1.05em;
}

.page-game-guides__list li strong {
  color: #26A9E0;
}

/* Responsible Gaming Section */
.page-game-guides__responsible-gaming {
  background-color: #0d0d0d;
  padding: 60px 0;
}

/* FAQ Section */
.page-game-guides__faq-section {
  background-color: #1a1a1a;
  padding: 60px 0;
}

.page-game-guides__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-game-guides__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #f0f0f0;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-game-guides__faq-answer {
  padding: 20px;
  font-size: 1.05em;
  color: #cccccc;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-game-guides__faq-item summary {
  list-style: none;
}

.page-game-guides__faq-item summary::-webkit-details-marker {
  display: none;
}

/* CTA Section */
.page-game-guides__cta-section {
  background-color: #26A9E0;
  padding: 80px 0;
}

.page-game-guides__cta-section .page-game-guides__section-title {
  color: #FFFFFF;
}

.page-game-guides__cta-section .page-game-guides__text-block {
  color: #e0e0e0;
  margin-bottom: 40px;
}

/* Color Contrast Adjustments */
.page-game-guides__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-game-guides__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-game-guides__dark-section {
  background-color: #0d0d0d;
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides__main-title {
    font-size: clamp(2.2em, 4.5vw, 3em);
  }

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

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding: 10px 15px 40px;
    min-height: 500px;
  }

  .page-game-guides__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-game-guides__main-title {
    font-size: clamp(2em, 8vw, 2.8em) !important;
  }

  .page-game-guides__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
    margin-right: 0;
    width: 100% !important;
    margin-bottom: 10px;
  }

  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-game-guides__grid-3-col,
  .page-game-guides__grid-2-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-guides__card {
    padding: 20px;
  }

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

  .page-game-guides__list {
    margin: 20px auto;
  }

  .page-game-guides__list li {
    padding: 12px 15px;
    font-size: 0.95em;
  }

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

  .page-game-guides__faq-answer {
    padding: 15px;
    font-size: 0.95em;
  }

  /* Mobile responsive image adaptation */
  .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-section,
  .page-game-guides__cta-buttons,
  .page-game-guides__button-group,
  .page-game-guides__btn-container,
  .page-game-guides__video-section,
  .page-game-guides__video-container,
  .page-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-game-guides__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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

  .page-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .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;
  }

  .page-game-guides__cta-buttons {
    flex-direction: column !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-game-guides__hero-section {
    min-height: 400px;
  }

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

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

  .page-game-guides__section-title {
    font-size: clamp(1.6em, 8vw, 2.2em);
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}