/* 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: transparent; /* Body background is 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 {
  padding: 60px 0;
  text-align: center;
}

.page-game-guides__dark-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-game-guides__light-bg {
  background-color: #f5f5f5;
  color: #333333;
}

.page-game-guides__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  color: #26A9E0;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

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

.page-game-guides__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 40px;
}

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

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

.page-game-guides__main-title {
  font-size: clamp(36px, 5vw, 58px);
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
}

.page-game-guides__description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-game-guides__cta-buttons--center {
  margin-top: 40px;
}

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 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: #1a8cc7;
  border-color: #1a8cc7;
}

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

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

.page-game-guides__btn-text {
  display: inline-block;
  margin-top: 15px;
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}

.page-game-guides__btn-text:hover {
  color: #1a8cc7;
}

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

.page-game-guides__card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-game-guides__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

.page-game-guides__card-description {
  font-size: 16px;
  color: #555555;
  flex-grow: 1;
}

/* Detailed Guides Section */
.page-game-guides__detailed-guides-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-game-guides__guide-block {
  text-align: left;
  margin-bottom: 60px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.page-game-guides__guide-title {
  font-size: 28px;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
}

.page-game-guides__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px auto;
  max-width: 800px;
}

/* Benefits Section */
.page-game-guides__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-game-guides__benefits-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  color: #ffffff;
}

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

/* Registration Section */
.page-game-guides__registration-section {
  background-color: #f5f5f5;
  color: #333333;
}

.page-game-guides__registration-section .page-game-guides__section-title {
  color: #26A9E0;
}

.page-game-guides__registration-section .page-game-guides__text-block {
  color: #555555;
}

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

.page-game-guides__step-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-game-guides__step-number {
  width: 60px;
  height: 60px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
}

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

/* Promotions Section */
.page-game-guides__promotions-section {
  background-color: #f5f5f5;
  color: #333333;
}

.page-game-guides__promotions-section .page-game-guides__section-title {
  color: #26A9E0;
}

.page-game-guides__promotions-section .page-game-guides__text-block {
  color: #555555;
}

.page-game-guides__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__promo-item {
  background-color: #ffffff;
  border-left: 5px solid #26A9E0;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 18px;
  color: #333333;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* FAQ Section */
.page-game-guides__faq-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-game-guides__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

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

.page-game-guides__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

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

.page-game-guides__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

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

.page-game-guides__faq-toggle {
  font-size: 28px;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

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

.page-game-guides__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 17px;
  color: #f0f0f0;
  line-height: 1.7;
}

.page-game-guides__faq-answer .page-game-guides__text-block {
  margin-bottom: 0;
  text-align: left;
}

/* Conclusion Section */
.page-game-guides__conclusion-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__hero-image-wrapper {
    max-height: 400px;
  }
  .page-game-guides__main-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }
  .page-game-guides__description {
    font-size: 18px;
  }
  .page-game-guides__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }
  .page-game-guides__guide-title {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-image-wrapper {
    max-height: 300px;
  }
  .page-game-guides__main-title {
    font-size: clamp(28px, 6vw, 40px) !important;
  }
  .page-game-guides__description {
    font-size: 16px !important;
  }
  .page-game-guides__section-title {
    font-size: clamp(24px, 5vw, 32px) !important;
  }
  .page-game-guides__text-block {
    font-size: 16px !important;
  }
  .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;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
  }
  .page-game-guides__container,
  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__guide-block,
  .page-game-guides__benefits-item,
  .page-game-guides__step-item,
  .page-game-guides__promo-item,
  .page-game-guides__faq-item {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-guides__card-image {
    height: auto;
  }
  .page-game-guides__faq-item summary {
    font-size: 18px;
    padding: 15px 20px;
  }
  .page-game-guides__faq-answer {
    font-size: 16px;
    padding: 10px 20px 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-game-guides__hero-image-wrapper {
    max-height: 250px;
  }
  .page-game-guides__main-title {
    font-size: clamp(24px, 7vw, 36px) !important;
  }
  .page-game-guides__section-title {
    font-size: clamp(22px, 6vw, 28px) !important;
  }
  .page-game-guides__guide-title {
    font-size: 22px;
  }
  .page-game-guides__card-title {
    font-size: 20px;
  }
  .page-game-guides__faq-item summary {
    font-size: 16px;
  }
  .page-game-guides__faq-toggle {
    font-size: 24px;
  }
}