/* style/slot-games.css */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text for light body background */
    background-color: var(--secondary-color, #FFFFFF); /* Default to white if var not loaded */
    line-height: 1.6;
}

/* Hero Section */
.page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px);
    position: relative;
    overflow: hidden;
    background-color: #017439; /* Brand primary color for hero background */
    color: #FFFFFF; /* White text for dark background */
    text-align: center;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.page-slot-games__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

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

.page-slot-games__btn-primary {
    display: inline-block;
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login text color */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

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

.page-slot-games__btn-secondary {
    display: inline-block;
    background-color: #017439; /* Brand primary color */
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    border: 2px solid #FFFFFF;
    cursor: pointer;
    white-space: nowrap;
}

.page-slot-games__btn-secondary:hover {
    background-color: #005a2e;
}

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

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

.page-slot-games__section--alt {
    background-color: #f8f8f8;
}

.page-slot-games__dark-section {
    background-color: #017439;
    color: #ffffff;
}

.page-slot-games__heading {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #017439; /* Brand primary color for headings */
    font-weight: bold;
}

.page-slot-games__dark-section .page-slot-games__heading {
    color: #FFFFFF;
}

.page-slot-games__sub-heading {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #017439;
    font-weight: bold;
}

.page-slot-games__text {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 40px auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-slot-games__hero-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1920px; /* Max width for hero image */
    height: auto;
    opacity: 0.2;
    z-index: 0;
}

.page-slot-games__hero-section .page-slot-games__container {
    position: relative;
    z-index: 1;
}

.page-slot-games__video-section {
    position: relative;
    width: 100%;
    padding: 60px 20px;
    background-color: #017439;
    color: #FFFFFF;
    text-align: center;
}

.page-slot-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.page-slot-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
}

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

.page-slot-games__card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.page-slot-games__card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.page-slot-games__card-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-slot-games__list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__list-item {
    background-color: #f0fdf4; /* Light green background */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-slot-games__list-item::before {
    content: '✅';
    margin-right: 10px;
    font-size: 1.2em;
    line-height: 1;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

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

.page-slot-games__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    background-color: #f0fdf4; /* Light green for question background */
    transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* For '-' icon */
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    font-size: 1.1em;
    line-height: 1.7;
    color: #555555;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

/* Responsive Styles */
@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__hero-title {
        font-size: 2.2em;
    }

    .page-slot-games__hero-description {
        font-size: 0.95em;
    }

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-slot-games__section {
        padding: 40px 15px;
    }

    .page-slot-games__heading {
        font-size: 2em;
    }

    .page-slot-games__sub-heading {
        font-size: 1.5em;
    }

    .page-slot-games__text {
        font-size: 0.95em;
        padding: 0 10px;
    }

    .page-slot-games__image,
    .page-slot-games video,
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        margin-left: auto;
        margin-right: auto;
        padding: 0 15px; /* Add padding to prevent overflow */
    }
    
    .page-slot-games__video-section {
        padding: 40px 15px;
    }

    .page-slot-games__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .page-slot-games__card {
        padding: 20px;
    }

    .page-slot-games__card-title {
        font-size: 1.2em;
    }

    .page-slot-games__list {
        padding: 0 15px;
    }

    .page-slot-games__list-item {
        padding: 12px 15px;
        font-size: 0.95em;
    }

    .page-slot-games__faq-list {
        padding: 0 15px;
    }

    .page-slot-games__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-slot-games__faq-answer {
        font-size: 1em;
        padding: 0 15px;
    }

    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px;
    }

    .page-slot-games__hero-image {
        position: relative;
        transform: translateX(-50%) translateY(20px);
        opacity: 0.1;
    }
}