.page-game-guides {
    color: var(--text-main, #F2FFF6); /* Default light text for dark body background */
    background-color: var(--background, #08160F); /* Dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-game-guides__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-game-guides__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden; /* Ensure nothing spills out */
    background-color: var(--card-bg, #11271B); /* Dark background for the section */
}

.page-game-guides__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and text content */
}

.page-game-guides__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: none; /* Ensure no CSS filters are applied */
}

.page-game-guides__hero-content {
    max-width: 900px;
    padding: 0 20px;
    color: var(--text-main, #F2FFF6);
}

.page-game-guides__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gold, #F2C14E);
}

.page-game-guides__intro-text {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--text-secondary, #A7D9B8);
}

.page-game-guides__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 20px;
    justify-content: center;
    width: 100%; /* Ensure container takes full width */
    max-width: 500px; /* Limit overall width for aesthetics */
    margin: 0 auto;
    box-sizing: border-box;
}

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-game-guides__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__btn-secondary {
    background: transparent;
    color: var(--text-main, #F2FFF6);
    border: 2px solid var(--border, #2E7A4E);
}

.page-game-guides__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--gold, #F2C14E);
    border-color: var(--gold, #F2C14E);
}

/* General Section Styling */
.page-game-guides__section {
    padding: 60px 0;
    background-color: var(--background, #08160F); /* Default background */
    color: var(--text-main, #F2FFF6);
}

.page-game-guides__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: var(--gold, #F2C14E);
}

.page-game-guides__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-main, #F2FFF6);
}

.page-game-guides__content-block p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-secondary, #A7D9B8);
}

.page-game-guides__content-block p a {
    color: var(--gold, #F2C14E);
    text-decoration: underline;
}

.page-game-guides__content-block p a:hover {
    color: var(--glow, #57E38D);
}

.page-game-guides__content-image {
    width: 100%;
    height: auto;
    max-width: 800px; /* Ensure content images are not too wide */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    filter: none; /* Ensure no CSS filters are applied */
}

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

.page-game-guides__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--text-secondary, #A7D9B8);
}

.page-game-guides__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--glow, #57E38D);
}

/* Dark background sections */
.page-game-guides__dark-bg {
    background-color: var(--card-bg, #11271B); /* Darker green */
    color: var(--text-main, #F2FFF6);
}

/* FAQ Section */
.page-game-guides__faq-section {
    padding-bottom: 80px;
}

.page-game-guides__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-game-guides__faq-item {
    background-color: var(--background, #08160F); /* Slightly lighter than card-bg for contrast */
    border: 1px solid var(--divider, #1E3A2A);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main, #F2FFF6);
}

.page-game-guides__faq-item summary {
    list-style: none; /* Hide default marker */
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--card-bg, #11271B); /* Dark green for summary */
    color: var(--text-main, #F2FFF6);
    transition: background-color 0.3s ease;
}

.page-game-guides__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-game-guides__faq-item summary:hover {
    background-color: var(--deep-green, #0A4B2C);
}

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

.page-game-guides__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow, #57E38D);
}

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
    content: '−'; /* Change to minus when open */
}

.page-game-guides__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary, #A7D9B8);
}

.page-game-guides__faq-answer p {
    margin-top: 15px;
    margin-bottom: 10px;
}

/* Conclusion Section specific styling */
.page-game-guides__conclusion-section .page-game-guides__cta-buttons {
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-guides__hero-section {
        padding-bottom: 40px;
    }
    .page-game-guides__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-game-guides__intro-text {
        font-size: 1.1rem;
    }
    .page-game-guides__section {
        padding: 40px 0;
    }
    .page-game-guides__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-game-guides__sub-title {
        font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    }
}

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

    /* Fixed header spacing: body handles --header-offset, this section needs small padding-top */
    .page-game-guides__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }
    .page-game-guides__hero-content {
        padding: 0 15px;
    }
    .page-game-guides__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-game-guides__intro-text {
        font-size: 1rem;
    }

    .page-game-guides__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Add padding to container */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-game-guides__btn-primary,
    .page-game-guides__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-game-guides__section,
    .page-game-guides__dark-bg {
        padding: 30px 0;
    }
    .page-game-guides__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-game-guides__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 30px;
    }
    .page-game-guides__sub-title {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
        margin-top: 25px;
    }
    .page-game-guides__content-block p,
    .page-game-guides__list li,
    .page-game-guides__faq-answer p {
        font-size: 1rem;
    }
    .page-game-guides__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px auto;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* FAQ Section on mobile */
    .page-game-guides__faq-item summary {
        padding: 15px 20px;
        font-size: 1.05rem;
    }
    .page-game-guides__faq-answer {
        padding: 0 20px 15px 20px;
    }
}

/* Ensure images don't have filters */
.page-game-guides img {
    filter: none; /* Explicitly remove any potential filters */
}

/* Ensure video elements (if any) are responsive */
.page-game-guides video,
.page-game-guides__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  filter: none; /* Ensure no CSS filters are applied */
}

.page-game-guides__video-section,
.page-game-guides__video-container,
.page-game-guides__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-game-guides video,
  .page-game-guides__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-game-guides__video-section,
  .page-game-guides__video-container,
  .page-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-game-guides__video-section {
    padding-top: 10px !important;
  }
  
  .page-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}