/* style/resources.css */
.page-resources {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark background */
    background-color: #1a002a; /* Darker background to contrast with main purple */
}

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

.page-resources__section {
    padding: 60px 0;
    text-align: center;
}

.page-resources__section-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold for main titles */
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.page-resources__section-intro {
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Hero Section */
.page-resources__hero {
    background: linear-gradient(135deg, #4B0082 0%, #7c00c7 100%); /* Deeper purple gradient */
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.page-resources__hero-title {
    font-size: 3.8em;
    color: #FFD700;
    margin-bottom: 25px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-resources__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

.page-resources__hero-image {
    position: absolute;
    bottom: -50px;
    right: -100px;
    width: 600px;
    height: auto;
    opacity: 0.15;
    transform: rotate(15deg);
    z-index: 0;
}

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

/* Buttons */
.page-resources__btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    margin: 10px;
    cursor: pointer;
    border: none;
}

.page-resources__btn--primary {
    background-color: #FFD700; /* Gold */
    color: #4B0082; /* Purple text */
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-resources__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-resources__btn--secondary {
    background-color: #4B0082; /* Purple */
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
    box-shadow: 0 5px 15px rgba(75, 0, 130, 0.4);
}

.page-resources__btn--secondary:hover {
    background-color: #3a0066;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(75, 0, 130, 0.6);
}

.page-resources__btn--link {
    background: none;
    color: #FFD700;
    padding: 0;
    margin: 0;
    border-radius: 0;
    text-decoration: underline;
    font-size: 1em;
}

.page-resources__btn--link:hover {
    color: #e6c200;
    text-decoration: none;
    transform: none;
}

.page-resources__btn--large {
    padding: 18px 45px;
    font-size: 1.3em;
}

/* General Article Styles */
.page-resources__article {
    background-color: #2a0045; /* Slightly lighter purple for content blocks */
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

.page-resources__article p {
    font-size: 1.1em;
    color: #e0e0e0;
    margin-bottom: 15px;
}

/* News & Updates Section */
.page-resources__news-updates {
    background-color: #1a002a;
    padding-top: 80px;
}

/* Guides Section */
.page-resources__guides {
    background-color: #200033;
}

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

.page-resources__guide-card {
    background-color: #2a0045;
    border-radius: 15px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-resources__guide-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.page-resources__card-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Lottery Results Section */
.page-resources__lottery-results {
    background-color: #1a002a;
}

.page-resources__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    text-align: left;
    margin-top: 40px;
}

.page-resources__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-resources__text-content {
    flex: 1;
}

.page-resources__lottery-image, .page-resources__security-app-image {
    flex: 0 0 40%;
    max-width: 40%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Security & App Section */
.page-resources__security-app {
    background-color: #200033;
}

/* Promotion CTA Section */
.page-resources__promo-cta {
    background-color: #4B0082;
    padding: 80px 0;
}

.page-resources__promo-card {
    background-color: rgba(255, 215, 0, 0.1);
    border: 2px solid #FFD700;
    border-radius: 20px;
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.page-resources__promo-image {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 200px;
    height: auto;
    opacity: 0.1;
    transform: rotate(-20deg);
    z-index: 0;
}

.page-resources__promo-card > * {
    position: relative;
    z-index: 1;
}

.page-resources__promo-title {
    color: #FFD700;
    font-size: 3.2em;
    margin-bottom: 15px;
}

.page-resources__promo-text-description {
    color: #fff;
    font-size: 1.3em;
    margin-bottom: 30px;
}

.page-resources__small-text {
    font-size: 0.9em;
    color: #ccc;
    margin-top: 20px;
}

.page-resources__small-text .page-resources__link {
    color: #FFD700;
    text-decoration: underline;
}

.page-resources__small-text .page-resources__link:hover {
    color: #e6c200;
}

/* Detailed Articles Section */
.page-resources__detailed-articles {
    background-color: #1a002a;
}

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

.page-resources__article-item {
    background-color: #2a0045;
    border-radius: 15px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-resources__article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.page-resources__article-item-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: bold;
}

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

.page-resources__article-item-title a:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-resources__article-item-description {
    font-size: 1em;
    color: #ccc;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Final CTA Section */
.page-resources__final-cta {
    background-color: #4B0082;
    padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources__hero-title {
        font-size: 3em;
    }
    .page-resources__section-title {
        font-size: 2.2em;
    }
    .page-resources__hero-image {
        width: 400px;
        right: -50px;
        bottom: -30px;
    }
    .page-resources__content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-resources__content-wrapper--reverse {
        flex-direction: column;
    }
    .page-resources__lottery-image, .page-resources__security-app-image {
        max-width: 80%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-resources__hero {
        padding: 80px 0 40px;
    }
    .page-resources__hero-title {
        font-size: 2.5em;
    }
    .page-resources__hero-description {
        font-size: 1.2em;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__section-intro {
        font-size: 1em;
    }
    .page-resources__grid, .page-resources__articles-grid {
        grid-template-columns: 1fr;
    }
    .page-resources__hero-image {
        display: none; /* Hide on smaller screens */
    }
    .page-resources__promo-card {
        padding: 30px;
    }
    .page-resources__promo-title {
        font-size: 2.2em;
    }
    .page-resources__promo-text-description {
        font-size: 1.1em;
    }
    .page-resources__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-title {
        font-size: 2em;
    }
    .page-resources__section-title {
        font-size: 1.5em;
    }
    .page-resources__article-title {
        font-size: 1.5em;
    }
    .page-resources__card-title {
        font-size: 1.3em;
    }
    .page-resources__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources__promo-image {
        display: none;
    }
}