/* style/game-guides.css */
:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg-color: #17191F;
  --background-color: #0D0E12;
  --text-main-color: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange-color: #D96800;
}

.page-game-guides {
  font-family: Arial, sans-serif;
  color: var(--text-main-color); /* Body background is dark, so text should be light */
  background-color: var(--background-color);
}

.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles top padding, this is just for decorative spacing */
  overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-game-guides__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  margin-top: -80px; /* Pull content up over the bottom of the image for visual flow */
  position: relative;
  z-index: 1;
}

.page-game-guides__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--text-main-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-game-guides__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-main-color);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-game-guides__section {
  padding: 60px 20px;
  background-color: var(--background-color);
}

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

.page-game-guides__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-game-guides__text-block {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-main-color);
}

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
  color: #ffffff;
  border: none;
}

.page-game-guides__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(var(--primary-color), 0.4);
  opacity: 0.9;
}

.page-game-guides__btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-game-guides__btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(var(--primary-color), 0.4);
}

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

.page-game-guides__game-card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.page-game-guides__game-card-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-game-guides__game-list {
  list-style-type: disc;
  padding-left: 25px;
  color: var(--text-main-color);
  font-size: 0.95rem;
  line-height: 1.8;
}

.page-game-guides__game-list strong {
  color: var(--secondary-color);
}

.page-game-guides__strategy-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 30px;
}

.page-game-guides__strategy-item {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__strategy-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
}

.page-game-guides__strategy-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-game-guides__strategy-list {
  list-style-type: decimal;
  padding-left: 25px;
  color: var(--text-main-color);
  font-size: 0.95rem;
  line-height: 1.8;
}

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

.page-game-guides__rewards-card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-game-guides__rewards-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-game-guides__rewards-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-main-color);
  margin-bottom: 25px;
}

.page-game-guides__cta-block {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: var(--card-bg-color);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__cta-block .page-game-guides__text-block {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

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

.page-game-guides__step-card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-game-guides__step-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-game-guides__step-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-main-color);
  margin-bottom: 25px;
}

.page-game-guides__mobile-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-game-guides__mobile-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-game-guides__mobile-text {
  text-align: center;
}

.page-game-guides__mobile-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
}

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

.page-game-guides__support-item {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-game-guides__support-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

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

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

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main-color);
  background-color: var(--card-bg-color);
  border-bottom: 1px solid var(--border-color);
}

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

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

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

.page-game-guides__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
  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 25px 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-main-color);
  background-color: #1a1c23; /* Slightly lighter than card bg for distinction */
}

.page-game-guides__conclusion-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive Styles */
@media (min-width: 769px) {
  .page-game-guides__strategy-content {
    grid-template-columns: 1fr 1fr; /* Two columns for strategy on desktop */
  }
  .page-game-guides__strategy-item:first-child {
    display: flex;
    flex-direction: column;
  }
  .page-game-guides__strategy-item:first-child .page-game-guides__strategy-image {
    order: 1;
  }
  .page-game-guides__strategy-item:first-child .page-game-guides__strategy-subtitle,
  .page-game-guides__strategy-item:first-child .page-game-guides__strategy-list {
    order: 2;
  }
  .page-game-guides__mobile-content {
    flex-direction: row; /* Desktop layout for mobile section */
    justify-content: center;
    align-items: center;
    text-align: left;
  }
  .page-game-guides__mobile-text {
    text-align: left;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-game-guides__hero-image-wrapper {
    max-height: 300px;
  }
  .page-game-guides__hero-content {
    margin-top: -50px;
    padding: 0 15px;
  }
  .page-game-guides__hero-title {
    font-size: 2.2rem;
  }
  .page-game-guides__hero-description {
    font-size: 1rem;
  }
  .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__hero-cta-buttons,
  .page-game-guides__conclusion-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-guides__section {
    padding: 40px 15px;
  }
  .page-game-guides__container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-game-guides__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  .page-game-guides__game-grid,
  .page-game-guides__rewards-grid,
  .page-game-guides__steps-grid,
  .page-game-guides__support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-game-guides__game-card,
  .page-game-guides__strategy-item,
  .page-game-guides__rewards-card,
  .page-game-guides__step-card,
  .page-game-guides__support-item,
  .page-game-guides__cta-block {
    padding: 25px;
  }
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-guides__mobile-content {
    flex-direction: column;
  }
  .page-game-guides__mobile-image {
    max-width: 100%;
  }
  .page-game-guides__mobile-text {
    text-align: center;
  }
  .page-game-guides__mobile-subtitle {
    font-size: 1.5rem;
  }
  .page-game-guides__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-game-guides__faq-answer {
    padding: 10px 20px 15px;
  }
}