/* style/slot-games.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --button-login: #EA7C07;
    --background-color-page: #FFFFFF;
    --border-color: #e0e0e0;
}

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

.page-slot-games__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-slot-games__light-bg {
    background-color: var(--background-color-page);
    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);
    overflow: hidden;
}

.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;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__main-heading {
    font-size: 3.2em;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-slot-games__sub-heading {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styling */
.page-slot-games__section {
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.page-slot-games__dark-bg .page-slot-games__section-title {
    color: var(--text-light);
}

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__dark-bg .page-slot-games__text-block {
    color: rgba(255, 255, 255, 0.9);
}

.page-slot-games__image-wrapper {
    margin: 40px auto;
    max-width: 900px;
}

.page-slot-games__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* CTA Buttons */
.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    min-width: 200px;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-slot-games__btn-primary:hover {
    background: darken(var(--button-login), 10%);
    border-color: darken(var(--button-login), 10%);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__wide-button {
    max-width: 400px;
    width: 100%;
}

/* Game Grid */
.page-slot-games__game-grid, .page-slot-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.page-slot-games__game-card, .page-slot-games__promo-card {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-slot-games__game-card:hover, .page-slot-games__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-slot-games__card-text {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 25px;
    flex-grow: 1;
}

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

/* Benefits List */
.page-slot-games__benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.page-slot-games__benefit-item {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-slot-games__benefit-icon {
    width: 250px; /* Increased size */
    height: 180px; /* Increased size */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-slot-games__benefit-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-slot-games__benefit-description {
    font-size: 1em;
    color: var(--text-dark);
}

/* FAQ Section */
.page-slot-games__faq-section {
    background-color: #f9f9f9;
    padding: 80px 20px;
}

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    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: 1.15em;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none;
}

.page-slot-games__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    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: 30px;
    height: 30px;
}

.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 25px;
    opacity: 0;
    background: #fdfdfd;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    border: 1px solid var(--border-color);
    border-top: none;
}

.page-slot-games__faq-item.active .page-slot-games__faq-question {
    border-radius: 8px 8px 0 0;
    border-bottom: none;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    color: var(--button-login);
    transform: rotate(0deg);
}

.page-slot-games__faq-answer p {
    margin: 0;
    color: var(--text-dark);
}

/* Contact Promo Section */
.page-slot-games__contact-promo {
    padding: 60px 20px;
    background: linear-gradient(90deg, #26A9E0, #007bff);
    color: var(--text-light);
}

.page-slot-games__contact-promo .page-slot-games__section-title {
    color: var(--text-light);
}

.page-slot-games__contact-promo .page-slot-games__text-block {
    color: rgba(255, 255, 255, 0.9);
}

.page-slot-games__contact-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__main-heading {
        font-size: 2.8em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__hero-image img {
        max-height: 500px;
    }
}

@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__main-heading {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-slot-games__sub-heading {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-slot-games__cta-button {
        padding: 12px 30px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-slot-games__wide-button {
        max-width: 100% !important;
    }
    .page-slot-games__section {
        padding: 50px 15px;
    }
    .page-slot-games__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slot-games__text-block {
        font-size: 0.95em;
    }
    .page-slot-games__game-grid, .page-slot-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__game-card, .page-slot-games__promo-card {
        padding: 20px;
    }
    .page-slot-games__benefit-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .page-slot-games__faq-question {
        padding: 15px 20px;
    }
    .page-slot-games__faq-question h3 {
        font-size: 1em;
    }
    .page-slot-games__faq-toggle {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
    .page-slot-games__faq-answer {
        padding: 0 20px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px 20px !important;
    }
    /* Mobile image responsive */
    .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__cta-buttons, .page-slot-games__button-group, .page-slot-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
}