/* style/slot-games.css */

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

/* Base styles for the page content */
.page-slot-games {
    color: var(--text-main); /* Light text for dark body background */
    background-color: var(--body-bg);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.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(28px, 4vw, 42px);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.page-slot-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

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

.page-slot-games__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games a[class*="button"],
.page-slot-games a[class*="btn"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-slot-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
    transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.2);
}

.page-slot-games__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.4);
    transform: translateY(-2px);
}

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

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

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

.page-slot-games__card-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.page-slot-games__card-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-slot-games__card-link:hover {
    color: var(--gold-color);
    text-decoration: underline;
}

.page-slot-games__content-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 40px auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__margin-top {
    margin-top: 40px;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    padding: 10px 0 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: brightness(0.6);
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    margin-top: 120px; /* Adjust based on header height */
}

.page-slot-games__main-title {
    font-size: clamp(36px, 5vw, 60px);
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--gold-color);
    line-height: 1.2;
    letter-spacing: 1px;
}

.page-slot-games__description {
    font-size: clamp(18px, 2.5vw, 24px);
    margin-bottom: 30px;
    color: var(--text-main);
}

/* Info Section */
.page-slot-games__info-section,
.page-slot-games__why-choose-us,
.page-slot-games__how-to-play,
.page-slot-games__promotions,
.page-slot-games__responsible-gaming,
.page-slot-games__conclusion {
    padding: 80px 0;
    background-color: var(--body-bg);
}

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

/* How To Play Section */
.page-slot-games__numbered-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__numbered-list li {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 70px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__numbered-list li::before {
    content: counter(list-item);
    counter-increment: list-item;
    position: absolute;
    left: 20px;
    top: 25px;
    background-color: var(--primary-color);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-slot-games__list-title {
    font-size: 20px;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__list-text {
    font-size: 16px;
    color: var(--text-secondary);
}

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

.page-slot-games__promotion-card {
    text-align: center;
}

.page-slot-games__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Responsible Gaming Section */
.page-slot-games__responsible-gaming p {
    margin-bottom: 15px;
}

/* Conclusion Section */
.page-slot-games__conclusion p {
    text-align: center;
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-content {
        margin-top: 80px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__section-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .page-slot-games__hero-content {
        padding: 40px 15px;
        margin-top: 60px;
    }

    .page-slot-games__main-title {
        font-size: 38px;
    }

    .page-slot-games__description {
        font-size: 17px;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games a[class*="button"],
    .page-slot-games a[class*="btn"] {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        font-size: 16px;
    }

    .page-slot-games__info-section,
    .page-slot-games__why-choose-us,
    .page-slot-games__how-to-play,
    .page-slot-games__promotions,
    .page-slot-games__responsible-gaming,
    .page-slot-games__conclusion {
        padding: 60px 0;
    }

    .page-slot-games__container {
        padding: 0 15px;
    }

    .page-slot-games__features-grid,
    .page-slot-games__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-slot-games__numbered-list li {
        padding: 20px;
        padding-left: 60px;
    }

    .page-slot-games__numbered-list li::before {
        width: 35px;
        height: 35px;
        font-size: 18px;
        left: 15px;
        top: 20px;
    }

    .page-slot-games__card-image {
        height: 200px;
    }

    /* Mobile image responsive override */
    .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__info-section,
    .page-slot-games__why-choose-us,
    .page-slot-games__how-to-play,
    .page-slot-games__promotions,
    .page-slot-games__responsible-gaming,
    .page-slot-games__conclusion,
    .page-slot-games__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no horizontal scroll */
    }
    .page-slot-games__hero-section {
        padding-top: 10px !important; /* body has header offset */
    }
}

@media (max-width: 480px) {
    .page-slot-games__main-title {
        font-size: 32px;
    }
    .page-slot-games__description {
        font-size: 16px;
    }
    .page-slot-games__section-title {
        font-size: 28px;
    }
    .page-slot-games__card-title {
        font-size: 20px;
    }
    .page-slot-games__card-text {
        font-size: 15px;
    }
    .page-slot-games__numbered-list li::before {
        width: 30px;
        height: 30px;
        font-size: 16px;
        left: 10px;
        top: 20px;
    }
    .page-slot-games__numbered-list li {
        padding-left: 55px;
    }
}