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

/* Base styles for the page content */
.page-index-platform-features {
    font-family: 'Arial', sans-serif;
    color: #f5f0e7; /* Light text on dark background */
    background-color: #0A0F18;
    line-height: 1.6;
    padding-bottom: 50px;
}

.page-index-platform-features__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-index-platform-features__section {
    padding: 80px 0;
}

.page-index-platform-features__section-title {
    font-size: 2.8em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-index-platform-features__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: #e0e0e0;
}

.page-index-platform-features .highlight {
    color: #FFD700;
}

/* Hero Section */
.page-index-platform-features__hero {
    background: linear-gradient(135deg, #0A0F18 0%, #1a2a40 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-platform-features__hero-title {
    font-size: 3.8em;
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.1;
}

.page-index-platform-features__hero-description {
    font-size: 1.3em;
    color: #e0e0e0;
    max-width: 900px;
    margin: 0 auto 40px;
}

.page-index-platform-features__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-index-platform-features__btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-index-platform-features__btn--primary {
    background-color: #FFD700;
    color: #0A0F18;
}

.page-index-platform-features__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-index-platform-features__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-index-platform-features__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A0F18;
    transform: translateY(-3px);
}

.page-index-platform-features__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.1;
}

/* Content Grid for sections */
.page-index-platform-features__content-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 50px;
}

.page-index-platform-features__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-index-platform-features__text-content {
    flex: 1;
}

.page-index-platform-features__text-content p {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: #e0e0e0;
}

.page-index-platform-features__image {
    flex: 1;
    max-width: 50%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-index-platform-features__image--left {
    order: -1; /* For reverse layout */
}

/* List styles */
.page-index-platform-features__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-index-platform-features__list li {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #e0e0e0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.page-index-platform-features__list-icon {
    color: #FFD700;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1;
    margin-top: 2px;
}

/* Game Categories Section */
.page-index-platform-features__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-index-platform-features__game-card {
    background-color: #1a2a40;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-index-platform-features__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.page-index-platform-features__game-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: #FFD700;
    padding: 10px;
}

.page-index-platform-features__game-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-index-platform-features__game-description {
    font-size: 1em;
    color: #cccccc;
    flex-grow: 1;
}

.page-index-platform-features__center-cta {
    text-align: center;
    margin-top: 60px;
}

/* Final CTA Section */
.page-index-platform-features__cta-final {
    background: linear-gradient(135deg, #FFD700, #e6c200);
    padding: 80px 0;
    text-align: center;
    color: #0A0F18;
}

.page-index-platform-features__cta-title {
    font-size: 3em;
    color: #0A0F18;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-index-platform-features__cta-description {
    font-size: 1.2em;
    color: #333;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-index-platform-features__btn--hero {
    background-color: #0A0F18;
    color: #FFD700;
    padding: 18px 45px;
    font-size: 1.2em;
    border: 2px solid #0A0F18;
}

.page-index-platform-features__btn--hero:hover {
    background-color: #2a3a50;
    color: #FFD700;
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-platform-features__hero-title {
        font-size: 3em;
    }
    .page-index-platform-features__section-title {
        font-size: 2.2em;
    }
    .page-index-platform-features__content-grid {
        flex-direction: column;
        gap: 40px;
    }
    .page-index-platform-features__image {
        max-width: 80%;
    }
    .page-index-platform-features__content-grid--reverse .page-index-platform-features__image {
        order: unset;
    }
}

@media (max-width: 768px) {
    .page-index-platform-features__hero {
        padding: 80px 0;
    }
    .page-index-platform-features__hero-title {
        font-size: 2.5em;
    }
    .page-index-platform-features__hero-description {
        font-size: 1.1em;
    }
    .page-index-platform-features__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-platform-features__btn {
        width: 80%;
        max-width: 300px;
    }
    .page-index-platform-features__section {
        padding: 60px 0;
    }
    .page-index-platform-features__section-title {
        font-size: 2em;
    }
    .page-index-platform-features__section-intro {
        font-size: 1em;
    }
    .page-index-platform-features__game-card {
        padding: 25px;
    }
    .page-index-platform-features__game-title {
        font-size: 1.4em;
    }
    .page-index-platform-features__cta-title {
        font-size: 2.2em;
    }
    .page-index-platform-features__cta-description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-index-platform-features__hero-title {
        font-size: 2em;
    }
    .page-index-platform-features__hero-description {
        font-size: 0.95em;
    }
    .page-index-platform-features__section-title {
        font-size: 1.8em;
    }
    .page-index-platform-features__text-content p,
    .page-index-platform-features__list li,
    .page-index-platform-features__game-description {
        font-size: 0.95em;
    }
    .page-index-platform-features__image {
        max-width: 100%;
    }
    .page-index-platform-features__cta-title {
        font-size: 1.8em;
    }
    .page-index-platform-features__btn--hero {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}