:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --bg-card: #11271B;
    --bg-main: #08160F; /* Main background for the page content area */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-game-guides {
    font-family: 'Arial', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    padding-top: 0; /* body already handles padding-top: var(--header-offset) */
}

.page-game-guides strong.highlight {
    color: var(--color-gold);
    font-weight: bold;
}

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

.page-game-guides__hero-section,
.page-game-guides__intro-section,
.page-game-guides__getting-started-section,
.page-game-guides__game-types-section,
.page-game-guides__tips-section,
.page-game-guides__promotions-section,
.page-game-guides__responsible-gaming-section,
.page-game-guides__faq-section,
.page-game-guides__cta-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

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

.page-game-guides__section-title {
    font-size: 2.5em;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-game-guides__hero-section {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--bg-main);
}

.page-game-guides__hero-image-wrapper {
    width: 100%;
    max-height: 675px;
    overflow: hidden;
    position: relative;
}

.page-game-guides__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-game-guides__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-game-guides__main-title {
    color: var(--color-gold);
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-game-guides__subtitle {
    font-size: clamp(1em, 1.5vw, 1.3em);
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary,
.page-game-guides__btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
    text-align: center;
}

.page-game-guides__btn-primary {
    background: var(--btn-gradient);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-game-guides__btn-secondary {
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-game-guides__btn-secondary:hover {
    background-color: var(--color-gold);
    color: var(--bg-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__btn-link {
    background-color: transparent;
    color: var(--color-secondary);
    border: 1px solid var(--color-secondary);
    padding: 8px 15px;
    font-size: 0.95em;
    margin-top: 15px;
}

.page-game-guides__btn-link:hover {
    background-color: var(--color-secondary);
    color: var(--bg-main);
}

.page-game-guides__btn-full-width {
    width: 100%;
    max-width: 400px; /* Limit max width even if full width */
    margin: 30px auto 0 auto;
    display: block;
}

.page-game-guides__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-guides__step-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-game-guides__step-icon {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-game-guides__step-title {
    font-size: 1.5em;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-game-guides__step-description {
    font-size: 1em;
    color: var(--text-secondary);
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-game-guides__game-category {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    padding: 30px;
    background-color: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-game-guides__game-category:last-child {
    margin-bottom: 0;
}

.page-game-guides__game-category--reversed {
    flex-direction: row-reverse;
}

.page-game-guides__game-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-game-guides__game-content {
    flex: 1;
    max-width: 50%;
}

.page-game-guides__game-title {
    font-size: 2em;
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-game-guides__game-description {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.page-game-guides__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-guides__tip-card {
    background-color: var(--bg-card);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-game-guides__tip-title {
    font-size: 1.4em;
    color: var(--color-gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-game-guides__tip-description {
    font-size: 0.95em;
    color: var(--text-secondary);
}

.page-game-guides__promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-guides__promo-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-game-guides__promo-title {
    font-size: 1.6em;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-game-guides__promo-description {
    font-size: 1em;
    color: var(--text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-game-guides__responsible-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-guides__responsible-item {
    background-color: var(--bg-card);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-left: 5px solid var(--color-secondary);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 1.05em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-game-guides__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-guides__faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-game-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    color: var(--color-gold);
    cursor: pointer;
    font-weight: 600;
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
    list-style: none;
}

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

.page-game-guides__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-secondary);
}

.page-game-guides__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--text-secondary);
    border-top: 1px solid var(--color-divider);
    background-color: var(--bg-card);
}

.page-game-guides__faq-answer p {
    margin: 0;
    color: var(--text-secondary);
}

.page-game-guides__faq-item[open] .page-game-guides__faq-question {
    border-bottom: none;
}

.page-game-guides__copyright {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--bg-main);
    color: var(--text-secondary);
    font-size: 0.9em;
    border-top: 1px solid var(--color-divider);
    margin-top: 60px;
}

@media (max-width: 992px) {
    .page-game-guides__section-title {
        font-size: 2em;
    }
    .page-game-guides__hero-content {
        padding: 30px 20px;
    }
    .page-game-guides__game-category {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .page-game-guides__game-category--reversed {
        flex-direction: column;
    }
    .page-game-guides__game-image,
    .page-game-guides__game-content {
        max-width: 100%;
        flex: none;
    }
    .page-game-guides__game-image {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .page-game-guides__hero-section,
    .page-game-guides__intro-section,
    .page-game-guides__getting-started-section,
    .page-game-guides__game-types-section,
    .page-game-guides__tips-section,
    .page-game-guides__promotions-section,
    .page-game-guides__responsible-gaming-section,
    .page-game-guides__faq-section,
    .page-game-guides__cta-section {
        padding: 40px 0;
    }
    .page-game-guides__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-game-guides__main-title {
        font-size: 2.2em;
    }
    .page-game-guides__subtitle {
        font-size: 1em;
    }
    .page-game-guides__cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .page-game-guides__btn-primary,
    .page-game-guides__btn-secondary,
    .page-game-guides__btn-link {
        width: 100% !important;
        max-width: 300px !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-game-guides img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-game-guides__hero-image-wrapper,
    .page-game-guides__container,
    .page-game-guides__steps-grid,
    .page-game-guides__step-card,
    .page-game-guides__game-category,
    .page-game-guides__game-content,
    .page-game-guides__tips-grid,
    .page-game-guides__tip-card,
    .page-game-guides__promo-cards,
    .page-game-guides__promo-card,
    .page-game-guides__responsible-list,
    .page-game-guides__faq-list,
    .page-game-guides__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }
    .page-game-guides__hero-image-wrapper,
    .page-game-guides__container {
        padding-left: 0;
        padding-right: 0;
    }
    .page-game-guides__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-game-guides__faq-answer {
        padding: 15px 20px;
    }
    .page-game-guides__hero-section {
        padding-top: 10px !important;
    }
}