/* style/slot-games.css */

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

/* Base styles for the page content */
.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--k066-win-text-main); /* Main text color on dark background */
    background-color: var(--k066-win-background); /* Main background color */
    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.5em;
    color: var(--k066-win-gold); /* Gold for main titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

.page-slot-games__description-secondary {
    text-align: center;
    font-size: 1.05em;
    color: var(--k066-win-text-secondary);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-slot-games__text-center {
    text-align: center;
}

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-slot-games__hero-image {
    width: 100%;
    max-width: 1920px; /* Adjust max-width to requested size */
    height: auto;
    object-fit: cover;
    display: block;
    margin-bottom: 30px;
    border-radius: 10px;
}

.page-slot-games__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-slot-games__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
    color: var(--k066-win-gold);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.4);
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.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;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    border: 2px solid transparent;
}

.page-slot-games__btn-primary {
    background: var(--k066-win-button-gradient);
    color: var(--k066-win-text-main);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

.page-slot-games__btn-secondary {
    background: transparent;
    border-color: var(--k066-win-primary);
    color: var(--k066-win-primary);
}

.page-slot-games__btn-secondary:hover {
    background: var(--k066-win-primary);
    color: var(--k066-win-text-main);
    transform: translateY(-3px);
}

.page-slot-games__center-buttons {
    justify-content: center;
}

/* Dark background section */
.page-slot-games__dark-section {
    background-color: var(--k066-win-deep-green);
    color: var(--k066-win-text-main);
}

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

.page-slot-games__feature-card {
    background-color: var(--k066-win-card-bg);
    border: 1px solid var(--k066-win-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(87, 227, 141, 0.5)); /* Using glow color for icon shadow */
}

.page-slot-games__feature-title {
    font-size: 1.5em;
    color: var(--k066-win-gold);
    margin-bottom: 15px;
}

.page-slot-games__feature-card p {
    color: var(--k066-win-text-secondary);
}

/* Game Grid */
.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: var(--k066-win-card-bg);
    border: 1px solid var(--k066-win-border);
    border-radius: 10px;
    overflow: hidden;
    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 10px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

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

.page-slot-games__game-card p {
    color: var(--k066-win-text-secondary);
    padding: 0 15px 20px 15px;
}

.page-slot-games__button-wrapper {
    text-align: center;
    margin-top: 40px;
}

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

.page-slot-games__guide-list li {
    background-color: var(--k066-win-card-bg);
    border: 1px solid var(--k066-win-border);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
    counter-increment: guide-step;
}

.page-slot-games__guide-list li::before {
    content: counter(guide-step);
    position: absolute;
    top: 25px;
    left: 25px;
    width: 35px;
    height: 35px;
    background: var(--k066-win-primary);
    color: var(--k066-win-text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.page-slot-games__guide-step-title {
    font-size: 1.3em;
    color: var(--k066-win-gold);
    margin-left: 50px;
    margin-bottom: 10px;
}

.page-slot-games__guide-list li p {
    color: var(--k066-win-text-secondary);
    margin-left: 50px;
}

/* Strategy List */
.page-slot-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__strategy-list li {
    background-color: var(--k066-win-card-bg);
    border: 1px solid var(--k066-win-border);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

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

.page-slot-games__strategy-list li p {
    color: var(--k066-win-text-secondary);
}

/* Promotions Section */
.page-slot-games__promo-card {
    background-color: var(--k066-win-card-bg);
    border: 1px solid var(--k066-win-border);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    margin-bottom: 30px;
    align-items: center;
}

.page-slot-games__promo-card:last-child {
    margin-bottom: 0;
}

.page-slot-games__promo-image {
    width: 40%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-slot-games__promo-content {
    padding: 30px;
    width: 60%;
    box-sizing: border-box;
}

.page-slot-games__promo-title {
    font-size: 1.8em;
    color: var(--k066-win-gold);
    margin-bottom: 15px;
}

.page-slot-games__promo-content p {
    color: var(--k066-win-text-secondary);
    margin-bottom: 20px;
}

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

.page-slot-games__support-item {
    background-color: var(--k066-win-card-bg);
    border: 1px solid var(--k066-win-border);
    border-radius: 10px;
    padding: 30px;
}

.page-slot-games__support-item-title {
    font-size: 1.4em;
    color: var(--k066-win-gold);
    margin-bottom: 15px;
}

.page-slot-games__support-item p {
    color: var(--k066-win-text-secondary);
}

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

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

.page-slot-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--k066-win-text-main);
    cursor: pointer;
    background-color: var(--k066-win-card-bg);
    transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
    background-color: var(--k066-win-deep-green);
}

.page-slot-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--k066-win-primary);
}

.page-slot-games__faq-answer {
    padding: 0 25px 20px 25px;
    color: var(--k066-win-text-secondary);
    font-size: 1em;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
    background-color: var(--k066-win-deep-green);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__section-title {
        font-size: 2em;
    }
    .page-slot-games__promo-card {
        flex-direction: column;
    }
    .page-slot-games__promo-image,
    .page-slot-games__promo-content {
        width: 100%;
    }
    .page-slot-games__promo-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .page-slot-games__section {
        padding: 40px 0;
    }
    .page-slot-games__hero-section {
        padding-bottom: 40px;
    }
    .page-slot-games__main-title {
        font-size: clamp(2em, 8vw, 2.5em);
    }
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* Mobile image and video responsive */
    .page-slot-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-slot-games video {
        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__video-section,
    .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;
    }
    .page-slot-games__hero-image {
        border-radius: 0;
    }
    .page-slot-games__feature-icon {
        width: 80px;
        height: 80px;
    }
    .page-slot-games__guide-list li::before {
        top: 20px;
        left: 20px;
    }
    .page-slot-games__guide-step-title,
    .page-slot-games__guide-list li p {
        margin-left: 45px;
    }
    .page-slot-games__promo-card {
        margin-bottom: 20px;
    }
    .page-slot-games__promo-image {
        height: 200px;
    }
    .page-slot-games__promo-content {
        padding: 20px;
    }
    .page-slot-games__promo-title {
        font-size: 1.5em;
    }
    .page-slot-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-slot-games__section-title {
        font-size: 1.8em;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8em, 9vw, 2.2em);
    }
    .page-slot-games__feature-title {
        font-size: 1.3em;
    }
    .page-slot-games__game-title {
        font-size: 1.2em;
    }
    .page-slot-games__guide-step-title {
        font-size: 1.2em;
    }
    .page-slot-games__strategy-item-title {
        font-size: 1.2em;
    }
    .page-slot-games__promo-title {
        font-size: 1.3em;
    }
    .page-slot-games__support-item-title {
        font-size: 1.2em;
    }
    .page-slot-games__faq-question {
        font-size: 1em;
        padding: 12px 15px;
    }
}