/* style/slot-games.css */

:root {
    --primary-color: #FFD700;
    --secondary-color: #1A1A1A;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f8f8f8;
    --bg-dark: #1a1a1a;
    --border-color: #333333;
}

.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark); /* Should match shared.css body background */
}

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

.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px);
    min-height: 600px;
    overflow: hidden;
    color: var(--text-light);
    background-color: var(--bg-dark);
}

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

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

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

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

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

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

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

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

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

.page-slot-games__section-intro {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-light);
}

.page-slot-games__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 80px 0;
}

.page-slot-games__dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0;
}

.page-slot-games__about-slots .page-slot-games__section-title,
.page-slot-games__game-types .page-slot-games__section-title,
.page-slot-games__tips-strategy .page-slot-games__section-title,
.page-slot-games__responsible-gaming .page-slot-games__section-title,
.page-slot-games__cta-section .page-slot-games__section-title {
    color: var(--primary-color);
}

.page-slot-games__about-slots .page-slot-games__section-intro,
.page-slot-games__game-types .page-slot-games__section-intro,
.page-slot-games__tips-strategy .page-slot-games__section-intro,
.page-slot-games__responsible-gaming .page-slot-games__section-intro,
.page-slot-games__cta-section .page-slot-games__section-intro {
    color: var(--text-dark);
}

.page-slot-games__about-slots p,
.page-slot-games__game-types p,
.page-slot-games__tips-strategy p,
.page-slot-games__responsible-gaming p,
.page-slot-games__cta-section p {
    color: var(--text-dark);
}

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

.page-slot-games__content-grid .page-slot-games__text-block,
.page-slot-games__content-grid .page-slot-games__image-block {
    flex: 1;
}

.page-slot-games__image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__feature-card {
    background-color: #2a2a2a; /* Slightly lighter dark for contrast */
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: var(--text-light);
}

.page-slot-games__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

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

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

.page-slot-games__type-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

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

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

.page-slot-games__how-to-play .page-slot-games__steps-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-slot-games__how-to-play .page-slot-games__step-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-slot-games__how-to-play .page-slot-games__step-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.page-slot-games__how-to-play .page-slot-games__step-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-slot-games__how-to-play a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-slot-games__how-to-play a:hover {
    color: darken(var(--primary-color), 10%);
}

.page-slot-games__tips-strategy .page-slot-games__tips-list {
    list-style: disc;
    padding-left: 25px;
    color: var(--text-dark);
}

.page-slot-games__tips-strategy .page-slot-games__tip-item {
    margin-bottom: 10px;
}

.page-slot-games__tips-strategy a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-slot-games__tips-strategy a:hover {
    color: darken(var(--primary-color), 10%);
}

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

.page-slot-games__promo-card {
    background-color: #2a2a2a;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: var(--text-light);
}

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

.page-slot-games__promo-title {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-slot-games__promo-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-slot-games__promo-title a:hover {
    text-decoration: underline;
}

.page-slot-games__cta-center {
    text-align: center;
    margin-top: 50px;
}

.page-slot-games__responsible-gaming .page-slot-games__checklist {
    list-style: disc;
    padding-left: 25px;
    color: var(--text-dark);
}

.page-slot-games__responsible-gaming .page-slot-games__checklist li {
    margin-bottom: 10px;
}

.page-slot-games__responsible-gaming a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-slot-games__responsible-gaming a:hover {
    color: darken(var(--primary-color), 10%);
}

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

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #2a2a2a;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
}

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

.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 20px;
    background-color: #1a1a1a;
    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 for content */
    padding: 15px 20px;
}

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

.page-slot-games__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__content-grid {
        flex-direction: column;
    }
    .page-slot-games__content-grid.reverse-on-mobile {
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games__hero-section {
        padding: 60px 20px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-slot-games__hero-title {
        font-size: 2.2em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 15px;
        padding: 12px 20px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__container {
        padding: 0 15px;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slot-games__section-intro {
        font-size: 0.9em;
        margin-bottom: 30px;
    }
    .page-slot-games__about-slots,
    .page-slot-games__why-play,
    .page-slot-games__game-types,
    .page-slot-games__how-to-play,
    .page-slot-games__tips-strategy,
    .page-slot-games__promotions,
    .page-slot-games__responsible-gaming,
    .page-slot-games__faq-section,
    .page-slot-games__cta-section {
        padding: 50px 0;
    }

    /* Image & Video Responsive */
    .page-slot-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__hero-image-wrapper,
    .page-slot-games__image-block,
    .page-slot-games__type-image,
    .page-slot-games__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-slot-games__hero-section .page-slot-games__hero-image-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-slot-games__hero-section .page-slot-games__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__faq-question,
    .page-slot-games__faq-answer {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@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__feature-card,
    .page-slot-games__type-card,
    .page-slot-games__promo-card {
        padding: 20px;
    }
    .page-slot-games__how-to-play .page-slot-games__step-item {
        padding-left: 50px;
    }
    .page-slot-games__how-to-play .page-slot-games__step-item::before {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }
    .page-slot-games__how-to-play .page-slot-games__step-title {
        font-size: 1.3em;
    }
}