/* style/jackpot-slots.css */

/* Base styles */
.page-jackpot-slots {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #ffffff); /* Inherit from shared or default to white */
}

.page-jackpot-slots__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-jackpot-slots__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-top: 20px;
}

.page-jackpot-slots__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #017439;
    margin: 10px auto 0;
}

.page-jackpot-slots__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-jackpot-slots__content-image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Color Contrast Classes */
.page-jackpot-slots__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-jackpot-slots__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Buttons */
.page-jackpot-slots__btn-primary,
.page-jackpot-slots__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;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-jackpot-slots__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-jackpot-slots__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-jackpot-slots__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #FFFF00;
}

.page-jackpot-slots__btn-secondary:hover {
    background-color: #FFFF00;
    color: #017439;
    border-color: #FFFF00;
}

.page-jackpot-slots__hero-cta-buttons,
.page-jackpot-slots__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Hero Section */
.page-jackpot-slots__hero-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    padding-top: calc(var(--header-offset, 120px) + 100px); /* Adjust for fixed header */
}

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

.page-jackpot-slots__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFF00; /* Register/Login font color */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.page-jackpot-slots__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Intro Section */
.page-jackpot-slots__intro-section {
    padding: 60px 0;
}

/* Game Types Section */
.page-jackpot-slots__game-types-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

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

.page-jackpot-slots__game-type-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-jackpot-slots__card-title {
    font-size: 1.8em;
    color: #017439;
    margin-bottom: 15px;
}

.page-jackpot-slots__card-text {
    font-size: 1em;
    color: #555555;
}

/* Advantages Section */
.page-jackpot-slots__advantages-section {
    padding: 60px 0;
}

.page-jackpot-slots__advantage-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.page-jackpot-slots__advantage-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

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

.page-jackpot-slots__guide-item {
    background-color: #f9f9f9;
    border-left: 5px solid #017439;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-jackpot-slots__guide-step-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
}

.page-jackpot-slots__guide-step-description {
    font-size: 1em;
    color: #555555;
}

/* Promotions Section */
.page-jackpot-slots__promotions-section {
    padding: 60px 0;
}

/* FAQ Section */
.page-jackpot-slots__faq-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.page-jackpot-slots__faq-list {
    margin-top: 40px;
}

.page-jackpot-slots__faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

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

.page-jackpot-slots__faq-question:hover {
    background-color: #e6f7ed;
}

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

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

.page-jackpot-slots__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-jackpot-slots__faq-item.active .page-jackpot-slots__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 15px 20px 20px;
}

.page-jackpot-slots__faq-answer p {
    font-size: 1em;
    color: #555555;
    margin-bottom: 0;
}

/* Conclusion Section */
.page-jackpot-slots__conclusion-section {
    padding: 60px 0;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-jackpot-slots__hero-title {
        font-size: 3em;
    }
    .page-jackpot-slots__hero-description {
        font-size: 1.1em;
    }
    .page-jackpot-slots__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-jackpot-slots {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-jackpot-slots__hero-section {
        padding-top: calc(var(--header-offset, 120px) + 60px); /* Adjust for fixed header on mobile */
        padding-bottom: 60px;
    }
    .page-jackpot-slots__hero-title {
        font-size: 2.2em;
    }
    .page-jackpot-slots__hero-description {
        font-size: 1em;
    }
    .page-jackpot-slots__section-title {
        font-size: 1.8em;
    }
    .page-jackpot-slots__game-types-grid {
        grid-template-columns: 1fr;
    }
    .page-jackpot-slots__hero-cta-buttons,
    .page-jackpot-slots__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-jackpot-slots__btn-primary,
    .page-jackpot-slots__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-jackpot-slots__container {
        padding: 0 15px;
    }

    /* Images responsive */
    .page-jackpot-slots img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-jackpot-slots__section,
    .page-jackpot-slots__card,
    .page-jackpot-slots__container,
    .page-jackpot-slots__hero-section,
    .page-jackpot-slots__intro-section,
    .page-jackpot-slots__game-types-section,
    .page-jackpot-slots__advantages-section,
    .page-jackpot-slots__guide-section,
    .page-jackpot-slots__promotions-section,
    .page-jackpot-slots__faq-section,
    .page-jackpot-slots__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Specific override for hero section padding-top if needed */
    .page-jackpot-slots__hero-section {
      padding-top: var(--header-offset, 120px) !important; /* Ensure it respects header offset */
    }
    /* Ensure other sections also have proper mobile padding */
    .page-jackpot-slots__intro-section, 
    .page-jackpot-slots__game-types-section, 
    .page-jackpot-slots__advantages-section, 
    .page-jackpot-slots__guide-section, 
    .page-jackpot-slots__promotions-section, 
    .page-jackpot-slots__faq-section, 
    .page-jackpot-slots__conclusion-section {
      padding-left: 15px !important;
      padding-right: 15px !important;
    }
}