/* style/slot-games.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --page-bg: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

.page-slot-games {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--page-bg); /* Body background handled by shared.css var(--background-color) */
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
    background-color: var(--page-bg);
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    overflow: hidden;
    margin-bottom: 40px;
}

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

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.page-slot-games__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gold-color);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-slot-games__hero-description {
    font-size: 1.15em;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__card-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    text-align: center;
}

.page-slot-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

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

.page-slot-games__section.page-slot-games__dark-bg {
    background-color: var(--card-bg);
}

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

.page-slot-games__paragraph {
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

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

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

.page-slot-games__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
}

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

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

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

.page-slot-games__card-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.page-slot-games__card-button {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    width: fit-content;
    margin: 0 auto;
    padding: 10px 20px;
    font-size: 0.95em;
}

.page-slot-games__card-button:hover {
    filter: brightness(1.1);
}

.page-slot-games__cta-center {
    text-align: center;
    margin-top: 30px;
}

/* Guide Section */
.page-slot-games__ordered-list {
    list-style: none;
    counter-reset: guide-counter;
    padding: 0;
    margin: 40px 0;
}

.page-slot-games__ordered-list li {
    counter-increment: guide-counter;
    margin-bottom: 20px;
    padding-left: 50px;
    position: relative;
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--text-secondary);
}

.page-slot-games__ordered-list li::before {
    content: counter(guide-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--primary-color);
    color: var(--text-main);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2em;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

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

/* Why Choose Section */
.page-slot-games__feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-slot-games__feature-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
}

.page-slot-games__feature-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 10px var(--glow-color);
}

.page-slot-games__feature-title {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-slot-games__feature-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* App Download Section */
.page-slot-games__app-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-slot-games__app-text {
    flex: 1;
    min-width: 300px;
}

.page-slot-games__app-image-wrapper {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    text-align: center;
}

.page-slot-games__app-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-slot-games__app-benefits-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-slot-games__app-benefits-list li {
    font-size: 1.05em;
    line-height: 1.8;
    color: var(--text-secondary);
    position: relative;
    padding-left: 30px;
}

.page-slot-games__app-benefits-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

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

.page-slot-games__faq-item {
    margin-bottom: 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--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 */
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    color: var(--gold-color);
}

.page-slot-games__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    transform: rotate(45deg);
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
    overflow: hidden;
}

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

/* Conclusion Section */
.page-slot-games__conclusion-section {
    text-align: center;
    padding-bottom: 80px;
}

/* Global image rules for content area - enforce minimum size */
.page-slot-games img:not(.page-slot-games__hero-image) {
    min-width: 200px;
    min-height: 200px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__hero-image-wrapper {
        max-height: 500px;
    }
    .page-slot-games__hero-content {
        padding: 0 15px;
    }
    .page-slot-games__main-title {
        font-size: clamp(2em, 5vw, 2.8em);
    }
    .page-slot-games__hero-description {
        font-size: 1.05em;
    }
}

@media (max-width: 768px) {
    .page-slot-games__section {
        padding: 40px 0;
    }
    .page-slot-games__section-title {
        font-size: clamp(1.6em, 6vw, 2.2em);
        margin-bottom: 30px;
    }
    .page-slot-games__paragraph,
    .page-slot-games__ordered-list li,
    .page-slot-games__feature-description,
    .page-slot-games__app-benefits-list li,
    .page-slot-games__faq-answer {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    /* Mobile specific padding for content containers */
    .page-slot-games__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: unset; /* Allow smaller images on mobile if needed, but not tiny icons */
        min-height: unset;
    }
    .page-slot-games__card-image {
        height: auto; /* Allow auto height for mobile cards */
    }

    /* Buttons */
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__card-button {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* App Section */
    .page-slot-games__app-content {
        flex-direction: column;
        text-align: center;
    }
    .page-slot-games__app-image-wrapper {
        order: -1; /* Image above text on mobile */
        margin-bottom: 30px;
        max-width: 300px;
    }
    .page-slot-games__app-benefits-list {
        text-align: left;
    }

    /* FAQ */
    .page-slot-games__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-slot-games__faq-answer {
        padding: 0 20px 15px;
    }

    .page-slot-games__hero-section {
        padding-bottom: 40px;
    }

    .page-slot-games__hero-image-wrapper {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: clamp(1.6em, 8vw, 2.2em);
    }
    .page-slot-games__hero-description {
        font-size: 0.95em;
    }
    .page-slot-games__game-grid,
    .page-slot-games__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-slot-games__card-image {
        height: auto; /* Ensure cards adapt */
    }
}