/* style/slot-games.css */

/* Custom Colors */
:root {
    --e2betvip-primary: #11A84E; /* Main */
    --e2betvip-secondary: #22C768; /* Auxiliary */
    --e2betvip-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --e2betvip-card-bg: #11271B; /* Card BG */
    --e2betvip-background: #08160F; /* Background */
    --e2betvip-text-main: #F2FFF6; /* Text Main */
    --e2betvip-text-secondary: #A7D9B8; /* Text Secondary */
    --e2betvip-border: #2E7A4E; /* Border */
    --e2betvip-glow: #57E38D; /* Glow */
    --e2betvip-gold: #F2C14E; /* Gold */
    --e2betvip-divider: #1E3A2A; /* Divider */
    --e2betvip-deep-green: #0A4B2C; /* Deep Green */
}

.page-slot-games {
    background-color: var(--e2betvip-background); /* Body background is dark, so text should be light */
    color: var(--e2betvip-text-main); /* Main text color for the page */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    background: var(--e2betvip-deep-green); /* Example dark background for hero */
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for hero image */
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-slot-games__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    color: var(--e2betvip-text-main); /* Ensure light text on dark background */
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--e2betvip-gold); /* Gold color for main title */
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

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

.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsive behavior */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-slot-games__btn-primary {
    background: var(--e2betvip-btn-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--e2betvip-primary);
    border: 2px solid var(--e2betvip-primary);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.2);
}

.page-slot-games__btn-secondary:hover {
    background: var(--e2betvip-primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.4);
}

.page-slot-games__btn-text {
    color: var(--e2betvip-primary);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-slot-games__btn-text:hover {
    color: var(--e2betvip-secondary);
}

/* Sections */
.page-slot-games__section {
    padding: 60px 0;
    background-color: var(--e2betvip-background); /* Consistent dark background */
    color: var(--e2betvip-text-main);
}

.page-slot-games__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--e2betvip-gold);
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-slot-games__sub-title,
.page-slot-games__card-title,
.page-slot-games__feature-title,
.page-slot-games__feature-heading,
.page-slot-games__promotion-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--e2betvip-text-main);
}

.page-slot-games__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--e2betvip-text-secondary);
    text-align: center;
}

/* Grid Layouts */
.page-slot-games__grid-2-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

/* Flex Layouts */
.page-slot-games__flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-slot-games__flex-item {
    flex: 1;
    min-width: 300px;
}

/* Cards */
.page-slot-games__card {
    background-color: var(--e2betvip-card-bg); /* Card BG */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: var(--e2betvip-text-main);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards in grid have equal height */
    box-sizing: border-box;
}

.page-slot-games__card--bordered {
    border: 1px solid var(--e2betvip-border); /* Border color */
}

.page-slot-games__card-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Minimum image height */
}

.page-slot-games__card-text {
    font-size: 1rem;
    color: var(--e2betvip-text-secondary);
    flex-grow: 1; /* Push button to bottom */
}

/* Image specific styles */
.page-slot-games__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-height: 200px; /* Minimum image height */
}

/* Lists */
.page-slot-games__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    color: var(--e2betvip-text-secondary);
}

.page-slot-games__list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

/* Feature Cards */
.page-slot-games__feature-card {
    background-color: var(--e2betvip-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: var(--e2betvip-text-main);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid var(--e2betvip-border);
}

.page-slot-games__feature-text {
    font-size: 1rem;
    color: var(--e2betvip-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Promotion Banner */
.page-slot-games__promotion-banner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column; /* Stack image and content */
    align-items: center;
    background-color: var(--e2betvip-card-bg);
}

.page-slot-games__promotion-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px;
}

.page-slot-games__promotion-content {
    padding: 30px;
    text-align: center;
    color: var(--e2betvip-text-main);
    max-width: 800px;
}

.page-slot-games__promotion-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--e2betvip-text-secondary);
}

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

.page-slot-games__feature-item {
    background-color: var(--e2betvip-card-bg);
    border: 1px solid var(--e2betvip-border);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    color: var(--e2betvip-text-main);
}

.page-slot-games__feature-description {
    font-size: 1rem;
    color: var(--e2betvip-text-secondary);
}

/* FAQ Section */
.page-slot-games__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--e2betvip-deep-green); /* Darker background for question */
    color: var(--e2betvip-text-main);
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: var(--e2betvip-divider);
}

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

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

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    content: "−"; /* Change to minus when open */
}

.page-slot-games__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--e2betvip-text-secondary);
    background-color: var(--e2betvip-card-bg); /* Lighter background for answer */
    border-top: 1px solid var(--e2betvip-border);
}

/* For <details> tag, hide default marker */
.page-slot-games__faq-item summary {
    list-style: none;
}
.page-slot-games__faq-item summary::-webkit-details-marker {
    display: none;
}


/* --- Responsive Design --- */

/* Mobile specific overrides */
@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-slot-games__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__hero-section {
        padding-bottom: 40px;
        padding-top: 10px !important; /* body handles header offset, small decorative top padding here */
    }

    .page-slot-games__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .page-slot-games__hero-description {
        font-size: 1rem;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-slot-games__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .page-slot-games__text-block {
        font-size: 1rem;
    }

    /* Images responsive */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__card,
    .page-slot-games__feature-card,
    .page-slot-games__feature-item,
    .page-slot-games__promotion-banner {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-slot-games__promotion-content {
        padding: 20px 15px; /* Adjust padding for mobile */
    }

    .page-slot-games__flex-row {
        flex-direction: column; /* Stack flex items vertically */
        gap: 20px;
    }

    .page-slot-games__flex-item {
        min-width: unset; /* Remove min-width on mobile */
        width: 100%;
    }

    .page-slot-games__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

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

/* General image styling for content areas */
.page-slot-games img:not(.page-slot-games__hero-image) {
    max-width: 100%;
    height: auto;
    display: block;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
    box-sizing: border-box;
}

/* Ensure content area images also adhere to min size, overriding potential smaller defaults */
.page-slot-games__card-image,
.page-slot-games__image-full-width,
.page-slot-games__promotion-image {
    min-width: 200px;
    min-height: 200px;
}

/* No CSS filters allowed */
.page-slot-games img {
    filter: none;
}