/* style/resources.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f4f4;
    --bg-dark: #222222;
    --border-color: #e0e0e0;
    --accent-color: #DAA520; /* Goldenrod */
}

.page-resources {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

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

.page-resources .hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    text-align: center;
    padding: 80px 20px;
    border-bottom: 5px solid var(--accent-color);
}

.page-resources .hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    font-weight: bold;
    color: var(--text-light);
}

.page-resources .hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-light);
}

.page-resources .cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--text-light);
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-resources .cta-button:hover {
    background-color: darken(var(--accent-color), 10%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-resources .section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    position: relative;
}

.page-resources .section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    border-radius: 2px;
}

.page-resources .intro-section,
.page-resources .strategy-section,
.page-resources .promo-section,
.page-resources .responsible-gambling-section,
.page-resources .news-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.page-resources .intro-section p,
.page-resources .promo-section p,
.page-resources .responsible-gambling-section p,
.page-resources .news-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-resources .intro-section .content-image,
.page-resources .responsible-gambling-section .content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-resources .guides-section {
    padding: 60px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-resources .guides-section .section-title {
    color: var(--primary-color);
}

.page-resources .guides-section .section-title::after {
    background-color: var(--text-light);
}

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

.page-resources .guide-card {
    background-color: #3a3a3a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-resources .guide-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-resources .guide-card .card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-color);
}

.page-resources .guide-card .card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    padding: 20px 20px 10px 20px;
    margin: 0;
}

.page-resources .guide-card .card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources .guide-card .card-title a:hover {
    color: var(--accent-color);
}

.page-resources .guide-card .card-description {
    font-size: 1em;
    color: #cccccc;
    padding: 0 20px 20px 20px;
    flex-grow: 1;
}

.page-resources .guide-card .button-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin: 0 20px 20px 20px;
    transition: background-color 0.3s ease;
    text-align: center;
}

.page-resources .guide-card .button-primary:hover {
    background-color: var(--accent-color);
}

.page-resources .strategy-section {
    background-color: var(--bg-light);
}

.page-resources .strategy-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources .strategy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.page-resources .strategy-item .strategy-image {
    width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 30px;
    flex-shrink: 0;
    border: 2px solid var(--primary-color);
}

.page-resources .strategy-item h3 {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-resources .strategy-item h3 a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources .strategy-item h3 a:hover {
    color: var(--primary-color);
}

.page-resources .strategy-item p {
    font-size: 1.1em;
    color: var(--text-dark);
    text-align: justify;
}

.page-resources .promo-section ul,
.page-resources .responsible-gambling-section ul {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-resources .promo-section ul li,
.page-resources .responsible-gambling-section ul li {
    background-color: #ffffff;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    border-left: 5px solid var(--primary-color);
}

.page-resources .news-list {
    margin-top: 40px;
}

.page-resources .news-item {
    background-color: #ffffff;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources .news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.page-resources .news-item h3 {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-resources .news-item h3 a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources .news-item h3 a:hover {
    color: var(--primary-color);
}

.page-resources .news-item p {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.page-resources .news-item .news-date {
    font-size: 0.9em;
    color: #777777;
    font-style: italic;
}

.page-resources .faq-section {
    padding: 60px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-resources .faq-section .section-title {
    color: var(--primary-color);
}

.page-resources .faq-section .section-title::after {
    background-color: var(--text-light);
}

.page-resources .faq-section p {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #cccccc;
}

.page-resources .faq-item {
    margin-bottom: 15px;
}

.page-resources .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #3a3a3a;
    border: 1px solid #555555;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.page-resources .faq-question:hover {
    background: #4a4a4a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources .faq-question h3 {
    margin: 0;
    font-size: 1.3em;
    color: var(--primary-color);
}

.page-resources .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-resources .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--accent-color);
}

.page-resources .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #2e2e2e;
    border-radius: 0 0 8px 8px;
    color: #cccccc;
}

.page-resources .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px 25px;
    border: 1px solid #555555;
    border-top: none;
}

.page-resources .faq-item.active .faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources .hero-title {
        font-size: 2.8em;
    }
    .page-resources .section-title {
        font-size: 2em;
    }
    .page-resources .strategy-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-resources .strategy-item .strategy-image {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
        max-width: 400px;
        height: auto;
    }
}

@media (max-width: 768px) {
    .page-resources .hero-section {
        padding: 60px 15px;
    }
    .page-resources .hero-title {
        font-size: 2.2em;
    }
    .page-resources .hero-description {
        font-size: 1em;
    }
    .page-resources .section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-resources .intro-section,
    .page-resources .guides-section,
    .page-resources .strategy-section,
    .page-resources .promo-section,
    .page-resources .responsible-gambling-section,
    .page-resources .news-section,
    .page-resources .faq-section {
        padding: 40px 0;
    }
    .page-resources .guide-card-grid {
        grid-template-columns: 1fr;
    }
    .page-resources .guide-card .card-image {
        height: 180px;
    }
    .page-resources .guide-card .card-title {
        font-size: 1.3em;
    }
    .page-resources .strategy-item h3 {
        font-size: 1.5em;
    }
    .page-resources .news-item h3 {
        font-size: 1.4em;
    }
    .page-resources .faq-question {
        padding: 15px 20px;
    }
    .page-resources .faq-question h3 {
        font-size: 1.1em;
    }
    .page-resources .faq-toggle {
        font-size: 20px;
    }
    .page-resources .faq-answer {
        padding: 0 20px;
    }
    .page-resources .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-resources .hero-title {
        font-size: 1.8em;
    }
    .page-resources .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources .section-title {
        font-size: 1.5em;
    }
    .page-resources .intro-section p,
    .page-resources .promo-section p,
    .page-resources .responsible-gambling-section p,
    .page-resources .news-section p,
    .page-resources .strategy-item p {
        font-size: 0.95em;
    }
}