/* style/resources.css */
.page-resources {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

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

.page-resources__hero-section {
    background: linear-gradient(135deg, #0A2E59 0%, #3a5c8e 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:abstract_pattern,gaming,subtle_texture]');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.page-resources__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    color: #fff;
}

.page-resources__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    font-weight: 300;
    position: relative;
    z-index: 1;
    color: #e0e0e0;
}

.page-resources__intro-section,
.page-resources__articles-section,
.page-resources__why-choose-y088,
.page-resources__responsible-gaming {
    padding: 60px 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.page-resources__section-title {
    font-size: 2.5em;
    color: #0A2E59;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-resources__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFA500;
    margin: 15px auto 0;
    border-radius: 2px;
}

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

.page-resources__text-content {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.page-resources__text-content a {
    color: #0A2E59;
    text-decoration: underline;
}

.page-resources__text-content a:hover {
    color: #FFA500;
}

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

.page-resources__article-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-resources__article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-resources__article-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-resources__article-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-resources__article-title {
    font-size: 1.6em;
    color: #0A2E59;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-resources__article-title a {
    color: #0A2E59;
    text-decoration: none;
}

.page-resources__article-title a:hover {
    color: #FFA500;
}

.page-resources__article-category {
    font-size: 0.9em;
    color: #FFA500;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.page-resources__article-summary {
    font-size: 1em;
    color: #555;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-resources__btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    text-align: center;
    white-space: nowrap;
}

.page-resources__btn--primary {
    background-color: #FFA500;
    color: #0A2E59;
    border: 2px solid #FFA500;
}

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

.page-resources__btn--secondary {
    background-color: #0A2E59;
    color: #fff;
    border: 2px solid #0A2E59;
}

.page-resources__btn--secondary:hover {
    background-color: #072244;
    border-color: #072244;
    transform: translateY(-2px);
}

.page-resources__btn--large {
    padding: 15px 40px;
    font-size: 1.2em;
}

.page-resources__subsection-title {
    font-size: 1.8em;
    color: #0A2E59;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    border-left: 5px solid #FFA500;
    padding-left: 15px;
}

.page-resources__why-choose-y088 .page-resources__text-content,
.page-resources__responsible-gaming .page-resources__text-content {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-resources__cta-section {
    background: linear-gradient(45deg, #0A2E59 0%, #FFA500 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.page-resources__cta-content {
    max-width: 800px;
}

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

.page-resources__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #eee;
}

.page-resources .highlight {
    color: #FFA500;
    font-weight: 700;
}

/* 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__articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-resources__article-title {
        font-size: 1.4em;
    }
    .page-resources__subsection-title {
        font-size: 1.6em;
    }
    .page-resources__cta-title {
        font-size: 2.2em;
    }
    .page-resources__cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-resources__hero-section {
        padding: 80px 0;
    }
    .page-resources__hero-title {
        font-size: 2.2em;
    }
    .page-resources__hero-subtitle {
        font-size: 1em;
    }
    .page-resources__intro-section,
    .page-resources__articles-section,
    .page-resources__why-choose-y088,
    .page-resources__responsible-gaming {
        padding: 40px 0;
    }
    .page-resources__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-resources__section-description {
        margin-bottom: 40px;
    }
    .page-resources__article-content {
        padding: 20px;
    }
    .page-resources__article-title {
        font-size: 1.2em;
    }
    .page-resources__btn {
        padding: 10px 20px;
        font-size: 0.95em;
    }
    .page-resources__btn--large {
        padding: 12px 30px;
        font-size: 1.1em;
    }
    .page-resources__subsection-title {
        font-size: 1.4em;
        margin-top: 30px;
    }
    .page-resources__cta-section {
        padding: 60px 0;
    }
    .page-resources__cta-title {
        font-size: 1.8em;
    }
    .page-resources__cta-description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-section {
        padding: 60px 0;
    }
    .page-resources__hero-title {
        font-size: 1.8em;
    }
    .page-resources__hero-subtitle {
        font-size: 0.9em;
    }
    .page-resources__articles-grid {
        grid-template-columns: 1fr;
    }
    .page-resources__section-title {
        font-size: 1.5em;
    }
    .page-resources__text-content {
        font-size: 1em;
    }
    .page-resources__article-thumbnail {
        height: 180px;
    }
    .page-resources__article-title {
        font-size: 1.1em;
    }
    .page-resources__article-summary {
        font-size: 0.95em;
    }
    .page-resources__btn {
        width: 100%;
        box-sizing: border-box;
    }
    .page-resources__btn--large {
        width: auto;
    }
    .page-resources__cta-title {
        font-size: 1.6em;
    }
    .page-resources__cta-description {
        font-size: 0.9em;
    }
}