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

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

/* Hero Section */
.page-resources__hero-section {
    background: linear-gradient(135deg, #007bff 0%, #ffc107 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.page-resources__hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: page-resources__hero-pulse 15s infinite ease-in-out;
}

@keyframes page-resources__hero-pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.page-resources__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: #ffffff;
    position: relative;
    z-index: 1;
}

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

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

.page-resources__btn--primary {
    background-color: #ffc107;
    color: #000000;
    border: 2px solid #ffc107;
}

.page-resources__btn--primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__btn--secondary {
    background-color: #007bff;
    color: #ffffff;
    border: 2px solid #007bff;
}

.page-resources__btn--secondary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-resources__section-title {
    font-size: 2.5em;
    color: #007bff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-resources__about-78bet-section, .page-resources__responsible-gaming {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.page-resources__content-wrapper:nth-child(even) {
    flex-direction: row-reverse;
}

.page-resources__text-content {
    flex: 1;
    font-size: 1.1em;
    color: #444;
}

.page-resources__text-content p {
    margin-bottom: 15px;
}

.page-resources__text-content strong {
    color: #007bff;
}

.page-resources__image-box {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 20px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.page-resources__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto 15px auto;
}

.page-resources__image-caption {
    font-size: 0.9em;
    color: #777;
    font-style: italic;
}

/* Featured Resources Grid */
.page-resources__featured-resources {
    padding: 80px 0;
    background-color: #fff;
}

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

.page-resources__resource-item {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.page-resources__resource-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.page-resources__item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.page-resources__item-title {
    font-size: 1.4em;
    color: #007bff;
    margin: 0 20px 10px 20px;
    line-height: 1.3;
}

.page-resources__item-title a {
    color: #007bff;
    text-decoration: none;
}

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

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

.page-resources__resource-item .page-resources__btn--secondary {
    margin: 0 20px;
    text-align: center;
    align-self: flex-start;
}

/* CTA Section */
.page-resources__cta-section {
    background-color: #007bff;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-resources__cta-section .page-resources__section-title {
    color: #ffffff;
    margin-bottom: 25px;
}

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

.page-resources__cta-buttons .page-resources__btn {
    margin: 0 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources__hero-title {
        font-size: 2.8em;
    }
    .page-resources__hero-description {
        font-size: 1.1em;
    }
    .page-resources__section-title {
        font-size: 2em;
    }
    .page-resources__content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-resources__content-wrapper:nth-child(even) {
        flex-direction: column;
    }
    .page-resources__image-box {
        margin-top: 30px;
    }
    .page-resources__resource-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-resources__hero-section {
        padding: 80px 0;
    }
    .page-resources__hero-title {
        font-size: 2.2em;
    }
    .page-resources__hero-description {
        font-size: 1em;
    }
    .page-resources__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__section-subtitle {
        font-size: 1em;
    }
    .page-resources__text-content {
        font-size: 1em;
    }
    .page-resources__cta-buttons .page-resources__btn {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .page-resources__hero-section {
        padding: 60px 0;
    }
    .page-resources__hero-title {
        font-size: 1.8em;
    }
    .page-resources__hero-description {
        font-size: 0.9em;
    }
    .page-resources__btn {
        display: block;
        width: fit-content;
        margin: 15px auto;
    }
    .page-resources__cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .page-resources__cta-buttons .page-resources__btn {
        width: 80%;
        margin: 10px 0;
    }
    .page-resources__resource-grid {
        grid-template-columns: 1fr;
    }
    .page-resources__about-78bet-section, .page-resources__featured-resources, .page-resources__cta-section, .page-resources__responsible-gaming {
        padding: 50px 0;
    }
}