/* style/resources.css */

/* General Page Styling */
.page-resources {
    font-family: Arial, sans-serif;
    color: #e5e5d1; /* Light text for dark background */
    background-color: #1A1A2E; /* Main dark background */
    line-height: 1.6;
}

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

.page-resources a {
    color: #E94560; /* Accent color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources a:hover {
    color: #f07d90; /* Lighter accent on hover */
}

.page-resources__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
}

.page-resources__button--primary {
    background-color: #E94560; /* Accent color */
    color: #1A1A2E; /* Dark text for accent background */
}

.page-resources__button--primary:hover {
    background-color: #f07d90; /* Lighter accent on hover */
    color: #1A1A2E;
}

.page-resources__button--secondary {
    background-color: transparent;
    color: #E94560;
    border: 2px solid #E94560;
}

.page-resources__button--secondary:hover {
    background-color: #E94560;
    color: #1A1A2E;
}

.page-resources__button--link {
    background-color: transparent;
    color: #E94560;
    padding: 0;
    border: none;
    font-weight: normal;
    text-decoration: underline;
}

.page-resources__button--link:hover {
    color: #f07d90;
    text-decoration: none;
}

.page-resources__button--large {
    padding: 15px 35px;
    font-size: 1.1em;
}

/* Hero Section */
.page-resources__hero {
    background: linear-gradient(135deg, #1A1A2E, #3b0c16); /* Dark blue to slightly reddish dark */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:abstract,geometric,dark]'); /* Abstract background */
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.page-resources__hero > .page-resources__container {
    position: relative;
    z-index: 1;
}

.page-resources__hero-title {
    font-size: 3.2em;
    color: #e5e5d1;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-resources__hero-description {
    font-size: 1.3em;
    color: #c0c0c0;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-resources__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Section Titles */
.page-resources__section-title {
    font-size: 2.5em;
    color: #e5e5d1;
    text-align: center;
    margin-bottom: 15px;
    padding-top: 60px;
}

.page-resources__section-subtitle {
    font-size: 1.1em;
    color: #c0c0c0;
    text-align: center;
    margin-bottom: 40px;
}

/* Why Resources Section */
.page-resources__why-resources {
    padding: 80px 0;
    background-color: #2a2a40; /* Slightly lighter dark blue */
}

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

.page-resources__feature-item {
    background-color: #1A1A2E;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-resources__feature-item:hover {
    transform: translateY(-5px);
}

.page-resources__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-resources__feature-title {
    font-size: 1.6em;
    color: #E94560; /* Accent color */
    margin-bottom: 15px;
}

.page-resources__feature-description {
    font-size: 1em;
    color: #c0c0c0;
}

/* Articles Grid */
.page-resources__articles-grid {
    padding: 60px 0;
    background-color: #1A1A2E;
}

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

.page-resources__article-card {
    background-color: #2a2a40; /* Slightly lighter dark blue */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-resources__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-resources__article-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-resources__article-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-resources__article-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-resources__article-title a {
    color: #e5e5d1; /* White-ish for titles */
}

.page-resources__article-title a:hover {
    color: #E94560; /* Accent on hover */
}

.page-resources__article-category {
    font-size: 0.9em;
    color: #a0a0a0;
    margin-bottom: 15px;
}

.page-resources__article-summary {
    font-size: 1em;
    color: #c0c0c0;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Pagination */
.page-resources__pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    gap: 10px;
}

.page-resources__pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #2a2a40;
    color: #e5e5d1;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources__pagination-link:hover {
    background-color: #E94560;
    color: #1A1A2E;
}

.page-resources__pagination-link--active {
    background-color: #E94560;
    color: #1A1A2E;
}

/* Explore Games Section */
.page-resources__explore-games {
    padding: 80px 0;
    background-color: #1A1A2E;
}

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

.page-resources__game-card {
    background-color: #2a2a40;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-resources__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-resources__game-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-resources__game-title {
    font-size: 1.5em;
    color: #e5e5d1;
    margin-bottom: 10px;
}

.page-resources__game-description {
    font-size: 0.95em;
    color: #c0c0c0;
    flex-grow: 1;
}

/* CTA Banner */
.page-resources__cta-banner {
    background: linear-gradient(90deg, #E94560, #a33043); /* Red gradient */
    padding: 80px 0;
    color: #1A1A2E; /* Dark text on red background */
}

.page-resources__cta-banner .page-resources__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.page-resources__cta-content {
    flex: 1;
    min-width: 300px;
}

.page-resources__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #1A1A2E;
    line-height: 1.2;
}

.page-resources__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #3b3b3b;
}

.page-resources__cta-image {
    flex-shrink: 0;
    width: 350px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-resources__faq {
    padding: 80px 0;
    background-color: #1A1A2E;
}

.page-resources__faq-item {
    background-color: #2a2a40;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-resources__faq-question {
    font-size: 1.4em;
    color: #e5e5d1;
    margin-bottom: 15px;
}

.page-resources__faq-answer {
    font-size: 1em;
    color: #c0c0c0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources__hero-title {
        font-size: 2.8em;
    }
    .page-resources__section-title {
        font-size: 2em;
    }
    .page-resources__cta-title {
        font-size: 2.2em;
    }
}