/* style/slot-games.css */

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

.page-slot-games {
    background-color: var(--color-background);
    color: var(--color-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 0; /* body handles padding-top from shared.css */
}

.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    box-sizing: border-box;
}

.page-slot-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6); /* Slightly darken image for text contrast */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(17, 39, 27, 0.7); /* Card BG with transparency for readability */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    color: var(--color-text-main);
}

.page-slot-games__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    color: var(--color-gold); /* Gold color for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px var(--color-glow);
}

.page-slot-games__hero-description {
    font-size: 1.2em;
    color: var(--color-text-secondary);
    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; /* Allow buttons to wrap on smaller screens */
}

.page-slot-games__cta-buttons--center {
    margin-top: 40px;
    margin-bottom: 40px;
}

.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;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
}

.page-slot-games__btn-primary {
    background: var(--btn-gradient);
    color: var(--color-text-main); /* White text for dark button */
    border: 2px solid var(--color-primary);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--color-glow);
    filter: brightness(1.1);
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: var(--color-secondary); /* Green text for transparent button */
    border: 2px solid var(--color-secondary);
}

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

.page-slot-games__section {
    padding: 40px 0;
    box-sizing: border-box;
}

.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.8em, 3vw, 2.5em);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
    font-weight: 700;
}

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

.page-slot-games__text-block strong {
    color: var(--color-text-main);
}

.page-slot-games__text-block a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: bold;
}

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

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

.page-slot-games__card {
    background-color: var(--color-card-bg); /* Dark card background */
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-text-secondary); /* Light text for dark card */
    box-sizing: border-box;
}

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

.page-slot-games__card-image {
    width: 100%;
    max-width: 400px; /* Ensure images are not too wide in cards */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Minimum size requirement */
    min-width: 200px; /* Minimum size requirement */
}

.page-slot-games__card-title {
    font-size: 1.5em;
    color: var(--color-text-main);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-slot-games__card-text {
    font-size: 1em;
    color: var(--color-text-secondary);
    text-align: justify;
}

.page-slot-games__steps-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.page-slot-games__step-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--color-text-secondary);
    box-sizing: border-box;
}

.page-slot-games__step-title {
    font-size: 1.6em;
    color: var(--color-text-main);
    margin-bottom: 20px;
    font-weight: 600;
}

.page-slot-games__ordered-list,
.page-slot-games__unordered-list {
    list-style-position: inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
}

.page-slot-games__ordered-list li,
.page-slot-games__unordered-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-slot-games__ordered-list li strong,
.page-slot-games__unordered-list li strong {
    color: var(--color-text-main);
}

.page-slot-games__faq-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-slot-games__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    color: var(--color-text-secondary);
    box-sizing: border-box;
}

.page-slot-games__faq-item summary {
    list-style: none; /* Remove default marker */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--color-text-main);
    padding: 0;
}

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--color-gold);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to form an X or minus */
}

.page-slot-games__faq-answer {
    padding-top: 15px;
    font-size: 1.05em;
    color: var(--color-text-secondary);
    text-align: justify;
}

.page-slot-games__conclusion-section {
    text-align: center;
    padding-bottom: 60px;
}

/* Global image styles to prevent small icons and ensure minimum size */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
    min-width: 200px; /* Enforce minimum size for desktop */
    min-height: 200px; /* Enforce minimum size for desktop */
    object-fit: cover; /* Ensure images fill their space nicely */
    filter: none; /* No image filters */
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-content {
        padding: 15px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
    }
    .page-slot-games__section-title {
        font-size: clamp(1.6em, 4vw, 2.2em);
    }
    .page-slot-games__card {
        padding: 25px;
    }
    .page-slot-games__step-item {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset */
    }
    .page-slot-games__hero-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

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

    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__step-item,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding handled by .page-slot-games__container */
    }

    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: unset !important; /* Allow images to shrink below 200px on mobile */
        min-height: unset !important; /* Allow images to shrink below 200px on mobile */
    }
    .page-slot-games__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: unset !important;
        min-height: unset !important;
    }

    .page-slot-games__faq-item summary {
        font-size: 1.1em;
    }
    .page-slot-games__faq-answer {
        font-size: 1em;
    }
}