/* style/resources-how-to-choose-99vz-games.css */

:root {
    --primary-color: #0A2239;
    --secondary-color: #E0B400;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa; /* A very light grey for contrast on light sections */
    --border-color: #e0e0e0;
}

.page-resources-how-to-choose-99vz-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark); /* Default text color for light body background */
    line-height: 1.6;
    background-color: var(--bg-light); /* Ensure a light background for the page content */
}

/* --- Hero Section --- */
.page-resources-how-to-choose-99vz-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background: var(--primary-color); /* Dark background for hero */
    color: var(--text-light); /* Light text on dark background */
}

.page-resources-how-to-choose-99vz-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure container takes full width up to max-width */
}

.page-resources-how-to-choose-99vz-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-resources-how-to-choose-99vz-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-resources-how-to-choose-99vz-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 15px; /* Add some padding for text on smaller screens */
    box-sizing: border-box;
}

.page-resources-how-to-choose-99vz-games__main-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--secondary-color); /* Use secondary color for main title for contrast */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Enhance readability */
}

.page-resources-how-to-choose-99vz-games__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-how-to-choose-99vz-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color); /* Dark text on bright button for contrast */
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-resources-how-to-choose-99vz-games__cta-button:hover {
    background: #FFD700; /* Slightly brighter gold on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-99vz-games__cta-button--secondary {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-resources-how-to-choose-99vz-games__cta-button--secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-resources-how-to-choose-99vz-games__cta-button--large {
    padding: 18px 50px;
    font-size: 1.3em;
}

/* --- Content Sections --- */
.page-resources-how-to-choose-99vz-games__content-section {
    padding: 80px 0;
}

.page-resources-how-to-choose-99vz-games__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-resources-how-to-choose-99vz-games__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-resources-how-to-choose-99vz-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-resources-how-to-choose-99vz-games__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
    color: inherit; /* Inherit color from section background */
}

.page-resources-how-to-choose-99vz-games__dark-bg .page-resources-how-to-choose-99vz-games__section-title {
    color: var(--secondary-color); /* Bright title on dark background */
}

.page-resources-how-to-choose-99vz-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 25px;
    text-align: justify;
}

/* --- Card Grid --- */
.page-resources-how-to-choose-99vz-games__card-grid,
.page-resources-how-to-choose-99vz-games__promo-grid,
.page-resources-how-to-choose-99vz-games__advice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-how-to-choose-99vz-games__card,
.page-resources-how-to-choose-99vz-games__promo-card,
.page-resources-how-to-choose-99vz-games__advice-card {
    background-color: #ffffff; /* Always use white background for cards for contrast */
    color: var(--text-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-how-to-choose-99vz-games__dark-bg .page-resources-how-to-choose-99vz-games__card,
.page-resources-how-to-choose-99vz-games__dark-bg .page-resources-how-to-choose-99vz-games__promo-card,
.page-resources-how-to-choose-99vz-games__dark-bg .page-resources-how-to-choose-99vz-games__advice-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-choose-99vz-games__card:hover,
.page-resources-how-to-choose-99vz-games__promo-card:hover,
.page-resources-how-to-choose-99vz-games__advice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.page-resources-how-to-choose-99vz-games__dark-bg .page-resources-how-to-choose-99vz-games__card:hover,
.page-resources-how-to-choose-99vz-games__dark-bg .page-resources-how-to-choose-99vz-games__promo-card:hover,
.page-resources-how-to-choose-99vz-games__dark-bg .page-resources-how-to-choose-99vz-games__advice-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}


.page-resources-how-to-choose-99vz-games__card-title,
.page-resources-how-to-choose-99vz-games__promo-title,
.page-resources-how-to-choose-99vz-games__advice-title {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-color); /* Dark title on light card */
}

.page-resources-how-to-choose-99vz-games__dark-bg .page-resources-how-to-choose-99vz-games__card-title,
.page-resources-how-to-choose-99vz-games__dark-bg .page-resources-how-to-choose-99vz-games__promo-title,
.page-resources-how-to-choose-99vz-games__dark-bg .page-resources-how-to-choose-99vz-games__advice-title {
    color: var(--secondary-color); /* Bright title on dark card */
}

.page-resources-how-to-choose-99vz-games__card-image,
.page-resources-how-to-choose-99vz-games__promo-image,
.page-resources-how-to-choose-99vz-games__advice-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    object-fit: cover;
    min-width: 200px; /* Ensure images in cards are not too small */
    min-height: 150px; /* Adjust height based on aspect ratio, ensuring > 200px in one dimension */
}

/* --- Feature List --- */
.page-resources-how-to-choose-99vz-games__feature-list,
.page-resources-how-to-choose-99vz-games__bullet-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-resources-how-to-choose-99vz-games__feature-item,
.page-resources-how-to-choose-99vz-games__list-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
    border-left: 5px solid var(--secondary-color);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.page-resources-how-to-choose-99vz-games__light-bg .page-resources-how-to-choose-99vz-games__feature-item,
.page-resources-how-to-choose-99vz-games__light-bg .page-resources-how-to-choose-99vz-games__list-item {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}


.page-resources-how-to-choose-99vz-games__feature-item:hover,
.page-resources-how-to-choose-99vz-games__list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.page-resources-how-to-choose-99vz-games__light-bg .page-resources-how-to-choose-99vz-games__feature-item:hover,
.page-resources-how-to-choose-99vz-games__light-bg .page-resources-how-to-choose-99vz-games__list-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}


.page-resources-how-to-choose-99vz-games__feature-title,
.page-resources-how-to-choose-99vz-games__list-title {
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--secondary-color); /* Bright title on dark list item */
}
.page-resources-how-to-choose-99vz-games__light-bg .page-resources-how-to-choose-99vz-games__feature-title,
.page-resources-how-to-choose-99vz-games__light-bg .page-resources-how-to-choose-99vz-games__list-title {
    color: var(--primary-color); /* Dark title on light list item */
}

/* --- CTA Section --- */
.page-resources-how-to-choose-99vz-games__cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), #0A2239); /* Dark background with subtle gradient */
    color: var(--text-light);
    text-align: center;
}

.page-resources-how-to-choose-99vz-games__text-center {
    text-align: center;
}

/* --- Button Group --- */
.page-resources-how-to-choose-99vz-games__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}


/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-resources-how-to-choose-99vz-games__main-title {
        font-size: 2.5em;
    }
    .page-resources-how-to-choose-99vz-games__section-title {
        font-size: 2em;
    }
    .page-resources-how-to-choose-99vz-games__paragraph,
    .page-resources-how-to-choose-99vz-games__intro-text {
        font-size: 1em;
    }
    .page-resources-how-to-choose-99vz-games__card-grid,
    .page-resources-how-to-choose-99vz-games__promo-grid,
    .page-resources-how-to-choose-99vz-games__advice-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-resources-how-to-choose-99vz-games__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-how-to-choose-99vz-games__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-resources-how-to-choose-99vz-games__intro-text {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    .page-resources-how-to-choose-99vz-games__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-resources-how-to-choose-99vz-games__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    .page-resources-how-to-choose-99vz-games__content-section {
        padding: 40px 0;
    }
    .page-resources-how-to-choose-99vz-games__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-resources-how-to-choose-99vz-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-resources-how-to-choose-99vz-games__paragraph {
        font-size: 1em;
    }

    .page-resources-how-to-choose-99vz-games__card-grid,
    .page-resources-how-to-choose-99vz-games__promo-grid,
    .page-resources-how-to-choose-99vz-games__advice-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Mobile image adaptation */
    .page-resources-how-to-choose-99vz-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Ensure all image containers are responsive */
    .page-resources-how-to-choose-99vz-games__hero-image,
    .page-resources-how-to-choose-99vz-games__card,
    .page-resources-how-to-choose-99vz-games__promo-card,
    .page-resources-how-to-choose-99vz-games__advice-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Button group for mobile */
    .page-resources-how-to-choose-99vz-games__button-group {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Add padding to the button group itself */
    }
}

/* Ensure content area images meet min size requirements */
.page-resources-how-to-choose-99vz-games img:not(.shared-logo):not(.shared-icon) {
    min-width: 200px;
    min-height: 200px;
}