/* style/resources-game-strategies.css */

/* Variables and Base Styles */
:root {
  --okvnd-primary: #26A9E0;
  --okvnd-secondary: #FFFFFF;
  --okvnd-text-dark: #333333;
  --okvnd-text-light: #ffffff;
  --okvnd-login-button: #EA7C07;
}

.page-resources-game-strategies {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--okvnd-text-dark); /* Default text color for light backgrounds */
  background-color: var(--okvnd-secondary); /* Assuming light background for main content */
}

/* Header offset for main content */
.page-resources-game-strategies__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Container for consistent content width */
.page-resources-game-strategies__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section titles and descriptions */
.page-resources-game-strategies__section-title {
  font-size: 2.5em;
  color: var(--okvnd-primary);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-game-strategies__section-description {
  font-size: 1.1em;
  color: var(--okvnd-text-dark);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Dark background sections */
.page-resources-game-strategies__dark-bg {
  background-color: var(--okvnd-primary);
  color: var(--okvnd-text-light);
  padding: 60px 0;
}

.page-resources-game-strategies__dark-bg .page-resources-game-strategies__section-title {
  color: var(--okvnd-text-light);
}

.page-resources-game-strategies__dark-bg .page-resources-game-strategies__section-description {
  color: var(--okvnd-text-light);
}

/* Light background sections */
.page-resources-game-strategies__light-bg {
  background-color: var(--okvnd-secondary);
  color: var(--okvnd-text-dark);
  padding: 60px 0;
}

/* Buttons */
.page-resources-game-strategies__btn-primary,
.page-resources-game-strategies__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-resources-game-strategies__btn-primary {
  background-color: var(--okvnd-primary);
  color: var(--okvnd-text-light);
  border: 2px solid var(--okvnd-primary);
  margin-right: 15px;
}

.page-resources-game-strategies__btn-primary:hover {
  background-color: #1f8ec4; /* A slightly darker shade */
}

.page-resources-game-strategies__btn-secondary {
  background-color: transparent;
  color: var(--okvnd-primary);
  border: 2px solid var(--okvnd-primary);
}

.page-resources-game-strategies__btn-secondary:hover {
  background-color: var(--okvnd-primary);
  color: var(--okvnd-text-light);
}

.page-resources-game-strategies__btn-text {
  color: var(--okvnd-primary);
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
}

.page-resources-game-strategies__btn-text:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-resources-game-strategies__hero-section {
  text-align: center;
  padding: 100px 20px;
  background-image: url('[GALLERY:hero_main:1920x1080:okvnd,game_strategies,hero,banner,modern]');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.page-resources-game-strategies__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Overlay for text readability */
  z-index: 1;
}

.page-resources-game-strategies__hero-section > .page-resources-game-strategies__container {
  position: relative;
  z-index: 2;
}

.page-resources-game-strategies__hero-title {
  font-size: 3.5em;
  color: var(--okvnd-text-light);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-game-strategies__hero-description {
  font-size: 1.3em;
  color: var(--okvnd-text-light);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-game-strategies__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Video Section */
.page-resources-game-strategies__video-section {
  text-align: center;
}

.page-resources-game-strategies__video-wrapper {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.page-resources-game-strategies__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block; /* Ensure video takes full width */
  max-width: 100%; /* Important for responsiveness */
}

/* Strategies Section */
.page-resources-game-strategies__strategies-section {
  padding: 80px 0;
}

.page-resources-game-strategies__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-game-strategies__card {
  background-color: var(--okvnd-secondary);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  padding: 25px;
  transition: transform 0.3s ease;
  color: var(--okvnd-text-dark);
}

.page-resources-game-strategies__card:hover {
  transform: translateY(-5px);
}

.page-resources-game-strategies__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-resources-game-strategies__card-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources-game-strategies__card-title a {
  color: var(--okvnd-primary);
  text-decoration: none;
}

.page-resources-game-strategies__card-title a:hover {
  text-decoration: underline;
}

.page-resources-game-strategies__card-text {
  font-size: 1em;
  color: #555555;
}

/* Guide Section */
.page-resources-game-strategies__guide-section {
  text-align: center;
  padding: 80px 0;
}

.page-resources-game-strategies__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-game-strategies__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: var(--okvnd-text-light);
}

.page-resources-game-strategies__step-icon {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--okvnd-text-light);
  margin-bottom: 15px;
  background-color: var(--okvnd-primary);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
}

.page-resources-game-strategies__step-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources-game-strategies__step-title a {
  color: var(--okvnd-text-light);
  text-decoration: none;
}

.page-resources-game-strategies__step-title a:hover {
  text-decoration: underline;
}

.page-resources-game-strategies__step-text {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.8);
}

.page-resources-game-strategies__cta-center {
  margin-top: 50px;
}

/* FAQ Section */
.page-resources-game-strategies__faq-section {
  padding: 80px 0;
}

.page-resources-game-strategies__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-game-strategies__faq-item {
  background-color: var(--okvnd-secondary);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-game-strategies__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--okvnd-primary);
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

.page-resources-game-strategies__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

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

.page-resources-game-strategies__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--okvnd-primary);
}

.page-resources-game-strategies__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #f0f0f0;
}

/* Contact CTA Section */
.page-resources-game-strategies__contact-cta {
  text-align: center;
  padding: 80px 0;
}

/* Image specific styles */
.page-resources-game-strategies img {
  border-radius: 8px;
  display: block; /* Ensure images behave like block elements */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-game-strategies__hero-title {
    font-size: 3em;
  }

  .page-resources-game-strategies__section-title {
    font-size: 2em;
  }
}

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

  /* Mobile header offset */
  .page-resources-game-strategies__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  
  .page-resources-game-strategies__hero-title {
    font-size: 2.5em;
  }

  .page-resources-game-strategies__hero-description {
    font-size: 1.1em;
  }

  .page-resources-game-strategies__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-resources-game-strategies__btn-primary,
  .page-resources-game-strategies__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    padding: 15px 20px !important;
  }

  .page-resources-game-strategies__video-section,
  .page-resources-game-strategies__strategies-section,
  .page-resources-game-strategies__guide-section,
  .page-resources-game-strategies__faq-section,
  .page-resources-game-strategies__contact-cta {
    padding: 40px 0;
  }

  .page-resources-game-strategies__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-resources-game-strategies__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-resources-game-strategies__strategy-grid,
  .page-resources-game-strategies__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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