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

/* General Styles for page-index-platform-overview */
.page-index-platform-overview {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}

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

.page-index-platform-overview__section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-index-platform-overview__section:nth-of-type(even) {
    background-color: #fff;
}

.page-index-platform-overview__section-title {
    font-size: 2.5em;
    color: #007bff; /* Main brand color */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-index-platform-overview__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #ffc107; /* Auxiliary brand color */
    border-radius: 2px;
}

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

/* Buttons */
.page-index-platform-overview__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

.page-index-platform-overview__btn--primary {
    background-color: #007bff; /* Main brand color */
    color: #fff;
    border: 2px solid #007bff;
}

.page-index-platform-overview__btn--primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.page-index-platform-overview__btn--secondary {
    background-color: transparent;
    color: #007bff; /* Main brand color */
    border: 2px solid #007bff;
}

.page-index-platform-overview__btn--secondary:hover {
    background-color: #007bff;
    color: #fff;
    transform: translateY(-2px);
}

.page-index-platform-overview__btn--link {
    background-color: #ffc107; /* Auxiliary brand color */
    color: #333;
    border: 2px solid #ffc107;
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-index-platform-overview__btn--link:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    color: #fff;
}

.page-index-platform-overview__btn--small {
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-index-platform-overview__btn--large {
    padding: 15px 35px;
    font-size: 1.2em;
}

/* Hero Section */
.page-index-platform-overview__hero {
    background: linear-gradient(135deg, #007bff, #0056b3); /* Darker blue gradient */
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-platform-overview__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff; /* Ensure high contrast */
}

.page-index-platform-overview__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0; /* Slightly lighter for contrast */
}

.page-index-platform-overview__hero-actions .page-index-platform-overview__btn {
    margin: 0 10px;
}

/* Content Grid (for text and image side-by-side) */
.page-index-platform-overview__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.page-index-platform-overview__content-grid:nth-of-type(even) {
    flex-direction: row-reverse;
}

.page-index-platform-overview__text-content {
    flex: 1;
    min-width: 300px;
}

.page-index-platform-overview__text-content p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #444;
}

.page-index-platform-overview__image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-index-platform-overview__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.page-index-platform-overview__advantage-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-index-platform-overview__advantage-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    color: #007bff; /* Main brand color for icons */
}

.page-index-platform-overview__advantage-title {
    font-size: 1.5em;
    color: #007bff; /* Main brand color */
    margin-bottom: 15px;
}

.page-index-platform-overview__advantage-item p {
    color: #555;
}

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

.page-index-platform-overview__product-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

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

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

.page-index-platform-overview__product-title {
    font-size: 1.4em;
    color: #007bff; /* Main brand color */
    margin: 20px 0 10px;
    padding: 0 15px;
}

.page-index-platform-overview__product-item p {
    color: #666;
    padding: 0 15px 20px;
    font-size: 0.95em;
}

.page-index-platform-overview__product-item .page-index-platform-overview__btn {
    margin-bottom: 20px;
}

/* How to Join Section */
.page-index-platform-overview__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-platform-overview__step-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.page-index-platform-overview__step-number {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background-color: #ffc107; /* Auxiliary brand color */
    color: #333;
    font-size: 2em;
    font-weight: bold;
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-index-platform-overview__step-title {
    font-size: 1.4em;
    color: #007bff; /* Main brand color */
    margin-bottom: 15px;
}

.page-index-platform-overview__step-item p {
    color: #555;
    margin-bottom: 20px;
}

/* Promotions Section */
.page-index-platform-overview__promotions {
    background-color: #f0f8ff; /* Light blue background */
}

.page-index-platform-overview__promotion-card {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    overflow: hidden;
    align-items: center;
    flex-wrap: wrap;
}

.page-index-platform-overview__promotion-card:nth-child(odd) {
    flex-direction: row-reverse;
}

.page-index-platform-overview__promotion-image {
    width: 40%;
    min-width: 300px;
    height: 250px;
    object-fit: cover;
}

.page-index-platform-overview__promotion-content {
    width: 60%;
    min-width: 300px;
    padding: 30px;
}

.page-index-platform-overview__promotion-title {
    font-size: 1.8em;
    color: #007bff; /* Main brand color */
    margin-bottom: 15px;
}

.page-index-platform-overview__promotion-content p {
    color: #555;
    margin-bottom: 20px;
}

.page-index-platform-overview__promotions-footer {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-top: 30px;
    font-size: 1.1em;
}

/* Responsible Gambling Section */
.page-index-platform-overview__responsible-gambling {
    background-color: #f9f9f9;
}

.page-index-platform-overview__responsible-gambling .page-index-platform-overview__content-grid {
    flex-direction: row;
}

.page-index-platform-overview__responsible-gambling .page-index-platform-overview__content-grid:nth-of-type(even) {
    flex-direction: row;
}

/* Why Choose Us Section */
.page-index-platform-overview__why-choose-us {
    background-color: #e6f2ff; /* Lighter blue background */
}

.page-index-platform-overview__why-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
}

.page-index-platform-overview__why-list li {
    font-size: 1.15em;
    color: #333;
    margin-bottom: 10px;
    text-align: left;
    display: flex;
    align-items: flex-start;
}

.page-index-platform-overview__list-icon {
    color: #ffc107; /* Auxiliary brand color */
    font-size: 1.3em;
    margin-right: 10px;
    line-height: 1;
}

/* Final CTA */
.page-index-platform-overview__cta-final {
    background: linear-gradient(135deg, #007bff, #0056b3); /* Darker blue gradient */
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-index-platform-overview__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #fff; /* Ensure high contrast */
}

.page-index-platform-overview__cta-text {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #e0e0e0; /* Slightly lighter for contrast */
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-platform-overview__hero-title {
        font-size: 2.8em;
    }
    .page-index-platform-overview__section-title {
        font-size: 2em;
    }
    .page-index-platform-overview__advantages-grid,
    .page-index-platform-overview__product-grid,
    .page-index-platform-overview__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-index-platform-overview__content-grid,
    .page-index-platform-overview__promotion-card {
        flex-direction: column;
    }
    .page-index-platform-overview__content-grid:nth-of-type(even) {
        flex-direction: column;
    }
    .page-index-platform-overview__promotion-image,
    .page-index-platform-overview__promotion-content {
        width: 100%;
        min-width: unset;
    }
    .page-index-platform-overview__why-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-index-platform-overview__hero-title {
        font-size: 2.2em;
    }
    .page-index-platform-overview__hero-subtitle {
        font-size: 1.1em;
    }
    .page-index-platform-overview__section-title {
        font-size: 1.8em;
    }
    .page-index-platform-overview__cta-title {
        font-size: 2.5em;
    }
    .page-index-platform-overview__why-list {
        padding: 0 15px;
    }
    .page-index-platform-overview__hero-actions .page-index-platform-overview__btn {
        margin-bottom: 15px;
    }
    .page-index-platform-overview__hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-index-platform-overview__hero-title {
        font-size: 1.8em;
    }
    .page-index-platform-overview__section-title {
        font-size: 1.5em;
    }
    .page-index-platform-overview__cta-title {
        font-size: 2em;
    }
    .page-index-platform-overview__advantages-grid,
    .page-index-platform-overview__product-grid,
    .page-index-platform-overview__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-index-platform-overview__section {
        padding: 40px 0;
    }
    .page-index-platform-overview__hero {
        padding: 80px 0;
    }
    .page-index-platform-overview__promotion-image {
        height: 200px;
    }
}