/* style/slot-games.css */

/* General Page Styles */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: var(--dark-background-1); /* Inherit from shared.css */
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold brand color */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-slot-games__section-intro {
    font-size: 1.1em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

.page-slot-games__btn-primary {
    background-color: #FFD700; /* Gold */
    color: #1a1a1a;
    border: 2px solid #FFD700;
}

.page-slot-games__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    color: #1a1a1a;
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-slot-games__btn-secondary:hover {
    background-color: #FFD700;
    color: #1a1a1a;
}

.page-slot-games__text-link {
    color: #1E90FF; /* Deep Blue auxiliary color */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-slot-games__text-link:hover {
    color: #46a3ff;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-slot-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-description {
    font-size: 1.3em;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

/* Advantages Section */
.page-slot-games__advantages-section {
    padding: 80px 0;
    background-color: var(--dark-background-2); /* Slightly different dark background */
}

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

.page-slot-games__card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 215, 0, 0.1);
}

.page-slot-games__card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 8px; /* Apply some border-radius to icons */
}

.page-slot-games__card-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
}

.page-slot-games__card-description {
    font-size: 1em;
    color: #e0e0e0;
    line-height: 1.6;
}

/* Game Types Section */
.page-slot-games__game-types-section {
    padding: 80px 0;
    background-color: var(--dark-background-1);
}

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

.page-slot-games__game-type-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__game-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__game-type-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-slot-games__game-type-card h3,
.page-slot-games__game-type-card p {
    padding: 0 25px;
}

.page-slot-games__game-type-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1.3;
}

.page-slot-games__game-type-description {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Guide Section */
.page-slot-games__guide-section {
    padding: 80px 0;
    background-color: var(--dark-background-2);
}

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

.page-slot-games__step-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-top: 60px; /* Space for number */
}

.page-slot-games__step-number {
    position: absolute;
    top: 20px;
    left: 30px;
    background-color: #1E90FF;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.page-slot-games__step-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
}

.page-slot-games__step-description {
    font-size: 1em;
    color: #e0e0e0;
    line-height: 1.6;
}

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

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

.page-slot-games__promo-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__promo-card h3,
.page-slot-games__promo-card p {
    padding: 0 25px;
}

.page-slot-games__promo-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1.3;
}

.page-slot-games__promo-description {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 25px;
    line-height: 1.6;
}

.page-slot-games__cta-center {
    text-align: center;
}

/* Tips Section */
.page-slot-games__tips-section {
    padding: 80px 0;
    background-color: var(--dark-background-2);
}

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

.page-slot-games__tip-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__tip-title {
    font-size: 1.6em;
    color: #1E90FF;
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
}

.page-slot-games__tip-description {
    font-size: 1em;
    color: #e0e0e0;
    line-height: 1.6;
}

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

.page-slot-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD700;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: rgba(255, 215, 0, 0.1);
}

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

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

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #e0e0e0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px;
}

.page-slot-games__faq-answer p {
    margin: 0;
    line-height: 1.6;
}

/* Final CTA Section */
.page-slot-games__cta-section {
    padding: 80px 0;
    background-color: #1E90FF; /* Deep Blue background for strong CTA */
    text-align: center;
}

.page-slot-games__cta-section .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__cta-section .page-slot-games__section-intro {
    color: #f0f0f0;
}

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

.page-slot-games__cta-section .page-slot-games__btn-primary {
    background-color: #FFD700;
    color: #1a1a1a;
    border-color: #FFD700;
}

.page-slot-games__cta-section .page-slot-games__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-slot-games__cta-section .page-slot-games__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.page-slot-games__cta-section .page-slot-games__btn-secondary:hover {
    background-color: #ffffff;
    color: #1E90FF;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__card-title,
    .page-slot-games__game-type-title,
    .page-slot-games__step-title,
    .page-slot-games__promo-title,
    .page-slot-games__tip-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    }
    .page-slot-games__hero-content {
        padding: 30px 15px;
    }
    .page-slot-games__hero-title {
        font-size: 2.2em;
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
    }
    .page-slot-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-slot-games__container {
        padding: 0 15px;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__section-intro {
        font-size: 1em;
    }
    .page-slot-games__grid,
    .page-slot-games__game-types-grid,
    .page-slot-games__steps-grid,
    .page-slot-games__promotions-grid,
    .page-slot-games__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__card,
    .page-slot-games__game-type-card,
    .page-slot-games__step-card,
    .page-slot-games__promo-card,
    .page-slot-games__tip-item {
        padding: 25px;
    }
    .page-slot-games__card-icon {
        width: 60px;
        height: 60px;
    }
    .page-slot-games__card-title,
    .page-slot-games__game-type-title,
    .page-slot-games__step-title,
    .page-slot-games__promo-title,
    .page-slot-games__tip-title {
        font-size: 1.2em;
    }
    .page-slot-games__game-type-image,
    .page-slot-games__promo-image {
        height: 180px;
    }
    .page-slot-games__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-slot-games__faq-answer {
        padding: 0 20px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 10px 20px 20px;
    }

    /* Ensure all images and containers are responsive */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__hero-section,
    .page-slot-games__advantages-section,
    .page-slot-games__game-types-section,
    .page-slot-games__guide-section,
    .page-slot-games__promotions-section,
    .page-slot-games__tips-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    .page-slot-games__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Ensure no filter is used on images */
.page-slot-games img {
    filter: none !important;
}