/* 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: var(--site-background); /* Inherit from shared.css, assuming dark */
}

/* Sections */
.page-slot-games__section {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden; /* Ensure no horizontal scroll */
}

.page-slot-games__dark-section {
    background-color: #017439; /* Brand main color for dark sections */
    color: #ffffff;
}

.page-slot-games__intro-section,
.page-slot-games__advantages-section,
.page-slot-games__strategy-section,
.page-slot-games__app-section {
    background-color: #ffffff; /* Light background for contrast */
    color: #333333;
}

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

/* Hero Section */
.page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), #017439; /* Dark overlay on brand color */
    position: relative;
    overflow: hidden;
}

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    color: #ffffff;
}

.page-slot-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

/* General Titles & Text */
.page-slot-games__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: inherit; /* Inherit from section, ensuring contrast */
}

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.page-slot-games__text-block a {
    color: #017439; /* Link color for light background */
    text-decoration: underline;
}
.page-slot-games__dark-section .page-slot-games__text-block a {
    color: #FFFF00; /* Link color for dark background */
}


/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

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

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

/* Specific button colors */
.page-slot-games__btn-register {
    background-color: #C30808;
    border-color: #C30808;
    color: #FFFF00;
}
.page-slot-games__btn-register:hover {
    background-color: #a00606;
    border-color: #a00606;
    color: #FFFF00;
}

.page-slot-games__btn-login {
    background-color: #C30808;
    border-color: #C30808;
    color: #FFFF00;
}
.page-slot-games__btn-login:hover {
    background-color: #a00606;
    border-color: #a00606;
    color: #FFFF00;
}

/* Image styles */
.page-slot-games__image-full {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Lists */
.page-slot-games__list,
.page-slot-games__advantages-list,
.page-slot-games__guide-list,
.page-slot-games__strategy-list,
.page-slot-games__promo-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
    text-align: left;
}

.page-slot-games__list-item,
.page-slot-games__advantage-item,
.page-slot-games__guide-item,
.page-slot-games__strategy-item,
.page-slot-games__promo-item {
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1); /* For dark sections */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-slot-games__intro-section .page-slot-games__text-block,
.page-slot-games__advantages-section .page-slot-games__text-block,
.page-slot-games__strategy-section .page-slot-games__text-block,
.page-slot-games__app-section .page-slot-games__text-block {
    color: #333333;
}

.page-slot-games__advantages-section .page-slot-games__advantage-item,
.page-slot-games__strategy-section .page-slot-games__strategy-item {
    background-color: #f9f9f9; /* Lighter background for light sections */
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-slot-games__list-item-title,
.page-slot-games__advantage-title,
.page-slot-games__guide-title,
.page-slot-games__strategy-title,
.page-slot-games__promo-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: inherit;
}

.page-slot-games__list-item-text,
.page-slot-games__advantage-text,
.page-slot-games__guide-text,
.page-slot-games__strategy-text,
.page-slot-games__promo-text {
    font-size: 1em;
    color: inherit;
}

.page-slot-games__highlight {
    color: #FFFF00; /* Yellow highlight for dark backgrounds */
    font-weight: bold;
}
.page-slot-games__intro-section .page-slot-games__highlight,
.page-slot-games__advantages-section .page-slot-games__highlight,
.page-slot-games__strategy-section .page-slot-games__highlight,
.page-slot-games__app-section .page-slot-games__highlight {
    color: #017439; /* Green highlight for light backgrounds */
}

/* App Section */
.page-slot-games__app-content {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    flex-wrap: wrap;
}

.page-slot-games__app-text {
    flex: 1;
    min-width: 300px;
}

.page-slot-games__app-image {
    flex-shrink: 0;
    width: 600px; /* Base width for desktop */
    height: 800px; /* Base height for desktop */
    object-fit: contain;
    margin: 0 auto;
}

/* FAQ Section */
.page-slot-games__faq-list {
    max-width: 900px;
    margin: 40px auto;
}

.page-slot-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
    text-align: left;
}

.page-slot-games__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-item summary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-slot-games__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    margin-left: 10px;
    line-height: 1;
}

.page-slot-games__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: #f0f0f0;
}

.page-slot-games__faq-answer p {
    margin-bottom: 10px;
}
.page-slot-games__faq-answer p:last-child {
    margin-bottom: 0;
}
.page-slot-games__faq-answer a {
    color: #FFFF00;
    text-decoration: underline;
}

/* CTA Section */
.page-slot-games__cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), #017439; /* Dark overlay on brand color */
    color: #ffffff;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

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

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

.page-slot-games__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff;
}

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

.page-slot-games__cta-description a {
    color: #FFFF00;
    text-decoration: underline;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-title {
        font-size: 3em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__app-content {
        flex-direction: column;
        text-align: center;
    }
    .page-slot-games__app-image {
        width: 80%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top for header */
    }
    .page-slot-games__hero-title {
        font-size: 2.5em;
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__section {
        padding: 40px 15px;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__text-block {
        font-size: 1em;
        text-align: left;
    }
    .page-slot-games__list-item,
    .page-slot-games__advantage-item,
    .page-slot-games__guide-item,
    .page-slot-games__strategy-item,
    .page-slot-games__promo-item {
        padding: 15px;
    }
}