/* style/resources-98win-vin-game-strategy.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-dark-bg: #FFFFFF;
  --text-color-light-bg: #333333;
  --background-color-body: #121212; /* From shared.css, dark background */
  --background-color-card: rgba(255, 255, 255, 0.1);
  --button-login-color: #EA7C07;
}

.page-resources-98win-vin-game-strategy {
  font-family: 'Arial', sans-serif;
  color: var(--text-color-dark-bg); /* Default text color for dark body background */
  line-height: 1.6;
  background-color: var(--background-color-body);
}

.page-resources-98win-vin-game-strategy__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-resources-98win-vin-game-strategy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-98win-vin-game-strategy__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-resources-98win-vin-game-strategy__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: var(--secondary-color);
}

.page-resources-98win-vin-game-strategy__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-98win-vin-game-strategy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.page-resources-98win-vin-game-strategy__cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-98win-vin-game-strategy__cta-button:hover {
  background-color: #1a7bb3; /* Slightly darker primary color */
  transform: translateY(-3px);
}

.page-resources-98win-vin-game-strategy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: var(--background-color-body); /* Ensure content area matches body background */
  color: var(--text-color-dark-bg);
}

.page-resources-98win-vin-game-strategy__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-98win-vin-game-strategy__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-resources-98win-vin-game-strategy__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
  color: var(--text-color-dark-bg);
}

.page-resources-98win-vin-game-strategy__game-grid,
.page-resources-98win-vin-game-strategy__tips-grid,
.page-resources-98win-vin-game-strategy__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-resources-98win-vin-game-strategy__game-card,
.page-resources-98win-vin-game-strategy__tip-item,
.page-resources-98win-vin-game-strategy__advantage-card {
  background-color: var(--background-color-card); /* Semi-transparent white for cards */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-color-dark-bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-98win-vin-game-strategy__game-card:hover,
.page-resources-98win-vin-game-strategy__tip-item:hover,
.page-resources-98win-vin-game-strategy__advantage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-98win-vin-game-strategy__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
  min-width: 200px; /* Minimum size requirement */
}

.page-resources-98win-vin-game-strategy__card-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-resources-98win-vin-game-strategy__card-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-98win-vin-game-strategy__card-title a:hover {
  color: var(--secondary-color);
}

.page-resources-98win-vin-game-strategy__card-description {
  font-size: 1em;
  color: var(--text-color-dark-bg);
}

.page-resources-98win-vin-game-strategy__tip-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-98win-vin-game-strategy__tip-description {
  font-size: 1.1em;
  color: var(--text-color-dark-bg);
  text-align: justify;
}

.page-resources-98win-vin-game-strategy__faq-container {
  max-width: 900px;
  margin: 0 auto 60px auto;
}

.page-resources-98win-vin-game-strategy__faq-item {
  background-color: var(--background-color-card);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  color: var(--text-color-dark-bg);
}

.page-resources-98win-vin-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);
  transition: background-color 0.3s ease;
}

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

.page-resources-98win-vin-game-strategy__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
}

.page-resources-98win-vin-game-strategy__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

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

.page-resources-98win-vin-game-strategy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-color-dark-bg);
}

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

.page-resources-98win-vin-game-strategy__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

.page-resources-98win-vin-game-strategy__cta-bottom {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 20px;
}

.page-resources-98win-vin-game-strategy__cta-button--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

.page-resources-98win-vin-game-strategy__section-title--last {
  margin-top: 60px;
}

.page-resources-98win-vin-game-strategy__text-block--last {
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-98win-vin-game-strategy__hero-title {
    font-size: 3em;
  }
  .page-resources-98win-vin-game-strategy__section-title {
    font-size: 2em;
  }
}

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

  .page-resources-98win-vin-game-strategy__hero-section {
    height: 450px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-98win-vin-game-strategy__hero-title {
    font-size: 2.2em;
  }

  .page-resources-98win-vin-game-strategy__hero-description {
    font-size: 1em;
  }

  .page-resources-98win-vin-game-strategy__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 auto;
  }

  .page-resources-98win-vin-game-strategy__content-area {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-98win-vin-game-strategy__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-98win-vin-game-strategy__text-block {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-resources-98win-vin-game-strategy__game-grid,
  .page-resources-98win-vin-game-strategy__tips-grid,
  .page-resources-98win-vin-game-strategy__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  .page-resources-98win-vin-game-strategy__game-card,
  .page-resources-98win-vin-game-strategy__tip-item,
  .page-resources-98win-vin-game-strategy__advantage-card {
    padding: 20px;
  }

  .page-resources-98win-vin-game-strategy__card-image {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  
  .page-resources-98win-vin-game-strategy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-98win-vin-game-strategy__faq-container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-98win-vin-game-strategy__faq-question h3 {
    font-size: 1.1em;
  }

  .page-resources-98win-vin-game-strategy__cta-bottom {
    margin-top: 30px;
  }

  .page-resources-98win-vin-game-strategy__cta-button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }

  /* Ensure all containers with images/buttons/videos are responsive */
  .page-resources-98win-vin-game-strategy__section,
  .page-resources-98win-vin-game-strategy__container,
  .page-resources-98win-vin-game-strategy__game-grid,
  .page-resources-98win-vin-game-strategy__tips-grid,
  .page-resources-98win-vin-game-strategy__advantages-grid,
  .page-resources-98win-vin-game-strategy__faq-container,
  .page-resources-98win-vin-game-strategy__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  
  .page-resources-98win-vin-game-strategy__game-grid > div,
  .page-resources-98win-vin-game-strategy__tips-grid > div,
  .page-resources-98win-vin-game-strategy__advantages-grid > div {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Color Contrast Fixes */
.page-resources-98win-vin-game-strategy__dark-bg {
  color: var(--text-color-dark-bg);
}

.page-resources-98win-vin-game-strategy__card {
  background: var(--background-color-card);
  color: var(--text-color-dark-bg);
}

.page-resources-98win-vin-game-strategy__btn-primary {
  background: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid transparent;
}

.page-resources-98win-vin-game-strategy__btn-secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}