/* style/resources.css */
:root {
    --primary-color: #0047AB; /* Deep Royal Blue */
    --secondary-color: #FFD700; /* Gold */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f7f6;
    --bg-dark: #0a2e63;
    --border-color: #e0e0e0;
}

.page-resources {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.page-resources a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources a:hover {
    color: var(--secondary-color);
}

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

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

.page-resources .section-title {
    font-size: 36px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources .section-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

/* Hero Section */
.page-resources .hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #002d6b 100%);
    color: var(--text-light);
    padding: 80px 0;
    display: flex;
    align-items: center;
}

.page-resources .hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.page-resources .hero-content {
    flex: 1;
    text-align: left;
}

.page-resources .main-title {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
}

.page-resources .hero-content .description {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-resources .hero-content .description a {
    color: var(--secondary-color);
}

.page-resources .cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources .cta-button:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

.page-resources .hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-resources .hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

/* Guide Section */
.page-resources .guide-section {
    background-color: var(--bg-light);
}

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

.page-resources .guide-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources .guide-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.page-resources .guide-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-resources .guide-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-resources .guide-title a {
    color: var(--primary-color);
}

.page-resources .guide-text {
    font-size: 16px;
    color: #666666;
    margin-bottom: 20px;
}

.page-resources .guide-text a {
    color: var(--primary-color);
}

.page-resources .btn-small {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

/* Game Types Section */
.page-resources .game-types-section {
    background-color: #ffffff;
}

.page-resources .game-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-resources .game-card {
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources .game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.page-resources .game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-resources .game-card-title {
    font-size: 22px;
    color: var(--primary-color);
    padding: 15px 20px 5px 20px;
}

.page-resources .game-card-title a {
    color: var(--primary-color);
}

.page-resources .game-card-text {
    font-size: 15px;
    color: #666666;
    padding: 0 20px 20px 20px;
}

.page-resources .game-card-text a {
    color: var(--primary-color);
}

/* Promotion Section */
.page-resources .promotion-section {
    background-color: var(--bg-light);
}

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

.page-resources .promo-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-resources .promo-card-title {
    font-size: 26px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-resources .promo-card-text {
    font-size: 16px;
    color: #666666;
    margin-bottom: 25px;
}

.page-resources .promo-card-text a {
    color: var(--primary-color);
}

/* Support & Security Section */
.page-resources .support-security-section {
    background: linear-gradient(135deg, #002d6b 0%, var(--primary-color) 100%);
    color: var(--text-light);
}

.page-resources .support-security-section .section-title {
    color: var(--secondary-color);
}

.page-resources .support-security-section .section-description {
    color: #c0c0c0;
}

.page-resources .support-security-section .section-description a {
    color: var(--secondary-color);
}

.page-resources .security-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-resources .security-text {
    flex: 1;
}

.page-resources .security-text h3 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-resources .security-text p {
    font-size: 17px;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #e0e0e0;
}

.page-resources .security-text p a {
    color: var(--secondary-color);
}

.page-resources .security-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-resources .security-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

/* FAQ Section */
.page-resources .faq-section {
    background-color: #ffffff;
}

.page-resources .faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

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

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

.page-resources .faq-question h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin: 0;
}

.page-resources .faq-question h3 a {
    color: var(--primary-color);
}

.page-resources .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

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

.page-resources .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding: 15px 25px;
}

.page-resources .faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.page-resources .faq-answer p a {
    color: var(--primary-color);
}

/* Articles Section */
.page-resources .articles-section {
    background-color: var(--bg-light);
}

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

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

.page-resources .article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

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

.page-resources .article-card-title {
    font-size: 22px;
    color: var(--primary-color);
    padding: 15px 20px 5px 20px;
}

.page-resources .article-card-title a {
    color: var(--primary-color);
}

.page-resources .article-card-text {
    font-size: 15px;
    color: #666666;
    padding: 0 20px 20px 20px;
}

.page-resources .article-card-text a {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources .hero-section .container {
        flex-direction: column;
        text-align: center;
    }

    .page-resources .hero-content {
        text-align: center;
    }

    .page-resources .main-title {
        font-size: 40px;
    }

    .page-resources .hero-image-wrapper {
        order: -1;
        margin-bottom: 30px;
    }

    .page-resources .security-content {
        flex-direction: column;
    }

    .page-resources .security-image-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-resources .section-padding {
        padding: 40px 0;
    }

    .page-resources .section-title {
        font-size: 28px;
    }

    .page-resources .section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-resources .main-title {
        font-size: 32px;
    }

    .page-resources .hero-content .description {
        font-size: 18px;
    }

    .page-resources .cta-button {
        padding: 12px 25px;
        font-size: 18px;
    }

    .page-resources .guide-item, .page-resources .game-card, .page-resources .promo-card, .page-resources .article-card {
        padding: 20px;
    }

    .page-resources .guide-icon {
        width: 180px;
        height: 130px;
    }

    .page-resources .guide-title, .page-resources .game-card-title, .page-resources .promo-card-title, .page-resources .article-card-title {
        font-size: 20px;
    }

    .page-resources .security-text h3 {
        font-size: 24px;
    }

    .page-resources .security-text p {
        font-size: 15px;
    }

    .page-resources .faq-question {
        padding: 15px 20px;
    }

    .page-resources .faq-question h3 {
        font-size: 18px;
    }

    .page-resources .faq-toggle {
        font-size: 20px;
    }

    .page-resources .faq-answer {
        padding: 10px 20px;
    }

    .page-resources .faq-answer p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .page-resources .container {
        padding: 0 15px;
    }

    .page-resources .main-title {
        font-size: 28px;
    }

    .page-resources .hero-content .description {
        font-size: 16px;
    }

    .page-resources .cta-button {
        padding: 10px 20px;
        font-size: 16px;
    }

    .page-resources .section-title {
        font-size: 24px;
    }
    
    .page-resources .guide-grid, .page-resources .game-cards-grid, .page-resources .promo-cards-grid, .page-resources .article-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .page-resources .guide-icon {
        width: 150px;
        height: 120px;
    }
}