/* style/resources-how-to-choose-reputable-game-platform.css */
:root {
    --primary-color: #007BFF;
    --secondary-color: #28A745;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-color-dark: #000;
    --background-color-light: #f1f3f5;
    --card-background-light: #ffffff;
    --border-color: #e0e0e0;
}

.page-resources-how-to-choose-reputable-game-platform {
    color: var(--text-color-light); /* Body background is dark, so default text is light */
    background-color: var(--background-color-dark);
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
}

.page-resources-how-to-choose-reputable-game-platform__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-resources-how-to-choose-reputable-game-platform__page-header-section {
    position: relative;
    padding: 60px 0;
    padding-top: 180px; /* Desktop padding for fixed header */
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-color-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
}

.page-resources-how-to-choose-reputable-game-platform__header-image {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto 30px auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-choose-reputable-game-platform__main-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-color-light);
    line-height: 1.2;
}

.page-resources-how-to-choose-reputable-game-platform__main-title a,
.page-resources-how-to-choose-reputable-game-platform__intro-text a {
    color: #ffd700; /* Highlighted link color */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-how-to-choose-reputable-game-platform__main-title a:hover,
.page-resources-how-to-choose-reputable-game-platform__intro-text a:hover {
    color: #ffe066;
    text-decoration: underline;
}

.page-resources-how-to-choose-reputable-game-platform__intro-text {
    font-size: 18px;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: var(--text-color-light);
}

.page-resources-how-to-choose-reputable-game-platform__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-color-light);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.page-resources-how-to-choose-reputable-game-platform__content-section {
    padding: 60px 0;
    background-color: var(--card-background-light); /* Light background for content cards */
    color: var(--text-color-dark);
}

.page-resources-how-to-choose-reputable-game-platform__content-section .page-resources-how-to-choose-reputable-game-platform__section-title {
    color: var(--text-color-dark);
}

.page-resources-how-to-choose-reputable-game-platform__feature-card {
    background: var(--card-background-light);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border-color);
}

.page-resources-how-to-choose-reputable-game-platform__feature-image {
    max-width: 100%;
    width: 600px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-resources-how-to-choose-reputable-game-platform__feature-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-resources-how-to-choose-reputable-game-platform__feature-card p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 10px;
    color: var(--text-color-dark);
}

.page-resources-how-to-choose-reputable-game-platform__feature-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-resources-how-to-choose-reputable-game-platform__feature-card a:hover {
    text-decoration: underline;
}

.page-resources-how-to-choose-reputable-game-platform__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--secondary-color), #218838);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-resources-how-to-choose-reputable-game-platform__cta-button:hover {
    background: linear-gradient(135deg, #218838, #1e7e34);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-choose-reputable-game-platform__why-matter-section,
.page-resources-how-to-choose-reputable-game-platform__conclusion-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a); /* Darker background for contrast */
    color: var(--text-color-light);
}

.page-resources-how-to-choose-reputable-game-platform__why-matter-section .page-resources-how-to-choose-reputable-game-platform__section-title,
.page-resources-how-to-choose-reputable-game-platform__conclusion-section .page-resources-how-to-choose-reputable-game-platform__section-title {
    color: var(--text-color-light);
}

.page-resources-how-to-choose-reputable-game-platform__why-matter-section ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-resources-how-to-choose-reputable-game-platform__why-matter-section li {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 8px;
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-resources-how-to-choose-reputable-game-platform__why-matter-section li::before {
    content: '✅';
    font-size: 24px;
    flex-shrink: 0;
}

.page-resources-how-to-choose-reputable-game-platform__safe-tips-section {
    padding: 60px 0;
    background-color: var(--card-background-light);
    color: var(--text-color-dark);
}

.page-resources-how-to-choose-reputable-game-platform__safe-tips-section .page-resources-how-to-choose-reputable-game-platform__section-title {
    color: var(--text-color-dark);
}

.page-resources-how-to-choose-reputable-game-platform__tips-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-resources-how-to-choose-reputable-game-platform__tips-list li {
    background: var(--card-background-light);
    padding: 20px;
    border-radius: 8px;
    font-size: 17px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-color-dark);
}

.page-resources-how-to-choose-reputable-game-platform__tips-list li::before {
    content: '💡';
    font-size: 24px;
    flex-shrink: 0;
}

.page-resources-how-to-choose-reputable-game-platform__faq-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a); /* Darker background for contrast */
    color: var(--text-color-light);
}

.page-resources-how-to-choose-reputable-game-platform__faq-section .page-resources-how-to-choose-reputable-game-platform__section-title {
    color: var(--text-color-light);
}

.page-resources-how-to-choose-reputable-game-platform__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-how-to-choose-reputable-game-platform__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;
    color: var(--text-color-light);
}

.page-resources-how-to-choose-reputable-game-platform__faq-item.active .page-resources-how-to-choose-reputable-game-platform__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;
}

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

.page-resources-how-to-choose-reputable-game-platform__faq-question:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.page-resources-how-to-choose-reputable-game-platform__faq-question:active {
    background: rgba(255, 255, 255, 0.2);
}

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

.page-resources-how-to-choose-reputable-game-platform__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--text-color-light);
    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-reputable-game-platform__faq-item.active .page-resources-how-to-choose-reputable-game-platform__faq-toggle {
    color: #ffd700;
}

.page-resources-how-to-choose-reputable-game-platform p {
    color: var(--text-color-light);
}

.page-resources-how-to-choose-reputable-game-platform__content-section p,
.page-resources-how-to-choose-reputable-game-platform__safe-tips-section p {
    color: var(--text-color-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-how-to-choose-reputable-game-platform__main-title {
        font-size: 36px;
    }
    .page-resources-how-to-choose-reputable-game-platform__section-title {
        font-size: 30px;
    }
    .page-resources-how-to-choose-reputable-game-platform__feature-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .page-resources-how-to-choose-reputable-game-platform__page-header-section {
        padding-top: 160px !important; /* Mobile padding for fixed header */
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-how-to-choose-reputable-game-platform__container {
        padding: 0 15px;
    }

    .page-resources-how-to-choose-reputable-game-platform__main-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-resources-how-to-choose-reputable-game-platform__intro-text {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-resources-how-to-choose-reputable-game-platform__section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .page-resources-how-to-choose-reputable-game-platform__content-section,
    .page-resources-how-to-choose-reputable-game-platform__why-matter-section,
    .page-resources-how-to-choose-reputable-game-platform__safe-tips-section,
    .page-resources-how-to-choose-reputable-game-platform__faq-section,
    .page-resources-how-to-choose-reputable-game-platform__conclusion-section {
        padding: 40px 0;
    }

    .page-resources-how-to-choose-reputable-game-platform__feature-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .page-resources-how-to-choose-reputable-game-platform__feature-title {
        font-size: 20px;
    }

    .page-resources-how-to-choose-reputable-game-platform__feature-card p {
        font-size: 15px;
    }

    .page-resources-how-to-choose-reputable-game-platform__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }

    .page-resources-how-to-choose-reputable-game-platform__why-matter-section li,
    .page-resources-how-to-choose-reputable-game-platform__tips-list li {
        font-size: 16px;
        gap: 10px;
        padding: 15px;
    }

    .page-resources-how-to-choose-reputable-game-platform__why-matter-section li::before,
    .page-resources-how-to-choose-reputable-game-platform__tips-list li::before {
        font-size: 20px;
    }

    .page-resources-how-to-choose-reputable-game-platform__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }

    .page-resources-how-to-choose-reputable-game-platform__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }

    .page-resources-how-to-choose-reputable-game-platform__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }

    .page-resources-how-to-choose-reputable-game-platform__faq-answer {
        padding: 0 15px;
    }

    .page-resources-how-to-choose-reputable-game-platform__faq-item.active .page-resources-how-to-choose-reputable-game-platform__faq-answer {
        padding: 15px !important;
    }

    /* Mobile image and container adaptation */
    .page-resources-how-to-choose-reputable-game-platform img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-resources-how-to-choose-reputable-game-platform__section,
    .page-resources-how-to-choose-reputable-game-platform__card,
    .page-resources-how-to-choose-reputable-game-platform__container,
    .page-resources-how-to-choose-reputable-game-platform__page-header-section,
    .page-resources-how-to-choose-reputable-game-platform__content-section,
    .page-resources-how-to-choose-reputable-game-platform__why-matter-section,
    .page-resources-how-to-choose-reputable-game-platform__safe-tips-section,
    .page-resources-how-to-choose-reputable-game-platform__faq-section,
    .page-resources-how-to-choose-reputable-game-platform__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}