/* style/index-platform-features.css */

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

.page-index-platform-features {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Main text color for body content */
    background-color: var(--background-color);
}

.page-index-platform-features__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
    background-color: var(--deep-green-color);
}

.page-index-platform-features__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

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

.page-index-platform-features__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.page-index-platform-features__hero-title {
    font-size: clamp(2em, 4vw, 3.2em);
    color: var(--glow-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.6);
}

.page-index-platform-features__hero-description {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-index-platform-features__hero-cta-buttons,
.page-index-platform-features__button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-index-platform-features__section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--background-color);
    color: var(--text-main-color);
}

.page-index-platform-features__dark-section {
    background-color: var(--deep-green-color);
    color: var(--text-main-color);
}

.page-index-platform-features__dark-bg {
    background-color: var(--card-bg);
    color: var(--text-main-color);
}

.page-index-platform-features__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-index-platform-features__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    color: var(--glow-color);
    margin-bottom: 25px;
    font-weight: bold;
    line-height: 1.3;
}

.page-index-platform-features__section-description {
    font-size: 1.05em;
    color: var(--text-secondary-color);
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-index-platform-features__feature-grid,
.page-index-platform-features__tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-platform-features__feature-item,
.page-index-platform-features__tech-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border-color);
}

.page-index-platform-features__feature-icon,
.page-index-platform-features__tech-icon {
    width: 250px; /* Min size 200px */
    height: 250px; /* Min size 200px */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-index-platform-features__feature-title,
.page-index-platform-features__tech-title {
    font-size: 1.5em;
    color: var(--text-main-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-platform-features__feature-text,
.page-index-platform-features__tech-text {
    font-size: 1em;
    color: var(--text-secondary-color);
    line-height: 1.6;
}

.page-index-platform-features__game-category {
    margin-bottom: 60px;
    text-align: left;
}

.page-index-platform-features__category-title {
    font-size: clamp(1.5em, 2.5vw, 2.2em);
    color: var(--gold-color);
    margin-bottom: 30px;
    font-weight: bold;
    text-align: center;
}

.page-index-platform-features__category-content {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.page-index-platform-features__category--reversed .page-index-platform-features__category-content {
    flex-direction: row-reverse;
}

.page-index-platform-features__category-image {
    flex: 1;
    min-width: 300px; /* Ensure images are not too small */
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-index-platform-features__category-text {
    flex: 1;
    color: var(--text-secondary-color);
    line-height: 1.7;
    font-size: 1em;
}

.page-index-platform-features__category-text p {
    margin-bottom: 20px;
}

.page-index-platform-features__category-text .page-index-platform-features__btn-primary,
.page-index-platform-features__category-text .page-index-platform-features__btn-secondary {
    margin-right: 15px;
    margin-top: 10px;
}

.page-index-platform-features__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-platform-features__promo-card {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    border: 1px solid var(--border-color);
}

.page-index-platform-features__promo-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency, will be object-fit */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-platform-features__promo-title {
    font-size: 1.4em;
    color: var(--text-main-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-index-platform-features__promo-text {
    font-size: 0.95em;
    color: var(--text-secondary-color);
    line-height: 1.6;
}

.page-index-platform-features__cta-center {
    margin-top: 50px;
}

.page-index-platform-features__support-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-platform-features__channel-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border-color);
}

.page-index-platform-features__channel-icon {
    width: 200px; /* Min size 200px */
    height: 200px; /* Min size 200px */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: var(--deep-green-color);
    padding: 15px;
}

.page-index-platform-features__channel-title {
    font-size: 1.5em;
    color: var(--text-main-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-platform-features__channel-text {
    font-size: 1em;
    color: var(--text-secondary-color);
    line-height: 1.6;
}

.page-index-platform-features__faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-index-platform-features__faq-item {
    background-color: var(--card-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.page-index-platform-features__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15em;
    color: var(--text-main-color);
    font-weight: bold;
    background-color: var(--deep-green-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-index-platform-features__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome/Safari */
}

.page-index-platform-features__faq-question:hover {
    background-color: var(--primary-color);
}

.page-index-platform-features__faq-qtext {
    flex-grow: 1;
    pointer-events: none; /* Ensure click on summary triggers details toggle */
}

.page-index-platform-features__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--glow-color);
    pointer-events: none; /* Ensure click on summary triggers details toggle */
}

.page-index-platform-features__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--text-secondary-color);
    line-height: 1.6;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

.page-index-platform-features__final-cta {
    padding: 80px 20px;
}

/* Buttons */
.page-index-platform-features__btn-primary,
.page-index-platform-features__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%;
}

.page-index-platform-features__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    border: none;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-index-platform-features__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-index-platform-features__btn-secondary {
    background-color: transparent;
    color: var(--glow-color);
    border: 2px solid var(--glow-color);
}

.page-index-platform-features__btn-secondary:hover {
    background-color: var(--glow-color);
    color: var(--deep-green-color);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-platform-features__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-index-platform-features__hero-title {
        font-size: clamp(1.8em, 5vw, 2.8em);
    }

    .page-index-platform-features__category-content {
        flex-direction: column;
        gap: 20px;
    }

    .page-index-platform-features__category--reversed .page-index-platform-features__category-content {
        flex-direction: column;
    }

    .page-index-platform-features__category-image {
        width: 100%;
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .page-index-platform-features__section {
        padding: 40px 15px;
    }

    .page-index-platform-features__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-index-platform-features__hero-title {
        font-size: clamp(1.6em, 6vw, 2.2em);
    }

    .page-index-platform-features__hero-description {
        font-size: 1em;
    }

    .page-index-platform-features__section-title {
        font-size: clamp(1.6em, 5vw, 2.2em);
    }

    .page-index-platform-features__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-index-platform-features__feature-grid,
    .page-index-platform-features__tech-grid,
    .page-index-platform-features__promo-grid,
    .page-index-platform-features__support-channels {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-index-platform-features__feature-item,
    .page-index-platform-features__tech-item,
    .page-index-platform-features__promo-card,
    .page-index-platform-features__channel-item {
        padding: 25px;
    }

    .page-index-platform-features__feature-icon,
    .page-index-platform-features__tech-icon,
    .page-index-platform-features__channel-icon {
        width: 200px; /* Enforce min size */
        height: 200px; /* Enforce min size */
    }

    .page-index-platform-features__promo-image {
        height: 200px; /* Adjust height for mobile */
    }

    .page-index-platform-features__hero-cta-buttons,
    .page-index-platform-features__button-group {
        flex-direction: column;
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-index-platform-features__btn-primary,
    .page-index-platform-features__btn-secondary,
    .page-index-platform-features a[class*="button"],
    .page-index-platform-features 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-index-platform-features__cta-buttons,
    .page-index-platform-features__button-group,
    .page-index-platform-features__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    /* Images responsive */
    .page-index-platform-features img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-index-platform-features__section,
    .page-index-platform-features__card,
    .page-index-platform-features__container,
    .page-index-platform-features__hero-image-wrapper,
    .page-index-platform-features__game-category,
    .page-index-platform-features__category-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Video responsive (if any) */
    .page-index-platform-features video,
    .page-index-platform-features__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-index-platform-features__video-section,
    .page-index-platform-features__video-container,
    .page-index-platform-features__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-index-platform-features__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-index-platform-features__faq-answer {
        padding: 15px 20px;
    }
}