:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border: #2E7A4E;
    --glow: #57E38D;
    --gold: #F2C14E;
    --divider: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-blog-platform-game-features {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--background); /* Overall page background */
}

/* Hero Section */
.page-blog-platform-game-features__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
    box-sizing: border-box;
}

.page-blog-platform-game-features__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure wrapper respects width */
    margin-bottom: 30px; /* Space between image and text */
    box-sizing: border-box;
}

.page-blog-platform-game-features__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.page-blog-platform-game-features__hero-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-main); /* Text Main for hero content */
}

.page-blog-platform-game-features__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-blog-platform-game-features__description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary); /* Text Secondary for descriptions */
}

.page-blog-platform-game-features__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Sections */
.page-blog-platform-game-features__introduction-section,
.page-blog-platform-game-features__games-overview,
.page-blog-platform-game-features__why-choose-us,
.page-blog-platform-game-features__how-to-join,
.page-blog-platform-game-features__faq-section,
.page-blog-platform-game-features__cta-bottom {
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-blog-platform-game-features__dark-section {
    background-color: var(--card-bg); /* Darker background for sections */
    color: var(--text-main);
}

.page-blog-platform-game-features__light-bg {
    background-color: var(--background); /* Lighter background */
    color: var(--text-main);
}

.page-blog-platform-game-features__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-blog-platform-game-features__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-main);
}

.page-blog-platform-game-features__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.page-blog-platform-game-features__text-block--center {
    text-align: center;
}

/* Buttons */
.page-blog-platform-game-features__btn-primary,
.page-blog-platform-game-features__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
    max-width: 100%;
}

.page-blog-platform-game-features__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
}

.page-blog-platform-game-features__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-platform-game-features__btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--border);
}

.page-blog-platform-game-features__btn-secondary:hover {
    background-color: var(--deep-green);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-platform-game-features__btn-primary--large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Game Cards */
.page-blog-platform-game-features__game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog-platform-game-features__game-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    color: var(--text-main);
}

.page-blog-platform-game-features__game-card:hover {
    transform: translateY(-5px);
}

.page-blog-platform-game-features__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
    display: block;
}

.page-blog-platform-game-features__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 15px 10px;
    color: var(--text-main);
}

.page-blog-platform-game-features__card-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog-platform-game-features__card-title a:hover {
    color: var(--gold);
}

.page-blog-platform-game-features__card-description {
    font-size: 1rem;
    margin: 0 15px 20px;
    color: var(--text-secondary);
    flex-grow: 1; /* Push link to bottom */
}

.page-blog-platform-game-features__card-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--deep-green);
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.page-blog-platform-game-features__card-link:hover {
    background-color: var(--primary-color); /* Fallback to primary color if deep-green is not defined */
}

/* Why Choose Us Section */
.page-blog-platform-game-features__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog-platform-game-features__feature-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-main);
}

.page-blog-platform-game-features__feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-platform-game-features__feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-main);
}

.page-blog-platform-game-features__feature-description {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* How To Join Section */
.page-blog-platform-game-features__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog-platform-game-features__step-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-main);
}

.page-blog-platform-game-features__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--button-gradient);
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-blog-platform-game-features__step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-main);
}

.page-blog-platform-game-features__step-description {
    font-size: 1rem;
    color: var(--text-secondary);
    flex-grow: 1;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-blog-platform-game-features__faq-list {
    margin-top: 40px;
}

.page-blog-platform-game-features__faq-item {
    background-color: var(--card-bg);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-main);
}

.page-blog-platform-game-features__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-main);
}

.page-blog-platform-game-features__faq-item[open] .page-blog-platform-game-features__faq-question {
    border-bottom: 1px solid var(--divider);
}

.page-blog-platform-game-features__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-blog-platform-game-features__faq-item[open] .page-blog-platform-game-features__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-blog-platform-game-features__faq-answer {
    padding: 15px 20px 20px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.page-blog-platform-game-features__faq-answer p {
    margin-bottom: 10px;
}

.page-blog-platform-game-features__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-blog-platform-game-features__contact-link {
    color: var(--gold);
    text-decoration: underline;
    font-weight: 600;
}

.page-blog-platform-game-features__contact-link:hover {
    color: var(--glow);
}

/* Details element default styling override */
.page-blog-platform-game-features details > summary {
    list-style: none;
}
.page-blog-platform-game-features details > summary::-webkit-details-marker {
    display: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog-platform-game-features__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-blog-platform-game-features__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-blog-platform-game-features__description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .page-blog-platform-game-features {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-blog-platform-game-features__hero-section {
        padding: 10px 15px 40px;
    }

    .page-blog-platform-game-features__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem); /* Adjust for smaller screens */
    }

    .page-blog-platform-game-features__description {
        font-size: 1rem;
    }

    .page-blog-platform-game-features__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-blog-platform-game-features__btn-primary,
    .page-blog-platform-game-features__btn-secondary {
        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-blog-platform-game-features__btn-primary--large {
        padding: 16px 30px;
        font-size: 1.1rem;
    }

    .page-blog-platform-game-features__container {
        padding: 0 15px;
    }

    .page-blog-platform-game-features__section-title {
        font-size: clamp(1.6rem, 6vw, 2rem);
        margin-bottom: 30px;
    }

    .page-blog-platform-game-features__text-block {
        font-size: 1rem;
    }

    .page-blog-platform-game-features__game-card,
    .page-blog-platform-game-features__feature-item,
    .page-blog-platform-game-features__step-item {
        padding: 25px;
    }

    .page-blog-platform-game-features__card-image {
        height: 180px;
    }

    .page-blog-platform-game-features__card-title {
        font-size: 1.2rem;
    }

    .page-blog-platform-game-features__card-description {
        font-size: 0.95rem;
    }

    .page-blog-platform-game-features__feature-icon {
        width: 60px;
        height: 60px;
    }

    .page-blog-platform-game-features__feature-title {
        font-size: 1.1rem;
    }

    .page-blog-platform-game-features__step-number {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .page-blog-platform-game-features__step-title {
        font-size: 1.1rem;
    }

    .page-blog-platform-game-features__faq-question {
        padding: 15px;
        font-size: 1rem;
    }

    .page-blog-platform-game-features__faq-answer {
        padding: 10px 15px 15px;
        font-size: 0.95rem;
    }

    /* Mobile image responsiveness */
    .page-blog-platform-game-features img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-blog-platform-game-features__section,
    .page-blog-platform-game-features__card,
    .page-blog-platform-game-features__container,
    .page-blog-platform-game-features__hero-section,
    .page-blog-platform-game-features__hero-image-wrapper,
    .page-blog-platform-game-features__cta-buttons,
    .page-blog-platform-game-features__game-cards,
    .page-blog-platform-game-features__features-grid,
    .page-blog-platform-game-features__steps-grid,
    .page-blog-platform-game-features__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* Specific for video-section if it existed, ensures small top padding */
    .page-blog-platform-game-features__video-section {
        padding-top: 10px !important;
    }
}