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

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

.page-resources__hero-section {
    background: linear-gradient(135deg, #0A2239 0%, #1a3c5a 100%);
    padding: 100px 0;
    text-align: center;
    color: #E0B44B;
    position: relative;
    overflow: hidden;
}

.page-resources__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,luxury,dark_pattern]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-resources__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #E0B44B;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(224, 180, 75, 0.7);
}

.page-resources__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
    position: relative;
    z-index: 1;
}

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

.page-resources__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #E0B44B;
    border-radius: 2px;
}

.page-resources__section-subtitle {
    font-size: 1.8em;
    color: #E0B44B;
    margin-bottom: 20px;
    text-align: center;
}

.page-resources__section-description {
    font-size: 1.1em;
    color: #cccccc;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
}

.page-resources__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
}

.page-resources__btn--primary {
    background-color: #E0B44B;
    color: #0A2239;
}

.page-resources__btn--primary:hover {
    background-color: #f5d481;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(224, 180, 75, 0.4);
}

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

.page-resources__btn--secondary:hover {
    background-color: #E0B44B;
    color: #0A2239;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(224, 180, 75, 0.4);
}

.page-resources__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
    background-color: #E0B44B;
    color: #0A2239;
    margin-top: 15px;
}

.page-resources__btn--small:hover {
    background-color: #f5d481;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(224, 180, 75, 0.3);
}

.page-resources__introduction,
.page-resources__detail-list,
.page-resources__latest-updates,
.page-resources__guides,
.page-resources__faq,
.page-resources__cta-final {
    padding: 80px 0;
}

.page-resources__introduction {
    background-color: #0F2D4B;
}

.page-resources__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-resources__content-text {
    flex: 1;
    color: #cccccc;
}

.page-resources__content-text p {
    margin-bottom: 20px;
}

.page-resources__content-image {
    flex: 1;
    text-align: center;
}

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

.page-resources__detail-list {
    background-color: #0A2239;
}

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

.page-resources__list-item {
    background-color: #0F2D4B;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px 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__list-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

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

.page-resources__item-title {
    font-size: 1.4em;
    color: #E0B44B;
    margin-bottom: 10px;
    line-height: 1.3;
}

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

.page-resources__item-title a:hover {
    color: #f5d481;
}

.page-resources__item-description {
    color: #cccccc;
    font-size: 0.95em;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-resources__cta-bottom {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background-color: #1a3c5a;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-resources__cta-bottom p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-resources__latest-updates {
    background-color: #0F2D4B;
}

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

.page-resources__update-item {
    background-color: #0A2239;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__update-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-resources__update-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-resources__update-title {
    font-size: 1.3em;
    color: #E0B44B;
    margin-bottom: 15px;
}

.page-resources__update-excerpt {
    color: #cccccc;
    font-size: 0.95em;
    margin-bottom: 20px;
}

.page-resources__read-more {
    color: #E0B44B;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources__read-more:hover {
    color: #f5d481;
}

.page-resources__cta-more-news {
    text-align: center;
    margin-top: 60px;
}

.page-resources__guides {
    background-color: #0A2239;
}

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

.page-resources__guide-item {
    background-color: #0F2D4B;
    border-left: 5px solid #E0B44B;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-resources__guide-title {
    font-size: 1.3em;
    color: #E0B44B;
    margin-bottom: 15px;
}

.page-resources__guide-excerpt {
    color: #cccccc;
    font-size: 0.95em;
    margin-bottom: 20px;
}

.page-resources__responsible-gaming {
    background-color: #1a3c5a;
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-resources__responsible-gaming p {
    color: #f0f0f0;
    margin-bottom: 25px;
    font-size: 1.1em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources__faq {
    background-color: #0F2D4B;
}

.page-resources__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources__faq-item {
    background-color: #0A2239;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}

.page-resources__faq-question {
    font-size: 1.2em;
    color: #E0B44B;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-resources__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-resources__faq-item.active .page-resources__faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-resources__faq-answer {
    color: #cccccc;
    font-size: 1em;
    display: none;
    padding-top: 10px;
}

.page-resources__faq-item.active .page-resources__faq-answer {
    display: block;
}

.page-resources__cta-final {
    background: linear-gradient(45deg, #0A2239, #1a3c5a);
    padding: 100px 0;
    text-align: center;
    color: #f0f0f0;
}

.page-resources__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources__hero-title {
        font-size: 2.8em;
    }
    .page-resources__section-title {
        font-size: 2em;
    }
    .page-resources__content-grid {
        flex-direction: column;
    }
    .page-resources__content-image {
        order: -1; /* Image first on smaller screens */
        margin-bottom: 30px;
    }
}

@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: 1.1em;
    }
    .page-resources__introduction,
    .page-resources__detail-list,
    .page-resources__latest-updates,
    .page-resources__guides,
    .page-resources__faq,
    .page-resources__cta-final {
        padding: 60px 0;
    }
    .page-resources__list-grid,
    .page-resources__updates-grid,
    .page-resources__guides-grid {
        grid-template-columns: 1fr;
    }
    .page-resources__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-resources__btn {
        width: 80%;
        max-width: 300px;
    }
    .page-resources__responsible-gaming {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-title {
        font-size: 1.8em;
    }
    .page-resources__hero-subtitle {
        font-size: 1em;
    }
    .page-resources__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__section-description {
        font-size: 0.9em;
    }
    .page-resources__list-item,
    .page-resources__update-item,
    .page-resources__guide-item {
        padding: 20px;
    }
    .page-resources__item-title,
    .page-resources__update-title,
    .page-resources__guide-title {
        font-size: 1.2em;
    }
    .page-resources__item-description,
    .page-resources__update-excerpt,
    .page-resources__guide-excerpt,
    .page-resources__faq-answer {
        font-size: 0.9em;
    }
}