/* style/slot-games.css */

:root {
    --primary-color: #E44D26;
    --secondary-color: #333333;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #121212;
    --bg-light: #ffffff;
    --card-bg-dark: rgba(255, 255, 255, 0.08);
    --border-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Body background is dark #121212, so use light text */
    background-color: var(--bg-dark); /* Ensure consistency if main has its own background */
}

.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Increased height for better visual impact */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Desktop padding for header offset */
}

.page-slot-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

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

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

.page-slot-games__hero-title {
    font-size: 3.5em;
    color: var(--primary-color);
    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: var(--text-light);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-slot-games__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

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

.page-slot-games__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

.page-slot-games__intro-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-slot-games__game-types-section {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.page-slot-games__guide-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

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

.page-slot-games__features-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

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

.page-slot-games__cta-bottom-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0;
}

.page-slot-games__section-title {
    font-size: 2.8em;
    margin-bottom: 40px;
    color: var(--text-light);
}

.page-slot-games__intro-section .page-slot-games__section-title,
.page-slot-games__guide-section .page-slot-games__section-title,
.page-slot-games__features-section .page-slot-games__section-title {
    color: var(--primary-color);
}

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

.page-slot-games__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

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

.page-slot-games__game-card {
    background-color: var(--card-bg-dark);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--border-color);
}

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

.page-slot-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__game-card-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-slot-games__game-card-description {
    font-size: 0.95em;
    color: var(--text-light);
    line-height: 1.6;
}

.page-slot-games__guide-list {
    list-style: none;
    counter-reset: guide-counter;
    max-width: 800px;
    margin: 40px auto 0;
    text-align: left;
    padding: 0;
}

.page-slot-games__guide-list li {
    margin-bottom: 30px;
    position: relative;
    padding-left: 60px;
}

.page-slot-games__guide-list li::before {
    counter-increment: guide-counter;
    content: counter(guide-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--primary-color);
    color: var(--text-light);
    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__guide-list-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-slot-games__guide-list p {
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--text-light);
}

.page-slot-games__guide-list p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-slot-games__guide-list p a:hover {
    text-decoration: underline;
}

.page-slot-games__flex-container {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-slot-games__promo-section .page-slot-games__flex-container {
    flex-direction: row;
}

.page-slot-games__promo-content,
.page-slot-games__cta-text {
    flex: 1;
}

.page-slot-games__promo-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slot-games__promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__promo-list {
    list-style: none;
    padding: 0;
    margin: 25px 0 35px;
    text-align: left;
}

.page-slot-games__promo-list li {
    font-size: 1.1em;
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
    color: var(--text-light);
}

.page-slot-games__promo-list li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--text-light);
    font-size: 1.2em;
    line-height: 1;
}

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

.page-slot-games__feature-card {
    background-color: var(--card-bg-dark);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-slot-games__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__feature-card-title {
    font-size: 1.7em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-slot-games__feature-card-description {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 20px;
}

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

.page-slot-games__faq-item {
    background-color: var(--card-bg-dark);
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.3em;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

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

.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: var(--text-light);
}

.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 {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 0;
    color: var(--text-light);
}

.page-slot-games__cta-bottom-section .page-slot-games__flex-container {
    justify-content: space-between;
    flex-direction: row;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }

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

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile padding for header offset */
    }

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

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

    .page-slot-games__hero-cta-group {
        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;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-slot-games__text-block {
        font-size: 1em;
        line-height: 1.6;
    }

    .page-slot-games__game-grid,
    .page-slot-games__feature-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-slot-games__game-card,
    .page-slot-games__feature-card {
        padding: 20px;
    }

    .page-slot-games__game-image {
        min-width: 200px !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-slot-games__promo-image {
        min-width: 200px !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-slot-games__guide-list {
        margin-top: 30px;
    }

    .page-slot-games__guide-list li {
        padding-left: 50px;
        margin-bottom: 25px;
    }

    .page-slot-games__guide-list li::before {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }

    .page-slot-games__guide-list-title {
        font-size: 1.4em;
    }

    .page-slot-games__flex-container {
        flex-direction: column;
        gap: 30px;
    }

    .page-slot-games__promo-list {
        margin: 20px 0 25px;
    }

    .page-slot-games__promo-list li {
        font-size: 1em;
        padding-left: 25px;
    }

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

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

    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px 20px 20px;
    }
    
    .page-slot-games img {
        max-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__promo-image-wrapper,
    .page-slot-games__cta-bottom-section .page-slot-games__flex-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-title {
        font-size: 1.8em;
    }

    .page-slot-games__section-title {
        font-size: 1.5em;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        font-size: 0.9em;
    }

    .page-slot-games__guide-list li {
        padding-left: 45px;
    }

    .page-slot-games__guide-list li::before {
        width: 30px;
        height: 30px;
        font-size: 1em;
    }
}