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

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

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

.page-resources h1, .page-resources h2, .page-resources h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources h1 {
    font-size: 2.8em;
    text-align: center;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources h2 {
    font-size: 2.2em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
    position: relative;
}

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

.page-resources h3 {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 10px;
}

.page-resources p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

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

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

/* Main Banner Section */
.page-resources .main-banner {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #a30000 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.page-resources .main-banner .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.page-resources .banner-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    object-fit: cover;
}

.page-resources .banner-content p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 20px auto 30px auto;
    color: var(--text-light);
}

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

.page-resources .cta-button:hover {
    background-color: #FFC107;
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources .secondary-button {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.page-resources .secondary-button:hover {
    background-color: #a30000;
    color: var(--text-light);
}

/* Introduction Section */
.page-resources .introduction-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

/* Guide Section */
.page-resources .guide-section {
    padding: 60px 0;
    background-color: #f0f0f0;
}

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

.page-resources .guide-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources .guide-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-resources .guide-item h3 {
    font-size: 1.4em;
    margin-top: 0;
    min-height: 60px;
}

.page-resources .guide-link {
    color: var(--secondary-color);
}

.page-resources .guide-link:hover {
    color: var(--primary-color);
}

.page-resources .read-more-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: bold;
}

.page-resources .read-more-link:hover {
    color: var(--secondary-color);
}

/* Strategy Section */
.page-resources .strategy-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

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

.page-resources .card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-resources .card h3 {
    font-size: 1.3em;
    margin-top: 0;
    min-height: 50px;
}

.page-resources .card-link {
    color: var(--secondary-color);
}

.page-resources .card-link:hover {
    color: var(--primary-color);
}

/* Other Resources Section */
.page-resources .other-resources-section {
    padding: 60px 0;
    background-color: #f0f0f0;
}

.page-resources .resource-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-resources .resource-list li {
    display: flex;
    align-items: flex-start;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources .resource-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.page-resources .list-icon {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 20px;
    flex-shrink: 0;
}

.page-resources .resource-list li a {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 5px;
    display: block;
}

.page-resources .resource-list li a:hover {
    color: var(--primary-color);
}

.page-resources .resource-list li p {
    font-size: 1em;
    margin-bottom: 0;
    color: var(--text-dark);
}

/* FAQ Section */
.page-resources .faq-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

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

.page-resources .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
}

.page-resources .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-resources .faq-question:hover {
    background: #f5f5f5;
}

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

.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(--secondary-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: #f9f9f9;
}

.page-resources .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

.page-resources .faq-answer p {
    margin-bottom: 0;
    color: var(--text-dark);
}

/* Responsible Gambling Section */
.page-resources .responsible-gambling-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.page-resources .responsible-gambling-section h2 {
    color: var(--primary-color);
}

.page-resources .responsible-gambling-section p {
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources h1 {
        font-size: 2.4em;
    }
    .page-resources h2 {
        font-size: 1.8em;
    }
    .page-resources h3 {
        font-size: 1.2em;
    }
    .page-resources .banner-image {
        max-width: 80%;
    }
    .page-resources .guide-item h3, .page-resources .card h3 {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .page-resources .main-banner {
        padding: 60px 0;
    }
    .page-resources h1 {
        font-size: 2em;
    }
    .page-resources h2 {
        font-size: 1.6em;
    }
    .page-resources p {
        font-size: 1em;
    }
    .page-resources .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources .guide-grid, .page-resources .strategy-cards {
        grid-template-columns: 1fr;
    }
    .page-resources .resource-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-resources .list-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .page-resources .faq-question {
        padding: 15px 20px;
    }
    .page-resources .faq-question h3 {
        font-size: 1.1em;
    }
    .page-resources .faq-answer {
        padding: 0 20px;
    }
    .page-resources .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-resources h1 {
        font-size: 1.6em;
    }
    .page-resources h2 {
        font-size: 1.4em;
    }
    .page-resources .banner-image {
        max-width: 90%;
    }
}