/* style/game-guides.css */

/* Base styles for the page */
.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

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

.page-game-guides__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

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

.page-game-guides__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter than body background for contrast, but still dark */
  padding: 60px 0;
}

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 30px;
}

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

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

.page-game-guides__main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-guides__hero-description {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.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: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

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

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

.page-game-guides__btn-secondary:hover {
  background: #26A9E0;
  color: #ffffff;
}

/* Game Types Section */
.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: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-game-guides__card-title {
  font-size: 22px;
  font-weight: 700;
  margin: 20px 15px 10px;
  line-height: 1.3;
}

.page-game-guides__card-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-game-guides__card-title a:hover {
  color: #ffffff;
}

.page-game-guides__card-description {
  font-size: 15px;
  color: #ccc;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-guides__card-link {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  transition: background 0.3s ease;
}

.page-game-guides__card-link:hover {
  background: #1e87b8;
}

/* Process Section (Registration/Deposit) */
.page-game-guides__process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-game-guides__process-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__process-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-game-guides__process-title {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

/* App Download Section */
.page-game-guides__app-download-section .page-game-guides__section-title,
.page-game-guides__app-download-section .page-game-guides__text-block {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__app-download-section .page-game-guides__cta-buttons {
  margin-top: 30px;
}

/* Promotions Section */
.page-game-guides__promotions-section .page-game-guides__section-title,
.page-game-guides__promotions-section .page-game-guides__text-block {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__promotion-image {
  width: 100%;
  height: auto;
  max-width: 1000px;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__promotions-section .page-game-guides__cta-buttons {
  margin-top: 30px;
}

/* FAQ Section */
.page-game-guides__faq-section .page-game-guides__section-title {
  text-align: center;
}

.page-game-guides__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background: rgba(38, 169, 224, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.page-game-guides__faq-question:hover {
  background: rgba(38, 169, 224, 0.3);
}

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

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

.page-game-guides__faq-answer {
  padding: 15px 25px 20px;
  font-size: 16px;
  color: #ccc;
  line-height: 1.6;
}

/* CTA Bottom Section */
.page-game-guides__cta-bottom-section .page-game-guides__section-title,
.page-game-guides__cta-bottom-section .page-game-guides__text-block {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__cta-bottom-section .page-game-guides__cta-buttons {
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__hero-section {
    padding-top: 10px;
    padding-bottom: 40px;
  }
  .page-game-guides__main-title {
    font-size: clamp(30px, 4.5vw, 48px);
  }
  .page-game-guides__hero-description {
    font-size: 17px;
  }
  .page-game-guides__game-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-game-guides__process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-game-guides {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-game-guides__container {
    padding: 0 15px;
  }
  .page-game-guides__hero-section {
    padding-top: 10px !important; /* body handles header offset */
    padding-bottom: 30px;
  }
  .page-game-guides__main-title {
    font-size: clamp(28px, 6vw, 40px);
  }
  .page-game-guides__hero-description {
    font-size: 16px;
  }
  .page-game-guides__section-title {
    font-size: clamp(24px, 5vw, 36px);
    margin-bottom: 20px;
  }
  .page-game-guides__text-block {
    font-size: 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;
    padding: 12px 20px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }
  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container,
  .page-game-guides__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-guides__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-game-guides__video-container,
  .page-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-guides__game-cards-grid {
    grid-template-columns: 1fr;
  }
  .page-game-guides__process-grid {
    grid-template-columns: 1fr;
  }
  .page-game-guides__process-item {
    padding: 25px;
  }
  .page-game-guides__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-game-guides__faq-answer {
    padding: 10px 20px 15px;
    font-size: 14px;
  }
}