/* style/game-strategies.css */

/* Base styles for page-game-strategies */
.page-game-strategies {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-game-strategies__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-game-strategies__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-game-strategies__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-game-strategies__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-game-strategies__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for main title */
}

.page-game-strategies__lead-paragraph {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Section Titles */
.page-game-strategies__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
}

/* Text Blocks */
.page-game-strategies__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-game-strategies__keyword {
  color: #26A9E0;
  font-weight: bold;
}

/* Sections */
.page-game-strategies__section {
  padding: 60px 0;
}

.page-game-strategies__introduction {
  background-color: #0a0a0a;
}

.page-game-strategies__promo-types {
  background-color: #1a1a1a;
}

.page-game-strategies__strategies {
  background-color: #0a0a0a;
}

.page-game-strategies__tips {
  background-color: #1a1a1a;
}

.page-game-strategies__faq {
  background-color: #0a0a0a;
}

.page-game-strategies__final-advice {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-game-strategies__final-advice .page-game-strategies__section-title,
.page-game-strategies__final-advice .page-game-strategies__text-block {
  color: #ffffff;
}

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

.page-game-strategies__card {
  background: rgba(255, 255, 255, 0.1); /* Light background for cards on dark sections */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

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

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

.page-game-strategies__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-game-strategies__card-description {
  font-size: 0.95rem;
  color: #f0f0f0;
}

/* Lists */
.page-game-strategies__list,
.page-game-strategies__ordered-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-game-strategies__list-item {
  background: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #26A9E0;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  color: #ffffff;
}

.page-game-strategies__list-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-game-strategies__list-description {
  font-size: 0.95rem;
  color: #f0f0f0;
}

/* CTA Buttons */
.page-game-strategies__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-strategies__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-game-strategies__btn-primary:hover {
  background-color: #d66a00;
  border-color: #d66a00;
}

.page-game-strategies__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-game-strategies__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-game-strategies__cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

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

.page-game-strategies__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-game-strategies__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  color: #26A9E0;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* For details/summary */
}

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

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

.page-game-strategies__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-game-strategies__faq-item[open] .page-game-strategies__faq-toggle {
  transform: rotate(45deg);
}

.page-game-strategies__faq-answer {
  padding: 20px;
  padding-top: 0;
  font-size: 0.95rem;
  color: #f0f0f0;
}

.page-game-strategies__faq-item[open] .page-game-strategies__faq-answer {
  padding-top: 20px; /* Restore padding when open */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-strategies__hero-content {
    padding: 0 15px;
  }
  .page-game-strategies__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-game-strategies__lead-paragraph {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
  }
  .page-game-strategies__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-game-strategies__hero-section {
    padding-bottom: 40px;
  }
  .page-game-strategies__section {
    padding: 40px 0;
  }
  .page-game-strategies__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-game-strategies__lead-paragraph {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }
  .page-game-strategies__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }
  .page-game-strategies__text-block, .page-game-strategies__list-description, .page-game-strategies__card-description, .page-game-strategies__faq-answer p {
    font-size: 16px;
  }
  .page-game-strategies__card-grid {
    grid-template-columns: 1fr;
  }
  .page-game-strategies__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-strategies__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-game-strategies__hero-image,
  .page-game-strategies__card-image,
  .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__cta-group {
    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-strategies__hero-section {
    padding-top: 10px !important;
  }
  .page-game-strategies__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-game-strategies__main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  .page-game-strategies__section-title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }
  .page-game-strategies__cta-button {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
  .page-game-strategies__card {
    padding: 20px;
  }
  .page-game-strategies__list-item {
    padding: 20px;
  }
}