/* style/game-guides.css */

/* Custom Colors */
:root {
    --page-game-guides-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-game-guides-card-bg: #11271B;
    --page-game-guides-background: #08160F;
    --page-game-guides-text-main: #F2FFF6;
    --page-game-guides-text-secondary: #A7D9B8;
    --page-game-guides-border: #2E7A4E;
    --page-game-guides-glow: #57E38D;
    --page-game-guides-gold: #F2C14E;
    --page-game-guides-divider: #1E3A2A;
    --page-game-guides-deep-green: #0A4B2C;
}

.page-game-guides {
    background-color: var(--page-game-guides-background); /* Body background from shared.css, this is for main content sections */
    color: var(--page-game-guides-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-game-guides__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    text-align: center;
    overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-game-guides__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Dim the image slightly for text readability */
}

.page-game-guides__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    color: var(--page-game-guides-text-main);
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text readability */
    border-radius: 10px;
}

.page-game-guides__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-game-guides-gold);
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.7);
}

.page-game-guides__subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--page-game-guides-text-secondary);
}

.page-game-guides__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

.page-game-guides__btn-primary {
    background: var(--page-game-guides-button-gradient);
    color: var(--page-game-guides-text-main);
    border: none;
}

.page-game-guides__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-game-guides__btn-secondary {
    background: transparent;
    color: var(--page-game-guides-gold);
    border: 2px solid var(--page-game-guides-gold);
}

.page-game-guides__btn-secondary:hover {
    background: var(--page-game-guides-gold);
    color: var(--page-game-guides-background);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-game-guides__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    color: var(--page-game-guides-text-main);
}

.page-game-guides__dark-bg {
    background-color: var(--page-game-guides-background);
    color: var(--page-game-guides-text-main);
}

.page-game-guides__dark-section {
    background-color: var(--page-game-guides-deep-green);
    color: var(--page-game-guides-text-main);
}

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

.page-game-guides__section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--page-game-guides-gold);
    text-align: center;
    text-shadow: 0 0 5px rgba(87, 227, 141, 0.5);
}

.page-game-guides h3 {
    font-size: 1.5rem;
    color: var(--page-game-guides-glow);
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-game-guides p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.page-game-guides__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-game-guides__list li {
    margin-bottom: 10px;
}

.page-game-guides__numbered-list {
    list-style: none;
    counter-reset: my-counter;
    margin-bottom: 20px;
}

.page-game-guides__numbered-list li {
    margin-bottom: 25px;
    position: relative;
    padding-left: 40px;
}

.page-game-guides__numbered-list li::before {
    counter-increment: my-counter;
    content: counter(my-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    color: var(--page-game-guides-gold);
    font-size: 1.8rem;
}

.page-game-guides__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-game-guides__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.page-game-guides__cta-buttons--bottom {
    margin-top: 50px;
}

/* FAQ Styles */
.page-game-guides__faq-list {
    margin-top: 30px;
}

.page-game-guides__faq-item {
    background-color: var(--page-game-guides-card-bg);
    border: 1px solid var(--page-game-guides-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-game-guides-text-main);
}

.page-game-guides__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    color: var(--page-game-guides-glow);
}

.page-game-guides__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-game-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-game-guides__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-game-guides__subtitle {
        font-size: 1.1rem;
    }
    .page-game-guides__section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-game-guides__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-game-guides__hero-content {
        padding: 15px;
    }
    .page-game-guides__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .page-game-guides__subtitle {
        font-size: 1rem;
    }
    .page-game-guides__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-game-guides__btn-primary,
    .page-game-guides__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .page-game-guides__content-area {
        padding: 30px 15px;
    }
    .page-game-guides__container {
        padding: 0;
    }
    .page-game-guides__section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    .page-game-guides h3 {
        font-size: 1.3rem;
    }
    .page-game-guides p {
        font-size: 1rem;
    }
    .page-game-guides__list,
    .page-game-guides__numbered-list {
        margin-left: 10px;
    }
    .page-game-guides__faq-item summary {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    .page-game-guides__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95rem;
    }
    /* Mobile image responsiveness */
    .page-game-guides img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: unset !important; /* Override min-width for mobile */
        min-height: unset !important; /* Override min-height for mobile */
    }
    .page-game-guides__section,
    .page-game-guides__card,
    .page-game-guides__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-game-guides__hero-section {
        padding: 30px 10px;
    }
    .page-game-guides__main-title {
        font-size: clamp(1.5rem, 9vw, 2.2rem);
    }
    .page-game-guides__subtitle {
        font-size: 0.95rem;
    }
    .page-game-guides__section-title {
        font-size: 1.6rem;
    }
    .page-game-guides__faq-item summary {
        font-size: 1rem;
    }
}