/* style/slot-games.css */

/* Custom colors */
:root {
    --page-slot-games-bg: #08160F;
    --page-slot-games-card-bg: #11271B;
    --page-slot-games-text-main: #F2FFF6;
    --page-slot-games-text-secondary: #A7D9B8;
    --page-slot-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --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 {
    background-color: var(--page-slot-games-bg);
    color: var(--page-slot-games-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-slot-games__section {
    padding: 60px 20px;
    text-align: center;
}

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

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

.page-slot-games__section-title {
    font-size: 2.8em;
    color: var(--page-slot-games-text-main);
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-slot-games__text-block {
    font-size: 1.1em;
    color: var(--page-slot-games-text-secondary);
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    margin-bottom: 20px;
}

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

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

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

.page-slot-games__hero-description {
    font-size: 1.2em;
    color: var(--page-slot-games-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background: var(--page-slot-games-btn-gradient);
    color: #ffffff;
    border: none;
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(87, 227, 141, 0.4);
}

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

.page-slot-games__btn-secondary:hover {
    background: var(--page-slot-games-glow);
    color: var(--page-slot-games-bg);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(87, 227, 141, 0.4);
}

.page-slot-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

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

.page-slot-games__card {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

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

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(87, 227, 141, 0.3);
}

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

.page-slot-games__card-title {
    font-size: 1.8em;
    color: var(--page-slot-games-text-main);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
}

.page-slot-games__card-text {
    color: var(--page-slot-games-text-secondary);
    font-size: 1em;
    line-height: 1.5;
    flex-grow: 1;
}

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

.page-slot-games__guide-item {
    background-color: var(--page-slot-games-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-slot-games-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 200px;
}

.page-slot-games__guide-image {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-slot-games__guide-title {
    font-size: 1.8em;
    color: var(--page-slot-games-gold);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
}

.page-slot-games__guide-text {
    color: var(--page-slot-games-text-secondary);
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-slot-games__list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 900px;
    text-align: left;
}

.page-slot-games__list-item {
    background-color: var(--page-slot-games-deep-green);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    color: var(--page-slot-games-text-main);
    font-size: 1.1em;
    line-height: 1.6;
    border-left: 5px solid var(--page-slot-games-glow);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__list-item strong {
    color: var(--page-slot-games-gold);
}

.page-slot-games__image-full-width {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 40px auto 0 auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    min-width: 200px;
    min-height: 200px;
}

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

.page-slot-games__card--promo {
    background-color: var(--page-slot-games-card-bg);
    border: 1px solid var(--page-slot-games-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 200px;
}

.page-slot-games__card--promo:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(87, 227, 141, 0.3);
}

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

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

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

.page-slot-games__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--page-slot-games-text-main);
    background-color: var(--page-slot-games-deep-green);
    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-glow);
    color: var(--page-slot-games-bg);
}

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

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: inherit;
}

.page-slot-games__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--page-slot-games-text-secondary);
    line-height: 1.6;
    border-top: 1px solid var(--page-slot-games-divider);
}

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

.page-slot-games__faq-answer .page-slot-games__btn-small {
    margin-top: 10px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-slot-games__section-title {
        font-size: 2.2em;
    }
    .page-slot-games__main-title {
        font-size: clamp(2em, 6vw, 3em);
    }
    .page-slot-games__hero-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding-bottom: 40px;
    }
    .page-slot-games__section {
        padding: 40px 15px;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slot-games__text-block {
        font-size: 1em;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .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 {
        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-games__grid, .page-slot-games__guide-steps, .page-slot-games__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-slot-games__card,
    .page-slot-games__guide-item,
    .page-slot-games__card--promo {
        padding: 20px;
        margin-left: 15px;
        margin-right: 15px;
        width: auto;
    }
    .page-slot-games__card-title,
    .page-slot-games__guide-title {
        font-size: 1.5em;
    }
    .page-slot-games__list-item {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-slot-games__image-full-width {
        margin-left: 15px;
        margin-right: 15px;
        width: auto;
    }
    .page-slot-games__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-slot-games__faq-answer {
        padding: 15px 20px;
    }
    /* Mobile image responsiveness */
    .page-slot-games img {
        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__hero-section,
    .page-slot-games__hero-image-wrapper,
    .page-slot-games__guide-item,
    .page-slot-games__card--promo,
    .page-slot-games__image-full-width,
    .page-slot-games__faq-list,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-slot-games__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__list {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__faq-list {
        padding-left: 15px;
        padding-right: 15px;
    }
}