:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #121212;
    --bg-light: #f8f8f8;
    --card-bg-dark: rgba(255, 255, 255, 0.1);
    --card-bg-light: #ffffff;
    --border-color: #e0e0e0;
}

/* Base styles for the specific page */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark); /* Inherits from body, but ensures consistency */
}

/* Fixed Header Padding */
.page-slot-games__hero-section {
    padding-top: 120px; /* Adjust based on actual header height */
    padding-bottom: 60px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.page-slot-games__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-slot-games__main-title {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    font-weight: 700;
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

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

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background: var(--primary-color);
    color: var(--bg-dark); /* Dark text on gold button for contrast */
}

.page-slot-games__btn-primary:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
    background: var(--secondary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-slot-games__btn-secondary:hover {
    background: #a30000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

/* General Section Styling */
.page-slot-games__intro-section,
.page-slot-games__game-types-section,
.page-slot-games__features-section,
.page-slot-games__mobile-section,
.page-slot-games__guide-section,
.page-slot-games__promotions-section,
.page-slot-games__faq-section,
.page-slot-games__responsible-gaming-section,
.page-slot-games__contact-section {
    padding: 60px 20px;
    width: 100%;
    box-sizing: border-box;
}

.page-slot-games__intro-container,
.page-slot-games__game-types-container,
.page-slot-games__features-container,
.page-slot-games__mobile-container,
.page-slot-games__guide-container,
.page-slot-games__promotions-container,
.page-slot-games__faq-container,
.page-slot-games__responsible-gaming-container,
.page-slot-games__contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-slot-games h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
    line-height: 1.3;
}

.page-slot-games h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.page-slot-games p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 15px;
}

.page-slot-games ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
}

.page-slot-games li {
    margin-bottom: 8px;
}

/* Color contrast application */
.page-slot-games__dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-slot-games__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-slot-games__light-bg h2, .page-slot-games__light-bg h3 {
    color: var(--secondary-color);
}

.page-slot-games__card {
    background: var(--card-bg-light);
    color: var(--text-dark);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

/* Intro Section */
.page-slot-games__intro-title {
    color: var(--primary-color);
}

/* Game Types Section */
.page-slot-games__game-types-title {
    color: var(--primary-color);
}

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

.page-slot-games__game-type-item {
    text-align: center;
    background: var(--card-bg-dark);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--text-light);
}

.page-slot-games__game-type-item .page-slot-games__game-type-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-slot-games__game-type-heading {
    color: var(--primary-color);
    font-size: 1.5em;
}

/* Features Section */
.page-slot-games__features-title {
    color: var(--primary-color);
}

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

.page-slot-games__feature-item {
    text-align: center;
}

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

.page-slot-games__feature-heading {
    color: var(--secondary-color);
    font-size: 1.5em;
}

/* Mobile Section */
.page-slot-games__mobile-title {
    color: var(--primary-color);
}

.page-slot-games__mobile-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-slot-games__mobile-text-content {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: left;
}

.page-slot-games__mobile-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__mobile-text-content ul {
    list-style: disc;
    padding-left: 25px;
    margin-top: 20px;
    color: var(--text-light);
}

.page-slot-games__mobile-text-content .page-slot-games__cta-button {
    margin-top: 30px;
}

/* Guide Section */
.page-slot-games__guide-title {
    color: var(--primary-color);
}

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

.page-slot-games__guide-step-item {
    background: var(--card-bg-light);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-slot-games__guide-step-heading {
    color: var(--secondary-color);
    font-size: 1.4em;
    margin-bottom: 15px;
}

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

/* Promotions Section */
.page-slot-games__promotions-title {
    color: var(--primary-color);
}

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

.page-slot-games__promo-item {
    text-align: center;
    color: var(--text-light);
}

.page-slot-games__promo-item.page-slot-games__card {
    background: var(--card-bg-dark); /* Darker card for dark section */
}

.page-slot-games__promo-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 4px;
}

.page-slot-games__promo-heading {
    color: var(--primary-color);
    font-size: 1.4em;
}

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

/* FAQ Section */
.page-slot-games__faq-title {
    color: var(--primary-color);
}

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--card-bg-light);
    color: var(--text-dark);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background: #f0f0f0;
}

.page-slot-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevent h3 from blocking click event on parent */
    color: var(--text-dark);
}

.page-slot-games__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event on parent */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-slot-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: #fcfcfc;
    color: var(--text-dark);
    border-top: 1px solid var(--border-color);
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain content */
    padding: 20px 25px !important;
    opacity: 1;
    border-radius: 0 0 8px 8px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Plus sign becomes an X or similar visual */
}

/* Responsible Gaming Section */
.page-slot-games__responsible-gaming-title {
    color: var(--primary-color);
}

.page-slot-games__responsible-gaming-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-light);
}

.page-slot-games__responsible-gaming-list {
    list-style: none;
    padding: 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-light);
}

.page-slot-games__responsible-gaming-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.page-slot-games__responsible-gaming-list li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-slot-games__responsible-gaming-image {
    display: block;
    margin: 40px auto 0 auto;
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

/* Contact Section */
.page-slot-games__contact-title {
    color: var(--primary-color);
}

.page-slot-games__contact-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-dark);
}

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

.page-slot-games__contact-method-item {
    text-align: center;
    background: var(--card-bg-light);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-slot-games__contact-method-item h3 {
    color: var(--secondary-color);
    font-size: 1.4em;
}

.page-slot-games__contact-method-item .page-slot-games__cta-button {
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: 3em;
    }

    .page-slot-games h2 {
        font-size: 2em;
    }

    .page-slot-games h3 {
        font-size: 1.6em;
    }

    .page-slot-games p,
    .page-slot-games ul li {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-top: 100px !important; /* Mobile padding for fixed header */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__hero-container,
    .page-slot-games__intro-container,
    .page-slot-games__game-types-container,
    .page-slot-games__features-container,
    .page-slot-games__mobile-container,
    .page-slot-games__guide-container,
    .page-slot-games__promotions-container,
    .page-slot-games__faq-container,
    .page-slot-games__responsible-gaming-container,
    .page-slot-games__contact-container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__main-title {
        font-size: 2.2em;
    }

    .page-slot-games__hero-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

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

    .page-slot-games__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-slot-games h3 {
        font-size: 1.4em;
    }

    .page-slot-games p,
    .page-slot-games ul li {
        font-size: 0.95em;
    }

    .page-slot-games__game-types-grid,
    .page-slot-games__feature-grid,
    .page-slot-games__guide-steps,
    .page-slot-games__promo-grid,
    .page-slot-games__contact-methods {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-slot-games__mobile-content-wrapper {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .page-slot-games__mobile-image {
        max-width: 250px;
    }

    .page-slot-games__mobile-text-content {
        text-align: center;
    }

    .page-slot-games__mobile-text-content ul {
        text-align: left;
        margin: 0 auto 20px auto;
        max-width: 300px;
    }

    .page-slot-games__feature-icon {
        width: 80px;
        height: 80px;
    }

    /* Image responsiveness for all images */
    .page-slot-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* FAQ specific mobile styles */
    .page-slot-games__faq-question {
        padding: 15px 20px;
    }

    .page-slot-games__faq-question h3 {
        font-size: 1em;
    }

    .page-slot-games__faq-toggle {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }

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

    .page-slot-games__faq-item.active .page-slot-games__faq-answer {
        padding: 15px 20px !important;
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: 1.8em;
    }

    .page-slot-games h2 {
        font-size: 1.5em;
    }

    .page-slot-games h3 {
        font-size: 1.2em;
    }

    .page-slot-games__hero-section,
    .page-slot-games__intro-section,
    .page-slot-games__game-types-section,
    .page-slot-games__features-section,
    .page-slot-games__mobile-section,
    .page-slot-games__guide-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__responsible-gaming-section,
    .page-slot-games__contact-section {
        padding: 30px 15px;
    }
}