/* style/game-guides.css */

/* Custom Colors */
:root {
  --page-bg-color: #08160F;
  --card-bg-color: #11271B;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

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

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

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
  text-align: center;
}

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

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

.page-game-guides__hero-content {
  max-width: 800px;
  margin-top: 30px;
  padding: 0 20px;
}

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

.page-game-guides__hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
}

/* General Section Styling */
.page-game-guides__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--divider-color);
}

.page-game-guides__section:last-of-type {
  border-bottom: none;
}

.page-game-guides__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-game-guides__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--text-main-color);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.page-game-guides__mini-title {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-secondary-color);
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 500;
}

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

.page-game-guides__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary-color);
}

.page-game-guides__list li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.page-game-guides__list li strong {
  color: var(--text-main-color);
}

/* Buttons */
.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: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  border: none;
}

.page-game-guides__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* Always white text on dark button */
  box-shadow: 0 4px 15px rgba(19, 153, 74, 0.4);
  margin-right: 15px;
}

.page-game-guides__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(19, 153, 74, 0.6);
}

.page-game-guides__btn-secondary {
  background-color: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
  box-shadow: 0 2px 10px rgba(242, 193, 78, 0.2);
}

.page-game-guides__btn-secondary:hover {
  background-color: rgba(242, 193, 78, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

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

/* Image Styling */
.page-game-guides__category-image,
.page-game-guides__promotions-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  max-width: 800px; /* Ensure images don't stretch too wide */
}

/* Specific Sections */
.page-game-guides__intro-section {
  background-color: var(--card-bg-color);
  border-radius: 15px;
  margin: 40px auto;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  max-width: 1100px;
  border: 1px solid var(--border-color);
}

.page-game-guides__game-guides-section .page-game-guides__guide-category {
  background-color: var(--card-bg-color);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-game-guides__game-guides-section .page-game-guides__guide-category:last-child {
  margin-bottom: 0;
}

/* FAQ Section */
.page-game-guides__faq-list {
  margin-top: 30px;
}

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

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main-color);
  background-color: var(--deep-green-color);
  transition: background-color 0.3s ease;
  user-select: none;
}

.page-game-guides__faq-question:hover {
  background-color: #0c5c37;
}

.page-game-guides__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold-color);
  margin-left: 15px;
}

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

.page-game-guides__faq-answer {
  padding: 20px;
  padding-top: 0;
  font-size: 1rem;
  color: var(--text-secondary-color);
  line-height: 1.7;
  animation: fadein 0.3s ease-out;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* CTA Section */
.page-game-guides__cta-section {
  text-align: center;
  background-color: var(--deep-green-color);
  padding: 80px 0;
}

.page-game-guides__cta-section .page-game-guides__section-title {
  color: var(--gold-color);
}

.page-game-guides__cta-section .page-game-guides__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__hero-content {
    padding: 0 15px;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-game-guides {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-game-guides__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-game-guides__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important;
  }

  .page-game-guides__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-game-guides__hero-description {
    font-size: 1rem;
  }

  .page-game-guides__section {
    padding: 40px 0;
  }

  .page-game-guides__section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-game-guides__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-game-guides__mini-title {
    font-size: clamp(1rem, 4vw, 1.2rem);
    margin-top: 20px;
    margin-bottom: 10px;
  }

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

  .page-game-guides__list {
    margin-left: 20px;
  }

  .page-game-guides__list li {
    font-size: 0.95rem;
  }

  /* Images responsiveness */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container,
  .page-game-guides__hero-image-wrapper,
  .page-game-guides__guide-category {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons responsiveness */
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .page-game-guides a[class*="button"],
  .page-game-guides a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-right: 0 !important; /* Remove margin-right for single column */
  }

  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-game-guides__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-game-guides__faq-answer {
    padding: 15px;
    padding-top: 0;
  }

  .page-game-guides__cta-section {
    padding: 60px 0;
  }
}