/* style/jackpot-slots.css */

/* Base Styles for page-jackpot-slots */
.page-jackpot-slots {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #FFFFFF; /* Default body background */
}

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

/* Sections */
.page-jackpot-slots__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff; /* Light text for dark background */
    background-color: #26A9E0; /* Brand primary color for hero */
    padding-bottom: 60px;
    overflow: hidden; /* Prevent image overflow */
}

.page-jackpot-slots__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.page-jackpot-slots__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

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

.page-jackpot-slots__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-jackpot-slots__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Slightly transparent to let background color show */
}

.page-jackpot-slots__intro-section,
.page-jackpot-slots__games-section,
.page-jackpot-slots__promotions-section,
.page-jackpot-slots__video-section,
.page-jackpot-slots__cta-final-section {
    padding: 60px 0;
    text-align: center;
    background-color: #FFFFFF; /* Light background */
    color: #333333; /* Dark text */
}

.page-jackpot-slots__features-section,
.page-jackpot-slots__how-to-play-section,
.page-jackpot-slots__security-section,
.page-jackpot-slots__faq-section {
    padding: 60px 0;
    text-align: center;
    background-color: #26A9E0; /* Dark background (brand color) */
    color: #ffffff; /* Light text */
}

/* Titles and Descriptions */
.page-jackpot-slots__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: inherit; /* Inherits from section, so either #333333 or #ffffff */
}

.page-jackpot-slots__section-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: inherit;
}

.page-jackpot-slots__sub-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: inherit;
}

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

.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: all 0.3s ease;
    box-sizing: border-box; /* Crucial for mobile responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-jackpot-slots__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

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

.page-jackpot-slots__btn-secondary {
    background-color: transparent;
    color: #FFFFFF; /* Light text for dark section buttons */
    border: 2px solid #FFFFFF;
}

.page-jackpot-slots__hero-section .page-jackpot-slots__btn-secondary {
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.page-jackpot-slots__light-bg .page-jackpot-slots__btn-secondary {
    color: #26A9E0; /* Brand color for light section buttons */
    border-color: #26A9E0;
}

.page-jackpot-slots__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #26A9E0;
    border-color: #FFFFFF;
}
.page-jackpot-slots__light-bg .page-jackpot-slots__btn-secondary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
}

/* Features Grid */
.page-jackpot-slots__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-jackpot-slots__feature-card {
    background-color: #FFFFFF;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.page-jackpot-slots__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-jackpot-slots__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0;
}

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

/* Games Grid */
.page-jackpot-slots__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-jackpot-slots__game-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
}

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

.page-jackpot-slots__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-jackpot-slots__game-title {
    font-size: 1.3em;
    margin: 15px 15px 10px;
    color: #26A9E0;
}

.page-jackpot-slots__game-link {
    text-decoration: none;
    color: #26A9E0;
    transition: color 0.3s ease;
}

.page-jackpot-slots__game-link:hover {
    color: #EA7C07;
}

.page-jackpot-slots__game-text {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px 15px;
}

/* How to Play List */
.page-jackpot-slots__how-to-play-list {
    list-style: none;
    counter-reset: how-to-play-counter;
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
}

.page-jackpot-slots__how-to-play-list li {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
    color: #f0f0f0;
}