/* style/slot-games.css */

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

.page-slot-games {
    color: var(--page-slot-games-text-main); /* Light text for dark body background */
    background-color: var(--page-slot-games-background); /* Ensure consistent background */
    font-family: 'Arial', sans-serif;
}

.page-slot-games__dark-bg {
    background-color: var(--page-slot-games-background);
    color: var(--page-slot-games-text-main);
}

.page-slot-games__highlight {
    color: var(--page-slot-games-gold);
    font-weight: bold;
}

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

.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    text-align: center;
    overflow: hidden;
    background-color: var(--page-slot-games-background);
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    position: relative;
    margin-bottom: 20px; /* Space between image and content */
}

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

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

.page-slot-games__main-title {
    color: var(--page-slot-games-gold);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    /* font-size handled by browser default and responsive scaling, avoid fixed large values */
}

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

.page-slot-games__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    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 wrapping */
    box-sizing: border-box;
    text-align: center;
}

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

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

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

.page-slot-games__btn-secondary:hover {
    background: var(--page-slot-games-secondary-color);
    color: var(--page-slot-games-background);
    transform: translateY(-2px);
}

.page-slot-games__section {
    padding: 60px 0;
}

.page-slot-games__section-title {
    color: var(--page-slot-games-text-main);
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-slot-games__description-text {
    color: var(--page-slot-games-text-secondary);
    font-size: 1.1em;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 40px;
}

.page-slot-games__content-wrapper {
    margin-bottom: 40px;
}

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

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

.page-slot-games__card {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    color: var(--page-slot-games-text-main);
    border: 1px solid var(--page-slot-games-divider);
}

.page-slot-games__card--bordered {
    border: 1px solid var(--page-slot-games-border);
    padding: 30px;
}

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

.page-slot-games__card--promo .page-slot-games__card-image {
    height: 220px;
    margin-bottom: 25px;
}

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

.page-slot-games__card p {
    color: var(--page-slot-games-text-secondary);
    font-size: 0.95em;
    line-height: 1.6;
    padding: 0 20px;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-slot-games__game-providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-slot-games__provider-card {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--page-slot-games-divider);
}

.page-slot-games__provider-logo {
    width: 120px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: brightness(1.2); /* Allowed for logos to stand out on dark background */
}

.page-slot-games__provider-name {
    color: var(--page-slot-games-text-main);
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-slot-games__provider-card p {
    color: var(--page-slot-games-text-secondary);
    font-size: 0.9em;
    line-height: 1.5;
}

.page-slot-games__flex-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.page-slot-games__image-left {
    width: 50%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.page-slot-games__list-styled {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.page-slot-games__list-styled li {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    color: var(--page-slot-games-text-secondary);
    font-size: 1.05em;
    line-height: 1.6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.page-slot-games__list-styled li:last-child {
    margin-bottom: 0;
}

.page-slot-games__list-styled li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__card--promo {
    padding-bottom: 30px; /* Adjust padding for button */
}

.page-slot-games__card--promo .page-slot-games__btn-secondary {
    margin-top: auto; /* Push button to bottom */
    align-self: center;
}

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

.page-slot-games__reason-item {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-slot-games-divider);
}

.page-slot-games__reason-icon {
    width: 64px; /* Ensure minimum size */
    height: 64px; /* Ensure minimum size */
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(1.2); /* Allowed for icons to stand out */
}

.page-slot-games__reason-title {
    color: var(--page-slot-games-text-main);
    font-size: 1.25em;
    font-weight: 600;
    margin-bottom: 10px;
}

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

.page-slot-games__faq-section {
    padding: 60px 0;
}

.page-slot-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__faq-item {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-image-wrapper {
        margin-bottom: 15px;
    }
    .page-slot-games__main-title {
        font-size: 2.2em;
    }
    .page-slot-games__description {
        font-size: 1em;
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__flex-layout {
        flex-direction: column;
        align-items: center;
    }
    .page-slot-games__image-left {
        width: 80%;
        margin-bottom: 30px;
    }
    .page-slot-games__list-styled {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-slot-games__container,
    .page-slot-games__hero-content {
        padding: 0 15px;
    }
    .page-slot-games__hero-section {
        padding: 10px 15px 40px;
    }
    .page-slot-games__main-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-slot-games__description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.9em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-slot-games__section {
        padding: 40px 0;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slot-games__text-block {
        font-size: 0.95em;
    }
    .page-slot-games__grid-layout,
    .page-slot-games__game-providers-grid,
    .page-slot-games__promotions-grid,
    .page-slot-games__reasons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__card-image {
        height: 180px;
    }
    .page-slot-games__card-title {
        font-size: 1.2em;
    }
    .page-slot-games__card p {
        font-size: 0.9em;
    }
    .page-slot-games__image-left {
        width: 100%;
        margin-bottom: 20px;
    }
    .page-slot-games__list-styled li {
        padding: 15px;
        font-size: 0.9em;
    }
    .page-slot-games__reason-icon {
        width: 50px;
        height: 50px;
    }
    .page-slot-games__reason-title {
        font-size: 1.1em;
    }
    .page-slot-games__faq-item summary {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-slot-games__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.9em;
    }

    /* Mobile specific image/video/container rules */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games video,
    .page-slot-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__video-section,
    .page-slot-games__video-container,
    .page-slot-games__video-wrapper,
    .page-slot-games__cta-buttons,
    .page-slot-games__button-group,
    .page-slot-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-slot-games__video-section {
        padding-top: 10px !important;
    }
    .page-slot-games__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: 1.6em;
    }
    .page-slot-games__section-title {
        font-size: 1.6em;
    }
    .page-slot-games__hero-section {
        padding-bottom: 30px;
    }
}