/* style/slot-games.css */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-register: #C30808;
    --button-login: #C30808;
    --font-register-login: #FFFF00;
    --border-color: #e0e0e0;
}

.page-slot-games {
    font-family: Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--secondary-color); /* Body background is white */
}

.page-slot-games__section {
    padding: 60px 0;
    text-align: center;
}

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

.page-slot-games__section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-slot-games__text-block {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: var(--text-dark);
}

/* 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);
    background: linear-gradient(135deg, var(--primary-color) 0%, #000000 100%); /* Darker gradient for hero background */
    color: var(--text-light);
}

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

.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%;
    padding: 30px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay for text readability */
    color: var(--text-light);
}

.page-slot-games__hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--font-register-login); /* Use font-register-login for main title for contrast */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-slot-games__hero-content p {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 30px;
    color: var(--text-light);
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-link {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

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

.page-slot-games__btn-primary:hover {
    background: darken(var(--button-register), 10%);
    border-color: darken(var(--button-register), 10%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-secondary {
    background: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-slot-games__btn-secondary:hover {
    background: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-link {
    background: none;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 25px;
    font-size: 16px;
}

.page-slot-games__btn-link:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* Intro Section */
.page-slot-games__intro-section .page-slot-games__section-title {
    color: var(--primary-color);
}

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

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

.page-slot-games__feature-item:hover {
    transform: translateY(-5px);
}

.page-slot-games__feature-item img {
    
    
    object-fit: contain;
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* Games Showcase Section */
.page-slot-games__games-showcase {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-slot-games__games-showcase .page-slot-games__section-title,
.page-slot-games__games-showcase .page-slot-games__text-block {
    color: var(--text-light);
}

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

.page-slot-games__game-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    text-align: left;
}

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

.page-slot-games__game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    max-width: 100%;
    height: auto;
    display: block;
}

.page-slot-games__game-card .page-slot-games__card-title {
    font-size: 20px;
    margin: 20px 20px 10px;
    color: var(--text-light);
}

.page-slot-games__game-card .page-slot-games__card-link {
    color: var(--font-register-login);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__game-card .page-slot-games__card-link:hover {
    color: var(--secondary-color);
}

.page-slot-games__game-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 20px 20px;
    line-height: 1.6;
}

.page-slot-games__full-width-btn {
    margin-top: 40px;
    width: auto;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

/* Guide Section */
.page-slot-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__step-item {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    position: relative;
    padding-top: 60px; /* Space for step number */
}

.page-slot-games__step-number {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

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

.page-slot-games__step-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-slot-games__promotions-section .page-slot-games__section-title,
.page-slot-games__promotions-section .page-slot-games__text-block {
    color: var(--text-light);
}

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

.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.2);
    transition: transform 0.3s ease;
    text-align: left;
}

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

.page-slot-games__promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    max-width: 100%;
    height: auto;
    display: block;
}

.page-slot-games__promo-card .page-slot-games__card-title {
    font-size: 20px;
    margin: 20px 20px 10px;
}

.page-slot-games__promo-card .page-slot-games__card-link {
    color: var(--font-register-login);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__promo-card .page-slot-games__card-link:hover {
    color: var(--secondary-color);
}

.page-slot-games__promo-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 20px 20px;
    line-height: 1.6;
}

.page-slot-games__promo-card .page-slot-games__btn-primary {
    margin: 0 20px 20px;
    padding: 10px 20px;
    font-size: 16px;
    display: inline-block;
    background: var(--font-register-login);
    color: var(--button-register);
    border: 2px solid var(--font-register-login);
}

.page-slot-games__promo-card .page-slot-games__btn-primary:hover {
    background: darken(var(--font-register-login), 10%);
    border-color: darken(var(--font-register-login), 10%);
}

/* Security & Support Section */
.page-slot-games__security-support .page-slot-games__section-title {
    color: var(--primary-color);
}

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

.page-slot-games__support-item {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-slot-games__support-item:hover {
    transform: translateY(-5px);
}

.page-slot-games__support-item img {
    
    
    object-fit: contain;
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__support-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
}

/* FAQ Section */
.page-slot-games__faq-section .page-slot-games__section-title {
    color: var(--primary-color);
}

.page-slot-games__faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-slot-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.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, opacity 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;
    color: var(--text-dark);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    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: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-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); /* Change to X or rotate */
}

/* Latest News Section */
.page-slot-games__latest-news {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-slot-games__latest-news .page-slot-games__section-title,
.page-slot-games__latest-news .page-slot-games__text-block {
    color: var(--text-light);
}

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

.page-slot-games__news-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    text-align: left;
}

.page-slot-games__news-card:hover {
    transform: translateY(-5px);
}

.page-slot-games__news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    max-width: 100%;
    height: auto;
    display: block;
}

.page-slot-games__news-card .page-slot-games__card-title {
    font-size: 20px;
    margin: 20px 20px 10px;
}

.page-slot-games__news-card .page-slot-games__card-link {
    color: var(--font-register-login);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__news-card .page-slot-games__card-link:hover {
    color: var(--secondary-color);
}

.page-slot-games__news-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 20px 15px;
    line-height: 1.6;
}

.page-slot-games__read-more {
    display: inline-block;
    margin: 0 20px 20px;
    color: var(--font-register-login);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-slot-games__read-more:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-content h1 {
        font-size: 40px;
    }
    .page-slot-games__hero-content p {
        font-size: 18px;
    }
    .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-content p {
        font-size: 16px;
    }
    .page-slot-games__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary, .page-slot-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-slot-games__section {
        padding: 40px 0;
    }
    .page-slot-games__container {
        padding: 0 15px;
    }
    .page-slot-games__section-title {
        font-size: 26px;
    }
    .page-slot-games__text-block {
        font-size: 16px;
    }
    .page-slot-games__features, .page-slot-games__game-grid, .page-slot-games__guide-steps, .page-slot-games__promo-grid, .page-slot-games__support-grid, .page-slot-games__news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__feature-item, .page-slot-games__game-card, .page-slot-games__step-item, .page-slot-games__promo-card, .page-slot-games__support-item, .page-slot-games__news-card {
        padding: 20px;
    }
    .page-slot-games__game-card img, .page-slot-games__promo-card img, .page-slot-games__news-card img {
        
    }
    .page-slot-games__feature-item h3, .page-slot-games__game-card .page-slot-games__card-title, .page-slot-games__step-item h3, .page-slot-games__promo-card .page-slot-games__card-title, .page-slot-games__support-item h3, .page-slot-games__news-card .page-slot-games__card-title {
        font-size: 18px;
    }
    .page-slot-games__faq-question {
        padding: 15px;
    }
    .page-slot-games__faq-question h3 {
        font-size: 16px;
    }
    .page-slot-games__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px !important;
    }

    /* Ensure all images and containers are responsive and prevent overflow */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-slot-games__section,
    .page-slot-games__container,
    .page-slot-games__game-card,
    .page-slot-games__promo-card,
    .page-slot-games__news-card,
    .page-slot-games__cta-group,
    .page-slot-games__full-width-btn {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__cta-group {
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-slot-games__btn-link {
        max-width: 100% !important;
        width: 100% !important;
    }
}