/* style/resources-g66-latest-game-guide.css */
.page-resources-g66-latest-game-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background #1a1a2e is dark, so use light text */
  background-color: #1a1a2e; /* Inherited from shared, but explicitly set for clarity */
}

.page-resources-g66-latest-game-guide__hero-section {
  position: relative;
  width: 100%;
  height: 600px; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-resources-g66-latest-game-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-g66-latest-game-guide__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-resources-g66-latest-game-guide__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-resources-g66-latest-game-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-g66-latest-game-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-resources-g66-latest-game-guide__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-g66-latest-game-guide__section {
  padding: 60px 20px;
  background-color: #1a1a2e; /* Ensure consistent dark background */
  color: #ffffff;
}

.page-resources-g66-latest-game-guide__introduction {
  background-color: #0d0d1e; /* Slightly different dark shade */
}

.page-resources-g66-latest-game-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources-g66-latest-game-guide__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.page-resources-g66-latest-game-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-g66-latest-game-guide__image-full {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-g66-latest-game-guide__image-center {
  display: block;
  margin: 30px auto;
  max-width: 80%; /* Smaller than full width for emphasis */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-resources-g66-latest-game-guide__card {
  background: rgba(255, 255, 255, 0.05); /* Semi-transparent white on dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-g66-latest-game-guide__card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-g66-latest-game-guide__card-title {
  font-size: 1.8em;
  color: #017439; /* Brand color for card titles */
  margin-bottom: 15px;
}

.page-resources-g66-latest-game-guide__card-text {
  font-size: 1em;
  color: #e0e0e0;
}

.page-resources-g66-latest-game-guide__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-resources-g66-latest-game-guide__feature-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-resources-g66-latest-game-guide__feature-title {
  font-size: 1.6em;
  color: #017439; /* Brand color for feature titles */
  margin-bottom: 15px;
}

.page-resources-g66-latest-game-guide__faq-section {
  background-color: #0d0d1e; /* Slightly different dark shade */
}

.page-resources-g66-latest-game-guide__faq-list {
  margin-top: 40px;
}

.page-resources-g66-latest-game-guide__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-g66-latest-game-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #2a2a4e; /* Darker background for question */
  transition: background-color 0.3s ease;
}

.page-resources-g66-latest-game-guide__faq-question:hover {
  background-color: #3a3a5e;
}

.page-resources-g66-latest-game-guide__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  transition: transform 0.3s ease;
}

.page-resources-g66-latest-game-guide__faq-item.active .page-resources-g66-latest-game-guide__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-resources-g66-latest-game-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #e0e0e0;
}

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

.page-resources-g66-latest-game-guide__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #017439; /* Brand green for CTA */
  color: #ffffff;
}

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

.page-resources-g66-latest-game-guide__btn-primary,
.page-resources-g66-latest-game-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-resources-g66-latest-game-guide__btn-primary {
  background-color: #C30808; /* Specific color for Register/Login */
  color: #FFFF00; /* Specific font color */
  border: 2px solid #C30808;
}

.page-resources-g66-latest-game-guide__btn-primary:hover {
  background-color: #e01010;
  transform: translateY(-2px);
}

.page-resources-g66-latest-game-guide__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-g66-latest-game-guide__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
  transform: translateY(-2px);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-resources-g66-latest-game-guide__hero-title {
    font-size: 3em;
  }
  .page-resources-g66-latest-game-guide__section-title {
    font-size: 2em;
  }
  .page-resources-g66-latest-game-guide__card-grid,
  .page-resources-g66-latest-game-guide__feature-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources-g66-latest-game-guide__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
  }
  .page-resources-g66-latest-game-guide__hero-title {
    font-size: 2.5em;
  }
  .page-resources-g66-latest-game-guide__hero-description {
    font-size: 1em;
  }
  .page-resources-g66-latest-game-guide__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-g66-latest-game-guide__btn-primary,
  .page-resources-g66-latest-game-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 0 auto; /* Center buttons if flex-direction column */
  }
  .page-resources-g66-latest-game-guide__section {
    padding: 40px 15px;
  }
  .page-resources-g66-latest-game-guide__container {
    padding: 0 10px;
  }
  .page-resources-g66-latest-game-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources-g66-latest-game-guide__text-block,
  .page-resources-g66-latest-game-guide__card-text,
  .page-resources-g66-latest-game-guide__faq-answer p {
    font-size: 0.95em;
  }
  .page-resources-g66-latest-game-guide__image-full,
  .page-resources-g66-latest-game-guide__image-center {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  /* Ensure all content containers are constrained */
  .page-resources-g66-latest-game-guide__section,
  .page-resources-g66-latest-game-guide__card,
  .page-resources-g66-latest-game-guide__container,
  .page-resources-g66-latest-game-guide__card-grid,
  .page-resources-g66-latest-game-guide__feature-list,
  .page-resources-g66-latest-game-guide__faq-list,
  .page-resources-g66-latest-game-guide__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-resources-g66-latest-game-guide__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-resources-g66-latest-game-guide__faq-answer {
    padding: 0 20px;
  }
  .page-resources-g66-latest-game-guide__faq-item.active .page-resources-g66-latest-game-guide__faq-answer {
    padding: 10px 20px 15px;
  }
  .page-resources-g66-latest-game-guide__cta-section {
    padding: 60px 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-g66-latest-game-guide__hero-title {
    font-size: 2em;
  }
  .page-resources-g66-latest-game-guide__section-title {
    font-size: 1.5em;
  }
}