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

.page-index-popular-casino-games {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text on dark background */
    background-color: #0A2239; /* Primary dark background */
    line-height: 1.6;
}

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

/* Hero Section */
.page-index-popular-casino-games__hero-section {
    background: linear-gradient(135deg, #0A2239 0%, #1A3B5C 100%); /* Dark blue gradient */
    color: #FFD700; /* Gold for main highlights */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid #FFD700;
}

.page-index-popular-casino-games__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,casino,lights,blurred]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-index-popular-casino-games__hero-section > .page-index-popular-casino-games__container {
    position: relative;
    z-index: 1;
}

.page-index-popular-casino-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
    font-weight: bold;
}

.page-index-popular-casino-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #E0E0E0;
}

.page-index-popular-casino-games__hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* General Button Styles */
.page-index-popular-casino-games__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
}

.page-index-popular-casino-games__btn--primary {
    background-color: #FFD700; /* Gold */
    color: #0A2239; /* Dark blue */
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-index-popular-casino-games__btn--primary:hover {
    background-color: #E6C200; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-index-popular-casino-games__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold */
    border: 2px solid #FFD700;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.page-index-popular-casino-games__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A2239;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.page-index-popular-casino-games__btn--large {
    padding: 18px 40px;
    font-size: 1.3em;
    border-radius: 10px;
}

/* Section Titles */
.page-index-popular-casino-games__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for section titles */
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-index-popular-casino-games__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #C0C0C0;
}

/* About 123bet Section */
.page-index-popular-casino-games__about-123bet {
    padding: 80px 0;
    background-color: #1A3B5C; /* Slightly lighter dark blue */
}

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

.page-index-popular-casino-games__grid-item {
    background-color: #0A2239;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-index-popular-casino-games__grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-index-popular-casino-games__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-index-popular-casino-games__item-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-index-popular-casino-games__item-description {
    font-size: 1em;
    color: #E0E0E0;
}

/* Game Categories */
.page-index-popular-casino-games__game-categories {
    padding: 80px 0;
}

.page-index-popular-casino-games__game-category {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
    background-color: #1A3B5C;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-index-popular-casino-games__game-category--reverse {
    flex-direction: row-reverse;
}

.page-index-popular-casino-games__game-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-index-popular-casino-games__game-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border: 2px solid #FFD700;
}

.page-index-popular-casino-games__game-content {
    flex: 2;
}

.page-index-popular-casino-games__game-title {
    font-size: 2em;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-index-popular-casino-games__game-description {
    margin-bottom: 20px;
    color: #E0E0E0;
}

.page-index-popular-casino-games__game-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.page-index-popular-casino-games__game-features li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFD700"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 10px;
    color: #C0C0C0;
}

.page-index-popular-casino-games__game-features li strong {
    color: #FFD700;
}

/* Promotions Section */
.page-index-popular-casino-games__promotions {
    background-color: #0A2239;
    padding: 80px 0;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.page-index-popular-casino-games__promotion-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-popular-casino-games__promotion-item {
    background-color: #1A3B5C;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-index-popular-casino-games__promotion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-index-popular-casino-games__promotion-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #FFD700;
}

/* App Download Section */
.page-index-popular-casino-games__app-download {
    padding: 80px 0;
    text-align: center;
    background-color: #1A3B5C;
}

.page-index-popular-casino-games__app-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
}

.page-index-popular-casino-games__qr-code {
    width: 200px;
    height: 200px;
    border: 5px solid #FFD700;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-index-popular-casino-games__app-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-index-popular-casino-games__btn--app-store,
.page-index-popular-casino-games__btn--google-play {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 250px;
    background-color: #333;
    color: #fff;
    border: 2px solid #555;
    padding: 15px 20px;
    border-radius: 8px;
}

.page-index-popular-casino-games__btn--app-store:hover,
.page-index-popular-casino-games__btn--google-play:hover {
    background-color: #555;
    border-color: #FFD700;
    transform: translateY(-3px);
}

.page-index-popular-casino-games__app-icon {
    width: 30px;
    height: 30px;
    filter: invert(1); /* Make icons white */
}

/* Responsible Gaming */
.page-index-popular-casino-games__responsible-gaming {
    padding: 80px 0;
    background-color: #0A2239;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.page-index-popular-casino-games__responsible-list {
    list-style: none;
    padding-left: 0;
    max-width: 800px;
    margin: 30px auto;
    color: #C0C0C0;
}

.page-index-popular-casino-games__responsible-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFD700"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-index-popular-casino-games__responsible-text {
    text-align: center;
    font-style: italic;
    color: #A0A0A0;
    margin-top: 40px;
}

/* FAQ Section */
.page-index-popular-casino-games__faq {
    padding: 80px 0;
    background-color: #1A3B5C;
}

.page-index-popular-casino-games__faq-item {
    background-color: #0A2239;
    border-radius: 10px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-index-popular-casino-games__faq-question {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-index-popular-casino-games__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-index-popular-casino-games__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-index-popular-casino-games__faq-answer {
    font-size: 1em;
    color: #E0E0E0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    padding-top: 0;
}

.page-index-popular-casino-games__faq-answer.open {
    max-height: 200px; /* Adjust as needed for content */
    opacity: 1;
    padding-top: 15px;
}


/* Final CTA */
.page-index-popular-casino-games__final-cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(45deg, #0A2239, #1A3B5C);
    border-top: 5px solid #FFD700;
}


/* Responsive Design */
@media (max-width: 992px) {
    .page-index-popular-casino-games__hero-title {
        font-size: 2.8em;
    }
    .page-index-popular-casino-games__hero-description {
        font-size: 1.1em;
    }
    .page-index-popular-casino-games__section-title {
        font-size: 2em;
    }
    .page-index-popular-casino-games__game-category {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
    }
    .page-index-popular-casino-games__game-category--reverse {
        flex-direction: column;
    }
    .page-index-popular-casino-games__game-content,
    .page-index-popular-casino-games__game-image-wrapper {
        flex: none;
        width: 100%;
    }
    .page-index-popular-casino-games__app-cta-group {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-index-popular-casino-games__hero-title {
        font-size: 2.2em;
    }
    .page-index-popular-casino-games__hero-description {
        font-size: 1em;
    }
    .page-index-popular-casino-games__hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-popular-casino-games__btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-index-popular-casino-games__section-title {
        font-size: 1.8em;
    }
    .page-index-popular-casino-games__grid {
        grid-template-columns: 1fr;
    }
    .page-index-popular-casino-games__promotion-list {
        grid-template-columns: 1fr;
    }
    .page-index-popular-casino-games__app-buttons {
        width: 100%;
    }
    .page-index-popular-casino-games__btn--app-store,
    .page-index-popular-casino-games__btn--google-play {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-index-popular-casino-games__hero-title {
        font-size: 1.8em;
    }
    .page-index-popular-casino-games__hero-section {
        padding: 60px 0;
    }
    .page-index-popular-casino-games__section-title {
        font-size: 1.5em;
    }
    .page-index-popular-casino-games__game-title {
        font-size: 1.5em;
    }
    .page-index-popular-casino-games__faq-question {
        font-size: 1.2em;
    }
}