/* style/resources.css */
.page-resources {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

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

/* Hero Section */
.page-resources .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #E44D26, #FFB800);
    color: #ffffff;
}

.page-resources .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-resources .hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-resources .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-resources .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-resources h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources .hero-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-resources .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #FFB800; /* Secondary color for CTA */
    color: #333333; /* Dark text for contrast */
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources .cta-button:hover {
    background: #e6a700;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-resources section {
    padding: 60px 0;
    background-color: #ffffff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources section:nth-of-type(even) {
    background-color: #f9f9f9;
}

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

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

.page-resources h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
}

.page-resources p {
    font-size: 1em;
    color: #555;
    margin-bottom: 15px;
}

.page-resources a {
    color: #E44D26;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources a:hover {
    color: #FFB800;
}

.page-resources .text-center {
    text-align: center;
    margin-top: 40px;
}

/* Feature Grid */
.page-resources .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-resources .feature-item {
    text-align: center;
    padding: 25px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources .feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-resources .feature-item .feature-icon {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 50%;
    border: 3px solid #E44D26;
}

.page-resources .feature-item h3 {
    color: #E44D26;
    font-size: 1.4em;
    margin-bottom: 10px;
}

/* Link Cards */
.page-resources .link-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-resources .card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-resources .card h3 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 15px;
}

.page-resources .card h3 a {
    color: #E44D26;
}

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

.page-resources .btn-link {
    display: inline-block;
    padding: 10px 25px;
    background-color: #E44D26;
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-resources .btn-link:hover {
    background-color: #c93d1f;
}

/* Game Guides Grid */
.page-resources .game-guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-resources .guide-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources .guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-resources .guide-card .guide-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-resources .guide-card h3 {
    padding: 15px 20px 0;
    font-size: 1.3em;
    color: #333;
}

.page-resources .guide-card h3 a {
    color: #E44D26;
}

.page-resources .guide-card p {
    padding: 0 20px 15px;
    font-size: 0.95em;
    color: #666;
}

/* Promotions */
.page-resources .promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-resources .promo-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources .promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-resources .promo-card .promo-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.page-resources .promo-card h3 {
    padding: 20px 20px 0;
    font-size: 1.4em;
    color: #333;
}

.page-resources .promo-card h3 a {
    color: #E44D26;
}

.page-resources .promo-card p {
    padding: 0 20px 15px;
    font-size: 0.95em;
    color: #666;
}

.page-resources .btn-promo {
    display: inline-block;
    padding: 10px 25px;
    background-color: #FFB800;
    color: #333;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.page-resources .btn-promo:hover {
    background-color: #e6a700;
}

/* Support Info */
.page-resources .support-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-resources .support-item {
    text-align: center;
    padding: 25px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources .support-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-resources .support-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-resources .support-item h3 {
    color: #E44D26;
    font-size: 1.4em;
    margin-bottom: 10px;
}

/* FAQ Section */
.page-resources .faq-list {
    margin-top: 30px;
}

.page-resources .faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-resources .faq-question:hover {
    background: #f5f5f5;
}

.page-resources .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
}

.page-resources .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #E44D26;
    transition: transform 0.3s ease;
}

.page-resources .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #FFB800;
}

.page-resources .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 20px;
    color: #555;
    background-color: #fcfcfc;
}

.page-resources .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding: 15px 20px 20px;
    border-top: 1px solid #e0e0e0;
}

.page-resources .faq-answer p {
    margin-bottom: 0;
}

/* News Section */
.page-resources .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-resources .news-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources .news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-resources .news-card .news-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.page-resources .news-card h3 {
    padding: 20px 20px 0;
    font-size: 1.3em;
    color: #333;
}

.page-resources .news-card h3 a {
    color: #E44D26;
}

.page-resources .news-card p {
    padding: 0 20px 10px;
    font-size: 0.95em;
    color: #666;
}

.page-resources .news-date {
    display: block;
    font-size: 0.85em;
    color: #999;
    padding: 0 20px 15px;
}

.page-resources .btn-read-more {
    display: inline-block;
    padding: 8px 20px;
    background-color: #FFB800;
    color: #333;
    border-radius: 5px;
    font-weight: bold;
    margin: 0 20px 20px;
    transition: background-color 0.3s ease;
}

.page-resources .btn-read-more:hover {
    background-color: #e6a700;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources h1 {
        font-size: 2.2em;
    }
    .page-resources h2 {
        font-size: 1.8em;
    }
    .page-resources .hero-section {
        padding: 40px 15px;
    }
    .page-resources .hero-content p {
        font-size: 1em;
    }
    .page-resources .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-resources section {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .page-resources .container {
        padding: 15px;
    }
    .page-resources h1 {
        font-size: 1.8em;
    }
    .page-resources h2 {
        font-size: 1.5em;
    }
    .page-resources .feature-grid, .page-resources .link-cards, .page-resources .game-guides-grid, .page-resources .promo-cards, .page-resources .support-info, .page-resources .news-grid {
        grid-template-columns: 1fr;
    }
    .page-resources .feature-item .feature-icon, .page-resources .support-icon {
        width: 150px;
        height: 150px;
    }
    .page-resources .faq-question h3 {
        font-size: 1.1em;
    }
    .page-resources .faq-toggle {
        font-size: 20px;
    }
    .page-resources .faq-answer p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-resources h1 {
        font-size: 1.5em;
    }
    .page-resources h2 {
        font-size: 1.3em;
    }
    .page-resources .hero-content p {
        font-size: 0.9em;
    }
    .page-resources .cta-button {
        padding: 10px 25px;
        font-size: 14px;
    }
    .page-resources .feature-item .feature-icon, .page-resources .support-icon {
        width: 120px;
        height: 120px;
    }
    .page-resources .promo-card .promo-img, .page-resources .news-card .news-img {
        height: 180px;
    }
}