/* style/game-guides.css */

/* Base styles for the page content */
.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from body, but defined for clarity */
}

.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 {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  min-height: 600px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-game-guides__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: #ffffff;
  padding: 20px;
}

.page-game-guides__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-guides__hero-description {
  font-size: clamp(1em, 2vw, 1.3em);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.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;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 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;
}

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

.page-game-guides__btn-secondary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

/* Introduction Section */
.page-game-guides__introduction-section {
  padding: 60px 20px;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #f0f0f0;
}

/* Games Section */
.page-game-guides__games-section {
  padding: 60px 20px;
  background-color: #121212;
  color: #ffffff;
}

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

.page-game-guides__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  color: #f0f0f0;
}

.page-game-guides__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-game-guides__game-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

.page-game-guides__game-card-description {
  font-size: 0.95em;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-game-guides__game-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-game-guides__game-features li {
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
  font-size: 0.9em;
}

.page-game-guides__game-features li::before {
  content: '✔';
  color: #EA7C07;
  position: absolute;
  left: 0;
  top: 0;
}

/* Registration Section */
.page-game-guides__registration-section {
  padding: 60px 20px;
  background-color: #1a1a1a;
  color: #f0f0f0;
}

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

.page-game-guides__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

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

.page-game-guides__payment-methods {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-game-guides__payment-methods li {
  margin-bottom: 5px;
}

/* Tips Section */
.page-game-guides__tips-section {
  padding: 60px 20px;
  background-color: #121212;
  color: #ffffff;
}

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

.page-game-guides__tip-list li {
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #26A9E0;
  padding: 20px 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-size: 1.05em;
}

.page-game-guides__tip-list li strong {
  color: #EA7C07;
}

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

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

.page-game-guides__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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

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

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

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

.page-game-guides__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #d0d0d0;
  line-height: 1.5;
}

/* CTA Bottom Section */
.page-game-guides__cta-bottom-section {
  padding: 60px 20px;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

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

.page-game-guides__cta-bottom-section .page-game-guides__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive styles */

/* All images basic responsive styles */
.page-game-guides img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Content area images minimum size */
.page-game-guides__game-card-image {
  min-width: 200px;
  min-height: 200px;
}

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

  .page-game-guides__container,
  .page-game-guides__hero-content,
  .page-game-guides__cta-buttons,
  .page-game-guides__game-card-grid,
  .page-game-guides__step-by-step,
  .page-game-guides__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-game-guides__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
    min-height: 400px;
  }

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

  .page-game-guides__hero-description {
    font-size: 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;
  }

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

  .page-game-guides__game-card,
  .page-game-guides__step-item {
    padding: 20px;
  }

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

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

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

  /* Ensure all images are responsive */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Content area image min size for mobile */
  .page-game-guides__game-card-image {
    min-width: 150px !important;
    min-height: 150px !important;
  }

  .page-game-guides__game-card-content {
    padding: 15px;
  }

  .page-game-guides__tip-list li {
    padding: 15px 20px;
  }
}

@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__hero-section {
    min-height: 350px;
  }
}