/* style/resources-game-guides.css */
.page-resources-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #000; /* Body background is dark */
}

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

.page-resources-game-guides__hero-section {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('[GALLERY:hero:1920x1080:jun88,game_guides,gaming_interface,golden_red_theme]') center/cover no-repeat;
  padding: 120px 0 80px;
  text-align: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px);
}

.page-resources-game-guides__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold brand color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-game-guides__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-resources-game-guides__btn-primary,
.page-resources-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-resources-game-guides__btn-primary {
  background-color: #FFD700; /* Gold brand color */
  color: #000000;
  border: 2px solid #FFD700;
}

.page-resources-game-guides__btn-primary:hover {
  background-color: #e0b800;
  color: #000000;
}

.page-resources-game-guides__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold brand color */
  border: 2px solid #FFD700;
}

.page-resources-game-guides__btn-secondary:hover {
  background-color: #FFD700;
  color: #000000;
}

.page-resources-game-guides__introduction-section,
.page-resources-game-guides__game-type-section,
.page-resources-game-guides__general-guide-section,
.page-resources-game-guides__tips-section,
.page-resources-game-guides__faq-section,
.page-resources-game-guides__cta-bottom-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  color: #ffffff;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.page-resources-game-guides__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  color: #FFD700; /* Gold brand color */
}

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

.page-resources-game-guides__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 40px 0;
  object-fit: cover;
}

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

.page-resources-game-guides__game-card {
  background-color: #2a2a2a; /* Darker background for cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-resources-game-guides__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-resources-game-guides__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-resources-game-guides__card-title {
  font-size: 1.6em;
  margin: 20px 20px 10px;
  color: #FFD700; /* Gold brand color */
}

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

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

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

.page-resources-game-guides__card-link {
  display: inline-block;
  background-color: #8B0000; /* Dark red brand color */
  color: #ffffff;
  padding: 10px 20px;
  margin: 0 20px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-resources-game-guides__card-link:hover {
  background-color: #a00000;
}

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

.page-resources-game-guides__step-card {
  background-color: #2a2a2a;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-resources-game-guides__step-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FFD700; /* Gold brand color */
}

.page-resources-game-guides__step-description {
  font-size: 1em;
  margin-bottom: 25px;
  color: #f0f0f0;
}

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

.page-resources-game-guides__tip-item {
  background-color: #2a2a2a;
  border-left: 5px solid #FFD700; /* Gold accent */
  border-radius: 5px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-resources-game-guides__tip-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-resources-game-guides__tip-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-resources-game-guides__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-game-guides__faq-item {
  background-color: #2a2a2a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-resources-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #3a3a3a;
  border-bottom: 1px solid #4a4a4a;
  color: #FFD700;
}

.page-resources-game-guides__faq-question:hover {
  background-color: #4a4a4a;
}

.page-resources-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

.page-resources-game-guides__faq-item.active .page-resources-game-guides__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-game-guides__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #2a2a2a;
  color: #f0f0f0;
}

.page-resources-game-guides__faq-item.active .page-resources-game-guides__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

.page-resources-game-guides__cta-bottom-section {
  text-align: center;
  background-color: #8B0000; /* Dark red brand color for CTA */
  color: #ffffff;
}

.page-resources-game-guides__cta-bottom-section .page-resources-game-guides__section-title {
  color: #ffffff;
}

.page-resources-game-guides__cta-bottom-section .page-resources-game-guides__text-block {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-game-guides__hero-title {
    font-size: 3em;
  }
  .page-resources-game-guides__section-title {
    font-size: 2em;
  }
  .page-resources-game-guides__hero-section {
    padding: 100px 0 60px;
  }
  .page-resources-game-guides__introduction-section,
  .page-resources-game-guides__game-type-section,
  .page-resources-game-guides__general-guide-section,
  .page-resources-game-guides__tips-section,
  .page-resources-game-guides__faq-section,
  .page-resources-game-guides__cta-bottom-section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .page-resources-game-guides {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-game-guides__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }
  .page-resources-game-guides__hero-title {
    font-size: 2.2em;
  }
  .page-resources-game-guides__hero-description {
    font-size: 1.1em;
  }
  .page-resources-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-resources-game-guides__btn-primary,
  .page-resources-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources-game-guides__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources-game-guides__game-grid,
  .page-resources-game-guides__steps-grid,
  .page-resources-game-guides__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-game-guides__card-image {
    height: 200px;
  }
  .page-resources-game-guides__card-title {
    font-size: 1.4em;
  }
  .page-resources-game-guides__card-link {
    margin-left: 20px;
    margin-right: 20px;
    width: calc(100% - 40px);
    text-align: center;
  }
  .page-resources-game-guides__step-title {
    font-size: 1.5em;
  }
  .page-resources-game-guides__tip-title {
    font-size: 1.3em;
  }
  .page-resources-game-guides__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-resources-game-guides__faq-answer {
    padding: 0 15px;
  }
  .page-resources-game-guides__faq-item.active .page-resources-game-guides__faq-answer {
    padding: 15px;
  }
  .page-resources-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-game-guides__section,
  .page-resources-game-guides__card,
  .page-resources-game-guides__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-game-guides__hero-section {
    background-size: cover !important;
  }
}