/* style/slot-games.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f1f3f5;
    --background-white: #ffffff;
    --border-color: #e0e0e0;
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--text-color-dark);
    background-color: var(--background-light); /* Default background, will be overridden by body's dark-bg-1 */
    padding-top: 120px; /* Space for fixed header on desktop */
}

@media (max-width: 768px) {
    .page-slot-games {
        padding-top: 100px; /* Space for fixed header on mobile */
    }
}

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

.page-slot-games__main-title {
    font-size: 42px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
}

.page-slot-games__section-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.3;
}

.page-slot-games__section-description {
    font-size: 18px;
    color: var(--text-color-dark);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__intro-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #e0eafc, #cfdef3); /* Light gradient for intro */
    text-align: center;
    margin-bottom: 40px;
}

.page-slot-games__intro-text {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--text-color-dark);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-slot-games__cta-button:hover {
    background: #071a47; /* Slightly darker primary */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.page-slot-games__cta-button--secondary {
    background: var(--background-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.page-slot-games__cta-button--secondary:hover {
    background: var(--primary-color);
    color: var(--text-color-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-slot-games__what-is-section, .page-slot-games__guide-section, .page-slot-games__promotions-section {
    padding: 60px 0;
    margin-bottom: 40px;
}

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

.page-slot-games__dark-section .page-slot-games__section-title,
.page-slot-games__dark-section .page-slot-games__section-description,
.page-slot-games__dark-section h3,
.page-slot-games__dark-section p,
.page-slot-games__dark-section li,
.page-slot-games__dark-section a {
    color: var(--text-color-light);
}

.page-slot-games__dark-section a:hover {
    color: var(--secondary-color);
}

.page-slot-games__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-slot-games__text-block {
    flex: 1;
}

.page-slot-games__text-block p {
    margin-bottom: 15px;
    font-size: 17px;
}

.page-slot-games__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slot-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.page-slot-games__types-section, .page-slot-games__strategy-section, .page-slot-games__responsible-gambling-section {
    padding: 60px 0;
    margin-bottom: 40px;
    background-color: var(--background-white);
}

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

.page-slot-games__card {
    background: var(--background-white);
    border-radius: 12px;
    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;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__card-image {
    max-width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-slot-games__card-text {
    font-size: 16px;
    color: var(--text-color-dark);
}

.page-slot-games__ordered-list, .page-slot-games__unordered-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}

.page-slot-games__ordered-list li, .page-slot-games__unordered-list li {
    background: var(--background-white);
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--secondary-color);
    font-size: 17px;
    color: var(--text-color-dark);
}

.page-slot-games__ordered-list li h3, .page-slot-games__unordered-list li h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-slot-games__ordered-list li p, .page-slot-games__unordered-list li p {
    margin-bottom: 0;
}

.page-slot-games__faq-section {
    padding: 60px 0;
    margin-bottom: 40px;
    background-color: var(--background-light);
}

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

.page-slot-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.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;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    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: 28px; /* Increased size for better visibility */
    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: 32px; /* Increased size for better tap target */
    height: 32px; /* Increased size for better tap target */
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg); /* Rotate to form an 'X' or similar */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: 38px;
    }

    .page-slot-games__section-title {
        font-size: 28px;
    }

    .page-slot-games__intro-text, .page-slot-games__section-description {
        font-size: 16px;
    }

    .page-slot-games__content-wrapper {
        flex-direction: column;
    }

    .page-slot-games__image-block {
        margin-top: 30px;
    }

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

    .page-slot-games__card-image {
        height: 200px;
    }

    .page-slot-games__card-title {
        font-size: 22px;
    }

    .page-slot-games__ordered-list li, .page-slot-games__unordered-list li {
        padding: 20px 25px;
        font-size: 16px;
    }

    .page-slot-games__ordered-list li h3, .page-slot-games__unordered-list li h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__main-title {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .page-slot-games__section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .page-slot-games__intro-section, .page-slot-games__what-is-section, .page-slot-games__types-section,
    .page-slot-games__guide-section, .page-slot-games__strategy-section, .page-slot-games__promotions-section,
    .page-slot-games__responsible-gambling-section, .page-slot-games__faq-section {
        padding: 40px 0;
        margin-bottom: 20px;
    }

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

    .page-slot-games__intro-text, .page-slot-games__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .page-slot-games__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }

    .page-slot-games__text-block p {
        font-size: 15px;
    }

    .page-slot-games__grid {
        grid-template-columns: 1fr;
    }

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

    .page-slot-games__card-image {
        height: 180px;
    }

    .page-slot-games__card-title {
        font-size: 20px;
    }

    .page-slot-games__card-text {
        font-size: 15px;
    }

    .page-slot-games__ordered-list li, .page-slot-games__unordered-list li {
        padding: 18px 20px;
        font-size: 15px;
    }

    .page-slot-games__ordered-list li h3, .page-slot-games__unordered-list li h3 {
        font-size: 18px;
    }

    .page-slot-games__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }

    .page-slot-games__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }

    .page-slot-games__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }

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

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