/* style/slot-games.css */

/* Base Styles */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with shared body background */
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    color: #FFFFFF;
    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: #017439;
    border-radius: 2px;
}

.page-slot-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 1em;
    color: #f0f0f0;
}

.page-slot-games__keyword {
    color: #FFFF00; /* Highlight keywords */
    font-weight: bold;
}

/* Section Background Colors */
.page-slot-games__dark-bg {
    background-color: #0a0a0a; /* Dark background from body */
    color: #ffffff;
}

.page-slot-games__light-bg {
    background-color: #FFFFFF; /* White background */
    color: #333333;
}

.page-slot-games__light-bg .page-slot-games__section-title {
    color: #017439;
}

.page-slot-games__light-bg .page-slot-games__paragraph {
    color: #333333;
}

/* Buttons */
.page-slot-games__btn-register,
.page-slot-games__btn-login,
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    box-sizing: border-box;
    max-width: 100%;
}

.page-slot-games__btn-register {
    background-color: #C30808; /* Custom Register color */
    color: #FFFF00; /* Custom Register font color */
    border: 2px solid #C30808;
    margin-right: 15px;
}

.page-slot-games__btn-register:hover {
    background-color: #e00b0b;
    transform: translateY(-2px);
}

.page-slot-games__btn-login {
    background-color: #C30808; /* Custom Login color */
    color: #FFFF00; /* Custom Login font color */
    border: 2px solid #C30808;
}

.page-slot-games__btn-login:hover {
    background-color: #e00b0b;
    transform: translateY(-2px);
}

.page-slot-games__btn-primary {
    background-color: #017439; /* Main brand color */
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-slot-games__btn-primary:hover {
    background-color: #005a2e;
    transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
    background-color: #FFFFFF;
    color: #017439; /* Main brand color */
    border: 2px solid #017439;
}

.page-slot-games__btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    padding: 100px 20px 60px; /* Adjusted padding for content below header */
    padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 600px;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

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

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

.page-slot-games__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-slot-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.2; /* Slightly darken image for text readability */
}

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

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

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

.page-slot-games__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: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-slot-games__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__card-image {
    width: 100%;
    max-width: 400px; /* Ensure image is not too wide in card */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

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

.page-slot-games__card-link {
    color: #FFFF00;
    text-decoration: none;
}

.page-slot-games__card-link:hover {
    text-decoration: underline;
}

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

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

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

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

.page-slot-games__guide-item {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-slot-games__guide-item .page-slot-games__paragraph {
    color: #555555;
}

.page-slot-games__guide-item a {
    color: #017439;
    text-decoration: none;
    font-weight: bold;
}

.page-slot-games__guide-item a:hover {
    text-decoration: underline;
}

.page-slot-games__guide-heading {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 0;
}

/* Features Section */
.page-slot-games__features-section {
    padding: 80px 0;
}

.page-slot-games__feature-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__feature-item {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-slot-games__feature-item .page-slot-games__paragraph {
    color: #555555;
}

.page-slot-games__feature-heading {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
}

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

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

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

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

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

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

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
    color: #f0f0f0;
}

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

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    transform: rotate(45deg);
}

/* Call to Action Section */
.page-slot-games__cta-section {
    padding: 80px 0;
    text-align: center;
}

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

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

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        padding-left: 15px;
        padding-right: 15px;
        min-height: 500px;
    }
    .page-slot-games__hero-title {
        font-size: 2.2em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-register,
    .page-slot-games__btn-login,
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important; /* Remove margin for stacked buttons */
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-slot-games__container,
    .page-slot-games__grid,
    .page-slot-games__guide-steps,
    .page-slot-games__feature-list,
    .page-slot-games__faq-list,
    .page-slot-games__cta-buttons {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

    .page-slot-games__card-image {
        min-height: 200px !important;
        height: auto !important;
    }

    /* Ensure content area images are not too small */
    .page-slot-games__grid img, .page-slot-games__card img {
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* Video responsive rules if video was present */
    .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;
    }
    .page-slot-games__video-section {
      padding-top: var(--header-offset, 120px) !important;
    }

}

@media (max-width: 480px) {
    .page-slot-games__hero-title {
        font-size: 1.8em;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__hero-section {
        min-height: 450px;
    }
}