/* style/slot-machine-gameplay.css */

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

.page-slot-machine-gameplay {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for dark background */
    background-color: var(--site-bg); /* Default background color from custom palette */
}

/* Ensure body padding-top is handled by shared.css */
/* .page-slot-machine-gameplay { padding-top: var(--header-offset); } - AVOID */

.page-slot-machine-gameplay__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, header offset handled by body */
    background: var(--deep-green);
    overflow: hidden;
}

.page-slot-machine-gameplay__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-slot-machine-gameplay__hero-content {
    max-width: 900px;
    z-index: 1;
    padding: 0 15px;
}

.page-slot-machine-gameplay__main-title {
    font-weight: bold;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.page-slot-machine-gameplay__description {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.page-slot-machine-gameplay__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.page-slot-machine-gameplay__cta-buttons--center {
    margin-top: 40px;
}

.page-slot-machine-gameplay__btn-primary,
.page-slot-machine-gameplay__btn-secondary,
.page-slot-machine-gameplay__btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
}

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

.page-slot-machine-gameplay__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-machine-gameplay__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--border-color);
}

.page-slot-machine-gameplay__btn-secondary:hover {
    background: rgba(var(--primary-color), 0.1);
    color: var(--glow-color);
    border-color: var(--glow-color);
}

.page-slot-machine-gameplay__btn-play {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 15px;
}

.page-slot-machine-gameplay__btn-play:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.page-slot-machine-gameplay__intro-section,
.page-slot-machine-gameplay__strategy-section,
.page-slot-machine-gameplay__safety-fairness,
.page-slot-machine-gameplay__cta-bottom {
    padding: 80px 20px;
}

.page-slot-machine-gameplay__dark-bg {
    background-color: var(--site-bg);
    color: var(--text-main);
}

.page-slot-machine-gameplay__light-bg {
    background-color: #0A1F16; /* A slightly lighter dark green for contrast */
    color: var(--text-main);
}

.page-slot-machine-gameplay__content-area {
    max-width: 1200px;
    margin: 0 auto;
}

.page-slot-machine-gameplay__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 10px rgba(var(--gold-color), 0.3);
}

.page-slot-machine-gameplay__sub-title {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-slot-machine-gameplay p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

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

.page-slot-machine-gameplay__feature-item {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 280px; /* Ensure consistent height */
}

.page-slot-machine-gameplay__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    object-fit: contain;
}

.page-slot-machine-gameplay__feature-text h4 {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-slot-machine-gameplay__feature-text p {
    font-size: 0.95em;
    line-height: 1.5;
    color: var(--text-secondary);
}

.page-slot-machine-gameplay__text-block {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    border: 1px solid var(--border-color);
}

.page-slot-machine-gameplay__text-block p {
    color: var(--text-secondary);
}

.page-slot-machine-gameplay__icon-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-slot-machine-gameplay__icon-item {
    background: var(--deep-green);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.page-slot-machine-gameplay__icon-item img {
    
    
    margin-bottom: 10px;
    object-fit: contain;
}

.page-slot-machine-gameplay__icon-item h4 {
    color: var(--primary-color);
    font-size: 1.2em;
}

.page-slot-machine-gameplay__icon-item p {
    font-size: 0.9em;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.page-slot-machine-gameplay__step-list {
    list-style: decimal;
    padding-left: 25px;
    margin-top: 30px;
    color: var(--text-secondary);
}

.page-slot-machine-gameplay__step-item {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.6;
}

.page-slot-machine-gameplay__step-item strong {
    color: var(--primary-color);
}

.page-slot-machine-gameplay__bullet-list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 15px;
    color: var(--text-secondary);
}

.page-slot-machine-gameplay__bullet-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
    line-height: 1.6;
}

.page-slot-machine-gameplay__featured-games {
    padding: 80px 20px;
    background-color: var(--deep-green);
}

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

.page-slot-machine-gameplay__card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

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

.page-slot-machine-gameplay__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-machine-gameplay__card-title {
    font-size: 1.6em;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-slot-machine-gameplay__card-title a {
    color: var(--gold-color);
    text-decoration: none;
}

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

.page-slot-machine-gameplay__card-content p {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.page-slot-machine-gameplay__more-games-text {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: var(--text-secondary);
}

.page-slot-machine-gameplay__cta-content {
    text-align: center;
}

.page-slot-machine-gameplay__faq-section {
    padding: 80px 20px;
    background-color: var(--site-bg);
}

.page-slot-machine-gameplay__faq-list {
    margin-top: 40px;
}

.page-slot-machine-gameplay__faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-slot-machine-gameplay__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

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

.page-slot-machine-gameplay__faq-item summary:hover {
    background-color: var(--deep-green);
}

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

.page-slot-machine-gameplay__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-slot-machine-gameplay__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-secondary);
    opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-machine-gameplay__main-title {
        font-size: 2.5em;
    }
    .page-slot-machine-gameplay__section-title {
        font-size: 2em;
    }
    .page-slot-machine-gameplay__sub-title {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-slot-machine-gameplay {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-slot-machine-gameplay__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset */
    }

    .page-slot-machine-gameplay__main-title {
        font-size: 2em;
    }

    .page-slot-machine-gameplay__description {
        font-size: 1em;
    }

    .page-slot-machine-gameplay__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

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

    .page-slot-machine-gameplay__intro-section,
    .page-slot-machine-gameplay__strategy-section,
    .page-slot-machine-gameplay__safety-fairness,
    .page-slot-machine-gameplay__featured-games,
    .page-slot-machine-gameplay__faq-section,
    .page-slot-machine-gameplay__cta-bottom {
        padding: 40px 15px;
    }

    .page-slot-machine-gameplay__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-slot-machine-gameplay__sub-title {
        font-size: 1.3em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-slot-machine-gameplay p,
    .page-slot-machine-gameplay li {
        font-size: 0.95em;
    }

    .page-slot-machine-gameplay__feature-list,
    .page-slot-machine-gameplay__icon-list,
    .page-slot-machine-gameplay__game-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-machine-gameplay__feature-item,
    .page-slot-machine-gameplay__card {
        padding: 20px;
    }

    .page-slot-machine-gameplay__card-image {
        height: 180px;
    }

    .page-slot-machine-gameplay__card-title {
        font-size: 1.4em;
    }

    .page-slot-machine-gameplay__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-slot-machine-gameplay__faq-answer {
        padding: 0 20px 15px;
    }

    /* Image responsiveness */
    .page-slot-machine-gameplay img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Image container responsiveness */
    .page-slot-machine-gameplay__section,
    .page-slot-machine-gameplay__card,
    .page-slot-machine-gameplay__container,
    .page-slot-machine-gameplay__hero-image-wrapper,
    .page-slot-machine-gameplay__text-block,
    .page-slot-machine-gameplay__icon-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    /* Specific padding for sections in mobile to avoid content touching edges */
    .page-slot-machine-gameplay__intro-section > .page-slot-machine-gameplay__content-area,
    .page-slot-machine-gameplay__strategy-section > .page-slot-machine-gameplay__content-area,
    .page-slot-machine-gameplay__safety-fairness > .page-slot-machine-gameplay__content-area,
    .page-slot-machine-gameplay__featured-games > .page-slot-machine-gameplay__content-area,
    .page-slot-machine-gameplay__faq-section > .page-slot-machine-gameplay__content-area,
    .page-slot-machine-gameplay__cta-bottom > .page-slot-machine-gameplay__content-area {
        padding-left: 15px;
        padding-right: 15px;
    }
}