/* style/resources-new-slot-games.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --button-register: #C30808;
    --button-login: #C30808;
    --font-register-login: #FFFF00;
    --border-color: #e0e0e0;
}

.page-resources-new-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background: var(--secondary-color); /* Assuming body background is light/white */
}

.page-resources-new-slot-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-resources-new-slot-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-offset, 120px);
    min-height: 600px;
    color: var(--text-color-light);
    background-color: var(--primary-color);
    text-align: center;
    overflow: hidden;
}

.page-resources-new-slot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    border-radius: 10px;
}

.page-resources-new-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--font-register-login); /* Using yellow for emphasis */
}

.page-resources-new-slot-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.page-resources-new-slot-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-resources-new-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for better text contrast */
}

/* General Section Styles */
.page-resources-new-slot-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-resources-new-slot-games__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-color-dark);
}

.page-resources-new-slot-games__dark-bg .page-resources-new-slot-games__section-title,
.page-resources-new-slot-games__dark-bg .page-resources-new-slot-games__section-intro {
    color: var(--text-color-light);
}

.page-resources-new-slot-games__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 60px 0;
}

.page-resources-new-slot-games__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-color-dark);
    padding: 60px 0;
}

/* CTA Buttons */
.page-resources-new-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-resources-new-slot-games__btn-primary,
.page-resources-new-slot-games__btn-secondary,
.page-resources-new-slot-games__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-resources-new-slot-games__btn-primary {
    background-color: var(--button-register);
    color: var(--font-register-login);
    border: 2px solid var(--button-register);
}

.page-resources-new-slot-games__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-resources-new-slot-games__btn-secondary {
    background-color: transparent;
    color: var(--font-register-login);
    border: 2px solid var(--font-register-login);
}

.page-resources-new-slot-games__btn-secondary:hover {
    background-color: var(--font-register-login);
    color: var(--primary-color);
}

.page-resources-new-slot-games__btn-link {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    font-size: 1em;
}

.page-resources-new-slot-games__btn-link:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* About Section */
.page-resources-new-slot-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-new-slot-games__feature-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    color: var(--text-color-dark);
}

.page-resources-new-slot-games__feature-card:hover {
    transform: translateY(-10px);
}

.page-resources-new-slot-games__feature-icon {
    width: 250px;
    height: 187px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-resources-new-slot-games__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources-new-slot-games__feature-description {
    font-size: 1em;
    color: var(--text-color-dark);
}

/* Games Showcase */
.page-resources-new-slot-games__game-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-new-slot-games__game-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    color: var(--text-color-light);
}

.page-resources-new-slot-games__game-card:hover {
    transform: translateY(-10px);
}

.page-resources-new-slot-games__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-resources-new-slot-games__game-title {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.page-resources-new-slot-games__game-title a {
    color: var(--font-register-login);
    text-decoration: none;
}

.page-resources-new-slot-games__game-title a:hover {
    text-decoration: underline;
}

.page-resources-new-slot-games__game-description {
    font-size: 0.95em;
    margin-bottom: 20px;
}

.page-resources-new-slot-games__view-more-cta {
    text-align: center;
    margin-top: 40px;
}

/* How to Play Section */
.page-resources-new-slot-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-new-slot-games__step-card {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    color: var(--text-color-dark);
}

.page-resources-new-slot-games__step-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources-new-slot-games__step-description {
    font-size: 1em;
    margin-bottom: 20px;
}

/* Promotions Section */
.page-resources-new-slot-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-new-slot-games__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    color: var(--text-color-light);
}

.page-resources-new-slot-games__promo-card:hover {
    transform: translateY(-10px);
}

.page-resources-new-slot-games__promo-image {
    width: 100%;
    height: 225px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-resources-new-slot-games__promo-title {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.page-resources-new-slot-games__promo-title a {
    color: var(--font-register-login);
    text-decoration: none;
}

.page-resources-new-slot-games__promo-title a:hover {
    text-decoration: underline;
}

.page-resources-new-slot-games__promo-description {
    font-size: 0.95em;
    margin-bottom: 20px;
}

/* Responsible Gambling Section */
.page-resources-new-slot-games__responsible-list {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 40px auto;
    text-align: left;
}

.page-resources-new-slot-games__responsible-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--text-color-dark);
}

.page-resources-new-slot-games__icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 15px;
    background-color: var(--primary-color);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.page-resources-new-slot-games__icon--limit { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><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>'); }
.page-resources-new-slot-games__icon--break { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M13 18h-2v-2h2v2zm2-4H9v-2h6v2zm2-4h-2V8h2v2zm2-4H5V4h14v2zM4 22h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2z"/></svg>'); }
.page-resources-new-slot-games__icon--budget { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 1.99 2H20c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4V8h16v10zm-4-7h-4V9h4v2z"/></svg>'); }
.page-resources-new-slot-games__icon--help { mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 12.9 13 13.5 13 14h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"/></svg>'); }

/* FAQ Section */
.page-resources-new-slot-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-new-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-color-light);
}

.page-resources-new-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--primary-color);
    color: var(--font-register-login);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-resources-new-slot-games__faq-question:hover {
    background-color: #005a2d;
}

.page-resources-new-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-new-slot-games__faq-item.active .page-resources-new-slot-games__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-new-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(0, 0, 0, 0.2);
}

.page-resources-new-slot-games__faq-item.active .page-resources-new-slot-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to accommodate content */
    padding: 20px !important;
}

.page-resources-new-slot-games__faq-answer p {
    margin: 0;
    color: var(--text-color-light);
}

/* Join Us Section */
.page-resources-new-slot-games__join-content {
    text-align: center;
    padding: 40px 20px;
}

.page-resources-new-slot-games__join-content .page-resources-new-slot-games__section-title {
    color: var(--primary-color);
}

.page-resources-new-slot-games__join-content .page-resources-new-slot-games__section-intro {
    color: var(--text-color-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-new-slot-games__hero-title {
        font-size: 2.8em;
    }
    .page-resources-new-slot-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-new-slot-games__hero-section {
        flex-direction: column;
        text-align: center;
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }
    
    .page-resources-new-slot-games__hero-content {
        order: 2;
        width: 100%;
        max-width: 100%;
        padding: 15px;
    }

    .page-resources-new-slot-games__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-resources-new-slot-games__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-resources-new-slot-games__hero-image-wrapper {
        order: 1;
        position: relative;
        height: 250px;
        width: 100%;
    }

    .page-resources-new-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-resources-new-slot-games__btn-primary,
    .page-resources-new-slot-games__btn-secondary,
    .page-resources-new-slot-games__btn-link {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-resources-new-slot-games__section-title {
        font-size: 1.8em;
    }

    .page-resources-new-slot-games__section-intro {
        font-size: 1em;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .page-resources-new-slot-games__container {
        padding: 0 15px;
    }

    .page-resources-new-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-resources-new-slot-games__feature-card,
    .page-resources-new-slot-games__game-card,
    .page-resources-new-slot-games__step-card,
    .page-resources-new-slot-games__promo-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-new-slot-games__responsible-list {
        padding: 0 15px;
    }

    .page-resources-new-slot-games__faq-question,
    .page-resources-new-slot-games__faq-answer {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .page-resources-new-slot-games__faq-item.active .page-resources-new-slot-games__faq-answer {
        padding: 15px !important;
    }

    .page-resources-new-slot-games__dark-bg, .page-resources-new-slot-games__light-bg {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .page-resources-new-slot-games__hero-title {
        font-size: 1.8em;
    }
    .page-resources-new-slot-games__section-title {
        font-size: 1.5em;
    }
    .page-resources-new-slot-games__hero-section {
        min-height: 400px;
    }
}