/* style/slot-games.css */

/* Custom Colors from prompt */
:root {
    --color-primary: #FF8C1A;
    --color-secondary: #FFA53A;
    --bg-card: #17191F;
    --bg-body: #0D0E12;
    --text-main: #FFF3E6;
    --border-color: #A84F0C;
    --color-glow: #FFB04D;
    --color-deep-orange: #D96800;
}

/* Base styles for the page content, ensuring contrast with body background */
.page-slot-games {
    background-color: var(--bg-body); /* Dark background */
    color: var(--text-main); /* Light text for contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure space above footer */
}

/* 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;
    text-align: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Max height for hero image */
    overflow: hidden;
}

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

.page-slot-games__hero-content {
    max-width: 900px;
    margin: 40px auto 0 auto; /* Margin from image */
    padding: 0 20px;
}

.page-slot-games__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    color: var(--color-glow); /* Using a bright color for the title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: var(--text-main);
}

/* General Section Styles */
.page-slot-games__section {
    padding: 60px 0;
    position: relative;
    z-index: 1; /* Ensure sections are above any potential background layers */
}

.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(1.8rem, 3.5vw, 2.8rem);
    color: var(--color-glow);
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.3;
}

.page-slot-games__section-description {
    font-size: 1.1rem;
    color: var(--text-main);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-slot-games__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--color-primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-slot-games__text-block p,
.page-slot-games__text-block li {
    color: var(--text-main);
    margin-bottom: 15px;
}

.page-slot-games__text-block ul {
    list-style: disc inside;
    padding-left: 20px;
}

/* Grid Layouts */
.page-slot-games__grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-slot-games__grid-2-col-reverse {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Image blocks */
.page-slot-games__image-block {
    text-align: center;
}

.page-slot-games__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__game-card,
.page-slot-games__promo-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-slot-games__game-card:hover,
.page-slot-games__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-slot-games__game-image,
.page-slot-games__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-slot-games__game-title,
.page-slot-games__promo-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 15px 20px 10px 20px;
    color: var(--color-glow);
    flex-grow: 1; /* Make title take available space */
}

.page-slot-games__game-title a,
.page-slot-games__promo-title a {
    color: var(--color-glow);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__game-title a:hover,
.page-slot-games__promo-title a:hover {
    color: var(--color-secondary);
}

.page-slot-games__game-text,
.page-slot-games__promo-text {
    font-size: 0.95rem;
    color: var(--text-main);
    padding: 0 20px 20px 20px;
}

/* Buttons */
.page-slot-games__button-group {
    text-align: center;
    margin-top: 50px;
}

.page-slot-games__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button doesn't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-deep-orange) 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 165, 58, 0.6);
    opacity: 0.9;
}

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

.page-slot-games__btn-secondary:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.3);
}

/* Dark Section (for CTA at the end) */
.page-slot-games__dark-section {
    background-color: var(--color-primary);
    padding: 60px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    color: #ffffff; /* Ensure white text on brand color background */
}

.page-slot-games__dark-section .page-slot-games__section-title {
    color: #ffffff;
    margin-bottom: 20px;
}

.page-slot-games__dark-section .page-slot-games__section-description {
    color: #ffffff;
    margin-bottom: 40px;
}

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-glow);
    cursor: pointer;
    background-color: var(--bg-card);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-slot-games__faq-question:hover {
    background-color: rgba(255, 140, 26, 0.1); /* Slight hover effect */
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
}

.page-slot-games__faq-toggle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-left: 20px;
    color: var(--color-primary);
    line-height: 1;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-slot-games__grid-2-col,
    .page-slot-games__grid-2-col-reverse {
        grid-template-columns: 1fr;
    }
    .page-slot-games__grid-2-col-reverse .page-slot-games__image-block {
        order: -1; /* Image on top for reversed grid on mobile */
    }
    .page-slot-games__btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-slot-games__button-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games__hero-section {
        padding: 10px 0 40px 0;
    }
    .page-slot-games__hero-content {
        margin-top: 30px;
    }
    .page-slot-games__hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }
    .page-slot-games__hero-description {
        font-size: 1rem;
    }
    .page-slot-games__section {
        padding: 40px 0;
    }
    .page-slot-games__container {
        padding: 0 15px; /* Mobile padding */
    }
    .page-slot-games__section-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }
    .page-slot-games__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .page-slot-games__sub-title {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
    }

    /* Mobile image responsiveness */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__image-block,
    .page-slot-games__game-card,
    .page-slot-games__promo-card,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Mobile button responsiveness */
    .page-slot-games__cta-button,
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games a[class*="button"],
    .page-slot-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 0 !important; /* Override potential margin-left from secondary button */
        margin-top: 10px; /* Space between stacked buttons */
    }
    .page-slot-games__button-group {
        flex-direction: column !important;
        gap: 10px !important;
    }

    /* FAQ specific mobile styles */
    .page-slot-games__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-slot-games__faq-toggle {
        font-size: 1.5rem;
    }
    .page-slot-games__faq-answer {
        padding: 0 20px 15px 20px;
    }
}

/* Ensure no CSS filter on images */
.page-slot-games img {
    filter: none !important;
}

/* Fixed header spacing - body padding-top is handled by shared.css */
/* No need to add padding-top: var(--header-offset) here */
/* .page-slot-games__video-section (if present) uses small padding-top: 10px */