/* style/game-strategy.css */
.page-game-strategy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#0a0a0a), so use light text */
  background-color: #0a0a0a;
}

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

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

.page-game-strategy__dark-bg {
  background-color: #0d0d0d; /* Slightly darker than body for contrast */
  color: #ffffff;
}

.page-game-strategy__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #017439; /* Brand primary color for titles */
  text-align: center;
  font-weight: bold;
}

.page-game-strategy__text-block {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-game-strategy__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: #017439; /* Brand primary color for hero background */
  color: #ffffff;
}

.page-game-strategy__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-game-strategy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
  filter: brightness(0.7); /* Darken image to ensure text contrast */
}

.page-game-strategy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-game-strategy__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-game-strategy__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-game-strategy__btn-primary,
.page-game-strategy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-strategy__btn-primary {
  background-color: #C30808; /* Register button color */
  color: #FFFF00; /* Register font color */
  border: 2px solid #C30808;
}

.page-game-strategy__btn-primary:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
}

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

.page-game-strategy__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
  border-color: #ffffff;
}

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

.page-game-strategy__feature-item {
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-strategy__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-strategy__feature-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #017439;
}

.page-game-strategy__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Strategy Grids */
.page-game-strategy__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-strategy__strategy-card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-strategy__strategy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-strategy__strategy-image {
  width: 100%;
  height: 225px;
  object-fit: cover;
  display: block;
  max-width: 100%;
  height: auto;
}

.page-game-strategy__strategy-card-title {
  font-size: 1.5em;
  padding: 20px 20px 10px;
  color: #017439;
}

.page-game-strategy__strategy-card-description {
  font-size: 0.95em;
  padding: 0 20px 20px;
  color: #f0f0f0;
}

/* Strategy List (for Casino) */
.page-game-strategy__strategy-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.page-game-strategy__strategy-item {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-strategy__strategy-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-strategy__strategy-item-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #017439;
}

.page-game-strategy__strategy-item-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* 23wim Support List */
.page-game-strategy__support-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-game-strategy__support-list li {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #f0f0f0;
  transition: background-color 0.3s ease;
}

.page-game-strategy__support-list li:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-game-strategy__list-link {
  color: #017439;
  text-decoration: none;
  font-weight: bold;
}

.page-game-strategy__list-link:hover {
  text-decoration: underline;
}

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

.page-game-strategy__advice-item {
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-strategy__advice-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-strategy__advice-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #017439;
}

.page-game-strategy__advice-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-game-strategy__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-strategy__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-game-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-game-strategy__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-game-strategy__faq-title {
  margin: 0;
  color: #ffffff; /* FAQ titles are white on dark background */
}

.page-game-strategy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #017439;
}

.page-game-strategy__faq-item.active .page-game-strategy__faq-toggle {
  transform: rotate(45deg);
}

.page-game-strategy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  text-align: left;
}

.page-game-strategy__faq-item.active .page-game-strategy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-game-strategy__hero-title {
    font-size: 3em;
  }
  .page-game-strategy__section-title {
    font-size: 2em;
  }
  .page-game-strategy__hero-description {
    font-size: 1.1em;
  }
}

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

  .page-game-strategy__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Apply header offset for mobile hero */
  }

  .page-game-strategy__hero-content,
  .page-game-strategy__container {
    padding: 0 15px;
  }

  .page-game-strategy__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-game-strategy__btn-primary,
  .page-game-strategy__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-game-strategy__section-title {
    font-size: 1.8em;
  }

  .page-game-strategy__text-block {
    font-size: 1em;
  }

  .page-game-strategy__features-grid,
  .page-game-strategy__strategy-grid,
  .page-game-strategy__strategy-list,
  .page-game-strategy__advice-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-strategy__feature-item,
  .page-game-strategy__strategy-card,
  .page-game-strategy__strategy-item,
  .page-game-strategy__advice-item,
  .page-game-strategy__faq-item {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-game-strategy__strategy-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-game-strategy__section,
  .page-game-strategy__card,
  .page-game-strategy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-game-strategy__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

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