/* style/game-strategy.css */

/* Base styles for the page */
.page-game-strategy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

/* Sections */
.page-game-strategy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  overflow: hidden;
  color: #FFF6D6;
  background: linear-gradient(180deg, #F2C14E 0%, #FFD36B 100%); /* Example gradient, adjust as needed */
}

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

.page-game-strategy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.3; /* Overlay for text readability */
}

.page-game-strategy__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
  border-radius: 8px;
}

.page-game-strategy__main-title {
  font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFD36B; /* Glow */
}

.page-game-strategy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-game-strategy__content-section {
  padding: 60px 20px;
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6;
}

.page-game-strategy__strategy-section {
  padding: 60px 20px;
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
}

.page-game-strategy__download-section {
  padding: 60px 20px;
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
  text-align: center;
}

.page-game-strategy__faq-section {
  padding: 60px 20px;
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6;
}

.page-game-strategy__conclusion-section {
  padding: 60px 20px;
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
  text-align: center;
}

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

.page-game-strategy__section-title {
  font-size: clamp(1.8em, 4vw, 2.5em);
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: #F2C14E; /* Main color */
}

.page-game-strategy__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #FFF6D6;
}

.page-game-strategy__keyword {
  color: #FFD36B;
  font-weight: bold;
}

.page-game-strategy__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-game-strategy__list-item {
  background-color: #111111; /* Card BG */
  border-left: 5px solid #F2C14E;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-strategy__list-title {
  font-size: 1.3em;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-game-strategy__list-text {
  color: #FFF6D6;
}

.page-game-strategy__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-game-strategy__step-item {
  counter-increment: step-counter;
  background-color: #111111; /* Card BG */
  padding: 20px 20px 20px 60px; /* Adjust padding for counter */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  text-align: left;
  color: #FFF6D6;
}

.page-game-strategy__step-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #F2C14E;
  color: #0A0A0A;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em;
}

/* Buttons */
.page-game-strategy__cta-button {
  display: inline-block;
  padding: 15px 30px;
  margin-top: 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-strategy__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #0A0A0A; /* Text color for contrast */
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-game-strategy__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
  transform: translateY(-2px);
}

.page-game-strategy__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

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

.page-game-strategy__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  text-align: left;
}

.page-game-strategy__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-game-strategy__card-title {
  font-size: 1.4em;
  color: #F2C14E;
  padding: 20px 20px 10px;
}

.page-game-strategy__card-text {
  font-size: 1em;
  color: #FFF6D6;
  padding: 0 20px 20px;
  flex-grow: 1;
}

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

.page-game-strategy__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-game-strategy__faq-item summary {
  list-style: none; /* Remove default marker */
}

.page-game-strategy__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit */
}

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

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

.page-game-strategy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #F2C14E;
}

.page-game-strategy__faq-item[open] .page-game-strategy__faq-toggle {
  content: '−';
}

.page-game-strategy__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.05em;
  color: #FFF6D6;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .page-game-strategy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

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

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

  .page-game-strategy__content-section,
  .page-game-strategy__strategy-section,
  .page-game-strategy__download-section,
  .page-game-strategy__faq-section,
  .page-game-strategy__conclusion-section {
    padding: 30px 15px;
  }

  .page-game-strategy__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

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

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

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

  .page-game-strategy__card-title {
    font-size: 1.2em;
    padding: 15px 15px 8px;
  }

  .page-game-strategy__card-text {
    font-size: 0.95em;
    padding: 0 15px 15px;
  }

  .page-game-strategy__list-item,
  .page-game-strategy__step-item {
    padding: 15px;
    margin-bottom: 10px;
  }

  .page-game-strategy__step-item::before {
    left: 15px;
    width: 25px;
    height: 25px;
    font-size: 1em;
  }

  .page-game-strategy__step-item {
    padding-left: 50px;
  }

  .page-game-strategy__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

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

  /* Mobile image responsiveness */
  .page-game-strategy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-game-strategy__hero-image,
  .page-game-strategy__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Mobile button responsiveness */
  .page-game-strategy__cta-button,
  .page-game-strategy__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Ensure containers for images/buttons/videos handle overflow */
  .page-game-strategy__container,
  .page-game-strategy__card-grid,
  .page-game-strategy__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Added for mobile overflow */
  }
}