/* style/index-popular-games-recommendation.css */

/* General page container and typography */
.page-index-popular-games-recommendation {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light grey for general text on dark backgrounds */
    background-color: #0d1a2b; /* Slightly darker than primary for background */
}

.page-index-popular-games-recommendation__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-index-popular-games-recommendation__section {
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-popular-games-recommendation__section:last-of-type {
    border-bottom: none;
}

.page-index-popular-games-recommendation__section-title {
    font-size: 2.8em;
    color: #ffffff;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.page-index-popular-games-recommendation__section-title .highlight {
    color: #E44D26; /* Auxiliary color for highlight */
}

.page-index-popular-games-recommendation__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #E44D26;
    border-radius: 2px;
}

.page-index-popular-games-recommendation__text {
    font-size: 1.1em;
    color: #cccccc;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-popular-games-recommendation__text--centered {
    text-align: center;
}

.page-index-popular-games-recommendation__link {
    color: #E44D26;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-popular-games-recommendation__link:hover {
    color: #ff7f50; /* Lighter red on hover */
}

/* Buttons */
.page-index-popular-games-recommendation__btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    white-space: nowrap;
}

.page-index-popular-games-recommendation__btn--primary {
    background-color: #E44D26;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(228, 77, 38, 0.4);
}

.page-index-popular-games-recommendation__btn--primary:hover {
    background-color: #ff7f50; /* Lighter red on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(228, 77, 38, 0.6);
}

.page-index-popular-games-recommendation__btn--secondary {
    background-color: transparent;
    color: #E44D26;
    border: 2px solid #E44D26;
    margin-left: 20px;
}

.page-index-popular-games-recommendation__btn--secondary:hover {
    background-color: #E44D26;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(228, 77, 38, 0.3);
}

.page-index-popular-games-recommendation__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
    border-radius: 5px;
    margin-top: 15px;
}

/* Hero Section */
.page-index-popular-games-recommendation__hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 20px;
    background: linear-gradient(135deg, #1A2E44, #0d1a2b); /* Gradient from primary to darker blue */
    text-align: left;
    gap: 40px;
}

.page-index-popular-games-recommendation__hero-content {
    flex: 1;
    max-width: 600px;
}

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

.page-index-popular-games-recommendation__hero-description {
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 40px;
}

.page-index-popular-games-recommendation__hero-actions {
    display: flex;
    gap: 20px;
}

.page-index-popular-games-recommendation__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-index-popular-games-recommendation__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Game Categories Section */
.page-index-popular-games-recommendation__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-popular-games-recommendation__game-card {
    background-color: #1A2E44; /* Primary dark blue for cards */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-index-popular-games-recommendation__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-index-popular-games-recommendation__game-card-image {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-index-popular-games-recommendation__game-card-title {
    font-size: 1.8em;
    color: #E44D26;
    margin-bottom: 15px;
}

.page-index-popular-games-recommendation__game-card-description {
    font-size: 1em;
    color: #c0c0c0;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Advantages Section */
.page-index-popular-games-recommendation__advantage-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    text-align: left;
}

.page-index-popular-games-recommendation__advantage-list li {
    background-color: #1A2E44;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    font-size: 1.1em;
    color: #e0e0e0;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
}

.page-index-popular-games-recommendation__advantage-list li::before {
    content: '✓'; /* Checkmark icon */
    color: #E44D26;
    font-size: 1.5em;
    margin-right: 15px;
    font-weight: bold;
}

.page-index-popular-games-recommendation__advantage-list li:hover {
    transform: translateX(5px);
}

.page-index-popular-games-recommendation__advantage-list strong {
    color: #ffffff;
}

.page-index-popular-games-recommendation__cta-bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-index-popular-games-recommendation__offer-card {
    background-color: #1A2E44;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-popular-games-recommendation__offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-index-popular-games-recommendation__offer-card-image {
    max-width: 100%;
    height: 150px;
    object-fit: contain; /* Use contain for bonus images */
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-popular-games-recommendation__offer-card-title {
    font-size: 1.6em;
    color: #E44D26;
    margin-bottom: 10px;
}

.page-index-popular-games-recommendation__offer-card-description {
    font-size: 1em;
    color: #c0c0c0;
    margin-bottom: 20px;
}

/* App Download Section */
.page-index-popular-games-recommendation__app-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
}

.page-index-popular-games-recommendation__app-content {
    flex: 1;
}

.page-index-popular-games-recommendation__app-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-index-popular-games-recommendation__app-image {
    max-width: 80%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index-popular-games-recommendation__app-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-index-popular-games-recommendation__app-features li {
    font-size: 1.1em;
    color: #e0e0e0;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.page-index-popular-games-recommendation__app-features li::before {
    content: '⭐'; /* Star icon */
    position: absolute;
    left: 0;
    color: #E44D26;
    font-size: 1.2em;
}

/* Responsible Gambling Section */
.page-index-popular-games-recommendation__responsible-tips {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-popular-games-recommendation__responsible-tips li {
    background-color: #1A2E44;
    padding: 15px 25px;
    border-left: 5px solid #E44D26;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.05em;
    color: #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ Section (Accordion) */
.page-index-popular-games-recommendation__accordion {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-index-popular-games-recommendation__accordion-item {
    background-color: #1A2E44;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.page-index-popular-games-recommendation__accordion-header {
    width: 100%;
    background-color: #E44D26;
    color: #ffffff;
    padding: 18px 25px;
    font-size: 1.3em;
    font-weight: bold;
    border: none;
    text-align: left;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-index-popular-games-recommendation__accordion-header:hover {
    background-color: #ff7f50;
}

.page-index-popular-games-recommendation__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-index-popular-games-recommendation__accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-index-popular-games-recommendation__accordion-content {
    padding: 0 25px;
    background-color: #1A2E44;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-index-popular-games-recommendation__accordion-content p {
    color: #e0e0e0;
    font-size: 1.05em;
    padding: 15px 0;
    margin-bottom: 0;
}

/* Final CTA Section */
.page-index-popular-games-recommendation__final-cta {
    background-color: #1A2E44; /* Darker background for final CTA */
    padding: 80px 0;
}

.page-index-popular-games-recommendation__final-cta-content {
    text-align: center;
}

.page-index-popular-games-recommendation__final-cta-actions {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-popular-games-recommendation__hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }

    .page-index-popular-games-recommendation__hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .page-index-popular-games-recommendation__hero-title {
        font-size: 2.8em;
    }

    .page-index-popular-games-recommendation__hero-description {
        font-size: 1.1em;
    }

    .page-index-popular-games-recommendation__hero-actions {
        justify-content: center;
    }

    .page-index-popular-games-recommendation__app-flex {
        flex-direction: column-reverse; /* Image above content on mobile */
    }

    .page-index-popular-games-recommendation__app-image {
        margin-bottom: 40px;
    }

    .page-index-popular-games-recommendation__advantage-list,
    .page-index-popular-games-recommendation__game-grid,
    .page-index-popular-games-recommendation__offer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-index-popular-games-recommendation__section-title {
        font-size: 2.2em;
    }

    .page-index-popular-games-recommendation__hero-title {
        font-size: 2.5em;
    }

    .page-index-popular-games-recommendation__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-index-popular-games-recommendation__btn--secondary {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .page-index-popular-games-recommendation__section {
        padding: 40px 0;
    }

    .page-index-popular-games-recommendation__section-title {
        font-size: 1.8em;
    }

    .page-index-popular-games-recommendation__hero-title {
        font-size: 2em;
    }

    .page-index-popular-games-recommendation__hero-description {
        font-size: 1em;
    }

    .page-index-popular-games-recommendation__btn {
        padding: 10px 20px;
        font-size: 1em;
    }

    .page-index-popular-games-recommendation__game-card-title {
        font-size: 1.5em;
    }

    .page-index-popular-games-recommendation__advantage-list li {
        font-size: 1em;
        padding: 15px;
    }

    .page-index-popular-games-recommendation__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }
}