/* style/resources-2024-online-gaming-trends.css */

.page-resources-2024-online-gaming-trends {
    color: #ffffff; /* Default text color for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px);
}

.page-resources-2024-online-gaming-trends__hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 40px;
    background: linear-gradient(90deg, #017439, #005f2f);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    gap: 40px;
}

.page-resources-2024-online-gaming-trends__hero-content {
    max-width: 600px;
    z-index: 1;
}

.page-resources-2024-online-gaming-trends__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-resources-2024-online-gaming-trends__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-resources-2024-online-gaming-trends__hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-resources-2024-online-gaming-trends__hero-image-wrapper {
    flex-shrink: 0;
    max-width: 50%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-2024-online-gaming-trends__hero-image {
    display: block;
    width: 100%;
    height: auto;
}

.page-resources-2024-online-gaming-trends__section {
    padding: 60px 0;
}

.page-resources-2024-online-gaming-trends__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-2024-online-gaming-trends__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-2024-online-gaming-trends__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #017439;
    border-radius: 2px;
}

.page-resources-2024-online-gaming-trends__section-title--white {
    color: #ffffff;
}

.page-resources-2024-online-gaming-trends__section-title--white::after {
    background-color: #ffffff;
}

.page-resources-2024-online-gaming-trends__text-block {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    color: #ffffff;
}

.page-resources-2024-online-gaming-trends__sub-title {
    font-size: 1.8em;
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-2024-online-gaming-trends__list {
    list-style: disc;
    margin-left: 25px;
    padding-left: 0;
    color: #f0f0f0;
}

.page-resources-2024-online-gaming-trends__list li {
    margin-bottom: 10px;
}

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

.page-resources-2024-online-gaming-trends__card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    text-align: center;
    color: #333333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-2024-online-gaming-trends__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.page-resources-2024-online-gaming-trends__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.page-resources-2024-online-gaming-trends__card-title {
    font-size: 1.5em;
    color: #017439;
    margin: 20px 15px 10px;
}

.page-resources-2024-online-gaming-trends__card p {
    font-size: 1em;
    padding: 0 20px 20px;
}

.page-resources-2024-online-gaming-trends__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-resources-2024-online-gaming-trends__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-resources-2024-online-gaming-trends__faq-section {
    background: #1a1a1a;
    padding: 60px 0;
}

.page-resources-2024-online-gaming-trends__faq-list {
    margin-top: 40px;
}

.page-resources-2024-online-gaming-trends__faq-item {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    transition: background 0.3s ease;
}

.page-resources-2024-online-gaming-trends__faq-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.page-resources-2024-online-gaming-trends__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    color: #ffffff;
    font-size: 1.1em;
}

.page-resources-2024-online-gaming-trends__faq-title {
    margin: 0;
    font-size: 1.1em;
    color: #ffffff;
}

.page-resources-2024-online-gaming-trends__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-2024-online-gaming-trends__faq-item.active .page-resources-2024-online-gaming-trends__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-2024-online-gaming-trends__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-resources-2024-online-gaming-trends__faq-item.active .page-resources-2024-online-gaming-trends__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 20px 20px;
}

.page-resources-2024-online-gaming-trends__cta-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    background: #017439;
    color: #ffffff;
    gap: 40px;
}

.page-resources-2024-online-gaming-trends__cta-content {
    max-width: 600px;
    text-align: center;
}

.page-resources-2024-online-gaming-trends__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-resources-2024-online-gaming-trends__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-resources-2024-online-gaming-trends__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.page-resources-2024-online-gaming-trends__cta-image-wrapper {
    flex-shrink: 0;
    max-width: 40%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-2024-online-gaming-trends__cta-image {
    display: block;
    width: 100%;
    height: auto;
}

/* Button Styles */
.page-resources-2024-online-gaming-trends__btn-primary,
.page-resources-2024-online-gaming-trends__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-resources-2024-online-gaming-trends__btn-primary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-resources-2024-online-gaming-trends__btn-primary:hover {
    background-color: #005f2f;
    transform: translateY(-3px);
}

.page-resources-2024-online-gaming-trends__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-resources-2024-online-gaming-trends__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
    transform: translateY(-3px);
}

/* Specific button colors for Register/Login */
.page-resources-2024-online-gaming-trends__btn-register {
    background-color: #C30808;
    color: #FFFF00;
    border-color: #C30808;
}

.page-resources-2024-online-gaming-trends__btn-register:hover {
    background-color: #9e0606;
}

.page-resources-2024-online-gaming-trends__btn-login {
    background-color: #C30808;
    color: #FFFF00;
    border-color: #C30808;
}

.page-resources-2024-online-gaming-trends__btn-login:hover {
    background-color: #9e0606;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-2024-online-gaming-trends__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .page-resources-2024-online-gaming-trends__hero-content,
    .page-resources-2024-online-gaming-trends__hero-image-wrapper {
        max-width: 100%;
    }

    .page-resources-2024-online-gaming-trends__hero-title {
        font-size: 2.5em;
    }

    .page-resources-2024-online-gaming-trends__cta-section {
        flex-direction: column;
        padding: 60px 20px;
    }

    .page-resources-2024-online-gaming-trends__cta-content,
    .page-resources-2024-online-gaming-trends__cta-image-wrapper {
        max-width: 100%;
    }

    .page-resources-2024-online-gaming-trends__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-resources-2024-online-gaming-trends {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-resources-2024-online-gaming-trends__hero-title {
        font-size: 2em;
    }

    .page-resources-2024-online-gaming-trends__section-title {
        font-size: 2em;
    }

    .page-resources-2024-online-gaming-trends__sub-title {
        font-size: 1.5em;
    }

    .page-resources-2024-online-gaming-trends__grid {
        grid-template-columns: 1fr;
    }

    .page-resources-2024-online-gaming-trends__card {
        padding-bottom: 20px;
    }

    /* Mobile image responsive */
    .page-resources-2024-online-gaming-trends img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-resources-2024-online-gaming-trends__hero-image-wrapper,
    .page-resources-2024-online-gaming-trends__cta-image-wrapper,
    .page-resources-2024-online-gaming-trends__card-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Mobile button responsive */
    .page-resources-2024-online-gaming-trends__btn-primary,
    .page-resources-2024-online-gaming-trends__btn-secondary,
    .page-resources-2024-online-gaming-trends a[class*="button"],
    .page-resources-2024-online-gaming-trends a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-resources-2024-online-gaming-trends__hero-buttons,
    .page-resources-2024-online-gaming-trends__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important;
        gap: 10px;
    }

    .page-resources-2024-online-gaming-trends__content-area,
    .page-resources-2024-online-gaming-trends__hero-content,
    .page-resources-2024-online-gaming-trends__cta-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-2024-online-gaming-trends__faq-item.active .page-resources-2024-online-gaming-trends__faq-answer {
        padding: 15px 15px 20px !important;
    }
}

/* Ensure images don't use filter property */
.page-resources-2024-online-gaming-trends img {
    filter: none; /* Explicitly reset to ensure no filters are applied */
}