/* style/resources.css */

/* Base Styles for Page Resources */
.page-resources {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #000000; /* Ensure consistency with body background */
}

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

.page-resources__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    padding-top: 40px;
}

.page-resources__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #ffffff;
}

/* Hero Section */
.page-resources__hero-section {
    position: relative;
    padding: 100px 0 60px;
    background-color: #000000;
    background-image: url('[GALLERY:hero_main:1920x1080:online_gambling,resources,strategy,kuwin789,vietnam]');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding-top: var(--header-offset, 120px);
}

.page-resources__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

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

.page-resources__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #26A9E0;
    font-weight: bold;
    line-height: 1.2;
}

.page-resources__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

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

.page-resources__btn-primary,
.page-resources__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-resources__btn-primary {
    background-color: #EA7C07; /* Login/Register color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-resources__btn-primary:hover {
    background-color: #d16b06;
    border-color: #d16b06;
}

.page-resources__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Introduction Section */
.page-resources__intro-section {
    padding: 60px 0;
    background-color: #000000;
    color: #ffffff;
}

/* Image Styling */
.page-resources__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Strategies Section */
.page-resources__strategies-section {
    padding: 60px 0;
    background-color: #1a1a1a;
    color: #ffffff;
}

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

.page-resources__strategy-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: #ffffff;
}

.page-resources__strategy-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-resources__card-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources__card-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-resources__card-title a:hover {
    text-decoration: underline;
}

.page-resources__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-resources__card-link {
    display: inline-block;
    color: #EA7C07;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #EA7C07;
    padding-bottom: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-resources__card-link:hover {
    color: #d16b06;
    border-color: #d16b06;
}

/* Security Section */
.page-resources__security-section {
    padding: 60px 0;
    background-color: #000000;
    color: #ffffff;
}

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

.page-resources__security-feature {
    background-color: rgba(38, 169, 224, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-resources__feature-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

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

/* Updates Section */
.page-resources__updates-section {
    padding: 60px 0;
    background-color: #1a1a1a;
    color: #ffffff;
}

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

.page-resources__update-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: #ffffff;
}

.page-resources__update-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-resources__item-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources__item-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-resources__item-title a:hover {
    text-decoration: underline;
}

.page-resources__item-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* FAQ Section */
.page-resources__faq-section {
    padding: 60px 0;
    background-color: #000000;
    color: #ffffff;
}

.page-resources__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-resources__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #26A9E0;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.page-resources__faq-question:hover {
    background-color: #1f8ec2;
}

.page-resources__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-resources__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(0, 0, 0, 0.7);
    color: #f0f0f0;
}

.page-resources__faq-item.active .page-resources__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px !important;
}

.page-resources__faq-answer p {
    margin-bottom: 10px;
    color: #f0f0f0;
}

.page-resources__faq-answer .page-resources__card-link {
    margin-top: 10px;
}

/* Final CTA Section */
.page-resources__final-cta {
    padding: 60px 0;
    background-color: #26A9E0;
    color: #ffffff;
    text-align: center;
}

.page-resources__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

.page-resources__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

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

@media (max-width: 768px) {
    .page-resources {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources__hero-section {
        padding: 80px 0 40px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-resources__hero-title {
        font-size: 2.5em;
    }
    .page-resources__hero-description {
        font-size: 1.1em;
    }
    .page-resources__hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources__btn-primary,
    .page-resources__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-resources__text-block {
        font-size: 1em;
    }
    .page-resources__strategy-grid,
    .page-resources__security-features,
    .page-resources__update-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-resources__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-resources__strategy-card,
    .page-resources__security-feature,
    .page-resources__update-item,
    .page-resources__faq-item {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-resources__card-title, .page-resources__feature-title, .page-resources__item-title {
        font-size: 1.5em;
    }
    .page-resources__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-resources__faq-answer {
        padding: 15px !important;
    }
    .page-resources__cta-title {
        font-size: 2em;
    }
    .page-resources__cta-description {
        font-size: 1em;
    }
    /* Ensure all content sections have proper mobile padding */
    .page-resources__intro-section,
    .page-resources__strategies-section,
    .page-resources__security-section,
    .page-resources__updates-section,
    .page-resources__faq-section,
    .page-resources__final-cta {
        padding-left: 0;
        padding-right: 0;
    }
    .page-resources__intro-section > .page-resources__container,
    .page-resources__strategies-section > .page-resources__container,
    .page-resources__security-section > .page-resources__container,
    .page-resources__updates-section > .page-resources__container,
    .page-resources__faq-section > .page-resources__container,
    .page-resources__final-cta > .page-resources__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-title {
        font-size: 2em;
    }
    .page-resources__section-title {
        font-size: 1.5em;
    }
    .page-resources__btn-primary,
    .page-resources__btn-secondary {
        padding: 12px 20px;
    }
    .page-resources__card-title, .page-resources__feature-title, .page-resources__item-title {
        font-size: 1.3em;
    }
    .page-resources__faq-question {
        font-size: 1em;
    }
    .page-resources__cta-title {
        font-size: 1.8em;
    }
}