/* style/game-strategy.css */

/* Custom Colors */
:root {
  --m-okvnd-primary: #11A84E;
  --m-okvnd-secondary: #22C768;
  --m-okvnd-button-gradient-start: #2AD16F;
  --m-okvnd-button-gradient-end: #13994A;
  --m-okvnd-card-bg: #11271B;
  --m-okvnd-background: #08160F;
  --m-okvnd-text-main: #F2FFF6;
  --m-okvnd-text-secondary: #A7D9B8;
  --m-okvnd-border: #2E7A4E;
  --m-okvnd-glow: #57E38D;
  --m-okvnd-gold: #F2C14E;
  --m-okvnd-divider: #1E3A2A;
  --m-okvnd-deep-green: #0A4B2C;
}

.page-game-strategy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--m-okvnd-text-main);
  background-color: var(--m-okvnd-background);
}

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

/* Hero Section */
.page-game-strategy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Minimal top padding, body handles header offset */
  overflow: hidden;
}

.page-game-strategy__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 675px; /* Limit height for aesthetic */
  z-index: 1;
}

.page-game-strategy__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -150px; /* Overlap image slightly for design */
  background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, var(--m-okvnd-background) 100%);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.page-game-strategy__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--m-okvnd-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-game-strategy__description {
  font-size: 1.1rem;
  color: var(--m-okvnd-text-secondary);
  margin-bottom: 30px;
}

.page-game-strategy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-game-strategy__btn-primary {
  background: linear-gradient(180deg, var(--m-okvnd-button-gradient-start) 0%, var(--m-okvnd-button-gradient-end) 100%);
  color: #ffffff;
  border: 2px solid var(--m-okvnd-button-gradient-start);
}

.page-game-strategy__btn-primary:hover {
  background: linear-gradient(180deg, var(--m-okvnd-button-gradient-end) 0%, var(--m-okvnd-button-gradient-start) 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-game-strategy__btn-secondary {
  background-color: transparent;
  color: var(--m-okvnd-button-gradient-start);
  border: 2px solid var(--m-okvnd-button-gradient-start);
}

.page-game-strategy__btn-secondary:hover {
  background-color: var(--m-okvnd-button-gradient-start);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

/* General Section Styling */
.page-game-strategy__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--m-okvnd-divider);
}

.page-game-strategy__section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--m-okvnd-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-game-strategy__text-block {
  font-size: 1rem;
  color: var(--m-okvnd-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-game-strategy__card {
  background-color: var(--m-okvnd-card-bg);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  border: 1px solid var(--m-okvnd-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--m-okvnd-text-main);
}

.page-game-strategy__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-game-strategy__card-title {
  font-size: 1.4rem;
  color: var(--m-okvnd-primary);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-game-strategy__card-text {
  font-size: 0.95rem;
  color: var(--m-okvnd-text-secondary);
  flex-grow: 1;
}

/* Specific Strategies */
.page-game-strategy__game-strategy-card {
  display: flex;
  background-color: var(--m-okvnd-card-bg);
  border-radius: 10px;
  margin-bottom: 40px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  border: 1px solid var(--m-okvnd-border);
  align-items: center;
  color: var(--m-okvnd-text-main);
}

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

.page-game-strategy__game-strategy-image {
  width: 50%;
  height: 350px;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-game-strategy__game-strategy-content {
  width: 50%;
  padding: 30px;
  box-sizing: border-box;
}

.page-game-strategy__game-title {
  font-size: 1.6rem;
  color: var(--m-okvnd-primary);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-game-strategy__btn-text-link {
  color: var(--m-okvnd-secondary);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-game-strategy__btn-text-link:hover {
  color: var(--m-okvnd-gold);
  text-decoration: underline;
}

/* FAQ Section */
.page-game-strategy__faq-list {
  margin-top: 40px;
}

.page-game-strategy__faq-item {
  background-color: var(--m-okvnd-card-bg);
  border: 1px solid var(--m-okvnd-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--m-okvnd-text-main);
}

.page-game-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--m-okvnd-primary);
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-game-strategy__faq-question::-webkit-details-marker {
  display: none;
}

.page-game-strategy__faq-item[open] > .page-game-strategy__faq-question {
  background-color: var(--m-okvnd-deep-green);
}

.page-game-strategy__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--m-okvnd-gold);
}

.page-game-strategy__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: var(--m-okvnd-text-secondary);
}

/* Conclusion CTA */
.page-game-strategy__cta-final {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-strategy__hero-content {
    margin-top: -100px;
  }

  .page-game-strategy__game-strategy-card {
    flex-direction: column;
  }

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

  .page-game-strategy__game-strategy-image,
  .page-game-strategy__game-strategy-content {
    width: 100%;
  }
  .page-game-strategy__game-strategy-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .page-game-strategy__hero-section {
    padding-bottom: 40px;
  }

  .page-game-strategy__hero-content {
    margin-top: -80px;
    padding: 30px 15px;
  }

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

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

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

  .page-game-strategy__btn-primary,
  .page-game-strategy__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

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

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

  .page-game-strategy__text-block {
    font-size: 0.95rem;
  }

  .page-game-strategy__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

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

  .page-game-strategy__card-image {
    height: 180px;
  }

  .page-game-strategy__game-strategy-card {
    margin-bottom: 30px;
  }

  .page-game-strategy__game-strategy-image {
    height: 250px;
  }

  .page-game-strategy__game-strategy-content {
    padding: 20px;
  }

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

  .page-game-strategy__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

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

  /* Mobile responsive for images, videos, buttons - !important is mandatory */
  .page-game-strategy img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-game-strategy__section,
  .page-game-strategy__card,
  .page-game-strategy__container,
  .page-game-strategy__hero-section,
  .page-game-strategy__game-strategy-card,
  .page-game-strategy__cta-buttons {
    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-strategy__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  
  /* Specific for buttons within containers */
  .page-game-strategy__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}