/* style/slot-games.css */

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

.page-slot-games {
    background-color: var(--cpc188-background);
    color: var(--cpc188-text-main);
    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__dark-bg {
    background-color: var(--cpc188-background);
    color: var(--cpc188-text-main);
}

.page-slot-games__light-bg {
    background-color: #f0f0f0; /* Using a light background for contrast */
    color: #333333;
}

.page-slot-games__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--cpc188-gold);
    line-height: 1.2;
}

.page-slot-games__section-title a {
    color: var(--cpc188-gold);
}

.page-slot-games__description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    color: var(--cpc188-text-secondary);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__description a {
    color: var(--cpc188-gold);
    text-decoration: underline;
}

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

.page-slot-games__link {
    color: var(--cpc188-gold);
    text-decoration: underline;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 700px;
    padding: 10px 0 60px; /* Small top padding, larger bottom padding */
    overflow: hidden;
    box-sizing: border-box;
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
}

.page-slot-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.page-slot-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
    font-weight: 900;
    color: var(--cpc188-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-content .page-slot-games__description {
    font-size: 1.2em;
    color: var(--cpc188-text-main);
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

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

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

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

.page-slot-games__btn-secondary:hover {
    background-color: var(--cpc188-gold);
    color: var(--cpc188-background);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.3);
}

.page-slot-games__btn-xl {
    padding: 18px 40px;
    font-size: 1.3em;
}

.page-slot-games__btn-large {
    padding: 15px 35px;
    font-size: 1.2em;
}

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

/* Introduction Section */
.page-slot-games__introduction-section {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__introduction-section .page-slot-games__section-title {
    color: var(--cpc188-primary);
}

.page-slot-games__introduction-section .page-slot-games__description {
    color: #555555;
}

.page-slot-games__introduction-section .page-slot-games__content-area {
    text-align: left;
    color: #333333;
    font-size: 1.05em;
}

.page-slot-games__introduction-section .page-slot-games__content-area p {
    margin-bottom: 20px;
}

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

.page-slot-games__feature-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
    color: #333333;
    border-left: 5px solid var(--cpc188-primary);
    font-size: 1em;
}

.page-slot-games__feature-item strong {
    color: var(--cpc188-primary);
    font-size: 1.1em;
}

/* Video Section */
.page-slot-games__video-section {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__video-section .page-slot-games__section-title {
    color: var(--cpc188-gold);
}

.page-slot-games__video-section .page-slot-games__description {
    color: var(--cpc188-text-secondary);
}

.page-slot-games__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 40px auto 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-color: #000;
    box-sizing: border-box;
}

.page-slot-games__video-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: pointer;
}

.page-slot-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: cover;
}

/* Games Showcase */
.page-slot-games__games-showcase {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__games-showcase .page-slot-games__section-title {
    color: var(--cpc188-primary);
}

.page-slot-games__games-showcase .page-slot-games__description {
    color: #555555;
}

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

.page-slot-games__game-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #333333;
}

.page-slot-games__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-slot-games__game-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--cpc188-primary);
    padding: 0 15px;
}

.page-slot-games__game-title a {
    color: var(--cpc188-primary);
    text-decoration: none;
}

.page-slot-games__game-title a:hover {
    text-decoration: underline;
}

.page-slot-games__game-description {
    font-size: 0.95em;
    color: #666666;
    margin-bottom: 20px;
    padding: 0 15px;
    flex-grow: 1;
}

.page-slot-games__game-card .page-slot-games__btn-primary {
    margin: 0 auto;
}

.page-slot-games__button-container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.page-slot-games__button-container--center {
    text-align: center;
}

/* Strategy Section */
.page-slot-games__strategy-section {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__strategy-section .page-slot-games__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-slot-games__strategy-section .page-slot-games__section-title {
    width: 100%;
    color: var(--cpc188-gold);
}

.page-slot-games__strategy-section .page-slot-games__content-area {
    flex: 1;
    min-width: 300px;
    text-align: left;
    color: var(--cpc188-text-main);
    font-size: 1.05em;
}

.page-slot-games__strategy-section .page-slot-games__content-area p {
    margin-bottom: 20px;
}

.page-slot-games__strategy-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-slot-games__strategy-item {
    background-color: var(--cpc188-card-bg);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 5px solid var(--cpc188-gold);
    font-size: 1em;
    color: var(--cpc188-text-main);
}

.page-slot-games__strategy-item strong {
    color: var(--cpc188-gold);
}

.page-slot-games__image-block {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__promotions-section .page-slot-games__section-title {
    color: var(--cpc188-primary);
}

.page-slot-games__promotions-section .page-slot-games__description {
    color: #555555;
}

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

.page-slot-games__promo-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #333333;
}

.page-slot-games__promo-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-slot-games__promo-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--cpc188-primary);
    padding: 0 15px;
}

.page-slot-games__promo-title a {
    color: var(--cpc188-primary);
    text-decoration: none;
}

.page-slot-games__promo-title a:hover {
    text-decoration: underline;
}

.page-slot-games__promo-text {
    font-size: 0.95em;
    color: #666666;
    margin-bottom: 20px;
    padding: 0 15px;
    flex-grow: 1;
}

.page-slot-games__promo-card .page-slot-games__btn-primary {
    margin: 0 auto;
}

/* FAQ Section */
.page-slot-games__faq-section {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__faq-section .page-slot-games__section-title {
    color: var(--cpc188-gold);
}

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--cpc188-text-main);
    cursor: pointer;
    list-style: none;
    position: relative;
    user-select: none;
}

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

.page-slot-games__faq-question .page-slot-games__link {
    color: var(--cpc188-gold);
    text-decoration: underline;
}

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

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

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

.page-slot-games__faq-answer .page-slot-games__link {
    color: var(--cpc188-gold);
    text-decoration: underline;
}

/* CTA Section */
.page-slot-games__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-slot-games__cta-section .page-slot-games__section-title {
    color: var(--cpc188-primary);
}

.page-slot-games__cta-section .page-slot-games__description {
    color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__hero-section {
        min-height: 600px;
    }
    .page-slot-games__main-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__game-grid,
    .page-slot-games__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games__hero-section {
        min-height: 500px;
        padding: 10px 0 40px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-slot-games__hero-content .page-slot-games__description {
        font-size: 1em;
    }
    .page-slot-games__cta-buttons {
        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 !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slot-games__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-slot-games__introduction-section,
    .page-slot-games__video-section,
    .page-slot-games__games-showcase,
    .page-slot-games__strategy-section,
    .page-slot-games__promotions-section,
    .page-slot-games__faq-section,
    .page-slot-games__cta-section {
        padding: 40px 0;
    }
    .page-slot-games__container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-slot-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games__video,
    .page-slot-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important; /* For video element directly */
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-slot-games__video-section {
        padding-top: 10px !important; /* body already handles header offset */
    }
    .page-slot-games__strategy-section .page-slot-games__container {
        flex-direction: column;
    }
    .page-slot-games__image-block {
        margin-top: 30px;
    }
    .page-slot-games__feature-list {
        grid-template-columns: 1fr;
    }
    .page-slot-games__game-grid,
    .page-slot-games__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-slot-games__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-slot-games__faq-answer {
        padding: 0 15px 15px;
    }
}

/* Ensure content images are not too small */
.page-slot-games__content-image, 
.page-slot-games__game-image, 
.page-slot-games__promo-image {
    min-width: 200px;
    min-height: 200px;
}

/* Specific content area img rules to prevent small sizes */
.page-slot-games__strategy-section .page-slot-games__content-image, 
.page-slot-games__games-showcase .page-slot-games__game-image, 
.page-slot-games__promotions-section .page-slot-games__promo-image {
    width: 100%; /* Ensure they take full width of their container */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

@media (max-width: 768px) {
    /* Override any potentially smaller sizes in mobile view */
    .page-slot-games__strategy-section .page-slot-games__content-image,
    .page-slot-games__games-showcase .page-slot-games__game-image,
    .page-slot-games__promotions-section .page-slot-games__promo-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }
}