.page-resources-game-security-fairness {
    color: #ffffff; /* Body background is #000000 (dark), so text must be light */
    line-height: 1.7;
    font-family: Arial, sans-serif;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-resources-game-security-fairness__hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.page-resources-game-security-fairness__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.page-resources-game-security-fairness__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability, not changing color */
    display: block;
}

.page-resources-game-security-fairness__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    color: #ffffff;
}

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

.page-resources-game-security-fairness__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-resources-game-security-fairness__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-resources-game-security-fairness__button {
    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, transform 0.2s ease;
    cursor: pointer;
    border: none;
}

.page-resources-game-security-fairness__button--register {
    background-color: #FFFFFF; /* Custom color for Register */
    color: #000000;
}

.page-resources-game-security-fairness__button--register:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.page-resources-game-security-fairness__button--login {
    background-color: #FCBC45; /* Custom color for Login */
    color: #000000;
}

.page-resources-game-security-fairness__button--login:hover {
    background-color: #e0a53a;
    transform: translateY(-2px);
}

.page-resources-game-security-fairness__content-area {
    max-width: 800px; /* Content width for readability */
    margin: 40px auto;
    padding: 20px;
    background-color: #0d0d0d; /* Slightly lighter black for content area */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-game-security-fairness__article-nav {
    margin-bottom: 30px;
    text-align: right;
}

.page-resources-game-security-fairness__back-link {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-game-security-fairness__back-link:hover {
    color: #FFFFFF;
}

.page-resources-game-security-fairness__article {
    color: #f0f0f0; /* Light text for dark content background */
}

.page-resources-game-security-fairness__article-heading {
    font-size: 2.5em;
    color: #FFFFFF;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #FCBC45;
    padding-bottom: 15px;
}

.page-resources-game-security-fairness__article-subheading {
    font-size: 1.8em;
    color: #FCBC45;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-resources-game-security-fairness__article-paragraph {
    font-size: 1.1em;
    margin-bottom: 1.5em;
}

.page-resources-game-security-fairness__image-wrapper {
    text-align: center;
    margin: 30px 0;
}

.page-resources-game-security-fairness__image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-resources-game-security-fairness__list {
    list-style: disc inside;
    margin-bottom: 1.5em;
    padding-left: 20px;
}

.page-resources-game-security-fairness__list-item {
    font-size: 1.1em;
    margin-bottom: 0.8em;
}

.page-resources-game-security-fairness__inline-link {
    color: #FCBC45;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-resources-game-security-fairness__inline-link:hover {
    color: #FFFFFF;
}

.page-resources-game-security-fairness__cta-section {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-game-security-fairness__cta-title {
    font-size: 2em;
    color: #FFFFFF;
    margin-bottom: 30px;
}

.page-resources-game-security-fairness__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.page-resources-game-security-fairness__button--large-register {
    background-color: #FFFFFF;
    color: #000000;
    padding: 18px 40px;
    font-size: 1.2em;
    width: 100%;
    max-width: 300px;
}

.page-resources-game-security-fairness__button--large-register:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.page-resources-game-security-fairness__button--large-login {
    background-color: #FCBC45;
    color: #000000;
    padding: 18px 40px;
    font-size: 1.2em;
    width: 100%;
    max-width: 300px;
}

.page-resources-game-security-fairness__button--large-login:hover {
    background-color: #e0a53a;
    transform: translateY(-2px);
}


/* Responsive Design */
@media (max-width: 768px) {
    .page-resources-game-security-fairness__hero-title {
        font-size: 2.2em;
    }

    .page-resources-game-security-fairness__hero-description {
        font-size: 1em;
    }

    .page-resources-game-security-fairness__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-game-security-fairness__button {
        width: 100%;
        max-width: 280px;
    }

    .page-resources-game-security-fairness__article-heading {
        font-size: 2em;
    }

    .page-resources-game-security-fairness__article-subheading {
        font-size: 1.5em;
    }

    .page-resources-game-security-fairness__content-area {
        margin: 20px auto;
        padding: 15px;
    }

    .page-resources-game-security-fairness__image-wrapper img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce min size */
        min-height: 200px; /* Enforce min size */
    }

    /* Mobile content image constraint */
    .page-resources-game-security-fairness img {
        max-width: 100%;
        height: auto;
    }

    .page-resources-game-security-fairness__cta-title {
        font-size: 1.5em;
    }
    
    .page-resources-game-security-fairness__cta-buttons {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .page-resources-game-security-fairness__hero-title {
        font-size: 1.8em;
    }

    .page-resources-game-security-fairness__hero-description {
        font-size: 0.9em;
    }
    
    .page-resources-game-security-fairness__button {
        padding: 12px 20px;
        font-size: 1em;
    }
    
    .page-resources-game-security-fairness__article-heading {
        font-size: 1.8em;
    }
    
    .page-resources-game-security-fairness__article-subheading {
        font-size: 1.3em;
    }
}