.page-resources {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0;
    line-height: 1.6;
    background-color: #1A202C;
}

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

.page-resources-title {
    font-size: 3.2em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-subtitle {
    font-size: 1.3em;
    color: #B0B0B0;
    text-align: center;
    margin-bottom: 40px;
}

.page-resources-heading {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-resources-subheading {
    font-size: 1.8em;
    color: #FFFFFF;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-resources-cta-button {
    display: block;
    width: fit-content;
    margin: 30px auto 0;
    padding: 15px 40px;
    background-color: #FFD700;
    color: #1A202C;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.page-resources-cta-button:hover {
    background-color: #E6C200;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
}

.page-resources-cta-button.small {
    padding: 10px 25px;
    font-size: 1em;
    margin-top: 20px;
}

/* Hero Banner */
.page-resources .hero-banner {
    background: linear-gradient(135deg, #1A202C 0%, #3A404C 100%);
    padding: 80px 20px 60px;
    text-align: center;
    border-bottom: 3px solid #FFD700;
}

/* Section Intro */
.page-resources .section-intro {
    padding: 60px 0;
    background-color: #282C34;
}

.page-resources .section-intro .page-resources-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-resources .section-intro .page-resources-text-content {
    flex: 1;
}

.page-resources .section-intro .page-resources-text-content p {
    color: #C0C0C0;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-resources .section-intro .page-resources-image-container {
    flex: 1;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-resources .section-intro .page-resources-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

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

.page-resources .guide-steps {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-resources .guide-steps .page-resources-step {
    background-color: #282C34;
    border: 1px solid #3A404C;
    border-radius: 10px;
    padding: 30px;
    flex: 1;
    min-width: 280px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources .guide-steps .page-resources-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-resources .guide-steps .page-resources-step h3 {
    color: #FFD700;
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: left;
}

.page-resources .guide-steps .page-resources-step p {
    color: #C0C0C0;
    font-size: 1em;
}

.page-resources-text-link {
    color: #FFD700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-resources-text-link:hover {
    color: #E6C200;
}

.page-resources .note {
    background-color: #282C34;
    border: 1px solid #FFD700;
    border-radius: 10px;
    padding: 30px;
    margin-top: 50px;
    text-align: center;
}

.page-resources .note h3 {
    color: #FFD700;
    font-size: 1.6em;
    margin-bottom: 20px;
    text-align: center;
}

.page-resources .note ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.page-resources .note ul li {
    color: #C0C0C0;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    font-size: 1.05em;
}

.page-resources .note ul li::before {
    content: '✓';
    color: #FFD700;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Troubleshooting Section */
.page-resources .section-troubleshooting {
    padding: 60px 0;
    background-color: #282C34;
}

.page-resources .section-troubleshooting .page-resources-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-resources .section-troubleshooting .page-resources-content-wrapper.reverse {
    flex-direction: row-reverse;
}

.page-resources .section-troubleshooting .page-resources-text-content {
    flex: 2;
}

.page-resources .section-troubleshooting .page-resources-text-content p {
    color: #C0C0C0;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-resources .section-troubleshooting .page-resources-image-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-resources .section-troubleshooting .page-resources-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

/* Useful Resources Section */
.page-resources .section-useful-resources {
    padding: 60px 0;
    background-color: #1A202C;
}

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

.page-resources .resource-grid .page-resources-card {
    background-color: #282C34;
    border: 1px solid #3A404C;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-resources .resource-grid .page-resources-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-resources .resource-grid .page-resources-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #3A404C;
}

.page-resources .resource-grid .page-resources-card-title {
    font-size: 1.4em;
    color: #FFD700;
    padding: 15px 20px 10px;
    margin-top: 0;
    margin-bottom: 0;
}

.page-resources .resource-grid .page-resources-card-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources .resource-grid .page-resources-card-title a:hover {
    color: #E6C200;
}

.page-resources .resource-grid .page-resources-card-text {
    color: #C0C0C0;
    font-size: 0.95em;
    padding: 0 20px 15px;
    flex-grow: 1;
}

.page-resources .resource-grid .page-resources-card-button {
    display: inline-block;
    margin: 0 20px 20px;
    padding: 10px 15px;
    background-color: #FFD700;
    color: #1A202C;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.page-resources .resource-grid .page-resources-card-button:hover {
    background-color: #E6C200;
    transform: translateY(-2px);
}

/* Betting Tips Section */
.page-resources .section-betting-tips {
    padding: 60px 0;
    background-color: #282C34;
}

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

.page-resources .tips-grid .page-resources-tip-item {
    background-color: #1A202C;
    border: 1px solid #3A404C;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-resources .tips-grid .page-resources-tip-item h3 {
    color: #FFD700;
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: left;
}

.page-resources .tips-grid .page-resources-tip-item p {
    color: #C0C0C0;
    font-size: 1em;
}

/* FAQ Section */
.page-resources .section-faq {
    padding: 60px 0;
    background-color: #1A202C;
}

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

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #3A404C;
    border-radius: 8px;
    background-color: #282C34;
    overflow: hidden;
}

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

.faq-question:hover {
    background: #3A404C;
}

.faq-question h3 {
    color: #FFFFFF;
    font-size: 1.25em;
    margin: 0;
    flex-grow: 1;
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #FFD700;
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #1A202C;
    color: #C0C0C0;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px 25px;
}

.faq-item.active .faq-answer p {
    margin-bottom: 15px;
}

.page-resources-faq-button {
    display: inline-block;
    padding: 8px 20px;
    background-color: #FFD700;
    color: #1A202C;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-faq-button:hover {
    background-color: #E6C200;
    transform: translateY(-2px);
}

/* Latest News Section */
.page-resources .section-latest-news {
    padding: 60px 0;
    background-color: #282C34;
}

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

.page-resources .news-grid .page-resources-news-card {
    background-color: #1A202C;
    border: 1px solid #3A404C;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-resources .news-grid .page-resources-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-resources .news-grid .page-resources-news-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #3A404C;
}

.page-resources .news-grid .page-resources-news-title {
    font-size: 1.4em;
    color: #FFD700;
    padding: 15px 20px 10px;
    margin-top: 0;
    margin-bottom: 0;
}

.page-resources .news-grid .page-resources-news-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources .news-grid .page-resources-news-title a:hover {
    color: #E6C200;
}

.page-resources .news-grid .page-resources-news-excerpt {
    color: #C0C0C0;
    font-size: 0.95em;
    padding: 0 20px 15px;
    flex-grow: 1;
}

.page-resources .news-grid .page-resources-news-button {
    display: inline-block;
    margin: 0 20px 20px;
    padding: 10px 15px;
    background-color: #FFD700;
    color: #1A202C;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.page-resources .news-grid .page-resources-news-button:hover {
    background-color: #E6C200;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-title {
        font-size: 2.5em;
    }
    .page-resources-heading {
        font-size: 2em;
    }
    .page-resources .section-intro .page-resources-content-wrapper,
    .page-resources .section-troubleshooting .page-resources-content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-resources .section-intro .page-resources-image-container,
    .page-resources .section-troubleshooting .page-resources-image-container {
        order: -1; /* Image above text on mobile */
        margin-bottom: 30px;
    }
    .page-resources .guide-steps {
        flex-direction: column;
        align-items: center;
    }
    .page-resources .guide-steps .page-resources-step {
        width: 100%;
        max-width: 500px;
    }
    .page-resources .resource-grid, .page-resources .tips-grid, .page-resources .news-grid {
        grid-template-columns: 1fr;
    }
    .page-resources .resource-grid .page-resources-card, .page-resources .news-grid .page-resources-news-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-resources-title {
        font-size: 2em;
    }
    .page-resources-subtitle {
        font-size: 1.1em;
    }
    .page-resources-heading {
        font-size: 1.8em;
    }
    .page-resources-subheading {
        font-size: 1.4em;
    }
    .page-resources .hero-banner {
        padding: 60px 15px 40px;
    }
    .page-resources .section-intro, .page-resources .section-login-guide, .page-resources .section-troubleshooting, .page-resources .section-useful-resources, .page-resources .section-betting-tips, .page-resources .section-faq, .page-resources .section-latest-news {
        padding: 40px 0;
    }
    .page-resources .guide-steps .page-resources-step h3,
    .page-resources .tips-grid .page-resources-tip-item h3,
    .page-resources .resource-grid .page-resources-card-title,
    .page-resources .news-grid .page-resources-news-title {
        font-size: 1.2em;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-answer {
        padding: 15px 20px;
    }
}