:root {
    --dark-bg-1: #1a1a1a;
    --dark-bg-2: #2a2a2a;
    --dark-bg-3: #3a3a3a;
    --text-light: #f0f0f0;
    --text-dark: #1a1a1a;
    --brand-gold: #FFD700;
    --brand-blue: #00BFFF;
    --brand-orange-red: #FF4500;
}

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

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

.page-resources__text-center {
    text-align: center;
}

.page-resources__highlight-text {
    color: var(--brand-gold);
    font-weight: bold;
}

/* Hero Section */
.page-resources__hero-section {
    position: relative;
    padding: var(--header-offset, 120px) 20px 60px;
    background: linear-gradient(135deg, var(--brand-blue), #007ACC);
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}
.page-resources__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}
.page-resources__hero-title {
    font-size: 3.5em;
    color: var(--brand-gold);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}
.page-resources__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.page-resources__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
}

/* Buttons */
.page-resources__btn-primary,
.page-resources__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    margin: 10px;
}
.page-resources__btn-primary {
    background-color: var(--brand-gold);
    color: var(--text-dark);
    border: 2px solid var(--brand-gold);
}
.page-resources__btn-primary:hover {
    background-color: #FFC700;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}
.page-resources__btn-secondary {
    background-color: transparent;
    color: var(--brand-gold);
    border: 2px solid var(--brand-gold);
}
.page-resources__btn-secondary:hover {
    background-color: var(--brand-gold);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

/* Section common styles */
.page-resources__section {
    padding: 60px 20px;
    margin-bottom: 40px;
    background-color: var(--dark-bg-2);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}
.page-resources__section-title {
    font-size: 2.5em;
    color: var(--brand-gold);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.page-resources__content-wrapper {
    display: flex;
    gap: 30px;
    align-items: center;
}

.page-resources__text-block {
    flex: 1;
}

.page-resources__content-image {
    flex-shrink: 0;
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.page-resources__center-image {
    display: block;
    margin: 30px auto;
}

/* Download Guide */
.page-resources__guide-step {
    background-color: var(--dark-bg-3);
    border-left: 5px solid var(--brand-gold);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.page-resources__guide-step-title {
    color: var(--brand-gold);
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 15px;
}
.page-resources__guide-step ul {
    list-style: disc inside;
    padding-left: 20px;
}
.page-resources__guide-step li {
    margin-bottom: 8px;
}

/* Video Section */
.page-resources__video-section {
    position: relative;
    text-align: center;
}
.page-resources__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 30px auto;
    background-color: #000;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}
.page-resources__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.page-resources__video-caption {
    margin-top: 20px;
    font-style: italic;
    color: rgba(240, 240, 240, 0.8);
}

/* Feature cards */
.page-resources__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.page-resources__feature-card {
    background-color: var(--dark-bg-3);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.page-resources__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.page-resources__feature-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}
.page-resources__feature-card-title {
    font-size: 1.5em;
    color: var(--brand-gold);
    margin-bottom: 15px;
}
.page-resources__feature-card-description {
    font-size: 1em;
    line-height: 1.5;
}
.page-resources__feature-card-description a {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: bold;
}
.page-resources__feature-card-description a:hover {
    text-decoration: underline;
}

/* Game Tips */
.page-resources__tip-block {
    background-color: var(--dark-bg-3);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.page-resources__tip-title {
    color: var(--brand-gold);
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 15px;
}
.page-resources__tip-block ul {
    list-style: disc inside;
    padding-left: 20px;
}
.page-resources__tip-block li {
    margin-bottom: 8px;
}
.page-resources__tip-block a {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: bold;
}
.page-resources__tip-block a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-resources__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}
.page-resources__faq-item {
    background-color: var(--dark-bg-3);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.page-resources__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--brand-gold);
    cursor: pointer;
    background-color: var(--dark-bg-2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    transition: background-color 0.3s ease;
}
.page-resources__faq-question:hover {
    background-color: rgba(255, 215, 0, 0.1);
}
.page-resources__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}
.page-resources__faq-item.active .page-resources__faq-toggle {
    transform: rotate(45deg);
}
.page-resources__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
}
.page-resources__faq-item.active .page-resources__faq-answer {
    max-height: 1000px !important;
    padding: 20px;
}

/* Useful links */
.page-resources__links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.page-resources__link-item {
    background-color: var(--dark-bg-3);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
.page-resources__link-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.page-resources__link-item a {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
}
.page-resources__link-item a:hover {
    text-decoration: underline;
    color: #00A3E0;
}

/* Final CTA */
.page-resources__cta-image {
    margin-top: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-resources__hero-title {
        font-size: 3em;
    }
    .page-resources__section-title {
        font-size: 2em;
    }
    .page-resources__hero-description {
        font-size: 1.1em;
    }
    .page-resources__content-wrapper {
        flex-direction: column;
    }
    .page-resources__content-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-resources {
        font-size: 0.95em;
    }
    .page-resources__hero-section {
        padding: var(--header-offset, 120px) 15px 40px !important;
        min-height: 400px;
    }
    .page-resources__hero-title {
        font-size: 2.5em !important;
    }
    .page-resources__hero-description {
        font-size: 1em !important;
    }
    .page-resources__section {
        padding: 40px 15px !important;
        margin-bottom: 30px;
    }
    .page-resources__section-title {
        font-size: 1.8em !important;
        margin-bottom: 30px;
    }
    .page-resources__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-resources__feature-card-image {
        height: 200px;
    }
    .page-resources__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-resources__faq-answer {
        padding: 0 15px;
    }
    .page-resources__faq-item.active .page-resources__faq-answer {
        padding: 15px;
    }
    .page-resources__links-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .page-resources__btn-primary,
    .page-resources__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 0.95em;
        margin: 5px 0 !important;
    }
    .page-resources__cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* Images and Video responsive rules */
    .page-resources img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources__section,
    .page-resources__card,
    .page-resources__container,
    .page-resources__feature-card,
    .page-resources__link-item,
    .page-resources__faq-item,
    .page-resources__guide-step,
    .page-resources__tip-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources__video-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-resources__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-resources__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Ensure content area img minimum size constraint is met */
    .page-resources__content-image {
        min-width: 200px;
        min-height: 200px;
    }
}

/* Ensure content area images meet minimum size requirement for non-mobile */
.page-resources__content-image:not(.page-resources__hero-image) {
    min-width: 200px;
    min-height: 200px;
}