/* style/slot-games.css */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Body background from shared.css */
}

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

.page-slot-games__dark-bg {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-slot-games__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    overflow: hidden;
    padding-bottom: 60px;
}

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

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #FFFFFF;
}

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

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

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

/* Video Section */
.page-slot-games__video-section {
    padding: 60px 0;
    text-align: center;
}

.page-slot-games__video-wrapper {
    display: block;
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 30px auto 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
}

.page-slot-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Content Area */
.page-slot-games__content-area {
    padding: 60px 0;
}

.page-slot-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #26A9E0;
}

.page-slot-games__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__feature-card,
.page-slot-games__promo-card {
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__feature-card:hover,
.page-slot-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-slot-games__feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-slot-games__feature-title,
.page-slot-games__promo-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-slot-games__feature-text,
.page-slot-games__promo-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

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

.page-slot-games__game-type-item {
    background: #F8F8F8;
    border-left: 5px solid #26A9E0;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-slot-games__game-type-title {
    font-size: 1.3em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-slot-games__game-type-description {
    color: #555555;
}

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

.page-slot-games__guide-item {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-slot-games__guide-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-slot-games__guide-text {
    color: #555555;
}

.page-slot-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-bottom: 60px;
}

.page-slot-games__strategy-list li {
    background: #F8F8F8;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    border-left: 4px solid #26A9E0;
    color: #333333;
}

.page-slot-games__strategy-list li strong {
    color: #26A9E0;
}

.page-slot-games__mobile-app-section {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
    background-color: #F8F8F8;
    padding: 40px;
    border-radius: 12px;
}

.page-slot-games__mobile-content {
    flex: 1;
}

.page-slot-games__mobile-title {
    font-size: 2em;
    color: #26A9E0;
    margin-bottom: 20px;
}

.page-slot-games__mobile-text {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
}

.page-slot-games__mobile-image-wrapper {
    flex: 1;
    text-align: center;
}

.page-slot-games__mobile-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.page-slot-games__faq-list {
    max-width: 900px;
    margin: 0 auto 60px;
}

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

.page-slot-games__faq-question {
    background-color: #F8F8F8;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    color: #26A9E0;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: #E6F7FF;
}

.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, padding 0.3s ease;
    color: #555555;
    background-color: #FFFFFF;
}

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

.page-slot-games__faq-answer p {
    margin-bottom: 0;
}

/* Conclusion CTA */
.page-slot-games__conclusion-cta {
    text-align: center;
    padding: 60px 20px;
    border-radius: 12px;
    margin-top: 60px;
}

.page-slot-games__conclusion-title {
    font-size: 2.5em;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.page-slot-games__conclusion-description {
    font-size: 1.2em;
    color: #FFFFFF;
    max-width: 800px;
    margin: 0 auto 30px;
}

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

.page-slot-games__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

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

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

.page-slot-games__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #26A9E0;
}

/* Specific button colors */
a[href*="login.html"],
a[href*="register.html"] {
    background-color: #EA7C07;
    border-color: #EA7C07;
    color: #FFFFFF;
}

a[href*="login.html"]:hover,
a[href*="register.html"]:hover {
    background-color: #c46400;
    border-color: #c46400;
}

/* General image styling */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 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__conclusion-title {
        font-size: 2em;
    }
    .page-slot-games__mobile-app-section {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .page-slot-games__mobile-content,
    .page-slot-games__mobile-image-wrapper {
        flex: none;
        width: 100%;
    }
}

@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; /* Ensure header offset on mobile */
    }
    .page-slot-games__hero-title {
        font-size: 2.5em;
    }
    .page-slot-games__hero-description {
        font-size: 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-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__features-grid,
    .page-slot-games__promotions-grid,
    .page-slot-games__game-types,
    .page-slot-games__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__feature-card,
    .page-slot-games__promo-card,
    .page-slot-games__game-type-item,
    .page-slot-games__guide-item,
    .page-slot-games__faq-item,
    .page-slot-games__video-wrapper,
    .page-slot-games__conclusion-cta,
    .page-slot-games__mobile-app-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-slot-games__conclusion-title {
        font-size: 1.8em;
    }
    .page-slot-games__conclusion-description {
        font-size: 1em;
    }
}

/* Color Contrast Fixes (if needed, applied as specific overrides) */
.page-slot-games__text-contrast-fix {
    color: #333333 !important;
    text-shadow: none !important;
}