/* style/resources.css */
.page-resources {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text */
    background-color: #0F1D2F; /* Darker background for contrast */
}

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

/* Hero Section */
.page-resources__hero-section {
    position: relative;
    background: url('[GALLERY:hero:b29_club,gaming,platform,banner,resources]') center center / cover no-repeat;
    padding: 120px 0;
    text-align: center;
    color: #FFFFFF;
    overflow: hidden;
}

.page-resources__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 46, 71, 0.9), rgba(255, 215, 0, 0.2));
    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: #FFD700; /* Gold for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-resources__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #F0F0F0;
}

/* Buttons */
.page-resources__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.page-resources__btn--primary {
    background-color: #FFD700; /* Gold */
    color: #1A2E47; /* Deep blue */
    border: 2px solid #FFD700;
}

.page-resources__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-resources__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold */
    border: 2px solid #FFD700;
}

.page-resources__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A2E47;
    transform: translateY(-2px);
}

.page-resources__btn--large {
    padding: 18px 40px;
    font-size: 1.25em;
}

/* Intro Section */
.page-resources__intro-section {
    padding: 60px 0;
    background-color: #1A2E47; /* Deep blue */
    text-align: center;
}

.page-resources__text-content {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #E0E0E0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources__keyword {
    color: #FFD700;
    font-weight: bold;
}

/* Detail List Section */
.page-resources__detail-list-section {
    padding: 80px 0;
    background-color: #0F1D2F;
}

.page-resources__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
}

.page-resources__section-description {
    font-size: 1.2em;
    color: #F0F0F0;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-resources__card {
    background-color: #1A2E47; /* Deep blue */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    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 12px 25px rgba(0, 0, 0, 0.4);
}

.page-resources__card-title {
    font-size: 1.6em;
    color: #FFD700; /* Gold */
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-resources__card-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources__card-title a:hover {
    color: #e6c200;
}

.page-resources__card-description {
    font-size: 1em;
    line-height: 1.7;
    color: #C0C0C0;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Why Choose Us Section */
.page-resources__why-choose-us {
    padding: 80px 0;
    background-color: #1A2E47;
}

.page-resources__feature-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-resources__feature-list li {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #E0E0E0;
    display: flex;
    align-items: flex-start;
}

.page-resources__list-icon {
    color: #FFD700;
    font-size: 1.4em;
    margin-right: 15px;
    flex-shrink: 0;
}

/* CTA Section */
.page-resources__cta-section {
    padding: 80px 0;
    background-color: #0F1D2F;
}

.page-resources__cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-resources__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-resources__cta-description {
    font-size: 1.2em;
    line-height: 1.8;
    color: #F0F0F0;
    margin-bottom: 40px;
}

.page-resources__cta-image-wrapper {
    margin-top: 50px;
    text-align: center;
}

.page-resources__cta-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Floating Ad */
.page-resources__floating-ad {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #1A2E47; /* Deep blue */
    color: #FFFFFF;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateX(120%); /* Start off-screen */
    opacity: 0;
}

.page-resources__floating-ad.show {
    transform: translateX(0); /* Slide in */
    opacity: 1;
}

.page-resources__floating-ad-text {
    margin: 0;
    font-size: 1.1em;
}

.page-resources__floating-ad-highlight {
    color: #FFD700;
    font-weight: bold;
}

.page-resources__floating-ad-btn {
    background-color: #FFD700; /* Gold */
    color: #1A2E47; /* Deep blue */
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
}

.page-resources__floating-ad-btn:hover {
    background-color: #e6c200;
}

.page-resources__floating-ad-close {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.5em;
    cursor: pointer;
    margin-left: 10px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.page-resources__floating-ad-close:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources__hero-title {
        font-size: 2.8em;
    }
    .page-resources__hero-subtitle {
        font-size: 1.2em;
    }
    .page-resources__section-title {
        font-size: 2em;
    }
    .page-resources__section-description {
        font-size: 1.1em;
    }
    .page-resources__card {
        padding: 25px;
    }
    .page-resources__card-title {
        font-size: 1.4em;
    }
    .page-resources__cta-title {
        font-size: 2.2em;
    }
    .page-resources__cta-description {
        font-size: 1.1em;
    }
    .page-resources__floating-ad {
        flex-direction: column;
        align-items: flex-start;
        right: 10px;
        bottom: 10px;
        width: calc(100% - 40px);
        max-width: 350px;
        padding: 15px 20px;
        gap: 10px;
    }
    .page-resources__floating-ad-close {
        position: absolute;
        top: 5px;
        right: 5px;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .page-resources__hero-title {
        font-size: 2.2em;
    }
    .page-resources__hero-subtitle {
        font-size: 1em;
    }
    .page-resources__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-resources__intro-section, .page-resources__detail-list-section, .page-resources__why-choose-us, .page-resources__cta-section {
        padding: 40px 0;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__section-description {
        font-size: 1em;
    }
    .page-resources__text-content {
        font-size: 0.95em;
    }
    .page-resources__card {
        padding: 20px;
    }
    .page-resources__card-title {
        font-size: 1.2em;
    }
    .page-resources__card-description {
        font-size: 0.9em;
    }
    .page-resources__cta-title {
        font-size: 1.8em;
    }
    .page-resources__cta-description {
        font-size: 1em;
    }
}