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

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-login: #EA7C07;
    --background-color: #FFFFFF;
    --black: #000000;
}

.page-index-platform-features {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    background-color: var(--background-color);
}

.page-index-platform-features__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 40px 0;
    background-color: var(--background-color);
    overflow: hidden;
}

.page-index-platform-features__hero-image-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

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

.page-index-platform-features__hero-content {
    max-width: 900px;
    margin: 20px auto 0 auto;
    padding: 0 20px;
    text-align: center;
}

.page-index-platform-features__hero-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

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

.page-index-platform-features__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-index-platform-features__cta-buttons--center {
    justify-content: center;
}

.page-index-platform-features__btn-primary,
.page-index-platform-features__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
}

.page-index-platform-features__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-index-platform-features__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

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

.page-index-platform-features__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-index-platform-features__btn-text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-index-platform-features__btn-text-link:hover {
    text-decoration: underline;
}

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

.page-index-platform-features__dark-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-index-platform-features__dark-section .page-index-platform-features__section-title,
.page-index-platform-features__dark-section .page-index-platform-features__section-description,
.page-index-platform-features__dark-section .page-index-platform-features__promo-title,
.page-index-platform-features__dark-section .page-index-platform-features__promo-text,
.page-index-platform-features__dark-section .page-index-platform-features__channel-title,
.page-index-platform-features__dark-section .page-index-platform-features__channel-text,
.page-index-platform-features__dark-section .page-index-platform-features__step-title,
.page-index-platform-features__dark-section .page-index-platform-features__step-text {
    color: var(--text-light);
}

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

.page-index-platform-features__container--center {
    text-align: center;
}

.page-index-platform-features__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

.page-index-platform-features__dark-section .page-index-platform-features__section-title {
    color: var(--text-light);
}

.page-index-platform-features__section-description {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-dark);
}

.page-index-platform-features__dark-section .page-index-platform-features__section-description {
    color: var(--text-light);
}

.page-index-platform-features__feature-grid,
.page-index-platform-features__game-grid,
.page-index-platform-features__promo-grid,
.page-index-platform-features__security-grid,
.page-index-platform-features__support-channels,
.page-index-platform-features__steps-grid {
    display: grid;
    gap: 30px;
}

.page-index-platform-features__feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-index-platform-features__feature-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-index-platform-features__feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-index-platform-features__feature-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.page-index-platform-features__games-section .page-index-platform-features__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-index-platform-features__game-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-index-platform-features__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-index-platform-features__game-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 15px 10px 15px;
}

.page-index-platform-features__game-title a {
    color: inherit;
    text-decoration: none;
}

.page-index-platform-features__game-title a:hover {
    text-decoration: underline;
}

.page-index-platform-features__game-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-dark);
    margin: 0 15px 20px 15px;
    flex-grow: 1;
}

.page-index-platform-features__game-card .page-index-platform-features__btn-text-link {
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-index-platform-features__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-index-platform-features__promo-card {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.page-index-platform-features__promo-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
}

.page-index-platform-features__promo-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

.page-index-platform-features__security-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-index-platform-features__security-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-index-platform-features__security-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-index-platform-features__security-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-index-platform-features__security-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

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

.page-index-platform-features__channel-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.page-index-platform-features__channel-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
}

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

.page-index-platform-features__mobile-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.page-index-platform-features__mobile-text-block {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.page-index-platform-features__mobile-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-index-platform-features__mobile-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.page-index-platform-features__mobile-features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-index-platform-features__mobile-features-list li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    position: relative;
    padding-left: 25px;
}

.page-index-platform-features__mobile-features-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.page-index-platform-features__mobile-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
}

.page-index-platform-features__mobile-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-index-platform-features__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-index-platform-features__step-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.page-index-platform-features__step-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
}

.page-index-platform-features__step-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

.page-index-platform-features__faq-section {
    background-color: var(--background-color);
}

.page-index-platform-features__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-index-platform-features__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-index-platform-features__faq-item[open] {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-index-platform-features__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
}

.page-index-platform-features__faq-question::-webkit-details-marker {
    display: none;
}

.page-index-platform-features__faq-qtext {
    flex-grow: 1;
    color: var(--text-dark);
}

.page-index-platform-features__faq-item[open] .page-index-platform-features__faq-qtext {
    color: var(--primary-color);
}

.page-index-platform-features__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 15px;
    width: 20px;
    text-align: center;
}

.page-index-platform-features__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.page-index-platform-features__faq-answer p {
    margin-bottom: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .page-index-platform-features__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-index-platform-features__hero-title {
        font-size: 2rem;
    }

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

    .page-index-platform-features__cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .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;
    }

    .page-index-platform-features__section {
        padding: 40px 15px;
    }

    .page-index-platform-features__section-title {
        font-size: 1.8rem;
    }

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

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

    .page-index-platform-features__feature-title,
    .page-index-platform-features__game-title,
    .page-index-platform-features__promo-title,
    .page-index-platform-features__security-title,
    .page-index-platform-features__channel-title,
    .page-index-platform-features__step-title {
        font-size: 1.2rem;
    }

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

    .page-index-platform-features__mobile-text-block,
    .page-index-platform-features__mobile-image-wrapper {
        max-width: 100%;
    }

    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .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;
    }
}

/* Desktop specific video width for flex layout */
.page-index-platform-features__video-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}