/* style/game-guides.css */
.page-game-guides {
    color: #ffffff; /* Body background is dark (#000000), so text should be light */
    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;
}

.page-game-guides__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 0;
    background-color: #000000;
    overflow: hidden;
}

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

.page-game-guides__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.page-game-guides__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

.page-game-guides__hero-title {
    font-size: 3.2em;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-guides__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-game-guides__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-game-guides__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-game-guides__btn-primary:hover {
    background-color: #1a7fb4;
    border-color: #1a7fb4;
}

.page-game-guides__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-game-guides__btn-secondary:hover {
    background-color: #e0e0e0;
    color: #1a7fb4;
    border-color: #1a7fb4;
}

.page-game-guides__intro-section,
.page-game-guides__game-types-section,
.page-game-guides__how-to-use-section,
.page-game-guides__responsible-gaming-section,
.page-game-guides__cta-bottom-section {
    padding: 60px 0;
    background-color: #000000; /* Dark background */
    color: #ffffff;
}

.page-game-guides__dark-section {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-game-guides__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-game-guides__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-game-guides__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFFFFF;
    margin: 15px auto 0;
}

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

.page-game-guides__video-section {
    padding: 60px 0;
    background-color: #1a1a1a;
    color: #ffffff;
}

.page-game-guides__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-bottom: 30px;
    box-sizing: border-box;
}

.page-game-guides__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.page-game-guides__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

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

.page-game-guides__card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.page-game-guides__card:hover {
    transform: translateY(-10px);
}

.page-game-guides__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-game-guides__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin: 20px 20px 10px;
}

.page-game-guides__card-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-game-guides__card-title a:hover {
    text-decoration: underline;
}

.page-game-guides__card-description {
    font-size: 1em;
    color: #f0f0f0;
    padding: 0 20px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-game-guides__btn-text {
    display: inline-flex;
    align-items: center;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    margin: 0 20px 20px;
    transition: color 0.3s ease;
}

.page-game-guides__btn-text:hover {
    color: #26A9E0;
}

.page-game-guides__arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.page-game-guides__btn-text:hover .page-game-guides__arrow {
    transform: translateX(5px);
}

.page-game-guides__numbered-list,
.page-game-guides__bullet-list,
.page-game-guides__icon-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-game-guides__numbered-list .page-game-guides__list-item {
    counter-increment: list-counter;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}

.page-game-guides__numbered-list .page-game-guides__list-item::before {
    content: counter(list-counter);
    background-color: #26A9E0;
    color: #FFFFFF;
    font-size: 1.5em;
    font-weight: bold;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin-right: 20px;
}

.page-game-guides__list-title {
    font-size: 1.3em;
    color: #26A9E0;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-game-guides__list-item p {
    color: #f0f0f0;
}

.page-game-guides__bullet-list .page-game-guides__list-item {
    margin-bottom: 20px;
    padding-left: 25px;
    position: relative;
}

.page-game-guides__bullet-list .page-game-guides__list-item::before {
    content: '•';
    color: #26A9E0;
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: 0;
}

.page-game-guides__icon-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-game-guides__icon-list .page-game-guides__list-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides__list-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    object-fit: contain;
}

.page-game-guides__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-game-guides__faq-section {
    padding: 60px 0;
}

.page-game-guides__faq-list {
    margin-top: 40px;
}

.page-game-guides__faq-item {
    background-color: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

.page-game-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #FFFFFF;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
    color: #333333;
}

.page-game-guides__faq-question:hover {
    background-color: #f5f5f5;
}

.page-game-guides__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #26A9E0;
}

.page-game-guides__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

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

.page-game-guides__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #333333;
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px;
}

.page-game-guides__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
    color: #333333;
}

.page-game-guides__cta-bottom-section {
    text-align: center;
    padding: 80px 0;
}

.page-game-guides__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-game-guides__cta-bottom-section .page-game-guides__section-title {
    color: #FFFFFF;
}

.page-game-guides__cta-bottom-section .page-game-guides__section-title::after {
    background-color: #FFFFFF;
}

.page-game-guides__cta-bottom-section .page-game-guides__text-block {
    color: #f0f0f0;
    margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-game-guides__hero-title {
        font-size: 2.8em;
    }
    .page-game-guides__section-title {
        font-size: 2em;
    }
    .page-game-guides__game-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-game-guides {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-game-guides__hero-section {
        min-height: 450px;
        padding: 60px 0;
    }
    .page-game-guides__hero-title {
        font-size: 2em;
    }
    .page-game-guides__hero-description {
        font-size: 1em;
    }
    .page-game-guides__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-game-guides__btn-primary,
    .page-game-guides__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-game-guides__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-game-guides__text-block {
        font-size: 1em;
    }
    .page-game-guides__game-cards {
        grid-template-columns: 1fr;
    }
    .page-game-guides__card {
        margin-bottom: 20px;
    }
    .page-game-guides__numbered-list .page-game-guides__list-item,
    .page-game-guides__bullet-list .page-game-guides__list-item,
    .page-game-guides__icon-list .page-game-guides__list-item {
        padding-left: 0;
        text-align: left;
    }
    .page-game-guides__numbered-list .page-game-guides__list-item::before {
        margin-right: 10px;
    }
    .page-game-guides__bullet-list .page-game-guides__list-item::before {
        left: 0;
    }
    .page-game-guides__icon-list {
        grid-template-columns: 1fr;
    }
    .page-game-guides__icon-list .page-game-guides__list-item {
        padding: 20px;
    }
    .page-game-guides__content-image {
        margin: 30px auto;
    }
    .page-game-guides__faq-question h3 {
        font-size: 1.1em;
    }

    /* Image Responsive Adaption */
    .page-game-guides img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Video Responsive Adaption */
    .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: var(--header-offset, 120px) !important; /* Specific for video section */
    }

    /* Ensure all containers with images/videos/buttons are constrained */
    .page-game-guides__section,
    .page-game-guides__card,
    .page-game-guides__container,
    .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;
    }

    .page-game-guides__hero-section .page-game-guides__container {
        padding-left: 0;
        padding-right: 0;
    }

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

    .page-game-guides__hero-cta {
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-game-guides__cta-bottom-section .page-game-guides__cta-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}