:root {
    --color-primary: #C91F17;
    --color-secondary: #E53935;
    --color-button-gradient-start: #FFD86A;
    --color-button-gradient-end: #E6B800;
    --color-card-bg: #D32F2F;
    --color-background: #B71C1C;
    --color-text-main: #FFF5E1;
    --color-border: #F2B544;
    --color-glow: #FFCC66;
    --color-gold: #F4D34D;
    --color-deep-red: #7A0E0E;
    --header-offset: 80px; /* Default value, actual value comes from shared.css */
}

/* Base styles for the page content */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    background-color: var(--color-background); /* Dark background */
    color: var(--color-text-main); /* Light text for dark background */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.page-slot-games h1,
.page-slot-games h2,
.page-slot-games h3 {
    color: var(--color-gold);
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-slot-games h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive H1 font size */
    text-align: center;
    color: var(--color-glow); /* Using glow for H1 for impact */
    text-shadow: 0 0 10px rgba(255, 204, 102, 0.7);
}

.page-slot-games h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-align: center;
    color: var(--color-gold);
}

.page-slot-games h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--color-text-main);
}

.page-slot-games p {
    margin-bottom: 15px;
    color: var(--color-text-main);
}

.page-slot-games a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games a:hover {
    color: var(--color-glow);
    text-decoration: underline;
}

/* Section styling */
.page-slot-games__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-slot-games__section-title {
    margin-bottom: 40px;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, larger bottom for content */
    box-sizing: border-box;
    overflow: hidden;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit height for hero image */
    margin-bottom: 30px; /* Space between image and content */
}

.page-slot-games__hero-content {
    text-align: center;
    max-width: 900px;
    width: 100%;
    z-index: 1; /* Ensure content is above any potential background elements */
}

.page-slot-games__hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* CTA Button */
.page-slot-games__cta-button,
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__cta-button,
.page-slot-games__btn-primary {
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-deep-red); /* Dark text on light button */
    border: 2px solid var(--color-border);
}

.page-slot-games__cta-button:hover,
.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

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

.page-slot-games__btn-secondary:hover {
    background-color: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Content Area */
.page-slot-games__content-area {
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Grid Container for Cards */
.page-slot-games__grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Card Styling */
.page-slot-games__card {
    background-color: var(--color-card-bg); /* Dark red background for cards */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-text-main); /* Light text on dark card background */
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.page-slot-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

.page-slot-games__card-title {
    color: var(--color-gold);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Lists */
.page-slot-games__list,
.page-slot-games__ordered-list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.page-slot-games__ordered-list {
    list-style-type: decimal;
}

.page-slot-games__list li,
.page-slot-games__ordered-list li {
    margin-bottom: 10px;
    color: var(--color-text-main);
}

.page-slot-games__content-image {
    width: 100%;
    height: auto;
    max-width: 800px; /* Max width for content images */
    display: block;
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--color-border);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

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

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

.page-slot-games__faq-item summary {
    list-style: none; /* Remove default marker */
}

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

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

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

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

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

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

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .page-slot-games__hero-image {
        max-height: 500px;
    }
    .page-slot-games__section {
        padding: 40px 15px;
    }
}

@media (max-width: 768px) {
    .page-slot-games h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-slot-games h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    .page-slot-games__hero-image {
        max-height: 400px;
        margin-bottom: 20px;
    }
    .page-slot-games__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-slot-games__cta-button,
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        padding: 12px 20px;
        font-size: 0.9rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Image responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Video responsiveness (if any) - not explicitly used, but good to have the rules */
    .page-slot-games video,
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__video-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-slot-games__video-section {
        padding-top: 10px !important; /* body already has padding-top from shared.css */
    }

    /* Button container for multiple buttons (if any) */
    .page-slot-games__cta-buttons,
    .page-slot-games__button-group,
    .page-slot-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-slot-games__cta-buttons {
        display: flex;
        flex-direction: column; /* Stack buttons vertically on mobile */
    }

    .page-slot-games__card-image {
        height: 180px;
    }
    .page-slot-games__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-slot-games__faq-answer {
        padding: 0 20px 15px;
    }
}