/* style/resources-how-to-choose-a-cash-out-game.css */

:root {
    --primary-color: #007bff;
    --secondary-color: #ffc107;
    --dark-bg-color: #0a0a0a;
    --light-text-color: #ffffff;
    --dark-text-color: #333333;
    --card-bg-color: #ffffff;
    --border-color: #e0e0e0;
}

.page-resources-how-to-choose-a-cash-out-game {
    color: var(--light-text-color); /* Default text color for dark body background */
    background-color: var(--dark-bg-color); /* Ensure consistency if not inherited */
    font-family: 'Arial', sans-serif;
}

/* Fixed header padding */
.page-resources-how-to-choose-a-cash-out-game__intro-section {
    padding-top: 180px; /* Desktop: Adjust based on header height */
    padding-bottom: 60px;
    position: relative;
    z-index: 1;
}

.page-resources-how-to-choose-a-cash-out-game__dark-bg {
    background-color: var(--dark-bg-color);
    color: var(--light-text-color);
}

.page-resources-how-to-choose-a-cash-out-game__light-bg {
    background-color: var(--card-bg-color);
    color: var(--dark-text-color);
}

.page-resources-how-to-choose-a-cash-out-game__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-how-to-choose-a-cash-out-game__main-title,
.page-resources-how-to-choose-a-cash-out-game__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
    color: var(--light-text-color); /* For dark sections */
}

.page-resources-how-to-choose-a-cash-out-game__intro-text,
.page-resources-how-to-choose-a-cash-out-game__section-description {
    font-size: 18px;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-how-to-choose-a-cash-out-game__intro-text strong {
    color: var(--secondary-color);
}

.page-resources-how-to-choose-a-cash-out-game__cta-button {
    display: block;
    width: fit-content;
    margin: 0 auto 20px auto;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-a-cash-out-game__btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: var(--light-text-color);
    border: none;
}

.page-resources-how-to-choose-a-cash-out-game__btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-choose-a-cash-out-game__btn-secondary {
    background: var(--card-bg-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.page-resources-how-to-choose-a-cash-out-game__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--light-text-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-how-to-choose-a-cash-out-game__criteria-section {
    padding: 60px 0;
}

.page-resources-how-to-choose-a-cash-out-game__criteria-section .page-resources-how-to-choose-a-cash-out-game__section-title {
    color: var(--dark-text-color); /* For light sections */
}

.page-resources-how-to-choose-a-cash-out-game__criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-how-to-choose-a-cash-out-game__criterion-card {
    background: var(--card-bg-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--dark-text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-resources-how-to-choose-a-cash-out-game__criterion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-how-to-choose-a-cash-out-game__card-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-resources-how-to-choose-a-cash-out-game__card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources-how-to-choose-a-cash-out-game__card-text {
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
    color: var(--dark-text-color);
}

.page-resources-how-to-choose-a-cash-out-game__card-text strong {
    color: var(--primary-color);
}

.page-resources-how-to-choose-a-cash-out-game__suggestions-section {
    padding: 60px 0;
}

.page-resources-how-to-choose-a-cash-out-game__game-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.page-resources-how-to-choose-a-cash-out-game__game-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-resources-how-to-choose-a-cash-out-game__game-item:hover {
    transform: translateY(-5px);
}

.page-resources-how-to-choose-a-cash-out-game__game-name-suggest {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--light-text-color);
}

.page-resources-how-to-choose-a-cash-out-game__game-link {
    color: var(--light-text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-how-to-choose-a-cash-out-game__game-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-resources-how-to-choose-a-cash-out-game__game-description-suggest {
    font-size: 15px;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 20px;
}

.page-resources-how-to-choose-a-cash-out-game__tips-section {
    padding: 60px 0;
}

.page-resources-how-to-choose-a-cash-out-game__tips-section .page-resources-how-to-choose-a-cash-out-game__section-title {
    color: var(--dark-text-color);
}

.page-resources-how-to-choose-a-cash-out-game__tips-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.page-resources-how-to-choose-a-cash-out-game__tip-item {
    background: var(--card-bg-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    color: var(--dark-text-color);
}

.page-resources-how-to-choose-a-cash-out-game__tip-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources-how-to-choose-a-cash-out-game__tip-text {
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
    color: var(--dark-text-color);
}

.page-resources-how-to-choose-a-cash-out-game__tip-text strong,
.page-resources-how-to-choose-a-cash-out-game__tip-text a {
    color: var(--primary-color);
}

.page-resources-how-to-choose-a-cash-out-game__faq-section {
    padding: 60px 0;
}

.page-resources-how-to-choose-a-cash-out-game__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-how-to-choose-a-cash-out-game__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-resources-how-to-choose-a-cash-out-game__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-resources-how-to-choose-a-cash-out-game__faq-item.active .page-resources-how-to-choose-a-cash-out-game__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 5px 5px;
    color: var(--light-text-color);
}

.page-resources-how-to-choose-a-cash-out-game__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--light-text-color);
}

.page-resources-how-to-choose-a-cash-out-game__faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.page-resources-how-to-choose-a-cash-out-game__faq-question:active {
    background: rgba(255, 255, 255, 0.15);
}

.page-resources-how-to-choose-a-cash-out-game__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--light-text-color);
}

.page-resources-how-to-choose-a-cash-out-game__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #ccc;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-resources-how-to-choose-a-cash-out-game__faq-item.active .page-resources-how-to-choose-a-cash-out-game__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg); /* Change + to X or - */
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-how-to-choose-a-cash-out-game__main-title {
        font-size: 30px;
    }
    .page-resources-how-to-choose-a-cash-out-game__section-title {
        font-size: 28px;
    }
    .page-resources-how-to-choose-a-cash-out-game__intro-text,
    .page-resources-how-to-choose-a-cash-out-game__section-description {
        font-size: 16px;
    }
    .page-resources-how-to-choose-a-cash-out-game__card-title,
    .page-resources-how-to-choose-a-cash-out-game__tip-title {
        font-size: 20px;
    }
    .page-resources-how-to-choose-a-cash-out-game__card-text,
    .page-resources-how-to-choose-a-cash-out-game__tip-text {
        font-size: 15px;
    }
    .page-resources-how-to-choose-a-cash-out-game__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-resources-how-to-choose-a-cash-out-game__game-name-suggest {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .page-resources-how-to-choose-a-cash-out-game__intro-section {
        padding-top: 160px !important; /* Mobile: Adjust based on mobile header height */
        padding-bottom: 40px;
    }
    .page-resources-how-to-choose-a-cash-out-game__container {
        padding: 0 15px;
    }
    .page-resources-how-to-choose-a-cash-out-game__main-title {
        font-size: 26px;
        margin-bottom: 20px;
    }
    .page-resources-how-to-choose-a-cash-out-game__section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .page-resources-how-to-choose-a-cash-out-game__intro-text,
    .page-resources-how-to-choose-a-cash-out-game__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .page-resources-how-to-choose-a-cash-out-game__criteria-section,
    .page-resources-how-to-choose-a-cash-out-game__suggestions-section,
    .page-resources-how-to-choose-a-cash-out-game__tips-section,
    .page-resources-how-to-choose-a-cash-out-game__faq-section {
        padding: 40px 0;
    }
    .page-resources-how-to-choose-a-cash-out-game__criteria-grid,
    .page-resources-how-to-choose-a-cash-out-game__game-list,
    .page-resources-how-to-choose-a-cash-out-game__tips-list {
        gap: 20px;
    }
    .page-resources-how-to-choose-a-cash-out-game__criterion-card,
    .page-resources-how-to-choose-a-cash-out-game__tip-item {
        padding: 20px;
    }
    .page-resources-how-to-choose-a-cash-out-game__card-image {
        min-width: 150px;
        min-height: 150px;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-resources-how-to-choose-a-cash-out-game__card-title,
    .page-resources-how-to-choose-a-cash-out-game__tip-title {
        font-size: 18px;
    }
    .page-resources-how-to-choose-a-cash-out-game__card-text,
    .page-resources-how-to-choose-a-cash-out-game__tip-text {
        font-size: 14px;
    }
    .page-resources-how-to-choose-a-cash-out-game__game-name-suggest {
        font-size: 18px;
    }
    .page-resources-how-to-choose-a-cash-out-game__game-description-suggest {
        font-size: 13px;
    }
    .page-resources-how-to-choose-a-cash-out-game__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-resources-how-to-choose-a-cash-out-game__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-resources-how-to-choose-a-cash-out-game__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-resources-how-to-choose-a-cash-out-game__faq-answer {
        padding: 0 15px;
    }
    .page-resources-how-to-choose-a-cash-out-game__faq-item.active .page-resources-how-to-choose-a-cash-out-game__faq-answer {
        padding: 15px !important;
    }
    .page-resources-how-to-choose-a-cash-out-game img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-resources-how-to-choose-a-cash-out-game__section,
    .page-resources-how-to-choose-a-cash-out-game__card,
    .page-resources-how-to-choose-a-cash-out-game__container,
    .page-resources-how-to-choose-a-cash-out-game__criterion-card,
    .page-resources-how-to-choose-a-cash-out-game__tip-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}