/* style/slot-games.css */

/* Base styles for the slot-games page */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark background */
    background-color: transparent; /* Inherit from body's var(--dark-bg) */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

/* Sections */
.page-slot-games__hero-section,
.page-slot-games__introduction-section,
.page-slot-games__game-showcase,
.page-slot-games__why-choose-us,
.page-slot-games__how-to-play,
.page-slot-games__promotions-section,
.page-slot-games__video-section,
.page-slot-games__faq-section,
.page-slot-games__cta-final {
    padding: 60px 0;
    text-align: center;
}

.page-slot-games__dark-bg {
    background-color: #1a1a1a; /* A dark background for sections that need it, complementing var(--dark-bg) */
    color: #ffffff;
}

.page-slot-games__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for titles */
    font-weight: bold;
}

.page-slot-games__section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

/* Hero Section */
.page-slot-games__hero-section {
    background-color: #1a1a1a; /* Dark background for hero */
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-slot-games__hero-section .page-slot-games__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    text-align: left;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-slot-games__hero-content {
    flex: 1;
    min-width: 300px;
    z-index: 1;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    color: #26A9E0;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

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

.page-slot-games__hero-image-wrapper {
    flex: 1;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-slot-games__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-slot-games__btn-primary:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-slot-games__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Game Showcase */
.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: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards on dark bg */
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-slot-games__game-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
    object-fit: cover;
}

.page-slot-games__game-card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-slot-games__game-card-title a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__game-card-title a:hover {
    color: #1e87b7;
}

.page-slot-games__game-card-description {
    color: #f0f0f0;
    font-size: 0.95em;
}

/* Why Choose Us Section */
.page-slot-games__why-choose-us {
    background-color: #f8f8f8; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
}

.page-slot-games__why-choose-us .page-slot-games__section-title {
    color: #26A9E0;
}

.page-slot-games__why-choose-us .page-slot-games__section-description {
    color: #555555;
}

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

.page-slot-games__feature-item {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #e0e0e0;
}

.page-slot-games__feature-icon {
    max-width: 100%;
    height: auto;
    width: 120px; /* Fixed width for consistent display */
    height: 90px; /* Fixed height for consistent display */
    object-fit: contain; /* Ensure image fits without cropping */
    margin: 0 auto 20px auto;
    display: block;
}

.page-slot-games__feature-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-slot-games__feature-description {
    color: #666666;
    font-size: 0.95em;
}

/* How to Play Section */
.page-slot-games__how-to-play {
    background-color: #1a1a1a; /* Dark background */
    color: #ffffff;
}

.page-slot-games__how-to-play .page-slot-games__section-title {
    color: #26A9E0;
}

.page-slot-games__how-to-play .page-slot-games__section-description {
    color: #f0f0f0;
}

.page-slot-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__step-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__step-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-slot-games__step-description {
    color: #f0f0f0;
    font-size: 1em;
}

.page-slot-games__cta-buttons-bottom {
    margin-top: 40px;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    background-color: #f8f8f8; /* Light background */
    color: #333333;
}

.page-slot-games__promotions-section .page-slot-games__section-title {
    color: #26A9E0;
}

.page-slot-games__promotions-section .page-slot-games__section-description {
    color: #555555;
}

.page-slot-games__promotions-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-slot-games__promotion-item {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    border: 1px solid #e0e0e0;
}

.page-slot-games__promotion-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-slot-games__promotion-description {
    color: #666666;
    font-size: 0.95em;
}

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

/* Video Section */
.page-slot-games__video-section {
    background-color: #1a1a1a; /* Dark background */
    color: #ffffff;
}

.page-slot-games__video-section .page-slot-games__section-title {
    color: #26A9E0;
}

.page-slot-games__video-section .page-slot-games__section-description {
    color: #f0f0f0;
}

.page-slot-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto 0 auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-slot-games__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 1;
}

.page-slot-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.page-slot-games__video-caption {
    margin-top: 20px;
    font-style: italic;
    color: #f0f0f0;
    font-size: 0.9em;
}

/* FAQ Section */
.page-slot-games__faq-section {
    background-color: #f8f8f8; /* Light background */
    color: #333333;
}

.page-slot-games__faq-section .page-slot-games__section-title {
    color: #26A9E0;
}

.page-slot-games__faq-section .page-slot-games__section-description {
    color: #555555;
}

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

.page-slot-games__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-title {
    font-size: 1.2em;
    color: #333333;
    margin: 0;
    flex-grow: 1;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Change to '-' visually */
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #fdfdfd;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important; /* Ensure it expands fully */
    padding: 15px 25px;
}

.page-slot-games__faq-text {
    color: #666666;
    font-size: 1em;
    margin-bottom: 0;
}

/* Final CTA Section */
.page-slot-games__cta-final {
    background-color: #26A9E0; /* Brand color background */
    color: #ffffff;
}

.page-slot-games__cta-final .page-slot-games__section-title {
    color: #ffffff;
}

.page-slot-games__cta-final .page-slot-games__section-description {
    color: #e0f2f7;
}

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

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