/* style/slot-games.css */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color: #333333;
    --heading-color: #222222;
    --light-bg-color: #f8f8f8;
    --dark-bg-color: #017439;
    --button-register-bg: #C30808;
    --button-login-bg: #C30808;
    --button-text-color: #FFFF00;
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color); /* Default light background */
}

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

.page-slot-games__section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-slot-games__section-title--white {
    color: var(--secondary-color);
}

.page-slot-games__description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__description--white {
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background-color: var(--dark-bg-color);
    color: var(--secondary-color);
}

.page-slot-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-slot-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-slot-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-slot-games__hero-content h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.page-slot-games__hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-slot-games__hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__cta-button--register {
    background: var(--button-register-bg);
    color: var(--button-text-color);
    border-color: var(--button-register-bg);
}

.page-slot-games__cta-button--login {
    background: var(--button-login-bg);
    color: var(--button-text-color);
    border-color: var(--button-login-bg);
}

.page-slot-games__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Intro Section */
.page-slot-games__intro-section {
    padding: 80px 0;
    background-color: var(--light-bg-color);
    color: var(--text-color);
}

.page-slot-games__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.page-slot-games__feature-item {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-slot-games__feature-item img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-slot-games__feature-item h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-slot-games__feature-item p {
    font-size: 16px;
    color: var(--text-color);
}

/* Quick Access Section */
.page-slot-games__quick-access-section {
    padding: 80px 0;
    background-color: var(--dark-bg-color);
    color: var(--secondary-color);
}

.page-slot-games__quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-slot-games__quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--secondary-color);
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__quick-link-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.page-slot-games__quick-link-card img {
    
    
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-slot-games__quick-link-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.page-slot-games__quick-link-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

/* Game Showcase Section */
.page-slot-games__game-showcase-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--text-color);
}

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

.page-slot-games__game-card {
    background: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.page-slot-games__game-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-slot-games__game-card h3 {
    font-size: 22px;
    color: var(--heading-color);
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-slot-games__game-card p {
    font-size: 15px;
    color: var(--text-color);
    padding: 0 20px;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-slot-games__game-card-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: auto; /* Push button to bottom */
    max-width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__game-card-button:hover {
    background: #005a2e;
    transform: translateY(-2px);
}

.page-slot-games__game-showcase-footer {
    margin-top: 50px;
    font-size: 18px;
    text-align: center;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 0;
    background-color: var(--dark-bg-color);
    color: var(--secondary-color);
}

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

.page-slot-games__promo-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.page-slot-games__promo-card img {
    width: 100%;
    height: 225px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-slot-games__promo-card h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-slot-games__promo-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    padding: 0 20px;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-slot-games__promo-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--button-register-bg);
    color: var(--button-text-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: auto;
    max-width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__promo-button:hover {
    background: #a30606;
    transform: translateY(-2px);
}

.page-slot-games__promotions-footer {
    margin-top: 50px;
}

.page-slot-games__text-link {
    color: var(--button-text-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-slot-games__text-link:hover {
    color: var(--secondary-color);
}

/* Security & Support Section */
.page-slot-games__security-support-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.page-slot-games__security-support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.page-slot-games__security-item {
    background: var(--light-bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-slot-games__security-item img {
    
    
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-slot-games__security-item h3 {
    font-size: 24px;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.page-slot-games__security-item p {
    font-size: 16px;
    color: var(--text-color);
}

.page-slot-games__contact-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 50px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.page-slot-games__contact-button:hover {
    background: #005a2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 80px 0;
    background-color: var(--light-bg-color);
    color: var(--text-color);
}

.page-slot-games__faq-list {
    margin-top: 50px;
}

.page-slot-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-slot-games__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-slot-games__faq-question:active {
    background: #eeeeee;
}

.page-slot-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--heading-color);
}

.page-slot-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg);
}

/* Latest News Section */
.page-slot-games__latest-news-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--text-color);
}

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

.page-slot-games__news-card {
    background: var(--light-bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.page-slot-games__news-card img {
    width: 100%;
    height: 225px;
    object-fit: cover;
}

.page-slot-games__news-card h3 {
    font-size: 22px;
    color: var(--heading-color);
    margin: 20px 20px 10px 20px;
}

.page-slot-games__news-card h3 a {
    color: var(--heading-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__news-card h3 a:hover {
    color: var(--primary-color);
}

.page-slot-games__news-card p {
    font-size: 15px;
    color: var(--text-color);
    padding: 0 20px;
    flex-grow: 1;
}

.page-slot-games__news-date {
    font-size: 14px;
    color: #666;
    margin: 15px 20px 20px 20px;
    display: block;
}

.page-slot-games__view-all-news {
    text-align: center;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-content h1 {
        font-size: 40px;
    }
    .page-slot-games__section-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__hero-image img {
        border-radius: 4px;
    }
    .page-slot-games__hero-content h1 {
        font-size: 32px;
    }
    .page-slot-games__hero-description {
        font-size: 16px;
    }
    .page-slot-games__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-slot-games__hero-cta-group {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__container {
        padding: 15px;
    }
    .page-slot-games__section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .page-slot-games__description {
        font-size: 16px;
    }

    .page-slot-games__intro-section, 
    .page-slot-games__quick-access-section, 
    .page-slot-games__game-showcase-section, 
    .page-slot-games__promotions-section, 
    .page-slot-games__security-support-section, 
    .page-slot-games__faq-section, 
    .page-slot-games__latest-news-section {
        padding: 40px 0;
    }

    .page-slot-games__features, 
    .page-slot-games__quick-links-grid, 
    .page-slot-games__game-cards-grid, 
    .page-slot-games__promo-grid, 
    .page-slot-games__security-support-grid, 
    .page-slot-games__news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__feature-item img, 
    .page-slot-games__quick-link-card img, 
    .page-slot-games__security-item img {
        
        
    }

    .page-slot-games__game-card img, 
    .page-slot-games__promo-card img, 
    .page-slot-games__news-card img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-slot-games__section, .page-slot-games__card, .page-slot-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-slot-games__faq-question h3 {
        font-size: 15px;
        width: calc(100% - 40px);
    }
    .page-slot-games__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-slot-games__faq-answer {
        padding: 0 15px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px !important;
    }
    .page-slot-games__contact-button, .page-slot-games__game-card-button, .page-slot-games__promo-button {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
    }
}