/* style/game-guides.css */

/* Base styles for page-game-guides */
.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);
}

/* Section spacing and container */
.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;
  font-weight: bold;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.page-game-guides__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
}

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #F0F8FF; /* Light blue tint */
  overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 8px;
}

.page-game-guides__hero-image {
  width: 1200px; /* Display width */
  height: 675px; /* Display height */
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-game-guides__hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 1;
}

.page-game-guides__main-title {
  font-size: clamp(2.5em, 5vw, 3.2em);
  font-weight: 900;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.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;
  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: #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: #e0f2f7;
  color: #1a7fb0;
}

/* Introduction Section */
.page-game-guides__introduction-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

/* Game Types Section */
.page-game-guides__game-types-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
}

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

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

.page-game-guides__game-card {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-game-guides__game-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.25);
}

.page-game-guides__card-image {
  width: 400px; /* Display width */
  height: 300px; /* Display height */
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-game-guides__card-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-game-guides__card-description {
  font-size: 1em;
  color: #e0f2f7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-guides__card-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FFFFFF;
  color: #26A9E0;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-game-guides__card-link:hover {
  background-color: #e0f2f7;
  color: #1a7fb0;
}

/* How to Play Section */
.page-game-guides__how-to-play-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-game-guides__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  margin-bottom: 40px;
}

.page-game-guides__video-container {
  width: 100%;
  max-width: 1000px; /* Max width for the video */
  margin: 0 auto;
  box-sizing: border-box;
  background-color: #000000;
  border-radius: 8px;
  overflow: hidden;
}

.page-game-guides__video {
  width: 1000px; /* Display width */
  height: 563px; /* Display height */
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.page-game-guides__video-caption {
  text-align: center;
  font-style: italic;
  color: #555555;
  margin-top: 15px;
  font-size: 0.95em;
}

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

.page-game-guides__step-item {
  background-color: #F0F8FF;
  border-left: 5px solid #26A9E0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.page-game-guides__step-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
}

/* Deposit Withdraw Section */
.page-game-guides__deposit-withdraw-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
}

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

.page-game-guides__deposit-withdraw-section .page-game-guides__text-block {
  color: #e0f2f7;
}

.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-color: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
}

.page-game-guides__feature-icon {
  width: 100px; /* Display width */
  height: 100px; /* Display height */
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  object-fit: contain;
}

.page-game-guides__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 10px;
}

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

/* Tips Strategies Section */
.page-game-guides__tips-strategies-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

.page-game-guides__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-game-guides__tips-list li {
  background-color: #F0F8FF;
  border-left: 4px solid #26A9E0;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.05em;
}

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

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

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

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

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

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.3em;
  font-weight: bold;
  color: #FFFFFF;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFFFFF;
  margin-left: 15px;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
  content: '−';
}

.page-game-guides__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.05em;
  color: #e0f2f7;
  line-height: 1.7;
}

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

/* Conclusion Section */
.page-game-guides__conclusion-section {
  padding: 60px 0;
  text-align: center;
  background-color: #FFFFFF;
  color: #333333;
}

/* Color Contrast Specifics */
.page-game-guides__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-game-guides__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-game-guides__dark-bg .page-game-guides__text-block,
.page-game-guides__dark-bg .page-game-guides__card-description {
  color: #e0f2f7;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__hero-image {
    width: 100%;
    height: auto;
  }
  .page-game-guides__video {
    width: 100%;
    height: auto;
  }
  .page-game-guides__main-title {
    font-size: clamp(2em, 4.5vw, 2.8em);
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section,
  .page-game-guides__introduction-section,
  .page-game-guides__game-types-section,
  .page-game-guides__how-to-play-section,
  .page-game-guides__deposit-withdraw-section,
  .page-game-guides__tips-strategies-section,
  .page-game-guides__faq-section,
  .page-game-guides__conclusion-section {
    padding: 40px 0;
  }

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

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

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

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-game-guides__game-cards-grid,
  .page-game-guides__steps-list,
  .page-game-guides__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-guides__card-image,
  .page-game-guides__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .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__video-section,
  .page-game-guides__video-container,
  .page-game-guides__video-wrapper,
  .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;
    overflow: hidden !important;
  }

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

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

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