.page-index-platform-advantages {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is dark (#121212), so use light text */
    background-color: transparent; /* Inherit from body, or set a transparent background */
}

/* Header offset for main content */
.page-index-platform-advantages__hero-section {
    padding-top: var(--header-offset, 120px);
}

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

.page-index-platform-advantages__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-index-platform-advantages__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-index-platform-advantages__btn-primary,
.page-index-platform-advantages__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-index-platform-advantages__btn-primary {
    background-color: #26A9E0; /* Brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-index-platform-advantages__btn-primary:hover {
    background-color: #1a7fb3;
    border-color: #1a7fb3;
}

.page-index-platform-advantages__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    margin-left: 15px;
}

.page-index-platform-advantages__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Hero Section */
.page-index-platform-advantages__hero-section {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), #1a1a1a; /* Dark overlay for text readability */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}

.page-index-platform-advantages__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.page-index-platform-advantages__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for better text contrast, NO color change */
}

.page-index-platform-advantages__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-index-platform-advantages__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-index-platform-advantages__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
}

.page-index-platform-advantages__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Advantages Section */
.page-index-platform-advantages__advantages-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background */
}

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

.page-index-platform-advantages__advantage-card {
    background-color: #2a2a2a; /* Dark card background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-index-platform-advantages__advantage-card:hover {
    transform: translateY(-10px);
}

.page-index-platform-advantages__card-icon {
    width: 100px; /* Base size, will be scaled up to meet 200px min */
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-index-platform-advantages__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-platform-advantages__card-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Video Section */
.page-index-platform-advantages__video-section {
    padding: 60px 0;
    background-color: #121212;
}

.page-index-platform-advantages__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-index-platform-advantages__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
}

.page-index-platform-advantages__video-link {
    display: block; /* Make the whole wrapper clickable */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Ensure link is above video for click handling */
}

/* Games Section */
.page-index-platform-advantages__games-section {
    padding: 60px 0;
    background-color: #1a1a1a;
}

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

.page-index-platform-advantages__game-card {
    background-color: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-index-platform-advantages__game-card:hover {
    transform: translateY(-10px);
}

.page-index-platform-advantages__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency, will be responsive */
    object-fit: cover;
}

.page-index-platform-advantages__game-title {
    font-size: 1.4em;
    margin: 15px;
    font-weight: bold;
}

.page-index-platform-advantages__game-title a {
    color: #26A9E0;
    text-decoration: none;
}

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

.page-index-platform-advantages__game-text {
    font-size: 0.95em;
    margin: 0 15px 15px;
    color: #f0f0f0;
}

/* Security Section */
.page-index-platform-advantages__security-section {
    padding: 60px 0;
    background-color: #121212;
}

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

.page-index-platform-advantages__security-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index-platform-advantages__security-list {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-index-platform-advantages__security-list li {
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-index-platform-advantages__list-title {
    font-size: 1.2em;
    color: #26A9E0;
    margin-bottom: 5px;
}

/* Promotions Section */
.page-index-platform-advantages__promotions-section {
    padding: 60px 0;
    background-color: #1a1a1a;
}

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

.page-index-platform-advantages__promo-card {
    background-color: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-index-platform-advantages__promo-card:hover {
    transform: translateY(-10px);
}

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

.page-index-platform-advantages__promo-title {
    font-size: 1.4em;
    margin: 15px;
    font-weight: bold;
}

.page-index-platform-advantages__promo-title a {
    color: #26A9E0;
    text-decoration: none;
}

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

.page-index-platform-advantages__promo-text {
    font-size: 0.95em;
    margin: 0 15px 15px;
    color: #f0f0f0;
}

/* Mobile Section */
.page-index-platform-advantages__mobile-section {
    padding: 60px 0;
    background-color: #121212;
}

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

.page-index-platform-advantages__mobile-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index-platform-advantages__mobile-text {
    flex: 1;
    color: #ffffff;
}

.page-index-platform-advantages__mobile-subtitle {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
}

/* FAQ Section */
.page-index-platform-advantages__faq-section {
    padding: 60px 0;
    background-color: #1a1a1a;
}

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

.page-index-platform-advantages__faq-item {
    background-color: #2a2a2a;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.page-index-platform-advantages__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #26A9E0; /* Brand color for question background */
    color: #ffffff;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-platform-advantages__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
}

.page-index-platform-advantages__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-index-platform-advantages__faq-item.active .page-index-platform-advantages__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-index-platform-advantages__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-index-platform-advantages__faq-item.active .page-index-platform-advantages__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 20px !important;
}

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

/* CTA Section */
.page-index-platform-advantages__cta-section {
    padding: 80px 0;
    background-color: #121212;
    text-align: center;
}

.page-index-platform-advantages__cta-section .page-index-platform-advantages__dark-bg {
    background-color: #26A9E0; /* Use brand color for CTA background */
    padding: 50px;
    border-radius: 10px;
    color: #ffffff;
}

.page-index-platform-advantages__cta-section .page-index-platform-advantages__section-title {
    color: #ffffff;
}

.page-index-platform-advantages__cta-section .page-index-platform-advantages__section-description {
    color: #ffffff;
    margin-bottom: 30px;
}

.page-index-platform-advantages__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}


/* Responsive Design */
@media (max-width: 992px) {
    .page-index-platform-advantages__hero-title {
        font-size: 2.8em;
    }

    .page-index-platform-advantages__section-title {
        font-size: 2em;
    }

    .page-index-platform-advantages__security-content,
    .page-index-platform-advantages__mobile-content {
        flex-direction: column;
    }

    .page-index-platform-advantages__security-image,
    .page-index-platform-advantages__mobile-image {
        max-width: 80%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-index-platform-advantages__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-index-platform-advantages__hero-title {
        font-size: 2.2em;
    }

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

    .page-index-platform-advantages__hero-buttons,
    .page-index-platform-advantages__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-index-platform-advantages__btn-primary,
    .page-index-platform-advantages__btn-secondary {
        width: 100% !important;
        margin-left: 0 !important;
        max-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-advantages__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-index-platform-advantages__section-description {
        margin-bottom: 30px;
    }

    .page-index-platform-advantages__advantage-card,
    .page-index-platform-advantages__game-card,
    .page-index-platform-advantages__promo-card,
    .page-index-platform-advantages__faq-item {
        margin-bottom: 20px;
    }

    .page-index-platform-advantages__security-image,
    .page-index-platform-advantages__mobile-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-index-platform-advantages img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-index-platform-advantages video,
    .page-index-platform-advantages__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-index-platform-advantages__video-section,
    .page-index-platform-advantages__video-container,
    .page-index-platform-advantages__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-advantages__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-index-platform-advantages__cta-section .page-index-platform-advantages__dark-bg {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .page-index-platform-advantages__hero-title {
        font-size: 1.8em;
    }

    .page-index-platform-advantages__section-title {
        font-size: 1.6em;
    }

    .page-index-platform-advantages__card-title {
        font-size: 1.2em;
    }
}