/* style/slot-games.css */

/* Base styles for the page */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Text color for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background if not inheriting */
}

/* Sections */
.page-slot-games__section {
    padding: 60px 20px;
    text-align: center;
}

.page-slot-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Added for mobile responsiveness */
    box-sizing: border-box;
}

.page-slot-games__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

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

/* 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); /* Fixed header offset */
    box-sizing: border-box;
}

.page-slot-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

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

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

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

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

.page-slot-games__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Added for mobile responsiveness */
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-register {
    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;
    box-sizing: border-box; /* Ensures padding doesn't make button overflow */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

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

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

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

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

/* Custom colors for login/register buttons */
.page-slot-games__btn-register {
    background-color: #C30808; /* Register button background */
    color: #FFFF00; /* Register button font color */
    border: 2px solid #C30808;
}

.page-slot-games__btn-register:hover {
    background-color: #a00606;
    border-color: #a00606;
    color: #fff; /* Maintain good contrast on hover */
}

/* Video Section */
.page-slot-games__video-section {
    background-color: #0a0a0a;
    color: #ffffff;
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-slot-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 1000px; /* Max width for video */
    margin: 40px auto;
    background-color: #000;
    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: contain; /* Ensure video content is fully visible */
    display: block;
}

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

/* Intro Section */
.page-slot-games__intro-section {
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff; /* Light text */
}

.page-slot-games__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: left;
    margin-bottom: 40px;
}

.page-slot-games__sub-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #017439; /* Brand color for sub-titles */
}

.page-slot-games__text-block p {
    margin-bottom: 1em;
    color: #f0f0f0;
}

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

.page-slot-games__list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #f0f0f0;
}

.page-slot-games__list li strong {
    color: #ffffff;
}

.page-slot-games__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #017439;
}

.page-slot-games__image-full {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Minimum image size */
    min-height: 200px;
}

/* Game Types Section */
.page-slot-games__game-types-section {
    background-color: #017439; /* Brand color dark background */
    color: #ffffff; /* Light text */
}

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

.page-slot-games__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards are same height */
    box-sizing: border-box;
}

.page-slot-games__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
    object-fit: cover;
    width: 100%;
    min-width: 200px; /* Minimum image size */
    min-height: 200px;
}

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

.page-slot-games__card-text {
    font-size: 0.95em;
    color: #f0f0f0;
    flex-grow: 1; /* Pushes content down */
}

/* Guide Section */
.page-slot-games__guide-section {
    background-color: #0a0a0a;
    color: #ffffff;
}

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

.page-slot-games__step-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter background for steps */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

.page-slot-games__step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #017439;
    color: #ffffff;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    flex-shrink: 0; /* Prevent shrinking */
}

.page-slot-games__step-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: bold;
}

.page-slot-games__step-text {
    font-size: 0.95em;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Strategy Section */
.page-slot-games__strategy-section {
    background-color: #017439; /* Brand color dark background */
    color: #ffffff;
}

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

.page-slot-games__strategy-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    height: 100%;
    box-sizing: border-box;
}

.page-slot-games__strategy-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: bold;
}

.page-slot-games__strategy-text {
    font-size: 0.95em;
    color: #f0f0f0;
}

.page-slot-games__image-bottom {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Minimum image size */
    min-height: 200px;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    background-color: #0a0a0a;
    color: #ffffff;
}

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

.page-slot-games__promotion-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.page-slot-games__promotion-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
    object-fit: cover;
    width: 100%;
    min-width: 200px; /* Minimum image size */
    min-height: 200px;
}

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

.page-slot-games__promotion-text {
    font-size: 0.95em;
    color: #f0f0f0;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-slot-games__faq-section {
    background-color: #017439; /* Brand color dark background */
    color: #ffffff;
}

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

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly lighter background for FAQ items */
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden; /* Ensure content is hidden when collapsed */
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    user-select: none;
    list-style: none; /* For details tag */
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

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

.page-slot-games__faq-qtext {
    flex-grow: 1;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross */
}

.page-slot-games__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: #f0f0f0;
    line-height: 1.6;
    background-color: rgba(255, 255, 255, 0.05);
}

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


/* CTA Section */
.page-slot-games__cta-section {
    background-color: #0a0a0a;
    color: #ffffff;
    padding-bottom: 80px;
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Added for mobile responsiveness */
}

/* Global image styles */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

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