.page-resources {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text */
    line-height: 1.6;
    background-color: #0A192F; /* Primary dark blue background */
}

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

.page-resources .hero-banner {
    position: relative;
    width: 100%;
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #0A192F, #1A345B);
    overflow: hidden;
}

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

.page-resources .hero-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.page-resources .hero-title {
    font-size: 3.2em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources .hero-description {
    font-size: 1.3em;
    color: #FFFFFF; /* White for description */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources .cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: #FFD700; /* Gold button */
    color: #0A192F; /* Dark blue text on gold */
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.page-resources .cta-button:hover {
    background: #DC143C; /* Red on hover */
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 20, 60, 0.6);
}

.page-resources .section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for section titles */
    text-align: center;
    margin: 60px 0 40px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-resources .section-guide, .page-resources .section-games, .page-resources .section-promotions, .page-resources .section-safety-support, .page-resources .section-faq, .page-resources .section-blog {
    padding: 60px 0;
    background-color: #1A2B42; /* Slightly lighter dark blue */
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources .section-guide .container, .page-resources .section-promotions .container, .page-resources .section-safety-support .container, .page-resources .section-faq .container, .page-resources .section-blog .container {
    padding-top: 0;
    padding-bottom: 0;
}

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

.page-resources .guide-item, .page-resources .game-card, .page-resources .ss-item, .page-resources .blog-post {
    background-color: #0A192F; /* Dark blue for card background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources .guide-item:hover, .page-resources .game-card:hover, .page-resources .ss-item:hover, .page-resources .blog-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-resources .guide-icon, .page-resources .ss-icon {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 4px solid #FFD700;
}

.page-resources .card-image, .page-resources .post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-resources .guide-heading, .page-resources .card-title, .page-resources .ss-heading, .page-resources .promo-heading, .page-resources .post-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources .guide-heading a, .page-resources .card-title a, .page-resources .ss-heading a, .page-resources .promo-heading a, .page-resources .post-title a {
    color: #FFD700; /* Gold for headings links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources .guide-heading a:hover, .page-resources .card-title a:hover, .page-resources .ss-heading a:hover, .page-resources .promo-heading a:hover, .page-resources .post-title a:hover {
    color: #DC143C; /* Red on hover */
}

.page-resources .guide-text, .page-resources .card-description, .page-resources .ss-text, .page-resources .promo-description, .page-resources .post-excerpt {
    font-size: 1em;
    color: #E0E0E0; /* Light gray for text */
    margin-bottom: 20px;
}

.page-resources .read-more, .page-resources .cta-small-button {
    display: inline-block;
    padding: 10px 25px;
    background: #1A345B; /* Darker blue for secondary buttons */
    color: #FFD700; /* Gold text */
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 1px solid #FFD700;
}

.page-resources .read-more:hover, .page-resources .cta-small-button:hover {
    background: #DC143C; /* Red on hover */
    color: #FFFFFF;
    border-color: #DC143C;
    transform: translateY(-2px);
}

.page-resources .promo-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
}

.page-resources .promo-item {
    background-color: #0A192F;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.page-resources .promo-item strong {
    color: #FFD700;
}

/* FAQ Styles */
.page-resources .faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #0A192F;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #1A345B; /* Darker blue for question background */
    color: #FFD700; /* Gold for question text */
    border: 1px solid #1A345B;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-question:hover {
    background: #2A4F82;
    color: #FFFFFF;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    font-weight: bold;
    color: inherit; /* Inherit color from parent */
}

.faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    transition: transform 0.3s ease;
    color: inherit; /* Inherit color from parent */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #0A192F;
    color: #E0E0E0;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px 25px;
    border-top: 1px solid #1A345B;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #DC143C; /* Red for active toggle */
}

.faq-item.active .faq-question {
    background: #2A4F82;
    color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources .hero-title {
        font-size: 2.8em;
    }
    .page-resources .hero-description {
        font-size: 1.1em;
    }
    .page-resources .section-title {
        font-size: 2em;
    }
    .page-resources .guide-heading, .page-resources .card-title, .page-resources .ss-heading, .page-resources .promo-heading, .page-resources .post-title {
        font-size: 1.4em;
    }
    .page-resources .guide-icon, .page-resources .ss-icon {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .page-resources .hero-banner {
        padding: 60px 0;
    }
    .page-resources .hero-image {
        margin-bottom: 30px;
    }
    .page-resources .hero-title {
        font-size: 2.2em;
    }
    .page-resources .hero-description {
        font-size: 1em;
    }
    .page-resources .cta-button {
        padding: 15px 35px;
        font-size: 1em;
    }
    .page-resources .section-title {
        font-size: 1.8em;
        margin: 40px 0 30px;
    }
    .page-resources .guide-grid, .page-resources .game-cards, .page-resources .safety-support-grid, .page-resources .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-resources .guide-item, .page-resources .game-card, .page-resources .ss-item, .page-resources .blog-post {
        padding: 25px;
    }
    .page-resources .guide-heading, .page-resources .card-title, .page-resources .ss-heading, .page-resources .promo-heading, .page-resources .post-title {
        font-size: 1.2em;
    }
    .page-resources .read-more, .page-resources .cta-small-button {
        padding: 8px 20px;
        font-size: 0.85em;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 1.5em;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-resources .hero-title {
        font-size: 1.8em;
    }
    .page-resources .hero-description {
        font-size: 0.9em;
    }
    .page-resources .cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
    }
    .page-resources .section-title {
        font-size: 1.5em;
    }
    .page-resources .guide-icon, .page-resources .ss-icon {
        width: 80px;
        height: 80px;
    }
}