/* style/game-guides.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #00CED1; /* Turquoise */
    --dark-background: #1a1a2e; /* Body background */
    --light-text: #ffffff;
    --dark-text: #333333;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

.page-game-guides {
    color: var(--light-text); /* Default text color for page content, assuming dark body background */
    background-color: var(--dark-background); /* Ensure consistent background for main content */
    line-height: 1.7;
}

/* Fixed navigation bar spacing */
.page-game-guides__hero-banner {
    padding-top: 180px; /* Desktop: Adjust based on fixed header height */
    padding-bottom: 60px;
    background: linear-gradient(135deg, #2a2a4a, #1a1a2e);
}

.page-game-guides__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.page-game-guides__hero-image {
    width: 100%;
    max-width: 800px; /* Larger image for visual impact */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-game-guides__hero-content {
    padding: 0 20px;
}

.page-game-guides__main-title {
    font-size: 3.2em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.page-game-guides__hero-description {
    font-size: 1.2em;
    color: var(--light-text);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-guides__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__cta-button:hover {
    background: #ffcc00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__cta-button--large {
    padding: 20px 50px;
    font-size: 1.3em;
    margin-top: 30px;
}

.page-game-guides__section {
    padding: 60px 20px;
    background-color: var(--dark-background);
}

.page-game-guides__container {
    max-width: 1000px;
    margin: 0 auto;
    background: #2a2a4a; /* Slightly lighter dark background for content blocks */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 40px;
    color: var(--light-text);
}

.page-game-guides__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-game-guides__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
    color: #e0e0e0;
}

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

.page-game-guides__list-item {
    background: rgba(255, 255, 255, 0.05); /* Very subtle light background for list items */
    border-left: 5px solid var(--secondary-color);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-game-guides__list-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-game-guides__list-item p {
    font-size: 1em;
    color: #c0c0c0;
    margin-bottom: 0;
}

.page-game-guides__content-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-game-guides__call-to-action {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(90deg, #00CED1, #2a2a4a);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__call-to-action .page-game-guides__paragraph {
    font-size: 1.2em;
    color: var(--light-text);
    margin-bottom: 20px;
}

.page-game-guides__cta-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-game-guides__cta-link:hover {
    color: #ffcc00;
    text-decoration: underline;
}

/* FAQ Section Styling */
.page-game-guides__faq-section {
    padding: 60px 20px;
    background-color: var(--dark-background);
}

.page-game-guides__faq-list {
    margin-top: 30px;
}

.page-game-guides__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: #2a2a4a;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-game-guides__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;
  color: #c0c0c0;
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: #3a3a5a; /* Slightly different background for active answer */
  border-radius: 0 0 8px 8px;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #1f1f3f;
  border: 1px solid #3a3a5a;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--light-text);
}

.page-game-guides__faq-question:hover {
  background: #2a2a4a;
  border-color: var(--secondary-color);
}

.page-game-guides__faq-question:active {
  background: #3a3a5a;
}

.page-game-guides__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-game-guides__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--secondary-color);
  border-radius: 50%;
}

.page-game-guides__faq-item.active .page-game-guides__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Rotate for minus sign */
  border-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-guides__main-title {
        font-size: 2.8em;
    }
    .page-game-guides__section-title {
        font-size: 2em;
    }
    .page-game-guides__paragraph {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-game-guides__hero-banner {
        padding-top: 160px !important; /* Mobile: Adjust based on fixed header height */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-game-guides__hero-container {
        gap: 20px;
    }

    .page-game-guides__hero-image {
        border-radius: 8px;
    }

    .page-game-guides__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-game-guides__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-game-guides__cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }

    .page-game-guides__cta-button--large {
        padding: 15px 40px;
        font-size: 1.1em;
        margin-top: 20px;
    }

    .page-game-guides__section {
        padding: 40px 15px;
    }

    .page-game-guides__container {
        padding: 25px;
        border-radius: 8px;
    }

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

    .page-game-guides__list-title {
        font-size: 1.2em;
    }

    .page-game-guides__list-item {
        padding: 15px;
        margin-bottom: 10px;
        border-radius: 6px;
    }

    .page-game-guides__faq-question {
        padding: 15px 20px;
    }
    
    .page-game-guides__faq-question h3 {
        font-size: 1.1em;
    }
    
    .page-game-guides__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    
    .page-game-guides__faq-item.active .page-game-guides__faq-answer {
      padding: 15px 20px !important;
    }

    /* Ensure all images are responsive on mobile */
    .page-game-guides img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    .page-game-guides__hero-image,
    .page-game-guides__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-game-guides__section,
    .page-game-guides__container,
    .page-game-guides__hero-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}