/* style/slot-games.css */

/* Global styles for the page content, assuming a dark body background from shared.css */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: #FFF5E1; /* Text Main */
    background-color: #B71C1C; /* Background */
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFD86A; /* Gold-like for titles */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__section-description {
    font-size: 1.1em;
    color: #FFF5E1;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.5;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: #7A0E0E; /* Deep Red for hero background */
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px; /* Space between image and text */
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit height for large screens */
}

.page-slot-games__hero-content {
    position: relative; /* Ensure content is above any potential background elements */
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
}

.page-slot-games__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
    font-weight: 900;
    color: #FFD86A; /* Gold for main title */
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    color: #FFF5E1;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-slot-games__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.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: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    text-align: center;
}

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button custom color */
    color: #7A0E0E; /* Deep Red text for contrast */
    border: none;
}

.page-slot-games__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-slot-games__btn-secondary {
    background: #D32F2F; /* Card BG */
    color: #FFF5E1; /* Text Main */
    border: 2px solid #F2B544; /* Border custom color */
}

.page-slot-games__btn-secondary:hover {
    background: #E53935; /* Auxiliary color */
    border-color: #FFD86A;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Features Section */
.page-slot-games__features-section {
    padding: 60px 0;
    background-color: #B71C1C; /* Background */
    color: #FFF5E1;
}

.page-slot-games__dark-section {
  background-color: #7A0E0E; /* Deep Red */
  color: #FFF5E1;
}

.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: #D32F2F; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #F2B544; /* Border custom color */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__feature-title {
    font-size: 1.6em;
    color: #FFD86A; /* Gold for titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__feature-description {
    font-size: 1em;
    line-height: 1.6;
    color: #FFF5E1;
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
    padding: 60px 0;
    background-color: #B71C1C; /* Background */
    color: #FFF5E1;
}

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

.page-slot-games__game-card {
    background-color: #D32F2F; /* Card BG */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid #F2B544; /* Border custom color */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-slot-games__game-title {
    font-size: 1.5em;
    color: #FFD86A; /* Gold for titles */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__game-description {
    font-size: 0.95em;
    color: #FFF5E1;
    line-height: 1.5;
    margin-bottom: 20px;
}

.page-slot-games__btn-play {
    display: inline-block;
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button custom color */
    color: #7A0E0E; /* Deep Red text */
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-slot-games__btn-play:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
    padding: 60px 0;
    background-color: #C91F17; /* Main Color */
    color: #FFF5E1;
}

.page-slot-games__light-bg {
  background-color: #C91F17; /* Main Color */
  color: #FFF5E1;
}

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

.page-slot-games__step-card {
    background-color: #D32F2F; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #F2B544; /* Border custom color */
}

.page-slot-games__step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button custom color */
    color: #7A0E0E; /* Deep Red text */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin: 0 auto 20px auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-slot-games__step-title {
    font-size: 1.6em;
    color: #FFD86A; /* Gold for titles */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__step-description {
    font-size: 1em;
    line-height: 1.6;
    color: #FFF5E1;
}

.page-slot-games__tips-for-newbies {
    background-color: #D32F2F; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #F2B544; /* Border custom color */
    max-width: 800px;
    margin: 0 auto;
}

.page-slot-games__tips-title {
    font-size: 1.8em;
    color: #FFD86A; /* Gold for titles */
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.page-slot-games__tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-slot-games__tips-list li {
    font-size: 1.1em;
    color: #FFF5E1;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    line-height: 1.5;
}

.page-slot-games__tips-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #FFD86A; /* Gold */
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 60px 0;
    background-color: #7A0E0E; /* Deep Red */
    color: #FFF5E1;
}

.page-slot-games__promo-card {
    background-color: #D32F2F; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #F2B544; /* Border custom color */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 40px;
}

.page-slot-games__promo-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #F2B544;
}

.page-slot-games__promo-content {
    padding: 30px;
    text-align: center;
}

.page-slot-games__promo-title {
    font-size: 1.8em;
    color: #FFD86A; /* Gold for titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__promo-description {
    font-size: 1em;
    color: #FFF5E1;
    line-height: 1.6;
    margin-bottom: 25px;
}

.page-slot-games__mobile-promo-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #D32F2F; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #F2B544; /* Border custom color */
}

.page-slot-games__mobile-promo-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #F2B544;
}

.page-slot-games__mobile-promo-title {
    font-size: 1.8em;
    color: #FFD86A; /* Gold for titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__mobile-promo-description {
    font-size: 1em;
    color: #FFF5E1;
    line-height: 1.6;
    margin-bottom: 25px;
}


/* FAQ Section */
.page-slot-games__faq-section {
    padding: 60px 0;
    background-color: #B71C1C; /* Background */
    color: #FFF5E1;
}

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

.page-slot-games__faq-item {
    background-color: #D32F2F; /* Card BG */
    border: 1px solid #F2B544; /* Border custom color */
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD86A; /* Gold for questions */
    cursor: pointer;
    background-color: #D32F2F; /* Card BG */
    transition: background-color 0.3s ease;
    list-style: none; /* Hide default marker for details summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-slot-games__faq-question:hover {
    background-color: #C91F17; /* Main Color */
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #FFD86A;
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #FFF5E1;
    line-height: 1.6;
    display: none; /* Controlled by JS for non-details elements */
}

.page-slot-games__faq-item[open] .page-slot-games__faq-answer {
    display: block;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    display: block;
}

/* Call to Action Section */
.page-slot-games__cta-section {
    padding: 80px 0;
    background-color: #7A0E0E; /* Deep Red */
    color: #FFF5E1;
    text-align: center;
}

.page-slot-games__cta-content {
    max-width: 800px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__hero-image {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__container {
        padding: 0 15px;
    }

    .page-slot-games__hero-section {
        padding-bottom: 40px;
    }

    .page-slot-games__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-slot-games__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em) !important;
    }

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

    .page-slot-games__hero-cta-buttons,
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__btn-play,
    .page-slot-games a[class*="button"],
    .page-slot-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__features-grid,
    .page-slot-games__game-showcase-grid,
    .page-slot-games__steps-grid {
        grid-template-columns: 1fr;
    }

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

    .page-slot-games__feature-title,
    .page-slot-games__game-title,
    .page-slot-games__step-title,
    .page-slot-games__promo-title,
    .page-slot-games__mobile-promo-title {
        font-size: 1.4em;
    }

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

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

    /* Images responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-slot-games__hero-image-wrapper,
    .page-slot-games__promo-card,
    .page-slot-games__mobile-promo-cta,
    .page-slot-games__features-section,
    .page-slot-games__popular-games-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-slot-games__hero-section {
      padding-top: 10px !important; /* body already handles --header-offset */
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: clamp(1.5em, 8vw, 2em) !important;
    }
    .page-slot-games__hero-cta-buttons,
    .page-slot-games__cta-buttons {
        gap: 10px;
    }
}