/* style/game-strategies.css */

/* Custom properties for colors from the provided scheme */
:root {
  --vf88-green-main: #11A84E;
  --vf88-green-accent: #22C768;
  --vf88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --vf88-card-bg: #11271B;
  --vf88-bg-dark: #08160F;
  --vf88-text-main: #F2FFF6;
  --vf88-text-secondary: #A7D9B8;
  --vf88-border: #2E7A4E;
  --vf88-glow: #57E38D;
  --vf88-gold: #F2C14E;
  --vf88-divider: #1E3A2A;
  --vf88-deep-green: #0A4B2C;
}

/* Base styles for the page content, considering the shared body background is likely dark */
.page-game-strategies {
  background-color: var(--vf88-bg-dark);
  color: var(--vf88-text-main); /* Default text color for the page */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

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

.page-game-strategies__dark-bg {
  background-color: var(--vf88-bg-dark);
  color: var(--vf88-text-main);
}

.page-game-strategies__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  color: var(--vf88-gold);
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-game-strategies__text-block {
  font-size: 1.1rem;
  color: var(--vf88-text-secondary);
  margin-bottom: 20px;
}

/* Hero Section */
.page-game-strategies__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles padding-top, this is for internal spacing */
  overflow: hidden;
}

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

.page-game-strategies__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-game-strategies__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over image for visual appeal, but not overlay */
  background: rgba(8, 22, 15, 0.85); /* Slightly transparent dark background */
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.page-game-strategies__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--vf88-gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-game-strategies__description {
  font-size: 1.2rem;
  color: var(--vf88-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-game-strategies__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't overflow */
}

.page-game-strategies__btn-primary {
  background: var(--vf88-button-gradient);
  color: var(--vf88-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-strategies__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-game-strategies__btn-secondary {
  background: transparent;
  color: var(--vf88-green-accent);
  border: 2px solid var(--vf88-green-accent);
  margin-left: 20px;
}

.page-game-strategies__btn-secondary:hover {
  background: var(--vf88-green-accent);
  color: var(--vf88-bg-dark);
  transform: translateY(-3px);
}

.page-game-strategies__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-game-strategies__card {
  background-color: var(--vf88-card-bg);
  border: 1px solid var(--vf88-border);
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--vf88-text-main);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-game-strategies__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-game-strategies__card-title {
  font-size: 1.5rem;
  color: var(--vf88-gold);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-game-strategies__card-text {
  font-size: 1rem;
  color: var(--vf88-text-secondary);
}

/* Game Strategy Cards */
.page-game-strategies__game-strategy-card {
  background-color: var(--vf88-card-bg);
  border: 1px solid var(--vf88-border);
  border-radius: 10px;
  margin-bottom: 30px;
  padding: 25px;
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-strategies__game-strategy-card:nth-child(even) {
  flex-direction: row-reverse; /* Alternate image/text order */
}

.page-game-strategies__game-strategy-image {
  width: 40%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.page-game-strategies__game-strategy-content {
  flex-grow: 1;
}

.page-game-strategies__game-strategy-title {
  font-size: 1.8rem;
  color: var(--vf88-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-strategies__game-strategy-title a {
  color: var(--vf88-gold);
  text-decoration: none;
}

.page-game-strategies__game-strategy-title a:hover {
  text-decoration: underline;
}

.page-game-strategies__game-strategy-text {
  font-size: 1.1rem;
  color: var(--vf88-text-secondary);
  margin-bottom: 15px;
}

/* Lists */
.page-game-strategies__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--vf88-text-secondary);
}

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

.page-game-strategies__ordered-list {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--vf88-text-secondary);
  text-align: left;
}

.page-game-strategies__ordered-list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

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

.page-game-strategies__list-with-icon {
  list-style: none;
  padding-left: 0;
  text-align: left;
  margin-bottom: 30px;
}

.page-game-strategies__list-with-icon li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--vf88-text-secondary);
}

.page-game-strategies__list-icon {
  color: var(--vf88-gold);
  font-size: 1.5rem;
  margin-right: 15px;
  line-height: 1;
  flex-shrink: 0;
}

.page-game-strategies__list-with-icon li strong {
  color: var(--vf88-text-main);
}

.page-game-strategies__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 20px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-game-strategies__faq-section {
  padding-top: 40px;
  padding-bottom: 60px;
}

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

.page-game-strategies__faq-item[open] {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-game-strategies__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--vf88-text-main);
  cursor: pointer;
  background-color: var(--vf88-deep-green);
  border-bottom: 1px solid var(--vf88-divider);
  list-style: none; /* Hide default marker for details */
}

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

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

.page-game-strategies__faq-toggle {
  font-size: 1.8rem;
  color: var(--vf88-gold);
  margin-left: 20px;
  line-height: 1;
}

.page-game-strategies__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--vf88-text-secondary);
  background-color: var(--vf88-card-bg);
  border-top: 1px solid var(--vf88-divider);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-game-strategies__hero-content {
    margin-top: -100px;
    padding: 30px 15px;
  }

  .page-game-strategies__game-strategy-card {
    flex-direction: column;
    text-align: center;
  }

  .page-game-strategies__game-strategy-card:nth-child(even) {
    flex-direction: column; /* Reset order for smaller screens */
  }

  .page-game-strategies__game-strategy-image {
    width: 100%;
    margin-bottom: 20px;
  }

  .page-game-strategies__game-strategy-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .page-game-strategies__section {
    padding: 40px 10px;
  }

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

  .page-game-strategies__hero-content {
    margin-top: -80px;
    padding: 25px 10px;
  }

  .page-game-strategies__main-title {
    font-size: 2rem;
  }

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

  .page-game-strategies__cta-button {
    padding: 12px 20px;
    font-size: 1rem;
    width: 100% !important; /* Ensure full width */
    margin-left: 0 !important; /* Reset margin */
    margin-bottom: 10px; /* Add spacing between buttons */
  }

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

  .page-game-strategies__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-game-strategies__card-title {
    font-size: 1.3rem;
  }

  .page-game-strategies__game-strategy-card {
    padding: 20px;
    gap: 20px;
  }

  .page-game-strategies__game-strategy-title {
    font-size: 1.4rem;
  }

  .page-game-strategies__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }

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

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

  /* Mobile image adaptation */
  .page-game-strategies img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-strategies__section,
  .page-game-strategies__card,
  .page-game-strategies__container,
  .page-game-strategies__hero-image-wrapper,
  .page-game-strategies__hero-content,
  .page-game-strategies__game-strategy-card,
  .page-game-strategies__game-strategy-image,
  .page-game-strategies__content-image,
  .page-game-strategies__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }

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

  .page-game-strategies__list,
  .page-game-strategies__ordered-list,
  .page-game-strategies__list-with-icon {
    margin-left: 0;
    padding-left: 20px;
  }
}

@media (max-width: 480px) {
  .page-game-strategies__hero-content {
    margin-top: -60px;
    padding: 20px 10px;
  }

  .page-game-strategies__main-title {
    font-size: 1.8rem;
  }

  .page-game-strategies__section-title {
    font-size: 1.6rem;
  }

  .page-game-strategies__game-strategy-title {
    font-size: 1.3rem;
  }
}