.page-game-guides {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
}

.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
  background-color: var(--deep-green);
  min-height: 500px;
}

.page-game-guides__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  color: var(--text-main);
}

.page-game-guides__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-game-guides__subtitle {
  font-size: 1.2em;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.5;
}

.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 {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-game-guides__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides__btn-secondary {
  background: var(--card-bg);
  color: var(--gold);
  border: 2px solid var(--gold);
}

.page-game-guides__btn-secondary:hover {
  background: var(--gold);
  color: var(--card-bg);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides__introduction-section,
.page-game-guides__strategies-section,
.page-game-guides__faq-section {
  padding: 60px 20px;
  background-color: var(--bg-color);
  color: var(--text-main);
}

.page-game-guides__game-overview-section,
.page-game-guides__registration-section,
.page-game-guides__conclusion-section {
  padding: 60px 20px;
  background-color: var(--deep-green);
  color: var(--text-main);
}

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

.page-game-guides__light-bg {
  background-color: var(--bg-color);
  color: var(--text-main);
}

.page-game-guides__dark-bg {
  background-color: var(--deep-green);
  color: var(--text-main);
}

.page-game-guides__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.page-game-guides__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-secondary);
  text-align: justify;
}

.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: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-main);
}

.page-game-guides__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

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

.page-game-guides__card-title {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--gold);
  margin: 20px 20px 10px;
}

.page-game-guides__card-title a {
  color: inherit;
  text-decoration: none;
}

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

.page-game-guides__card-description {
  font-size: 0.95em;
  color: var(--text-secondary);
  padding: 0 20px 20px;
  flex-grow: 1;
  line-height: 1.6;
}

.page-game-guides__card .page-game-guides__btn-secondary {
  margin: 0 20px 20px;
  text-align: center;
}

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

.page-game-guides__strategy-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-main);
}

.page-game-guides__strategy-title {
  font-size: 1.8em;
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-game-guides__strategy-description {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-game-guides__strategy-item .page-game-guides__btn-secondary {
  margin-top: 20px;
}

.page-game-guides__registration-section .page-game-guides__container {
  text-align: center;
}

.page-game-guides__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-game-guides__step-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 700px;
  text-align: left;
}

.page-game-guides__step-list li {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  color: var(--text-main);
}

.page-game-guides__step-number {
  background-color: var(--gold);
  color: var(--card-bg);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 15px;
  flex-shrink: 0;
}

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

.page-game-guides__faq-item {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  color: var(--text-main);
}

.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;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--gold);
  cursor: pointer;
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--divider);
}

.page-game-guides__faq-question:hover {
  background-color: rgba(var(--gold-rgb), 0.1);
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  margin-left: 10px;
  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: 15px 20px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-secondary);
}

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

.page-game-guides__faq-answer .page-game-guides__btn-secondary {
  margin-top: 15px;
}

.page-game-guides__conclusion-section .page-game-guides__container {
  text-align: center;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-game-guides__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

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

  .page-game-guides__game-cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    min-height: 400px;
  }

  .page-game-guides__main-title {
    font-size: clamp(1.8em, 7vw, 2.8em);
    margin-bottom: 15px;
  }

  .page-game-guides__subtitle {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .page-game-guides__introduction-section,
  .page-game-guides__game-overview-section,
  .page-game-guides__strategies-section,
  .page-game-guides__registration-section,
  .page-game-guides__faq-section,
  .page-game-guides__conclusion-section {
    padding: 40px 15px;
  }

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

  .page-game-guides__text-block {
    font-size: 0.95em;
  }

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

  .page-game-guides__strategy-points {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-game-guides__card-title {
    font-size: 1.3em;
    margin: 15px;
  }

  .page-game-guides__card-description {
    font-size: 0.9em;
    padding: 0 15px 15px;
  }

  .page-game-guides__card .page-game-guides__btn-secondary {
    margin: 0 15px 15px;
  }

  .page-game-guides__step-list {
    margin: 20px auto;
    padding: 0 15px;
  }

  .page-game-guides__step-list li {
    font-size: 1em;
  }

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

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

/* Ensure all images are responsive by default */
.page-game-guides img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure all containers with images/buttons are responsive */
.page-game-guides__container,
.page-game-guides__card,
.page-game-guides__strategy-item,
.page-game-guides__faq-item {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Color contrast adjustments */
.page-game-guides__dark-bg {
  color: var(--text-main); /* #F2FFF6 */
  background: var(--deep-green); /* #0A4B2C */
}

.page-game-guides__light-bg {
  color: var(--text-main); /* #F2FFF6 */
  background: var(--bg-color); /* #08160F */
}

.page-game-guides__card {
  background: var(--card-bg); /* #11271B */
  color: var(--text-main); /* #F2FFF6 */
}

.page-game-guides__faq-question {
  color: var(--gold); /* #F2C14E */
  background-color: var(--card-bg); /* #11271B */
  border-bottom-color: var(--divider); /* #1E3A2A */
}

.page-game-guides__faq-answer {
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-game-guides__step-number {
  background-color: var(--gold); /* #F2C14E */
  color: var(--card-bg); /* #11271B */
}

.page-game-guides__btn-secondary {
  border-color: var(--gold);
  color: var(--gold);
}

.page-game-guides__btn-secondary:hover {
  background: var(--gold);
  color: var(--card-bg);
}