/* style/resources-game-guide.css */

/* Base Styles */
.page-resources-game-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #0a0a0a; /* Ensure consistency, though body bg is from shared */
}

.page-resources-game-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-resources-game-guide__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    color: #ffffff;
}

.page-resources-game-guide__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-game-guide__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-resources-game-guide__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

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

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

.page-resources-game-guide__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General Sections */
.page-resources-game-guide__content-area,
.page-resources-game-guide__registration-section,
.page-resources-game-guide__promotions-section,
.page-resources-game-guide__strategy-section,
.page-resources-game-guide__faq-section,
.page-resources-game-guide__conclusion-section {
    padding: 60px 0;
    box-sizing: border-box;
}

.page-resources-game-guide__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text for light background */
}

.page-resources-game-guide__dark-bg {
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff; /* Light text for dark background */
}

.page-resources-game-guide__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit color from parent section */
}

.page-resources-game-guide__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: inherit; /* Inherit color from parent section */
}

.page-resources-game-guide__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-game-guide__image--full-width {
    width: 100%;
    margin: 30px 0;
}

/* Cards */
.page-resources-game-guide__game-categories,
.page-resources-game-guide__promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-game-guide__card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards in dark sections */
    color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}