:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B; /* Body background color from shared.css */
}

.page-game-guides {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Main text color for dark body background */
    background-color: var(--deep-navy); /* Ensure consistency, though body handles it */
}

.page-game-guides__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, body handles header offset */
    background-color: var(--deep-navy);
    overflow: hidden;
}

.page-game-guides__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure full width on desktop for flex item */
}

.page-game-guides__hero-image {
    width: 100%;
    margin-bottom: 30px;
    overflow: hidden; /* Ensure image doesn't overflow container */
    border-radius: 8px;
}

.page-game-guides__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

.page-game-guides__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px; /* Constrain content width */
}

.page-game-guides__main-title {
    font-size: clamp(2em, 5vw, 3.2em); /* Responsive font size */
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
    max-width: 100%; /* Ensure H1 does not overflow */
}

.page-game-guides__subtitle {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-guides__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: 100%; /* For button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-game-guides__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-game-guides__cta-button--small {
    padding: 12px 25px;
    font-size: 16px;
    margin-top: 15px;
}

.page-game-guides__cta-button--large {
    padding: 18px 50px;
    font-size: 20px;
    margin-top: 40px;
}

.page-game-guides__section {
    padding: 50px 20px;
    background-color: var(--deep-navy);
    border-bottom: 1px solid var(--divider-color);
}

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

.page-game-guides__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-game-guides__sub-title {
    font-size: 1.8em;
    color: var(--text-main);
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-game-guides__text-content {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.page-game-guides__image-wrapper {
    margin: 30px auto;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.page-game-guides__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-game-guides__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.page-game-guides__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-game-guides__list-item strong {
    color: var(--text-main);
}

.page-game-guides__button-group {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* FAQ Section */
.page-game-guides__faq-section {
    background-color: var(--deep-navy);
    padding-bottom: 60px;
}

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

details.page-game-guides__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question::-webkit-details-marker {
  display: none;
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question:hover {
  background: rgba(var(--primary-color), 0.1); /* Lighter hover for dark card */
}
.page-game-guides__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-game-guides__faq-toggle {
  font-size: 26px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-game-guides__faq-item .page-game-guides__faq-answer {
  padding: 0 25px 25px;
  background: var(--card-bg); /* Use card background for answer */
  border-radius: 0 0 8px 8px;
}
.page-game-guides__faq-answer p {
    color: var(--text-secondary);
    font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-guides__main-title {
        font-size: clamp(2em, 6vw, 3em);
    }
    .page-game-guides__section-title {
        font-size: 2.2em;
    }
    .page-game-guides__sub-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-game-guides__hero-section {
        padding-top: 10px !important; /* Fixed header spacing */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-game-guides__hero-image img {
        border-radius: 4px;
        min- /* Adjust min height for mobile */
    }

    .page-game-guides__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 10px;
    }

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

    .page-game-guides__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        margin-top: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-game-guides__cta-button--small {
        padding: 10px 20px;
        font-size: 14px;
    }

    .page-game-guides__cta-button--large {
        padding: 15px 35px;
        font-size: 18px;
    }

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

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

    .page-game-guides__sub-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .page-game-guides__text-content {
        font-size: 1em;
    }

    .page-game-guides__image-wrapper {
        margin: 20px auto;
        border-radius: 8px;
    }

    .page-game-guides__image-wrapper img,
    .page-game-guides img { /* Universal image responsive for content area */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-game-guides__list {
        margin-left: 20px;
        font-size: 0.95em;
    }

    .page-game-guides__faq-section {
        padding-bottom: 40px;
    }

    details.page-game-guides__faq-item summary.page-game-guides__faq-question {
        padding: 15px 20px;
    }
    .page-game-guides__faq-qtext {
        font-size: 1em;
    }
    .page-game-guides__faq-toggle {
        font-size: 22px;
        width: 25px;
    }
    details.page-game-guides__faq-item .page-game-guides__faq-answer {
        padding: 0 20px 20px;
    }

    .page-game-guides__button-group {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-game-guides__button-group .page-game-guides__cta-button {
        width: 100%; /* Ensure buttons take full width */
        margin: 0; /* Remove individual button margins to use gap */
    }

    /* Ensure containers for content do not overflow */
    .page-game-guides__container,
    .page-game-guides__section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}