/* style/game-guides.css */

/* Base styles for the page */
.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Default body background is white */
}

/* 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: #f5f5f5;
  text-align: center;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-game-guides__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-game-guides__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-game-guides__hero-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

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

/* General Section Styles */
.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.2em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

.page-game-guides__text-block {
  font-size: 1.05em;
  margin-bottom: 15px;
  line-height: 1.7;
  color: #333333;
}

.page-game-guides__link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-game-guides__link:hover {
  color: #1a7bbd;
}

.page-game-guides__highlight {
  font-weight: bold;
  color: #26A9E0;
}

/* Buttons */
.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: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  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: #1a7bbd;
  border-color: #1a7bbd;
}

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

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

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

/* Section Specific Styles */
.page-game-guides__introduction-section,
.page-game-guides__registration-section,
.page-game-guides__support-section,
.page-game-guides__faq-section {
  padding: 60px 0;
}

.page-game-guides__platform-overview-section,
.page-game-guides__promotions-section,
.page-game-guides__conclusion-section {
  padding: 60px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-game-guides__platform-overview-section .page-game-guides__section-title,
.page-game-guides__platform-overview-section .page-game-guides__item-title,
.page-game-guides__platform-overview-section .page-game-guides__text-block,
.page-game-guides__platform-overview-section .page-game-guides__link,
.page-game-guides__platform-overview-section .page-game-guides__highlight,
.page-game-guides__promotions-section .page-game-guides__section-title,
.page-game-guides__promotions-section .page-game-guides__item-title,
.page-game-guides__promotions-section .page-game-guides__text-block,
.page-game-guides__promotions-section .page-game-guides__link,
.page-game-guides__promotions-section .page-game-guides__highlight,
.page-game-guides__conclusion-section .page-game-guides__section-title,
.page-game-guides__conclusion-section .page-game-guides__item-title,
.page-game-guides__conclusion-section .page-game-guides__text-block,
.page-game-guides__conclusion-section .page-game-guides__link,
.page-game-guides__conclusion-section .page-game-guides__highlight {
  color: #FFFFFF;
}

.page-game-guides__platform-overview-section .page-game-guides__link:hover,
.page-game-guides__promotions-section .page-game-guides__link:hover,
.page-game-guides__conclusion-section .page-game-guides__link:hover {
  color: #DDDDDD;
}

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

.page-game-guides__grid-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-game-guides__item-title {
  font-size: 1.5em;
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-game-guides__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
}

/* Game Types Section */
.page-game-guides__game-card {
  display: flex;
  flex-direction: column;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  overflow: hidden;
}

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

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

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

.page-game-guides__game-card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-game-guides__game-card-title a:hover {
  text-decoration: underline;
}

/* Ordered/Unordered Lists */
.page-game-guides__ordered-list,
.page-game-guides__unordered-list {
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-game-guides__ordered-list li,
.page-game-guides__unordered-list li {
  margin-bottom: 10px;
  line-height: 1.7;
}

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

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

.page-game-guides__promotion-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* FAQ Section */
.page-game-guides__faq-list {
  margin-top: 30px;
  margin-bottom: 30px;
}

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

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

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

.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: 0 25px 20px;
  font-size: 1em;
  color: #555555;
}

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

/* Responsive Design */
@media (min-width: 769px) {
  .page-game-guides__game-card {
    flex-direction: row;
  }

  .page-game-guides__game-card:nth-child(even) {
    flex-direction: row-reverse;
  }

  .page-game-guides__game-card-image {
    width: 40%;
    min-width: 400px;
    max-width: 50%;
  }

  .page-game-guides__game-card-content {
    flex: 1;
  }

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

  .page-game-guides__platform-overview-section .page-game-guides__grid-item,
  .page-game-guides__promotions-section .page-game-guides__promotion-card {
    text-align: left;
  }

  .page-game-guides__platform-overview-section .page-game-guides__image,
  .page-game-guides__promotions-section .page-game-guides__image {
    margin-left: 0;
    margin-right: auto;
  }

  .page-game-guides__faq-section .page-game-guides__container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
  }

  .page-game-guides__faq-list {
    flex: 2;
    margin-top: 0;
  }

  .page-game-guides__faq-image {
    flex: 1;
    margin-top: 0;
    max-width: 400px;
  }
}

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

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

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

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

  .page-game-guides__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-game-guides__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-game-guides__introduction-section,
  .page-game-guides__platform-overview-section,
  .page-game-guides__game-types-section,
  .page-game-guides__registration-section,
  .page-game-guides__promotions-section,
  .page-game-guides__support-section,
  .page-game-guides__faq-section,
  .page-game-guides__conclusion-section {
    padding: 40px 0;
  }

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

  .page-game-guides__hero-image-wrapper,
  .page-game-guides__game-card-image,
  .page-game-guides__image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

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

  .page-game-guides__faq-image {
    margin-top: 20px;
  }
}