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

/* Base styles for the page content */
.page-slot-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--cwin06-text-main); /* Default text color for dark background */
    background-color: var(--cwin06-background); /* Overall page background */
    padding-top: 0; /* Handled by body padding-top in shared.css */
}

/* Headings */
.page-slot-games h1,
.page-slot-games h2,
.page-slot-games h3,
.page-slot-games h4,
.page-slot-games h5,
.page-slot-games h6 {
    color: var(--cwin06-text-main);
    margin-bottom: 1em;
    font-weight: bold;
    line-height: 1.2;
}

.page-slot-games h1 {
    font-weight: 700;
    letter-spacing: -0.02em;
    max-width: 800px;
}

.page-slot-games__main-title {
    color: var(--cwin06-gold); /* Using gold for main title for emphasis */
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    text-align: center;
    margin-bottom: 20px;
}

.page-slot-games__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    text-align: center;
    margin-bottom: 30px;
    color: var(--cwin06-text-main);
}

.page-slot-games__text-block {
    margin-bottom: 15px;
    color: var(--cwin06-text-main);
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image block on top, text block below */
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, main offset by body */
    background-color: var(--cwin06-deep-green); /* Background for the hero section */
    overflow: hidden;
}

.page-slot-games__hero-image {
    width: 100%;
    max-width: 1200px; /* Example max-width for hero image */
    height: auto;
    display: block;
    margin-top: 30px; /* Space between text and image */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-content-wrapper {
    max-width: 900px;
    text-align: center;
    z-index: 2;
}

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

/* CTA Buttons */
.page-slot-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

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

.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;
    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);
    box-sizing: border-box; /* Crucial for mobile responsiveness */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    max-width: 100%; /* Ensure button doesn't exceed container */
}

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

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

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

.page-slot-games__btn-secondary:hover {
    background-color: var(--cwin06-gold);
    color: var(--cwin06-background);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-slot-games__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--cwin06-divider);
}

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

.page-slot-games__dark-section {
    background-color: var(--cwin06-card-bg); /* Darker background for contrast */
}

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

.page-slot-games__game-card {
    background-color: var(--cwin06-deep-green);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-slot-games__game-card-title {
    font-size: 1.4em;
    margin: 20px 15px 10px;
    color: var(--cwin06-gold);
}

.page-slot-games__game-card-description {
    font-size: 0.95em;
    color: var(--cwin06-text-secondary);
    padding: 0 15px 20px;
}

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

.page-slot-games__guide-step {
    background-color: var(--cwin06-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid var(--cwin06-border);
}

.page-slot-games__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--cwin06-primary);
    color: #ffffff;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-title {
    font-size: 1.5em;
    color: var(--cwin06-gold);
    margin-bottom: 10px;
}

.page-slot-games__step-description {
    color: var(--cwin06-text-secondary);
}

/* Strategy Section */
.page-slot-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-slot-games__strategy-item {
    background-color: var(--cwin06-deep-green);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    border-left: 5px solid var(--cwin06-primary);
}

.page-slot-games__strategy-item-title {
    font-size: 1.3em;
    color: var(--cwin06-gold);
    margin-bottom: 10px;
}

.page-slot-games__strategy-item-description {
    color: var(--cwin06-text-secondary);
}

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

.page-slot-games__promo-card {
    background-color: var(--cwin06-card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--cwin06-border);
}

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

.page-slot-games__promo-card-image {
    width: 100%;
    height: 220px; /* Consistent height for promo images */
    object-fit: cover;
    display: block;
}

.page-slot-games__promo-card-title {
    font-size: 1.4em;
    margin: 20px 15px 10px;
    color: var(--cwin06-gold);
}

.page-slot-games__promo-card-description {
    font-size: 0.95em;
    color: var(--cwin06-text-secondary);
    padding: 0 15px 20px;
}

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

.page-slot-games__feature-item {
    background-color: var(--cwin06-deep-green);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid var(--cwin06-border);
}

.page-slot-games__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--cwin06-glow)); /* Only allowed for icons to add glow, not change color */
}

.page-slot-games__feature-title {
    font-size: 1.3em;
    color: var(--cwin06-gold);
    margin-bottom: 10px;
}

.page-slot-games__feature-description {
    color: var(--cwin06-text-secondary);
}

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--cwin06-text-main);
    cursor: pointer;
    background-color: var(--cwin06-deep-green);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for details/summary */
}

.page-slot-games__faq-question:hover {
    background-color: var(--cwin06-primary);
}

.page-slot-games__faq-qtext {
    flex-grow: 1;
    color: var(--cwin06-gold);
}

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

.page-slot-games__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: var(--cwin06-text-secondary);
    background-color: var(--cwin06-card-bg);
    border-top: 1px solid var(--cwin06-border);
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-slot-games__section-title {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-slot-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Ensure small top padding */
    }

    .page-slot-games__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 15px 20px;
    }

    .page-slot-games__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-slot-games__game-list,
    .page-slot-games__guide-steps,
    .page-slot-games__strategy-list,
    .page-slot-games__promo-grid,
    .page-slot-games__feature-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-slot-games__game-card-image,
    .page-slot-games__promo-card-image {
        height: 180px; /* Adjust height for mobile */
    }

    /* Ensure all images are responsive on mobile */
    .page-slot-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All containers with images */
    .page-slot-games__section,
    .page-slot-games__card,
    .page-slot-games__container,
    .page-slot-games__game-card,
    .page-slot-games__promo-card,
    .page-slot-games__feature-item,
    .page-slot-games__guide-step {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-slot-games__feature-item {
        padding-left: 20px; /* Adjust padding for feature items */
        padding-right: 20px;
    }

    .page-slot-games__faq-question {
        padding: 15px 20px;
        font-size: 1.05em;
    }

    .page-slot-games__faq-answer {
        padding: 10px 20px 15px;
    }
}