/* style/game-guides.css */
.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--secondary-color, #FFFFFF);
}

.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #26A9E0, #007bff);
  color: #ffffff;
  overflow: hidden;
}

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

.page-game-guides__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-game-guides__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-game-guides__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
  overflow: hidden;
  z-index: 0;
}

.page-game-guides__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%); /* Subtle filter, not changing color */
}

.page-game-guides__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #FFFFFF;
  color: #333333;
}

.page-game-guides__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.page-game-guides__section-title--white {
  color: #ffffff;
}

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

.page-game-guides__text-block--white {
  color: #f0f0f0;
}

.page-game-guides__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

.page-game-guides__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1a8cc4;
  border-color: #1a8cc4;
}

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

.page-game-guides__card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333333;
}

.page-game-guides__card:hover {
  transform: translateY(-5px);
}

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

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

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

.page-game-guides__card-button {
  margin-top: 20px;
  align-self: center;
}

.page-game-guides__game-section {
  margin-bottom: 40px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-game-guides__game-subtitle {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 20px;
  text-align: center;
}

.page-game-guides__game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-game-guides__game-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-game-guides__game-button {
  margin-top: 20px;
}

.page-game-guides__app-download-section,
.page-game-guides__promotions-section {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  padding: 30px;
  background-color: #f0f8ff;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.page-game-guides__app-download-section {
  flex-direction: row;
}

.page-game-guides__promotions-section {
  flex-direction: row-reverse; /* Image on right */
}

.page-game-guides__app-content,
.page-game-guides__promotions-content {
  flex: 1;
}

.page-game-guides__app-image,
.page-game-guides__promotions-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  min-width: 200px;
  min-height: 200px;
}

.page-game-guides__app-button,
.page-game-guides__promotions-button {
  margin-top: 25px;
}

.page-game-guides__faq-list {
  margin-top: 30px;
}

.page-game-guides__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0eeef;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-game-guides__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f7fcff;
  color: #26A9E0;
  list-style: none;
  user-select: none;
}

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

.page-game-guides__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #26A9E0;
}

.page-game-guides__faq-answer {
  padding: 15px 25px 20px;
  border-top: 1px solid #e0e0e0;
  color: #555555;
}

.page-game-guides__call-to-action {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(45deg, #26A9E0, #0056b3);
  color: #ffffff;
  margin-top: 50px;
}

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

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

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

  .page-game-guides__game-subtitle {
    font-size: 1.6em;
  }
}

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

  .page-game-guides__hero-content,
  .page-game-guides__app-download-section,
  .page-game-guides__promotions-section,
  .page-game-guides__content-area,
  .page-game-guides__call-to-action {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

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

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

  .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__card-grid {
    grid-template-columns: 1fr;
  }

  .page-game-guides__app-download-section,
  .page-game-guides__promotions-section {
    flex-direction: column;
    gap: 30px;
  }

  .page-game-guides__app-image,
  .page-game-guides__promotions-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-game-guides video,
  .page-game-guides__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .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__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }

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

  .page-game-guides__call-to-action {
    padding: 40px 15px;
  }
}

@media (max-width: 480px) {
  .page-game-guides__main-title {
    font-size: 1.8em;
  }

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

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