/* style/slots-popular-themes.css */

/* Variables for consistent styling */
:root {
    --mcw18-primary-color: #0A244A;
    --mcw18-accent-color: #FFD700;
    --mcw18-text-light: #FFFFFF;
    --mcw18-text-dark: #1a1a1a; /* Darker for contrast on light backgrounds */
    --mcw18-bg-light: #f5f5f5;
    --mcw18-bg-dark-secondary: #1e3a62; /* Slightly lighter than primary for depth */
    --mcw18-border-color: #3b5a8e;
}

.page-slots-popular-themes {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--mcw18-text-light);
    background-color: var(--mcw18-primary-color);
}

.page-slots-popular-themes__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-slots-popular-themes__section-title {
    font-size: 2.8em;
    color: var(--mcw18-accent-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-slots-popular-themes__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--mcw18-accent-color);
    border-radius: 2px;
}

.page-slots-popular-themes__text {
    font-size: 1.1em;
    margin-bottom: 25px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--mcw18-text-light);
}

.page-slots-popular-themes__text--center {
    text-align: center;
}

.page-slots-popular-themes__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slots-popular-themes__btn--primary {
    background-color: var(--mcw18-accent-color);
    color: var(--mcw18-primary-color);
}

.page-slots-popular-themes__btn--primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slots-popular-themes__btn--secondary {
    background-color: transparent;
    color: var(--mcw18-accent-color);
    border: 2px solid var(--mcw18-accent-color);
    margin-left: 20px;
}

.page-slots-popular-themes__btn--secondary:hover {
    background-color: var(--mcw18-accent-color);
    color: var(--mcw18-primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slots-popular-themes__btn--small {
    padding: 10px 20px;
    font-size: 0.95em;
    border-radius: 5px;
}

/* Hero Section */
.page-slots-popular-themes__hero {
    background: linear-gradient(135deg, var(--mcw18-primary-color) 0%, var(--mcw18-bg-dark-secondary) 100%);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.page-slots-popular-themes__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract_geometric,dark_blue,gold_accents]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-slots-popular-themes__hero-content {
    text-align: center;
    max-width: 600px;
    z-index: 1;
    padding: 20px;
}

.page-slots-popular-themes__hero-title {
    font-size: 3.8em;
    color: var(--mcw18-accent-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.page-slots-popular-themes__hero-subtitle {
    font-size: 1.4em;
    color: var(--mcw18-text-light);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-slots-popular-themes__hero-image-wrapper {
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
}

.page-slots-popular-themes__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease-in-out;
}

.page-slots-popular-themes__hero-image:hover {
    transform: scale(1.03);
}

/* Intro Section */
.page-slots-popular-themes__intro {
    padding: 60px 0;
    background-color: var(--mcw18-bg-dark-secondary);
}

.page-slots-popular-themes__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-slots-popular-themes__feature-item {
    background-color: var(--mcw18-primary-color);
    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;
}

.page-slots-popular-themes__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-slots-popular-themes__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--mcw18-accent-color));
}

.page-slots-popular-themes__feature-title {
    font-size: 1.8em;
    color: var(--mcw18-accent-color);
    margin-bottom: 15px;
}

.page-slots-popular-themes__feature-text {
    font-size: 1em;
    color: var(--mcw18-text-light);
}

/* Themes Section */
.page-slots-popular-themes__themes {
    padding: 80px 0;
    background-color: var(--mcw18-primary-color);
}

.page-slots-popular-themes__theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-slots-popular-themes__theme-card {
    background-color: var(--mcw18-bg-dark-secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 20px;
}

.page-slots-popular-themes__theme-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-slots-popular-themes__theme-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--mcw18-accent-color);
    margin-bottom: 20px;
}

.page-slots-popular-themes__theme-title {
    font-size: 1.8em;
    color: var(--mcw18-accent-color);
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-slots-popular-themes__theme-description {
    font-size: 1em;
    color: var(--mcw18-text-light);
    padding: 0 20px;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-slots-popular-themes__theme-card .page-slots-popular-themes__btn {
    align-self: center;
}

.page-slots-popular-themes__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

/* How to Play Section */
.page-slots-popular-themes__how-to-play {
    padding: 80px 0;
    background-color: var(--mcw18-bg-dark-secondary);
}

.page-slots-popular-themes__steps {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-slots-popular-themes__step-item {
    background-color: var(--mcw18-primary-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-top: 70px;
}

.page-slots-popular-themes__step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--mcw18-accent-color);
    color: var(--mcw18-primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2em;
    font-weight: bold;
    border: 4px solid var(--mcw18-bg-dark-secondary);
    box-shadow: 0 0 0 5px var(--mcw18-primary-color), 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-slots-popular-themes__step-title {
    font-size: 1.7em;
    color: var(--mcw18-accent-color);
    margin-bottom: 10px;
}

.page-slots-popular-themes__step-description {
    font-size: 1em;
    color: var(--mcw18-text-light);
}

.page-slots-popular-themes__cta-bottom {
    text-align: center;
    margin-top: 60px;
}

/* Promotions Section */
.page-slots-popular-themes__promotions {
    padding: 80px 0;
    background-color: var(--mcw18-primary-color);
}

.page-slots-popular-themes__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-slots-popular-themes__promo-card {
    background-color: var(--mcw18-bg-dark-secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 20px;
}

.page-slots-popular-themes__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-slots-popular-themes__promo-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 3px solid var(--mcw18-accent-color);
    margin-bottom: 20px;
}

.page-slots-popular-themes__promo-title {
    font-size: 1.7em;
    color: var(--mcw18-accent-color);
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-slots-popular-themes__promo-description {
    font-size: 1em;
    color: var(--mcw18-text-light);
    padding: 0 20px;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Mobile Section */
.page-slots-popular-themes__mobile {
    padding: 80px 0;
    background-color: var(--mcw18-bg-dark-secondary);
}

.page-slots-popular-themes__mobile .page-slots-popular-themes__container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
}

.page-slots-popular-themes__mobile-content {
    flex: 1;
    text-align: left;
}

.page-slots-popular-themes__mobile-content .page-slots-popular-themes__section-title {
    text-align: left;
}

.page-slots-popular-themes__mobile-content .page-slots-popular-themes__section-title::after {
    left: 0;
    transform: translateX(0);
}

.page-slots-popular-themes__mobile-content .page-slots-popular-themes__text {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-slots-popular-themes__mobile-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slots-popular-themes__mobile-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease-in-out;
}

.page-slots-popular-themes__mobile-image:hover {
    transform: scale(1.03);
}

/* FAQ Section */
.page-slots-popular-themes__faq {
    padding: 80px 0;
    background-color: var(--mcw18-primary-color);
}

.page-slots-popular-themes__faq-item {
    background-color: var(--mcw18-bg-dark-secondary);
    border-radius: 10px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.page-slots-popular-themes__faq-item:hover {
    background-color: #1a3455;
}

.page-slots-popular-themes__faq-question {
    font-size: 1.5em;
    color: var(--mcw18-accent-color);
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-slots-popular-themes__faq-question::after {
    content: '+';
    font-size: 1.2em;
    color: var(--mcw18-accent-color);
    transition: transform 0.3s ease;
}

.page-slots-popular-themes__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-slots-popular-themes__faq-answer {
    font-size: 1em;
    color: var(--mcw18-text-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding-top: 0;
}

.page-slots-popular-themes__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    padding-top: 15px;
}

/* Final CTA Section */
.page-slots-popular-themes__final-cta {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--mcw18-bg-dark-secondary) 0%, var(--mcw18-primary-color) 100%);
    text-align: center;
}

.page-slots-popular-themes__final-cta-content {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slots-popular-themes__final-cta .page-slots-popular-themes__section-title {
    color: var(--mcw18-accent-color);
}

.page-slots-popular-themes__final-cta .page-slots-popular-themes__text {
    margin-bottom: 40px;
}

.page-slots-popular-themes__final-cta .page-slots-popular-themes__btn {
    margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slots-popular-themes__hero {
        flex-direction: column;
        padding: 60px 20px;
        min-height: auto;
    }

    .page-slots-popular-themes__hero-content {
        order: 2;
        margin-top: 40px;
    }

    .page-slots-popular-themes__hero-image-wrapper {
        order: 1;
        max-width: 80%;
    }

    .page-slots-popular-themes__hero-title {
        font-size: 3em;
    }

    .page-slots-popular-themes__hero-subtitle {
        font-size: 1.2em;
    }

    .page-slots-popular-themes__mobile .page-slots-popular-themes__container {
        flex-direction: column;
        text-align: center;
    }

    .page-slots-popular-themes__mobile-content {
        text-align: center;
    }

    .page-slots-popular-themes__mobile-content .page-slots-popular-themes__section-title,
    .page-slots-popular-themes__mobile-content .page-slots-popular-themes__text {
        text-align: center;
    }

    .page-slots-popular-themes__mobile-content .page-slots-popular-themes__section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

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

    .page-slots-popular-themes__hero-title {
        font-size: 2.5em;
    }

    .page-slots-popular-themes__hero-subtitle {
        font-size: 1.1em;
    }

    .page-slots-popular-themes__btn {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-slots-popular-themes__btn--secondary {
        margin-left: 10px;
    }

    .page-slots-popular-themes__cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-slots-popular-themes__cta-group .page-slots-popular-themes__btn {
        margin: 0;
    }

    .page-slots-popular-themes__final-cta .page-slots-popular-themes__btn {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .page-slots-popular-themes__section-title {
        font-size: 1.8em;
    }

    .page-slots-popular-themes__hero-title {
        font-size: 2em;
    }

    .page-slots-popular-themes__hero-subtitle {
        font-size: 1em;
    }

    .page-slots-popular-themes__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-slots-popular-themes__btn--secondary {
        margin-left: 0;
        margin-top: 15px;
    }

    .page-slots-popular-themes__hero-content .page-slots-popular-themes__btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    .page-slots-popular-themes__features,
    .page-slots-popular-themes__theme-grid,
    .page-slots-popular-themes__steps,
    .page-slots-popular-themes__promo-grid {
        grid-template-columns: 1fr;
    }

    .page-slots-popular-themes__step-item {
        padding-top: 60px;
    }

    .page-slots-popular-themes__step-number {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
    }

    .page-slots-popular-themes__faq-question {
        font-size: 1.3em;
    }
}