/* style/game-strategies.css */

/* Base styles for the page */
.page-game-strategies {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text on dark body background #1a1a1a */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-game-strategies__section {
  padding: 60px 0;
  text-align: center;
}

.page-game-strategies__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-game-strategies__section-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from section for contrast */
  line-height: 1.2;
}

.page-game-strategies__section-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: inherit;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-game-strategies__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  min-height: 500px;
  overflow: hidden;
}

.page-game-strategies__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

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

.page-game-strategies__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-game-strategies__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-game-strategies__btn-primary,
.page-game-strategies__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-strategies__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-game-strategies__btn-primary:hover {
  background-color: #d46a00;
  border-color: #d46a00;
}

.page-game-strategies__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-game-strategies__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

/* About Max10 Section */
.page-game-strategies__about-max10 {
  background-color: #ffffff;
  color: #333333;
}

.page-game-strategies__about-max10 .page-game-strategies__section-title,
.page-game-strategies__about-max10 .page-game-strategies__section-description {
  color: #333333;
}

.page-game-strategies__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

@media (min-width: 768px) {
  .page-game-strategies__content-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-game-strategies__content-grid--reverse {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "text image";
  }
  .page-game-strategies__content-grid--reverse .page-game-strategies__text-block { grid-area: text; }
  .page-game-strategies__content-grid--reverse .page-game-strategies__image-block { grid-area: image; }
}

.page-game-strategies__text-block p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.page-game-strategies__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Game Strategies Section */
.page-game-strategies__game-strategies {
  background-color: #f0f8ff;
  color: #333333;
}

.page-game-strategies__game-strategies .page-game-strategies__section-title,
.page-game-strategies__game-strategies .page-game-strategies__section-description {
  color: #333333;
}

.page-game-strategies__strategy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-strategies__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-game-strategies__card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-game-strategies__card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #26A9E0;
  line-height: 1.4;
}

.page-game-strategies__card-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-strategies__btn-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-game-strategies__btn-link:hover {
  background-color: #1a8cc7;
}

/* Registration Guide Section */
.page-game-strategies__registration-guide {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-game-strategies__registration-guide .page-game-strategies__section-title,
.page-game-strategies__registration-guide .page-game-strategies__section-description {
  color: #ffffff;
}

.page-game-strategies__ordered-list {
  list-style: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.page-game-strategies__ordered-list li {
  margin-bottom: 10px;
}

.page-game-strategies__ordered-list li strong {
  color: #ffffff;
}

/* Promotions Section */
.page-game-strategies__promotions {
  background-color: #ffffff;
  color: #333333;
}

.page-game-strategies__promotions .page-game-strategies__section-title,
.page-game-strategies__promotions .page-game-strategies__section-description {
  color: #333333;
}

.page-game-strategies__unordered-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.page-game-strategies__unordered-list li {
  margin-bottom: 8px;
}

/* Support & Responsible Gaming Section */
.page-game-strategies__support-responsible {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-game-strategies__support-responsible .page-game-strategies__section-title,
.page-game-strategies__support-responsible .page-game-strategies__section-description {
  color: #ffffff;
}

/* FAQ Section */
.page-game-strategies__faq {
  background-color: #ffffff;
  color: #333333;
}

.page-game-strategies__faq .page-game-strategies__section-title,
.page-game-strategies__faq .page-game-strategies__section-description {
  color: #333333;
}

.page-game-strategies__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}

.page-game-strategies__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-game-strategies__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for details */
}

.page-game-strategies__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-game-strategies__faq-question:hover {
  background-color: #e5e5e5;
}

.page-game-strategies__faq-qtext {
  flex-grow: 1;
}

.page-game-strategies__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-game-strategies__faq-item[open] .page-game-strategies__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-game-strategies__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
  background-color: #ffffff;
}

/* Conclusion Section */
.page-game-strategies__conclusion {
  background-color: #26A9E0;
  color: #ffffff;
  padding-bottom: 80px;
}

.page-game-strategies__conclusion .page-game-strategies__section-title,
.page-game-strategies__conclusion .page-game-strategies__section-description {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-strategies__hero-image-wrapper {
    max-height: 60vh;
  }
}

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

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

  .page-game-strategies__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, this is small decor */
  }

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

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

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

  .page-game-strategies__btn-primary,
  .page-game-strategies__btn-secondary,
  .page-game-strategies__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    font-size: 1rem;
  }

  .page-game-strategies__container {
    padding: 0 15px;
  }

  .page-game-strategies__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-game-strategies__content-grid--reverse {
    grid-template-areas: unset; /* Reset grid area for mobile */
  }

  .page-game-strategies__card {
    padding: 20px;
  }

  .page-game-strategies__card img,
  .page-game-strategies__image-block img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all content sections and cards have proper mobile padding/width */
  .page-game-strategies__section,
  .page-game-strategies__card,
  .page-game-strategies__container,
  .page-game-strategies__text-block,
  .page-game-strategies__image-block,
  .page-game-strategies__faq-list,
  .page-game-strategies__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-game-strategies__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-game-strategies__faq-answer {
    padding: 10px 20px 15px;
  }
}

/* Desktop specific width for video container if needed */
.page-game-strategies__video-container {
  width: 100%; /* Ensure desktop width is 100% before max-width */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Global image style for responsiveness and minimum size */
.page-game-strategies img {
  min-width: 200px;
  min-height: 200px;
}