/* style/slot-games.css */

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

/* General Page Styling */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--f168-text-main);
    background-color: var(--f168-background); /* Dark background, so light text */
    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 {
    padding: 60px 0;
}

.page-slot-games__section-title {
    font-size: 2.8em;
    color: var(--f168-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-slot-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--f168-text-secondary);
    text-align: justify;
}

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

.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-wrapper {
    width: 100%;
    position: relative;
    z-index: 10;
    margin-top: -80px; /* Pull content up slightly over the image, but not on it */
}

.page-slot-games__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background: rgba(17, 39, 27, 0.9); /* Semi-transparent card background */
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--f168-border);
}

.page-slot-games__main-title {
    font-size: clamp(2.5em, 4vw, 3.8em); /* Responsive H1 font size */
    color: var(--f168-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.1;
    text-shadow: 0 0 15px var(--f168-glow);
}

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

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__card-button {
    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; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%;
}

.page-slot-games__btn-primary {
    background: var(--f168-button-gradient);
    color: #ffffff;
    border: 2px solid var(--f168-secondary);
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
    opacity: 0.9;
}

.page-slot-games__btn-secondary {
    background: var(--f168-card-bg);
    color: var(--f168-secondary);
    border: 2px solid var(--f168-secondary);
}

.page-slot-games__btn-secondary:hover {
    background: var(--f168-secondary);
    color: var(--f168-card-bg);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-slot-games__btn-center {
    display: block;
    margin: 30px auto 0 auto;
    width: fit-content;
}

/* Game Grid Section */
.page-slot-games__games-section {
    background-color: var(--f168-background);
}

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

.page-slot-games__game-card {
    background: var(--f168-card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--f168-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
}

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

.page-slot-games__card-title {
    font-size: 1.5em;
    color: var(--f168-gold);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-slot-games__card-description {
    font-size: 1em;
    color: var(--f168-text-secondary);
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-slot-games__card-button {
    background: var(--f168-button-gradient);
    color: #ffffff;
    border: none;
    margin-top: auto; /* Push button to bottom */
    padding: 10px 20px;
    font-size: 1em;
}

.page-slot-games__card-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Guide Section */
.page-slot-games__guide-section {
    background-color: var(--f168-deep-green);
}

.page-slot-games__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__guide-item {
    background: var(--f168-card-bg);
    border: 1px solid var(--f168-border);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__guide-heading {
    font-size: 1.8em;
    color: var(--f168-gold);
    margin-bottom: 15px;
}

.page-slot-games__guide-item p {
    color: var(--f168-text-secondary);
    font-size: 1.05em;
    line-height: 1.7;
}

/* Promotion Section */
.page-slot-games__promo-section {
    background-color: var(--f168-background);
}

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

.page-slot-games__promo-card {
    background: var(--f168-card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--f168-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
}

/* Security Section */
.page-slot-games__security-section {
    background-color: var(--f168-deep-green);
}

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

.page-slot-games__security-item {
    background: var(--f168-card-bg);
    border: 1px solid var(--f168-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__security-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--f168-glow)); /* Only allowed for non-color changing effects */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__security-heading {
    font-size: 1.6em;
    color: var(--f168-gold);
    margin-bottom: 10px;
}

.page-slot-games__security-item p {
    color: var(--f168-text-secondary);
    font-size: 1em;
}

/* FAQ Section */
.page-slot-games__faq-section {
    background-color: var(--f168-background);
}

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

.page-slot-games__faq-item {
    background: var(--f168-card-bg);
    border: 1px solid var(--f168-border);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--f168-text-main);
    cursor: pointer;
    list-style: none; /* For details/summary */
}

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

.page-slot-games__faq-question:hover {
    color: var(--f168-gold);
}

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

.page-slot-games__faq-answer {
    padding: 0 30px 20px 30px;
    font-size: 1.05em;
    color: var(--f168-text-secondary);
    line-height: 1.7;
}

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

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

/* Conclusion Section */
.page-slot-games__conclusion-section {
    background-color: var(--f168-deep-green);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-slot-games__section-title {
        font-size: 2.2em;
    }
    .page-slot-games__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-slot-games__hero-content {
        padding: 30px 15px;
    }
    .page-slot-games__game-grid,
    .page-slot-games__promo-cards,
    .page-slot-games__security-features {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-slot-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-slot-games__section {
        padding: 40px 0;
    }
    .page-slot-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-slot-games__hero-description {
        font-size: 1em;
    }
    .page-slot-games__hero-content {
        margin-top: -50px;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary,
    .page-slot-games__card-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__cta-buttons,
    .page-slot-games__button-group,
    .page-slot-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-slot-games__container {
        padding: 0 15px;
    }
    .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__game-card,
    .page-slot-games__promo-card,
    .page-slot-games__security-item,
    .page-slot-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-slot-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }
    .page-slot-games__hero-content {
        padding: 20px 10px;
    }
    .page-slot-games__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-slot-games__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 1em;
    }
    .page-slot-games__card-image {
        height: 180px;
    }
    .page-slot-games__security-icon {
        width: 80px;
        height: 80px;
    }
}