/* style/slot-games.css */

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

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

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

/* Sections */
.page-slot-games__section {
    padding: 60px 0;
    position: relative;
}

.page-slot-games__section:nth-child(even) {
    background-color: var(--ppg66-deep-green);
}

.page-slot-games__dark-section {
    background-color: var(--ppg66-deep-green);
    color: var(--ppg66-text-main);
}

.page-slot-games__section-title {
    font-size: 2.5rem;
    color: var(--ppg66-gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.page-slot-games h2 {
    color: var(--ppg66-gold-color);
}

.page-slot-games h3 {
    color: var(--ppg66-text-main);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.page-slot-games p {
    margin-bottom: 15px;
    color: var(--ppg66-text-secondary);
}

.page-slot-games__text-block {
    color: var(--ppg66-text-secondary);
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--ppg66-background);
}

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

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

.page-slot-games__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--ppg66-gold-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-slot-games__hero-description {
    font-size: 1.2rem;
    color: var(--ppg66-text-secondary);
    margin-bottom: 30px;
}

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

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

/* Buttons */
.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;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-slot-games__btn-primary {
    background: var(--ppg66-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), 0 0 15px var(--ppg66-glow-color);
}

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

.page-slot-games__btn-secondary:hover {
    background: var(--ppg66-main-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.page-slot-games__btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

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

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

.page-slot-games__feature-card:hover,
.page-slot-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 10px var(--ppg66-glow-color);
}

.page-slot-games__feature-icon,
.page-slot-games__game-image {
    width: 100%; /* Ensure images take full width of card */
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

.page-slot-games__card-title {
    color: var(--ppg66-gold-color);
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.page-slot-games__card-description {
    color: var(--ppg66-text-secondary);
    font-size: 0.95rem;
}

/* Lists */
.page-slot-games__ordered-list,
.page-slot-games__promotion-list,
.page-slot-games__security-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-slot-games__ordered-list li {
    background-color: var(--ppg66-card-bg);
    border-left: 5px solid var(--ppg66-main-color);
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--ppg66-text-secondary);
}

.page-slot-games__list-title {
    color: var(--ppg66-gold-color);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
}

.page-slot-games__promotion-list li,
.page-slot-games__security-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: var(--ppg66-text-secondary);
}

.page-slot-games__promotion-list li::before,
.page-slot-games__security-list li::before {
    content: '✓';
    color: var(--ppg66-glow-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Mobile Experience Section */
.page-slot-games__content-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-slot-games__text-content {
    flex: 1;
    min-width: 300px;
}

.page-slot-games__image-content {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-slot-games__mobile-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games__cta-buttons-mobile {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

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

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

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

.page-slot-games__faq-qtext {
    flex-grow: 1;
    color: var(--ppg66-text-main);
}

.page-slot-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--ppg66-gold-color);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
    content: '−';
}

.page-slot-games__faq-answer {
    padding: 0 20px 20px 20px;
    color: var(--ppg66-text-secondary);
    font-size: 0.95rem;
}

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

/* Global Image/Video/Button Responsive Styles (with !important for mobile) */
.page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Default object-fit for all images */
}

.page-slot-games video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

.page-slot-games__section,
.page-slot-games__container,
.page-slot-games__card,
.page-slot-games__cta-buttons,
.page-slot-games__button-group,
.page-slot-games__btn-container,
.page-slot-games__video-section,
.page-slot-games__video-container,
.page-slot-games__video-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Ensure no overflow */
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .page-slot-games {
        font-size: 15px;
    }

    .page-slot-games__section-title {
        font-size: 2rem;
    }

    .page-slot-games__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .page-slot-games__hero-description {
        font-size: 1rem;
    }

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

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-slot-games__hero-section {
        padding: 30px 0;
        padding-top: 10px !important; /* body handles --header-offset, this is for visual padding */
    }

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

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

    .page-slot-games__features-grid,
    .page-slot-games__games-grid {
        grid-template-columns: 1fr;
    }

    .page-slot-games__content-flex {
        flex-direction: column;
    }

    .page-slot-games__text-content,
    .page-slot-games__image-content {
        min-width: unset;
        width: 100%;
    }

    /* Enforce image/video responsiveness for all elements */
    .page-slot-games img,
    .page-slot-games__hero-image,
    .page-slot-games__feature-icon,
    .page-slot-games__game-image,
    .page-slot-games__mobile-image {
        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__video-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
    }

    .page-slot-games__video-container,
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

/* Ensure min-width for content images is 200px */
.page-slot-games__feature-icon,
.page-slot-games__game-image,
.page-slot-games__mobile-image {
    min-width: 200px;
    min-height: 200px;
}

/* No CSS filter for images */
.page-slot-games img {
    filter: none;
}