/* style/game-strategies.css */

/* Base styles for the page */
.page-game-strategies {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

/* Shared container for content width */
.page-game-strategies__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section spacing */
.page-game-strategies__section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

/* Dark section background */
.page-game-strategies__dark-section {
  background-color: #11271B; /* Card BG */
}

/* Section titles */
.page-game-strategies__section-title {
  font-size: 2.5rem;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Text blocks */
.page-game-strategies__text-block {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-game-strategies__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0;
  min-height: 500px; /* Minimum height for hero */
  background-color: #08160F; /* Background */
}

.page-game-strategies__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 600px; /* Max height for the image wrapper */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-game-strategies__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-height: 200px;
}

.page-game-strategies__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-game-strategies__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.page-game-strategies__subtitle {
  font-size: 1.3rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-game-strategies__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-game-strategies__btn-primary,
.page-game-strategies__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  text-align: center;
  max-width: 100%;
}

.page-game-strategies__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: none;
}

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

.page-game-strategies__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* A lighter shade of primary for contrast */
  border: 2px solid #2AD16F; /* A lighter shade of primary for contrast */
}

.page-game-strategies__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
  transform: translateY(-2px);
}

/* Grid layout for content sections */
.page-game-strategies__grid-2-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-game-strategies__image-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-game-strategies__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

/* FAQ Section */
.page-game-strategies__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-game-strategies__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #2E7A4E; /* Border */
}

.page-game-strategies__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  list-style: none; /* Remove default marker */
}

.page-game-strategies__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for webkit */
}

.page-game-strategies__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-game-strategies__faq-qtext {
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  flex-grow: 1;
}

.page-game-strategies__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: #2AD16F; /* Lighter primary for toggle */
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-game-strategies__faq-item[open] .page-game-strategies__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' or '-' effect */
}

.page-game-strategies__faq-answer {
  padding: 0 20px 20px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
}

.page-game-strategies__faq-answer p {
  margin-bottom: 0;
}

/* Final CTA Section */
.page-game-strategies__cta-final {
  padding: 80px 0;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
}

.page-game-strategies__cta-container {
  max-width: 900px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-game-strategies__grid-2-columns {
    grid-template-columns: 1fr;
  }

  .page-game-strategies__grid-2-columns--reverse-on-mobile {
    display: flex; /* Change to flex for column-reverse */
    flex-direction: column-reverse; /* Reverse order for casino section */
  }
}

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

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

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

  .page-game-strategies__subtitle {
    font-size: 1.1rem;
  }

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

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

  .page-game-strategies__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-game-strategies__btn-primary,
  .page-game-strategies__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Image responsive for mobile */
  .page-game-strategies img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Image/Video/Button Containers responsive for mobile */
  .page-game-strategies__section,
  .page-game-strategies__card,
  .page-game-strategies__container,
  .page-game-strategies__hero-image-wrapper,
  .page-game-strategies__image-block,
  .page-game-strategies__content-block,
  .page-game-strategies__cta-buttons,
  .page-game-strategies__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-game-strategies__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-game-strategies__faq-qtext {
    font-size: 1rem;
  }
  .page-game-strategies__faq-toggle {
    font-size: 1.5rem;
  }
}