/* style/slot-games.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #000000; /* Matching body background */
}

/* Container for general content, ensures max-width and centering */
.page-slot-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Section titles */
.page-slot-games__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

/* Text blocks for paragraphs */
.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 15px;
    text-align: justify;
}

/* Links within text blocks */
.page-slot-games__text-block a {
    color: #26A9E0;
    text-decoration: underline;
}
.page-slot-games__text-block a:hover {
    color: #FFFFFF;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background-color: #000000;
    overflow: hidden;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin-right: 20px; /* Space between text and image */
}

.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.3em;
    color: #ffffff;
    margin-bottom: 30px;
}

.page-slot-games__hero-image-wrapper {
    position: relative;
    z-index: 1;
    flex-shrink: 0; /* Prevent image from shrinking */
    width: 600px; /* Base width for desktop */
    height: 337px; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 10px;
}

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CTA Buttons Group */
.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Primary Button */
.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;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

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

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

/* Secondary Button */
.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;
}

/* Section specific backgrounds */
.page-slot-games__dark-bg {
    background-color: #000000;
    color: #ffffff;
}

.page-slot-games__light-bg {
    background-color: #0d0d0d; /* Slightly lighter dark for contrast */
    color: #ffffff;
}

/* Introduction Section */
.page-slot-games__introduction-section {
    padding: 60px 0;
}

/* Game Types Section */
.page-slot-games__game-types-section {
    padding: 60px 0;
}

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

.page-slot-games__game-type-card {
    background-color: #1a1a1a; /* Darker card background */
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    color: #ffffff; /* Ensure text is light on dark card */
}

.page-slot-games__game-type-card:hover {
    transform: translateY(-5px);
}

.page-slot-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure image behaves as a block element */
}

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

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

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

/* Guide Section */
.page-slot-games__guide-section {
    padding: 60px 0;
}

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

.page-slot-games__guide-text {
    flex: 1;
}

.page-slot-games__guide-list {
    list-style: decimal;
    padding-left: 20px;
    margin-top: 20px;
    color: #f0f0f0;
}

.page-slot-games__guide-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-slot-games__guide-list strong {
    color: #26A9E0;
}

.page-slot-games__guide-image-wrapper {
    flex: 1;
    min-width: 400px; /* Minimum width for the image on desktop */
    max-width: 600px; /* Max width for the image on desktop */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__guide-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Tips Section */
.page-slot-games__tips-section {
    padding: 60px 0;
}

.page-slot-games__tips-list {
    list-style: disc;
    padding-left: 20px;
    margin-top: 20px;
    color: #f0f0f0;
}

.page-slot-games__tips-list li {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.8;
}

.page-slot-games__tips-list li strong {
    color: #26A9E0;
}

/* Security Section */
.page-slot-games__security-section {
    padding: 60px 0;
}

.page-slot-games__security-content {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-direction: row-reverse; /* Image on left, text on right */
}

.page-slot-games__security-text {
    flex: 1;
}

.page-slot-games__security-list {
    list-style: square;
    padding-left: 20px;
    margin-top: 20px;
    color: #f0f0f0;
}

.page-slot-games__security-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-slot-games__security-list strong {
    color: #26A9E0;
}

.page-slot-games__security-image-wrapper {
    flex: 1;
    min-width: 400px;
    max-width: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__security-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Video Section */
.page-slot-games__video-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px); /* For video section at the top of the viewport */
    text-align: center;
}

.page-slot-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 800px; /* Max width for video */
    margin: 30px auto;
    background-color: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block; /* Ensure video behaves as a block element */
}

/* Video Overlay for click-to-link */
.page-slot-games__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* Above video controls */
    cursor: pointer;
    background-color: rgba(0,0,0,0); /* Transparent */
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 60px 0;
}

.page-slot-games__faq-list {
    margin-top: 40px;
}

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #26A9E0; /* Brand color for question background */
    color: #ffffff;
    transition: background-color 0.3s ease;
}

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

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Plus sign to X */
}

.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: #0d0d0d; /* Slightly lighter dark for answer background */
    color: #f0f0f0;
}

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

.page-slot-games__faq-answer p {
    margin: 0;
    color: #f0f0f0;
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
    padding: 60px 0 80px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__hero-content {
        margin-right: 0;
        margin-bottom: 40px;
    }
    .page-slot-games__hero-section {
        flex-direction: column;
    }
    .page-slot-games__hero-image-wrapper {
        width: 80%; /* Adjust width for smaller screens */
        height: auto;
    }
    .page-slot-games__guide-content,
    .page-slot-games__security-content {
        flex-direction: column;
    }
    .page-slot-games__guide-image-wrapper,
    .page-slot-games__security-image-wrapper {
        min-width: unset;
        width: 100%;
        max-width: 800px; /* Keep max-width for images */
    }
}

@media (max-width: 768px) {
    /* General mobile adaptations */
    .page-slot-games__container {
        padding: 15px;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slot-games__text-block,
    .page-slot-games__guide-list li,
    .page-slot-games__tips-list li,
    .page-slot-games__security-list li,
    .page-slot-games__card-description,
    .page-slot-games__faq-answer p {
        font-size: 1em;
    }

    /* Hero section */
    .page-slot-games__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
        min-height: unset;
    }
    .page-slot-games__hero-title {
        font-size: 2.2em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__hero-image-wrapper {
        width: 100%; /* Full width on mobile */
        height: auto;
    }
}