/* style/game-guides.css */

/* Base styles and variables */
:root {
  --page-game-guides-primary-color: #11A84E;
  --page-game-guides-secondary-color: #22C768;
  --page-game-guides-bg-dark: #08160F;
  --page-game-guides-card-bg: #11271B;
  --page-game-guides-text-main: #F2FFF6;
  --page-game-guides-text-secondary: #A7D9B8;
  --page-game-guides-border-color: #2E7A4E;
  --page-game-guides-glow-color: #57E38D;
  --page-game-guides-gold-color: #F2C14E;
  --page-game-guides-divider-color: #1E3A2A;
  --page-game-guides-deep-green: #0A4B2C;
  --page-game-guides-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-game-guides-text-main); /* Default text color for dark body background */
  background-color: var(--page-game-guides-bg-dark);
}

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

.page-game-guides__section-title {
  font-size: 2.5em;
  color: var(--page-game-guides-glow-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-game-guides__sub-title {
  font-size: 1.8em;
  color: var(--page-game-guides-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-game-guides__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--page-game-guides-text-secondary);
}

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

.page-game-guides__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-game-guides__card {
  background-color: var(--page-game-guides-card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: var(--page-game-guides-text-main);
  border: 1px solid var(--page-game-guides-border-color);
}

/* Buttons */
.page-game-guides__btn-primary,
.page-game-guides__btn-secondary,
.page-game-guides__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__btn-primary {
  background: var(--page-game-guides-button-gradient);
  color: #ffffff; /* White text for contrast */
  border: none;
}

.page-game-guides__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-game-guides__btn-secondary:hover {
  background: var(--page-game-guides-glow-color);
  color: var(--page-game-guides-bg-dark);
  transform: translateY(-2px);
}

.page-game-guides__btn-link {
  background: var(--page-game-guides-deep-green);
  color: var(--page-game-guides-text-main);
  border: none;
  font-size: 0.9em;
  padding: 8px 15px;
  margin-top: 15px;
}

.page-game-guides__btn-link:hover {
  background: var(--page-game-guides-primary-color);
}

/* Hero Section */
.page-game-guides__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 50px; /* Space for content below image */
  padding-top: 10px; /* Small padding, body handles header offset */
}

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

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

.page-game-guides__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
  position: relative;
  z-index: 1;
  background-color: var(--page-game-guides-bg-dark); /* Ensure text has a solid background */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-game-guides__hero-description {
  font-size: 1.2em;
  color: var(--page-game-guides-text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Intro Section */
.page-game-guides__intro-section {
  padding: 80px 0;
  background-color: var(--page-game-guides-bg-dark);
  color: var(--page-game-guides-text-main);
  border-bottom: 1px solid var(--page-game-guides-divider-color);
}

/* Game Types Section */
.page-game-guides__game-types-section {
  padding: 80px 0;
  background-color: var(--page-game-guides-light-bg);
  color: var(--page-game-guides-bg-dark);
}

.page-game-guides__game-types-section .page-game-guides__section-title {
  color: var(--page-game-guides-primary-color);
}

.page-game-guides__game-types-section .page-game-guides__section-text {
  color: #333333;
}

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

.page-game-guides__game-card {
  text-align: center;
  color: var(--page-game-guides-text-main);
  background-color: var(--page-game-guides-card-bg);
}

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

.page-game-guides__game-title {
  font-size: 1.5em;
  color: var(--page-game-guides-gold-color);
  margin-bottom: 10px;
}

.page-game-guides__game-description {
  font-size: 0.95em;
  color: var(--page-game-guides-text-secondary);
  margin-bottom: 20px;
}

/* Strategies Section */
.page-game-guides__strategies-section {
  padding: 80px 0;
  background-color: var(--page-game-guides-bg-dark);
  color: var(--page-game-guides-text-main);
  border-top: 1px solid var(--page-game-guides-divider-color);
}

.page-game-guides__strategy-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 50px;
}

.page-game-guides__strategy-text {
  flex: 2;
}

.page-game-guides__strategy-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-game-guides__strategy-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  display: block;
}

/* Responsible Gaming Section */
.page-game-guides__responsible-gaming-section {
  padding: 80px 0;
  background-color: var(--page-game-guides-light-bg);
  color: var(--page-game-guides-bg-dark);
  border-top: 1px solid var(--page-game-guides-divider-color);
}

.page-game-guides__responsible-gaming-section .page-game-guides__section-title {
  color: var(--page-game-guides-primary-color);
}

.page-game-guides__responsible-gaming-section .page-game-guides__section-text {
  color: #333333;
}

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

.page-game-guides__responsible-gaming-card {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-game-guides__responsible-gaming-card .page-game-guides__sub-title {
  color: var(--page-game-guides-primary-color);
}

.page-game-guides__responsible-gaming-card .page-game-guides__card-text {
  color: #555555;
}

/* FAQ Section */
.page-game-guides__faq-section {
  padding: 80px 0;
  background-color: var(--page-game-guides-bg-dark);
  color: var(--page-game-guides-text-main);
  border-top: 1px solid var(--page-game-guides-divider-color);
}

.page-game-guides__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__faq-item {
  background-color: var(--page-game-guides-card-bg);
  border: 1px solid var(--page-game-guides-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: var(--page-game-guides-text-main);
  background-color: var(--page-game-guides-deep-green);
}

.page-game-guides__faq-question:hover {
  background-color: var(--page-game-guides-primary-color);
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-game-guides__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  color: var(--page-game-guides-text-secondary);
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
}

.page-game-guides__faq-item.active .page-game-guides__faq-question {
  background-color: var(--page-game-guides-primary-color);
}

.page-game-guides__faq-item.active .page-game-guides__faq-toggle {
  content: '−';
}

/* CTA Banner */
.page-game-guides__cta-banner {
  padding: 80px 0;
  text-align: center;
  background-color: var(--page-game-guides-light-bg);
  color: var(--page-game-guides-bg-dark);
  border-top: 1px solid var(--page-game-guides-divider-color);
}

.page-game-guides__cta-banner .page-game-guides__section-title {
  color: var(--page-game-guides-primary-color);
}

.page-game-guides__cta-banner .page-game-guides__section-text {
  color: #333333;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__cta-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-game-guides__cta-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: block;
}

.page-game-guides__cta-text-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-game-guides__cta-text-wrapper .page-game-guides__section-title {
    text-align: left;
    margin-bottom: 20px;
}

.page-game-guides__cta-text-wrapper .page-game-guides__section-text {
    text-align: left;
}


/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-game-guides__hero-content {
    margin-top: -80px;
  }
}

@media (max-width: 768px) {
  .page-game-guides__container {
    padding: 0 15px;
  }

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

  .page-game-guides__sub-title {
    font-size: 1.5em;
  }

  .page-game-guides__hero-section {
    padding-bottom: 30px;
  }

  .page-game-guides__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }

  .page-game-guides__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

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

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

  .page-game-guides__game-grid,
  .page-game-guides__responsible-gaming-grid {
    grid-template-columns: 1fr;
  }

  .page-game-guides__strategy-content {
    flex-direction: column;
  }

  .page-game-guides__strategy-image-wrapper {
    order: -1; /* Image above text on mobile */
    margin-bottom: 30px;
  }
  
  /* Mobile image and video responsive adaptation */
  .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-section,
  .page-game-guides__intro-section,
  .page-game-guides__game-types-section,
  .page-game-guides__strategies-section,
  .page-game-guides__responsible-gaming-section,
  .page-game-guides__faq-section,
  .page-game-guides__cta-banner,
  .page-game-guides__video-section,
  .page-game-guides__video-container,
  .page-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-game-guides__video-section {
    padding-top: 10px !important;
  }

  .page-game-guides__cta-content {
    flex-direction: column;
  }

  .page-game-guides__cta-text-wrapper {
    text-align: center;
  }

  .page-game-guides__cta-text-wrapper .page-game-guides__section-title,
  .page-game-guides__cta-text-wrapper .page-game-guides__section-text {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .page-game-guides__section-title {
    font-size: 1.8em;
  }

  .page-game-guides__hero-content {
    padding: 20px 10px;
  }

  .page-game-guides__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }

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

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