/* style/slot-games.css */

/* Base styles for the page */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--dark-bg); /* Inherit from shared.css */
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
}

.page-slot-games__hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.5); /* Darken background image for text readability */
}

.page-slot-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Additional overlay for text contrast */
    z-index: -1;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: #ffffff;
    padding: 20px;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #E0B34D; /* Use auxiliary color for highlight */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

/* Section Titles */
.page-slot-games__section-title {
    font-size: 2.5em;
    color: #E0B34D; /* Gold/Amber for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-slot-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #0A2342; /* Dark blue line */
    border-radius: 2px;
}

/* Text Blocks */
.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #f0f0f0; /* Light text for dark sections */
}

/* 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;
    margin: 10px;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background-color: #E0B34D; /* Auxiliary color for primary action */
    color: #0A2342;
    border: 2px solid #E0B34D;
}

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

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

.page-slot-games__btn-secondary:hover {
    background-color: #E0B34D;
    color: #0A2342;
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Introduction Section */
.page-slot-games__introduction-section {
    padding: 80px 0;
    background-color: #0A2342; /* Main dark color */
    color: #f0f0f0;
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
    padding: 80px 0;
    background-color: #1a3a5e; /* Slightly lighter dark blue */
}

.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: #0A2342; /* Main dark color for cards */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-slot-games__game-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #E0B34D;
    padding: 0 15px;
}

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

.page-slot-games__game-title a:hover {
    color: #ffc107;
}

.page-slot-games__game-description {
    font-size: 0.95em;
    color: #cccccc;
    padding: 0 15px;
    flex-grow: 1; /* Allow description to take available space */
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
    padding: 80px 0;
    background-color: #0A2342; /* Main dark color */
    color: #f0f0f0;
}

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

.page-slot-games__feature-item {
    background-color: #1a3a5e; /* Slightly lighter dark blue for features */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-slot-games__feature-icon {
    width: 120px; /* Larger icons */
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: #E0B34D; /* Auxiliary color background for icons */
    padding: 10px;
}

.page-slot-games__feature-title {
    font-size: 1.6em;
    color: #E0B34D;
    margin-bottom: 15px;
}

.page-slot-games__feature-description {
    font-size: 1em;
    color: #cccccc;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
    padding: 80px 0;
    background-color: #1a3a5e; /* Slightly lighter dark blue */
}

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

.page-slot-games__step-item {
    background-color: #0A2342;
    margin-bottom: 20px;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #f0f0f0;
}

.page-slot-games__step-title {
    font-size: 1.8em;
    color: #E0B34D;
    margin-bottom: 10px;
}

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

.page-slot-games__step-description a {
    color: #E0B34D;
    text-decoration: underline;
}

.page-slot-games__step-description a:hover {
    color: #ffc107;
}

/* Strategy Section */
.page-slot-games__strategy-section {
    padding: 80px 0;
    background-color: #0A2342; /* Main dark color */
    color: #f0f0f0;
}

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

.page-slot-games__strategy-item {
    background-color: #1a3a5e;
    margin-bottom: 20px;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #f0f0f0;
}

.page-slot-games__strategy-title {
    font-size: 1.8em;
    color: #E0B34D;
    margin-bottom: 10px;
}

.page-slot-games__strategy-description {
    font-size: 1em;
    color: #cccccc;
}

/* Video Section */
.page-slot-games__video-section {
    padding: 80px 0;
    background-color: #1a3a5e; /* Slightly lighter dark blue */
    text-align: center;
}

.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;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

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

.page-slot-games__video-cta {
    margin-top: 20px;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 80px 0;
    background-color: #0A2342; /* Main dark color */
    color: #f0f0f0;
}

.page-slot-games__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #1a3a5e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-slot-games__faq-question h3 {
    font-size: 1.3em;
    color: #E0B34D;
    margin: 0;
}

.page-slot-games__faq-toggle {
    font-size: 1.8em;
    color: #E0B34D;
    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 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #0A2342;
    color: #cccccc;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-slot-games__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

/* Call to Action Section */
.page-slot-games__cta-section {
    padding: 80px 0;
    background-color: #0A2342; /* Main dark color */
    text-align: center;
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__feature-icon {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        height: 80vh;
        padding-top: var(--header-offset, 120px); /* Ensure header offset on mobile */
    }
    .page-slot-games__hero-title {
        font-size: 2.5em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__text-block {
        font-size: 1em;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: calc(100% - 30px); /* Full width with padding */
        margin: 10px 15px;
        max-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__cta-buttons {
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        gap: 10px; /* Space between buttons */
    }

    /* Images responsiveness */
    .page-slot-games img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    /* Video responsiveness */
    .page-slot-games video,
    .page-slot-games__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-slot-games__video-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    /* Fixed header offset for video section on mobile */
    .page-slot-games__video-section {
      padding-top: var(--header-offset, 120px) !important;
    }
    .page-slot-games__video-wrapper {
        padding-bottom: 75%; /* Adjust aspect ratio for mobile if needed, or keep 16:9 */
    }

    .page-slot-games__game-grid,
    .page-slot-games__features-grid {
        grid-template-columns: 1fr;
    }
    .page-slot-games__faq-question h3 {
        font-size: 1.1em;
    }
    .page-slot-games__faq-question,
    .page-slot-games__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px 15px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__hero-title {
        font-size: 2em;
    }
    .page-slot-games__section-title {
        font-size: 1.6em;
    }
    .page-slot-games__faq-question h3 {
        font-size: 1em;
    }
}