:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg: #10233F;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B;
}

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for dark backgrounds */
    background-color: var(--deep-navy); /* Assumed body background based on shared.css */
}

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

.page-slot-games__section-title {
    font-size: clamp(28px, 4vw, 48px);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-slot-games__text-block {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-slot-games__keyword {
    color: var(--gold-color);
    font-weight: bold;
}

.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
    background-color: var(--deep-navy);
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-slot-games__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Adjust to bring text closer to image */
    position: relative; /* Ensure content is above other elements if any */
    z-index: 1;
}

.page-slot-games__main-title {
    font-size: clamp(32px, 5vw, 60px);
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.08em;
}

.page-slot-games__description {
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
}

.page-slot-games__btn-secondary:hover {
    background-color: var(--gold-color);
    color: var(--deep-navy);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Sections */
.page-slot-games__introduction-section,
.page-slot-games__game-types-section,
.page-slot-games__promotions-section,
.page-slot-games__mobile-experience-section,
.page-slot-games__cta-section {
    padding: 80px 0;
    background-color: var(--deep-navy);
    color: var(--text-main);
}

.page-slot-games__benefits-section,
.page-slot-games__how-to-play-section,
.page-slot-games__featured-games-section,
.page-slot-games__faq-section {
    padding: 80px 0;
    background-color: var(--card-bg);
    color: var(--text-main);
}

.page-slot-games__light-bg {
    background-color: var(--deep-navy);
    color: var(--text-main);
}

.page-slot-games__dark-bg {
    background-color: var(--card-bg);
    color: var(--text-main);
}

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

.page-slot-games__card {
    background-color: var(--deep-navy);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-slot-games__card-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 10px;
    padding: 0 15px;
    font-weight: bold;
}

.page-slot-games__card-title a {
    color: var(--gold-color);
    text-decoration: none;
}

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

.page-slot-games__card-text {
    font-size: 16px;
    color: var(--text-secondary);
    padding: 0 15px;
}

/* Lists */
.page-slot-games__list,
.page-slot-games__ordered-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__list-item,
.page-slot-games__ordered-list .page-slot-games__list-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__list-item:last-child,
.page-slot-games__ordered-list .page-slot-games__list-item:last-child {
    margin-bottom: 0;
}

.page-slot-games__list-title {
    font-size: 24px;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__list-text {
    font-size: 17px;
    color: var(--text-secondary);
}

.page-slot-games__ordered-list {
    counter-reset: list-counter;
}

.page-slot-games__ordered-list .page-slot-games__list-item {
    position: relative;
    padding-left: 60px;
}

.page-slot-games__ordered-list .page-slot-games__list-item::before {
    content: counter(list-counter);
    counter-increment: list-counter;
    position: absolute;
    left: 20px;
    top: 20px;
    background-color: var(--gold-color);
    color: var(--deep-navy);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

/* Mobile image */
.page-slot-games__mobile-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* CTA Center */
.page-slot-games__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.page-slot-games__faq-list {
    margin-top: 40px;
}

.page-slot-games__faq-item {
    background-color: var(--deep-navy);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-slot-games__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: var(--gold-color);
    transition: background-color 0.3s ease;
}

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

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

.page-slot-games__faq-toggle {
    font-size: 24px;
    line-height: 1;
    color: var(--gold-color);
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 17px;
    color: var(--text-secondary);
}

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

/* Responsive Styles */
@media (max-width: 768px) {
    .page-slot-games__container {
        padding: 0 15px;
    }

    .page-slot-games__hero-section {
        min-height: 500px;
        padding-bottom: 40px;
    }

    .page-slot-games__hero-image-wrapper {
        max-height: 400px;
    }

    .page-slot-games__hero-content {
        padding: 20px 15px;
        margin-top: -50px;
    }

    .page-slot-games__main-title {
        font-size: clamp(28px, 8vw, 40px);
        margin-bottom: 15px;
    }

    .page-slot-games__description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-slot-games__section-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 30px;
    }

    .page-slot-games__text-block {
        font-size: 16px;
    }

    .page-slot-games__benefits-grid,
    .page-slot-games__promotions-grid,
    .page-slot-games__games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__card-image {
        height: 200px;
    }

    .page-slot-games__card-title {
        font-size: 20px;
    }

    .page-slot-games__card-text {
        font-size: 15px;
    }

    .page-slot-games__list-item,
    .page-slot-games__ordered-list .page-slot-games__list-item {
        padding: 20px;
        padding-left: 50px;
    }

    .page-slot-games__ordered-list .page-slot-games__list-item::before {
        width: 25px;
        height: 25px;
        font-size: 16px;
        left: 15px;
        top: 18px;
    }

    .page-slot-games__list-title {
        font-size: 20px;
    }

    .page-slot-games__list-text {
        font-size: 16px;
    }

    .page-slot-games__mobile-image {
        margin: 30px auto;
    }

    .page-slot-games__faq-item summary {
        font-size: 18px;
        padding: 15px 20px;
    }

    .page-slot-games__faq-toggle {
        font-size: 20px;
    }

    .page-slot-games__faq-answer {
        font-size: 15px;
        padding: 0 20px 15px 20px;
    }

    /* Ensure all images are responsive and do not overflow */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Ensure containers with images are responsive */
    .page-slot-games__hero-image-wrapper,
    .page-slot-games__benefit-card,
    .page-slot-games__promo-card,
    .page-slot-games__game-card,
    .page-slot-games__mobile-experience-section,
    .page-slot-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    /* Content sections padding */
    .page-slot-games__introduction-section,
    .page-slot-games__benefits-section,
    .page-slot-games__game-types-section,
    .page-slot-games__how-to-play-section,
    .page-slot-games__promotions-section,
    .page-slot-games__featured-games-section,
    .page-slot-games__mobile-experience-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-section {
        padding: 40px 0;
    }
    
    .page-slot-games__hero-section {
        padding-top: 10px !important;
    }
}