/* style/game-strategies.css */

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

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

.page-game-strategies__section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-game-strategies__dark-section {
    background-color: #003366; /* Primary brand color */
    color: #ffffff;
}

.page-game-strategies__light-section {
    background-color: #1a4d80; /* A darker shade of the primary color to ensure contrast with #f0f0f0 text */
    color: #f0f0f0;
}

.page-game-strategies__hero-banner {
    text-align: center;
    background: linear-gradient(135deg, #003366, #0a1a33); /* Darker gradient for hero */
    margin-top: 0; /* Assuming shared.css handles body padding-top */
    padding-top: var(--header-offset, 120px); /* Apply header offset to the first content section */
    padding-bottom: 60px;
}

.page-game-strategies__main-title {
    font-size: 44px;
    color: #FFD700; /* Auxiliary color for main title */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-game-strategies__intro-text {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-game-strategies__section-title {
    font-size: 36px;
    color: #FFD700; /* Auxiliary color for section titles */
    text-align: center;
    margin-bottom: 40px;
}

.page-game-strategies__sub-title {
    font-size: 28px;
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-game-strategies__paragraph {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.page-game-strategies__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-game-strategies__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-game-strategies__btn-primary,
.page-game-strategies__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-game-strategies__btn-primary {
    background-color: #FFD700; /* Auxiliary color */
    color: #003366; /* Primary color for text */
    border: 2px solid #FFD700;
}

.page-game-strategies__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
}

.page-game-strategies__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Auxiliary color for text */
    border: 2px solid #FFD700;
}

.page-game-strategies__btn-secondary:hover {
    background-color: #FFD700;
    color: #003366;
    transform: translateY(-2px);
}

.page-game-strategies__btn-large {
    padding: 18px 35px;
    font-size: 20px;
}

/* CTA Section */
.page-game-strategies__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #003366; /* Primary color */
}

.page-game-strategies__cta-content {
    max-width: 900px;
}

.page-game-strategies__cta-title {
    font-size: 40px;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-game-strategies__cta-description {
    font-size: 20px;
    margin-bottom: 40px;
}

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

.page-game-strategies__faq-item {
  margin-bottom: 15px;
  border-radius: 8px; /* Slightly larger radius */
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

.page-game-strategies__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px; /* Increased padding */
  background: #0a1a33; /* Darker background for question */
  border: 1px solid #1a4d80; /* Subtle border */
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-game-strategies__faq-question:hover {
  background: #1a4d80; /* Lighter on hover */
  border-color: #2b6cb0;
}

.page-game-strategies__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px; /* Slightly larger font */
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700; /* Gold for question text */
  pointer-events: none;
}

.page-game-strategies__faq-toggle {
  font-size: 28px; /* Larger toggle */
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Gold for toggle */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-game-strategies__faq-item.active .page-game-strategies__faq-toggle {
  color: #ffffff; /* White when active */
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-game-strategies__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #002244; /* Darker background for answer */
  color: #f0f0f0; /* Light text */
  border-radius: 0 0 8px 8px;
}

.page-game-strategies__faq-item.active .page-game-strategies__faq-answer {
  max-height: 2000px !important; /* Ensure content fits */
  padding: 20px 25px !important;
  opacity: 1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-game-strategies__main-title {
        font-size: 38px;
    }
    .page-game-strategies__section-title {
        font-size: 32px;
    }
    .page-game-strategies__sub-title {
        font-size: 24px;
    }
    .page-game-strategies__cta-title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .page-game-strategies__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-game-strategies__section {
        padding: 40px 0;
    }
    .page-game-strategies__hero-banner {
        padding-top: var(--header-offset, 100px) !important; /* Ensure mobile header offset */
        padding-bottom: 40px;
    }
    .page-game-strategies__main-title {
        font-size: 30px;
        line-height: 1.3;
    }
    .page-game-strategies__intro-text {
        font-size: 16px;
        margin-left: 0;
        margin-right: 0;
    }
    .page-game-strategies__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-game-strategies__sub-title {
        font-size: 22px;
        margin-top: 30px;
    }
    .page-game-strategies__paragraph {
        font-size: 15px;
    }

    /* Images Mobile */
    .page-game-strategies img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin-left: 0;
        margin-right: 0;
    }

    /* Buttons Mobile */
    .page-game-strategies__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-left: 0;
        margin-right: 0;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Ensure buttons have side padding within container */
    }
    .page-game-strategies__btn-primary,
    .page-game-strategies__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
    }

    .page-game-strategies__cta-section {
        padding: 50px 0;
    }
    .page-game-strategies__cta-title {
        font-size: 28px;
    }
    .page-game-strategies__cta-description {
        font-size: 18px;
    }

    /* FAQ Mobile */
    .page-game-strategies__faq-question {
        padding: 15px 20px;
    }
    .page-game-strategies__faq-question h3 {
        font-size: 16px;
        width: calc(100% - 40px);
    }
    .page-game-strategies__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
        margin-left: 15px;
    }
    .page-game-strategies__faq-answer {
        padding: 0 20px;
    }
    .page-game-strategies__faq-item.active .page-game-strategies__faq-answer {
        padding: 15px 20px !important;
    }
}

/* Ensure content areas don't cause horizontal scroll */
.page-game-strategies__section,
.page-game-strategies__hero-banner,
.page-game-strategies__cta-section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}