/* style/casino-slot-game-intro.css */

/* Variables for colors */
:root {
    --primary-color: #FFD700;
    --secondary-color: #000080;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #121212; /* From body background info */
}

.page-casino-slot-game-intro {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--background-dark);
    line-height: 1.6;
}

.page-casino-slot-game-intro__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below header */
}

.page-casino-slot-game-intro__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.page-casino-slot-game-intro__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-casino-slot-game-intro__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 100px 20px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

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

.page-casino-slot-game-intro__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

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

.page-casino-slot-game-intro__btn-primary,
.page-casino-slot-game-intro__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-casino-slot-game-intro__btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-casino-slot-game-intro__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    color: var(--text-light);
}

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

.page-casino-slot-game-intro__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-casino-slot-game-intro__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-casino-slot-game-intro__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-casino-slot-game-intro__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-casino-slot-game-intro__keyword {
    color: var(--primary-color);
    font-weight: bold;
}

.page-casino-slot-game-intro__dark-bg {
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.page-casino-slot-game-intro__numbered-list,
.page-casino-slot-game-intro__styled-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-casino-slot-game-intro__list-item {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
}

.page-casino-slot-game-intro__numbered-list .page-casino-slot-game-intro__list-item::before {
    content: counter(list-item) ".";
    counter-increment: list-item;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.page-casino-slot-game-intro__styled-list .page-casino-slot-game-intro__list-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1.2;
}

.page-casino-slot-game-intro__link {
    color: var(--primary-color);
    text-decoration: none;
}

.page-casino-slot-game-intro__link:hover {
    text-decoration: underline;
}

.page-casino-slot-game-intro__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

.page-casino-slot-game-intro__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-casino-slot-game-intro__image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.page-casino-slot-game-intro__grid-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-casino-slot-game-intro__feature-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark background */
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino-slot-game-intro__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

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

.page-casino-slot-game-intro__feature-description {
    font-size: 1em;
    color: var(--text-light);
}

.page-casino-slot-game-intro__faq-container {
    margin-top: 40px;
}

.page-casino-slot-game-intro__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ item */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-casino-slot-game-intro__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: var(--secondary-color);
    color: var(--text-light);
    font-size: 1.2em;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-casino-slot-game-intro__faq-question:hover {
    background-color: lighten(var(--secondary-color), 10%);
}

.page-casino-slot-game-intro__faq-question h3 {
    margin: 0;
    color: inherit;
}

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

.page-casino-slot-game-intro__faq-item.active .page-casino-slot-game-intro__faq-toggle {
    transform: rotate(45deg);
}

.page-casino-slot-game-intro__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(0, 0, 0, 0.3); /* Darker background for answer */
    color: var(--text-light);
}

.page-casino-slot-game-intro__faq-item.active .page-casino-slot-game-intro__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to contain content */
    padding: 20px 25px;
}

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

.page-casino-slot-game-intro__cta-section {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 80px 20px;
}

.page-casino-slot-game-intro__cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-casino-slot-game-intro__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.page-casino-slot-game-intro__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-casino-slot-game-intro__hero-title {
        font-size: 3em;
    }
    .page-casino-slot-game-intro__section-title {
        font-size: 2em;
    }
    .page-casino-slot-game-intro__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-casino-slot-game-intro__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-casino-slot-game-intro__hero-image-wrapper {
        max-height: 500px;
    }
    .page-casino-slot-game-intro__hero-content {
        padding: 60px 20px;
    }
    .page-casino-slot-game-intro__hero-title {
        font-size: 2.5em;
    }
    .page-casino-slot-game-intro__hero-description {
        font-size: 1em;
    }
    .page-casino-slot-game-intro__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-casino-slot-game-intro__btn-primary,
    .page-casino-slot-game-intro__btn-secondary {
        width: 100%;
        max-width: 300px !important;
        margin: 0 auto;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-casino-slot-game-intro__content-area {
        padding: 40px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-casino-slot-game-intro__section-title {
        font-size: 1.8em;
    }
    .page-casino-slot-game-intro__text-block,
    .page-casino-slot-game-intro__list-item,
    .page-casino-slot-game-intro__feature-description,
    .page-casino-slot-game-intro__faq-answer p {
        font-size: 0.95em;
    }
    .page-casino-slot-game-intro__image-grid {
        grid-template-columns: 1fr;
    }
    .page-casino-slot-game-intro__grid-image,
    .page-casino-slot-game-intro__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-casino-slot-game-intro__feature-grid {
        grid-template-columns: 1fr;
    }
    .page-casino-slot-game-intro__feature-card {
        padding: 25px;
    }
    .page-casino-slot-game-intro__feature-icon {
        width: 80px;
        height: 80px;
    }
    .page-casino-slot-game-intro__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-casino-slot-game-intro__faq-answer {
        padding: 15px 20px;
    }
    .page-casino-slot-game-intro__cta-title {
        font-size: 2em;
    }
    .page-casino-slot-game-intro__cta-description {
        font-size: 1em;
    }
    /* Mobile image/video/button containers */
    .page-casino-slot-game-intro img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-casino-slot-game-intro__section,
    .page-casino-slot-game-intro__card,
    .page-casino-slot-game-intro__container,
    .page-casino-slot-game-intro__hero-section,
    .page-casino-slot-game-intro__introduction-section,
    .page-casino-slot-game-intro__how-to-play-section,
    .page-casino-slot-game-intro__types-of-slots-section,
    .page-casino-slot-game-intro__tips-section,
    .page-casino-slot-game-intro__why-choose-section,
    .page-casino-slot-game-intro__faq-section,
    .page-casino-slot-game-intro__cta-section,
    .page-casino-slot-game-intro__image-wrapper,
    .page-casino-slot-game-intro__image-grid,
    .page-casino-slot-game-intro__feature-grid,
    .page-casino-slot-game-intro__faq-container,
    .page-casino-slot-game-intro__cta-content,
    .page-casino-slot-game-intro__hero-buttons,
    .page-casino-slot-game-intro__button-group,
    .page-casino-slot-game-intro__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-casino-slot-game-intro__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-casino-slot-game-intro__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-casino-slot-game-intro__cta-section {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-casino-slot-game-intro__hero-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-casino-slot-game-intro__hero-title {
        font-size: 2em;
    }
    .page-casino-slot-game-intro__section-title {
        font-size: 1.5em;
    }
    .page-casino-slot-game-intro__cta-title {
        font-size: 1.8em;
    }
}