/* style/slot-games.css */

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

.page-slot-games {
    background-color: var(--one88-background);
    color: var(--one88-text-main);
    font-family: Arial, sans-serif;
}

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

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.page-slot-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
}

.page-slot-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--one88-text-main);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -1px;
}

.page-slot-games__description {
    font-size: 1.25rem;
    color: var(--one88-text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.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-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
    width: auto;
}

.page-slot-games__btn-primary {
    background: var(--one88-button-gradient);
    color: var(--one88-text-main);
    border: none;
}

.page-slot-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-slot-games__section-title {
    font-size: 2.5rem;
    color: var(--one88-text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

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

.page-slot-games__text-block {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--one88-text-secondary);
}

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

.page-slot-games__introduction-section {
    background-color: var(--one88-background);
    color: var(--one88-text-secondary);
}

.page-slot-games__types-section {
    background-color: var(--one88-card-bg);
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.page-slot-games__card {
    background-color: var(--one88-deep-green);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--one88-border);
    color: var(--one88-text-main);
}

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--one88-glow);
}

.page-slot-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-slot-games__card-title {
    font-size: 1.5rem;
    color: var(--one88-text-main);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__card-text {
    font-size: 1rem;
    color: var(--one88-text-secondary);
    line-height: 1.6;
}

.page-slot-games__features-section {
    background-color: var(--one88-background);
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.page-slot-games__feature-item {
    background-color: var(--one88-card-bg);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--one88-border);
    color: var(--one88-text-main);
}

.page-slot-games__feature-icon {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
}

.page-slot-games__feature-title {
    font-size: 1.4rem;
    color: var(--one88-text-main);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__feature-text {
    font-size: 1rem;
    color: var(--one88-text-secondary);
    line-height: 1.6;
}

.page-slot-games__guide-section {
    background-color: var(--one88-deep-green);
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.page-slot-games__guide-list li {
    background-color: var(--one88-card-bg);
    margin-bottom: 20px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-left: 80px;
    border: 1px solid var(--one88-border);
}

.page-slot-games__guide-list li::before {
    counter-increment: guide-step;
    content: counter(guide-step);
    position: absolute;
    left: 25px;
    top: 30px;
    background: var(--one88-button-gradient);
    color: var(--one88-text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.page-slot-games__guide-step-title {
    font-size: 1.6rem;
    color: var(--one88-text-main);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__guide-list p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--one88-text-secondary);
}

.page-slot-games__inline-link {
    color: var(--one88-gold);
    text-decoration: none;
    font-weight: bold;
}

.page-slot-games__inline-link:hover {
    text-decoration: underline;
}

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

.page-slot-games__promotions-section {
    background-color: var(--one88-background);
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.page-slot-games__promotions-grid .page-slot-games__card .page-slot-games__btn-secondary {
    margin-top: 20px;
    width: calc(100% - 40px); /* Adjust for card padding */
    max-width: 200px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__why-choose-section {
    background-color: var(--one88-deep-green);
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.page-slot-games__advantage-list li {
    background-color: var(--one88-card-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--one88-border);
    color: var(--one88-text-main);
}

.page-slot-games__advantage-title {
    font-size: 1.4rem;
    color: var(--one88-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__advantage-list p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--one88-text-secondary);
}

.page-slot-games__faq-section {
    background-color: var(--one88-background);
    padding-top: 80px;
    padding-bottom: 80px;
}

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

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

.page-slot-games__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--one88-text-main);
    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: rgba(46, 122, 78, 0.2);
}

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

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

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

.page-slot-games__conclusion-section {
    background-color: var(--one88-deep-green);
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-slot-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-slot-games__section-title {
        font-size: 2rem;
    }
    .page-slot-games__description {
        font-size: 1.1rem;
    }
    .page-slot-games__text-block, .page-slot-games__card-text, .page-slot-games__feature-text, .page-slot-games__guide-list p, .page-slot-games__advantage-list p, .page-slot-games__faq-answer p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .page-slot-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-slot-games__container {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-slot-games__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-slot-games__section-title {
        font-size: 1.8rem;
    }
    .page-slot-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .page-slot-games__btn-primary,
    .page-slot-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .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__hero-section, .page-slot-games__introduction-section, .page-slot-games__types-section, .page-slot-games__features-section, .page-slot-games__guide-section, .page-slot-games__promotions-section, .page-slot-games__why-choose-section, .page-slot-games__faq-section, .page-slot-games__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-slot-games__grid, .page-slot-games__features-grid, .page-slot-games__promotions-grid, .page-slot-games__advantage-list {
        grid-template-columns: 1fr;
    }
    .page-slot-games__guide-list li {
        padding-left: 60px;
    }
    .page-slot-games__guide-list li::before {
        left: 15px;
        top: 20px;
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
    .page-slot-games__guide-step-title {
        font-size: 1.3rem;
    }
    .page-slot-games__faq-item summary {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-slot-games__faq-toggle {
        font-size: 1.5rem;
    }
    .page-slot-games__faq-answer {
        padding: 0 20px 15px 20px;
    }
}