.page-resources {
    font-family: 'Arial', sans-serif;
    color: #e5dfd3; /* Light text on dark background for general content */
    background-color: #1A202C; /* Main dark background */
    line-height: 1.6;
}

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

.page-resources-hero-section {
    background: linear-gradient(135deg, #1A202C 0%, #3a414e 100%);
    color: #FFFFFF;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:abstract,gaming,dark_pattern]');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.page-resources-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-resources h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #E0B400; /* Accent color for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-resources-hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    font-weight: 300;
}

.page-resources-btn {
    display: inline-block;
    background-color: #E0B400;
    color: #1A202C;
    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;
    border: none;
    cursor: pointer;
    margin: 10px;
}

.page-resources-btn:hover {
    background-color: #f0c500;
    transform: translateY(-2px);
}

.page-resources-content-section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(224, 180, 0, 0.1);
}

.page-resources-content-section:last-of-type {
    border-bottom: none;
}

.page-resources h2 {
    font-size: 2.5em;
    color: #E0B400;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #E0B400;
    border-radius: 2px;
}

.page-resources h3 {
    font-size: 1.8em;
    color: #f0c500;
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid #E0B400;
    padding-left: 15px;
}

.page-resources h4 {
    font-size: 1.4em;
    color: #e5dfd3;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources p {
    margin-bottom: 15px;
    color: #e5dfd3;
}

.page-resources ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #e5dfd3;
}

.page-resources ol {
    list-style: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #e5dfd3;
}

.page-resources li {
    margin-bottom: 8px;
}

.page-resources-image-wrapper {
    text-align: center;
    margin: 40px 0;
}

.page-resources-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border: 2px solid #E0B400;
}

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

.page-resources-card {
    background-color: #2a313d;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(224, 180, 0, 0.2);
}

.page-resources-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-card h4 {
    color: #E0B400;
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-resources-card p {
    font-size: 0.95em;
    color: #ccc;
    margin-bottom: 20px;
}

.page-resources-btn-small {
    background-color: #E0B400;
    color: #1A202C;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin-top: 10px;
}

.page-resources-btn-small:hover {
    background-color: #f0c500;
}

.page-resources-cta-banner {
    background-color: #E0B400;
    color: #1A202C;
    padding: 50px 20px;
    text-align: center;
    margin-top: 60px;
    border-radius: 10px;
}

.page-resources-cta-banner h3 {
    color: #1A202C;
    font-size: 2.2em;
    margin-bottom: 20px;
    border-left: none;
    padding-left: 0;
}

.page-resources-cta-banner p {
    color: #333;
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-resources-cta-buttons {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-resources h1 {
        font-size: 2.5em;
    }

    .page-resources-hero-description {
        font-size: 1.1em;
    }

    .page-resources h2 {
        font-size: 2em;
    }

    .page-resources h3 {
        font-size: 1.5em;
    }

    .page-resources-card-grid {
        grid-template-columns: 1fr;
    }

    .page-resources-btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-resources-hero-section {
        padding: 80px 20px;
    }
}

@media (max-width: 480px) {
    .page-resources h1 {
        font-size: 2em;
    }

    .page-resources-hero-description {
        font-size: 1em;
    }

    .page-resources-btn {
        width: 100%;
        margin: 10px 0;
        display: block;
    }

    .page-resources-content-section {
        padding: 40px 0;
    }

    .page-resources h2 {
        font-size: 1.8em;
    }

    .page-resources h3 {
        font-size: 1.3em;
    }
    .page-resources-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}