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

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

.page-game-guides__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px; /* Small top padding, relying on body for header offset */
    text-align: center;
    overflow: hidden; /* Ensure no overflow */
}

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

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

.page-game-guides__hero-content {
    position: relative;
    z-index: 2;
    padding: 30px 20px;
    max-width: 900px;
    margin-top: -100px; /* Overlap slightly for visual effect, but text is below image */
    background: rgba(19, 19, 19, 0.7); /* Dark overlay for text readability */
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.page-game-guides__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    color: #FFD86A; /* Gold-like for emphasis */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-game-guides__description {
    font-size: 1.1rem;
    color: #FFF5E1;
    margin-bottom: 30px;
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary,
.page-game-guides__card-button,
.page-game-guides__btn-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center;
    box-sizing: border-box;
}

.page-game-guides__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
    color: #7A0E0E; /* Deep Red for text on gold */
    border: none;
}

.page-game-guides__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.page-game-guides__btn-secondary {
    background: transparent;
    color: #FFD86A; /* Gold for text */
    border: 2px solid #F2B544; /* Border */
}

.page-game-guides__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.page-game-guides__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #FFD86A; /* Gold for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-game-guides__introduction-section,
.page-game-guides__getting-started,
.page-game-guides__final-cta {
    padding: 80px 0;
    background-color: #7A0E0E; /* Deep Red */
}

.page-game-guides__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #FFF5E1;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-guides__game-categories {
    padding: 80px 0;
    background-color: #B71C1C; /* Background */
}

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

.page-game-guides__category-card {
    background-color: #D32F2F; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.page-game-guides__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-game-guides__card-title {
    font-size: 1.5rem;
    color: #FFD86A; /* Gold */
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-game-guides__card-text {
    font-size: 0.95rem;
    color: #FFF5E1;
    margin-bottom: 20px;
    padding: 0 20px;
    flex-grow: 1; /* Push button to bottom */
}

.page-game-guides__card-button {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
    color: #7A0E0E; /* Deep Red */
    border: none;
    margin: 0 20px;
    padding: 10px 20px;
    width: calc(100% - 40px); /* Adjust width for padding */
}

.page-game-guides__card-button:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.page-game-guides__getting-started {
    padding: 80px 0;
}

.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-item {
    background-color: #D32F2F; /* Card BG */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides__step-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: #F4D34D; /* Gold */
    color: #7A0E0E; /* Deep Red */
    border-radius: 50%;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.page-game-guides__step-title {
    font-size: 1.5rem;
    color: #FFD86A; /* Gold */
    margin-bottom: 15px;
}

.page-game-guides__step-text {
    font-size: 1rem;
    color: #FFF5E1;
    margin-bottom: 20px;
}

.page-game-guides__btn-link {
    background: transparent;
    color: #FFD86A; /* Gold */
    border: 2px solid #F2B544; /* Border */
    padding: 10px 20px;
}

.page-game-guides__btn-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.page-game-guides__responsible-gaming {
    padding: 80px 0;
    background-color: #B71C1C; /* Background */
    text-align: center;
}

.page-game-guides__faq-section {
    padding: 80px 0;
    background-color: #7A0E0E; /* Deep Red */
}

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

.page-game-guides__faq-item {
    background-color: #D32F2F; /* Card BG */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-game-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #FFD86A; /* Gold */
    cursor: pointer;
    background-color: #C91F17; /* Main Color */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-game-guides__faq-question:hover {
    background-color: #E53935; /* Accent Color */
}

.page-game-guides__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
}

.page-game-guides__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: #FFF5E1;
    display: none; /* Hidden by default for details tag fallback */
}

.page-game-guides__faq-item[open] .page-game-guides__faq-answer {
    display: block; /* Show when open */
}

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
    content: "−";
}

.page-game-guides__faq-item a {
    color: #F4D34D; /* Gold for links */
    text-decoration: underline;
}

.page-game-guides__faq-item a:hover {
    color: #FFCC66; /* Glow */
}

.page-game-guides__cta-buttons--center {
    margin-top: 40px;
}

.page-game-guides__video-tutorial {
    padding: 80px 0;
    background-color: #B71C1C; /* Background */
    text-align: center;
}

.page-game-guides__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px; /* Match video width */
    margin: 40px auto 0;
    background-color: black; /* Placeholder background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-game-guides__video-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 10;
    cursor: pointer;
}

.page-game-guides__final-cta-content {
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-game-guides__hero-content {
        margin-top: -80px;
    }
}

@media (max-width: 768px) {
    .page-game-guides__hero-section {
        padding-bottom: 40px;
    }

    .page-game-guides__hero-content {
        margin-top: -60px;
        padding: 20px 15px;
    }

    .page-game-guides__main-title {
        font-size: 2rem;
    }

    .page-game-guides__description {
        font-size: 1rem;
    }

    .page-game-guides__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px; /* Add padding to container */
    }
    
    .page-game-guides__btn-primary,
    .page-game-guides__btn-secondary,
    .page-game-guides__card-button,
    .page-game-guides__btn-link {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-game-guides__introduction-section,
    .page-game-guides__game-categories,
    .page-game-guides__getting-started,
    .page-game-guides__responsible-gaming,
    .page-game-guides__faq-section,
    .page-game-guides__video-tutorial,
    .page-game-guides__final-cta {
        padding: 60px 0;
    }

    .page-game-guides__container {
        padding: 0 15px; /* Add padding to container */
    }

    .page-game-guides__category-grid,
    .page-game-guides__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-game-guides__card-image {
        height: 180px;
    }

    .page-game-guides__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-game-guides__faq-answer {
        font-size: 0.95rem;
        padding: 10px 20px 15px;
    }

    /* Mobile image/video adaptation */
    .page-game-guides img,
    .page-game-guides__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-game-guides__section,
    .page-game-guides__card,
    .page-game-guides__container,
    .page-game-guides__video-section,
    .page-game-guides__video-container,
    .page-game-guides__video-wrapper,
    .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;
        overflow: hidden !important; /* Ensure no overflow */
    }

    .page-game-guides__video-section {
        padding-top: 10px !important; /* Rely on body for header offset */
    }
}

/* Color Contrast Enforcement */
.page-game-guides__dark-section {
  background: #7A0E0E; /* Deep Red */
  color: #FFF5E1; /* Text Main */
}

.page-game-guides__dark-section .page-game-guides__section-title {
    color: #FFD86A; /* Gold */
}