/* style/game-guides.css */
.page-game-guides {
    font-family: 'Arial', sans-serif;
    color: #FFF5E1; /* Text Main */
    background-color: #B71C1C; /* Background */
    line-height: 1.6;
}

.page-game-guides__article-wrap {
    max-width: 1150px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-game-guides__hero-section {
    position: relative;
    width: 100%;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding */
}

.page-game-guides__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height for hero image */
    overflow: hidden;
}

.page-game-guides__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-game-guides__hero-content {
    position: relative;
    z-index: 1;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
    border-radius: 8px;
    margin-top: 20px; /* Space below image */
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
}

.page-game-guides__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    color: #FFD86A; /* Gold-like for title */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-game-guides__description {
    font-size: 1.2em;
    color: #FFF5E1;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-guides__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.page-game-guides__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
}

.page-game-guides__btn--primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button custom color */
    color: #7A0E0E; /* Deep Red for text on gold button */
    border: 2px solid #F2B544; /* Border custom color */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-game-guides__btn--primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-game-guides__btn--secondary {
    background-color: #D32F2F; /* Card BG */
    color: #FFF5E1; /* Text Main */
    border: 2px solid #F2B544; /* Border custom color */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-game-guides__btn--secondary:hover {
    background-color: #7A0E0E; /* Deep Red */
    color: #FFD86A; /* Gold-like */
    border-color: #FFCC66; /* Glow */
}

.page-game-guides__btn--link {
    background: none;
    color: #F4D34D;
    border: 1px solid #F4D34D;
    padding: 8px 15px;
    font-size: 0.95em;
    border-radius: 20px;
}

.page-game-guides__btn--link:hover {
    color: #FFF5E1;
    background-color: #C91F17;
    border-color: #FFF5E1;
}

.page-game-guides__section {
    padding: 50px 0;
    background-color: #B71C1C; /* Consistent background */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-game-guides__section-title {
    font-size: 2.5em;
    color: #FFD86A; /* Gold for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-game-guides__section-title--promo {
    color: #FFF5E1;
}

.page-game-guides p {
    font-size: 1.1em;
    color: #FFF5E1;
    margin-bottom: 15px;
    line-height: 1.7;
}

.page-game-guides a {
    color: #F4D34D;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-guides a:hover {
    color: #FFCC66;
    text-decoration: underline;
}

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

.page-game-guides__list li {
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 20px;
    margin-bottom: 10px;
    border-left: 4px solid #F4D34D; /* Gold accent */
    border-radius: 5px;
    color: #FFF5E1;
    font-size: 1.05em;
}

.page-game-guides__figure {
    margin: 30px auto;
    max-width: 680px;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-game-guides__image {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-game-guides__figcaption {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.3);
}

.page-game-guides__game-guide-card {
    background-color: #D32F2F; /* Card BG */
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid #F2B544; /* Border custom color */
    text-align: center;
}

.page-game-guides__card-title {
    font-size: 1.8em;
    color: #FFD86A; /* Gold for card titles */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-game-guides__game-guide-card p {
    color: #FFF5E1;
    font-size: 1em;
    margin-bottom: 20px;
}

.page-game-guides__promo-box {
    background: linear-gradient(135deg, #C91F17 0%, #7A0E0E 100%); /* Brand colors */
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 50px auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border: 2px solid #F4D34D; /* Gold border */
}

.page-game-guides__promo-text {
    font-size: 1.2em;
    color: #FFF5E1;
    margin-bottom: 25px;
}

.page-game-guides__cta-buttons--bottom, .page-game-guides__cta-buttons--final {
    margin-top: 30px;
}

.page-game-guides__faq-item {
    background-color: #D32F2F; /* Card BG */
    border: 1px solid #F2B544; /* Border custom color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-game-guides__faq-question {
    padding: 15px 20px;
    color: #FFD86A; /* Gold */
    font-size: 1.15em;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    background-color: #C91F17; /* Main color for question background */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-game-guides__faq-question:hover {
    background-color: #7A0E0E; /* Deep Red on hover */
}

.page-game-guides__faq-answer {
    padding: 15px 20px;
    background-color: #D32F2F; /* Card BG for answer */
    color: #FFF5E1;
    font-size: 1em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
    max-height: 2000px; /* Sufficiently large for content */
    padding: 15px 20px;
}

.page-game-guides__faq-item.active .page-game-guides__faq-question {
    border-bottom: none;
}

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

.page-game-guides__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

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

.page-game-guides__faq-more-info {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1em;
}

.page-game-guides__section--conclusion {
    padding-bottom: 80px;
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
    .page-game-guides__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }

    .page-game-guides__description {
        font-size: 1.1em;
    }

    .page-game-guides__section-title {
        font-size: 2em;
    }

    .page-game-guides__article-wrap {
        padding: 15px;
    }

    .page-game-guides__hero-content {
        padding: 25px 15px;
    }
}

@media (max-width: 768px) {
    /* 1. Top section title + CTA */
    .page-game-guides__hero-section {
        padding-top: 10px !important; /* Small top padding, not --header-offset */
        padding-bottom: 30px;
    }
    .page-game-guides__hero-content {
        margin-top: 15px;
        padding: 20px 15px;
    }
    .page-game-guides__main-title {
        font-size: clamp(1.6em, 7vw, 2.5em) !important;
        margin-bottom: 10px;
    }
    .page-game-guides__description {
        font-size: 1em !important;
        margin-bottom: 20px;
    }
    .page-game-guides__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-game-guides__btn {
        padding: 10px 20px !important;
        font-size: 1em !important;
        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-buttons, .page-game-guides__button-group, .page-game-guides__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    /* 2. Single column long text container */
    .page-game-guides__article-wrap {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-game-guides__section-title {
        font-size: 1.8em !important;
        margin-bottom: 30px;
    }
    .page-game-guides p, .page-game-guides__list li, .page-game-guides__game-guide-card p {
        font-size: 0.95em !important;
    }

    /* 3. General images and figure */
    .page-game-guides img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-game-guides__figure {
        margin: 20px auto;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-game-guides__figcaption {
        font-size: 0.85em;
    }

    /* 4. Buttons and button containers (already covered in section 1 CTA) */
    /* Additional specific button styles for mobile if needed */
    .page-game-guides__btn--link {
        font-size: 0.9em !important;
        padding: 6px 12px !important;
    }

    /* 5. Registration tutorial and FAQ blocks */
    .page-game-guides__game-guide-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    .page-game-guides__card-title {
        font-size: 1.5em !important;
    }
    .page-game-guides__promo-box {
        padding: 30px 15px;
        margin: 30px auto;
    }
    .page-game-guides__promo-text {
        font-size: 1.05em !important;
    }
    .page-game-guides__faq-question {
        font-size: 1em !important;
        padding: 12px 15px;
    }
    .page-game-guides__faq-answer p {
        font-size: 0.95em !important;
    }
    .page-game-guides__faq-toggle {
        font-size: 1.2em !important;
    }
    .page-game-guides__faq-more-info {
        font-size: 1em !important;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .page-game-guides__hero-section {
        padding-bottom: 20px;
    }
    .page-game-guides__main-title {
        font-size: clamp(1.4em, 8vw, 2em) !important;
    }
    .page-game-guides__section-title {
        font-size: 1.6em !important;
    }
    .page-game-guides__list li {
        padding: 10px 15px;
    }
    .page-game-guides__game-guide-card {
        padding: 15px;
    }
    .page-game-guides__card-title {
        font-size: 1.3em !important;
    }
    .page-game-guides__promo-box {
        padding: 25px 10px;
    }
}