/* style/resources-j88-slot-high-payout-tips.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-dark: #1a1a2e; /* From body background in shared.css */
    --button-register: #C30808;
    --button-login: #C30808;
    --font-register-login: #FFFF00;
}

.page-resources-j88-slot-high-payout-tips {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Based on dark body background */
    background-color: var(--bg-dark);
}

.page-resources-j88-slot-high-payout-tips__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-resources-j88-slot-high-payout-tips__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 700px;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    background-color: var(--primary-color);
    color: var(--text-light);
    overflow: hidden;
}

.page-resources-j88-slot-high-payout-tips__hero-content {
    flex: 1;
    padding: 40px;
    z-index: 1;
    text-align: left;
}

.page-resources-j88-slot-high-payout-tips__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
}

.page-resources-j88-slot-high-payout-tips__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 600px;
}

.page-resources-j88-slot-high-payout-tips__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-resources-j88-slot-high-payout-tips__btn-primary,
.page-resources-j88-slot-high-payout-tips__btn-secondary,
.page-resources-j88-slot-high-payout-tips__btn-play,
.page-resources-j88-slot-high-payout-tips__btn-center {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-j88-slot-high-payout-tips__btn-primary {
    background-color: var(--button-register);
    color: var(--font-register-login);
    border: 2px solid var(--button-register);
}

.page-resources-j88-slot-high-payout-tips__btn-primary:hover {
    background-color: darken(var(--button-register), 10%);
    border-color: darken(var(--button-register), 10%);
}

.page-resources-j88-slot-high-payout-tips__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-resources-j88-slot-high-payout-tips__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-resources-j88-slot-high-payout-tips__btn-play {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
}

.page-resources-j88-slot-high-payout-tips__btn-play:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

.page-resources-j88-slot-high-payout-tips__btn-center {
    margin: 30px auto 0 auto;
    display: block;
    max-width: 300px;
}

.page-resources-j88-slot-high-payout-tips__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.page-resources-j88-slot-high-payout-tips__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-j88-slot-high-payout-tips__content-section {
    padding: 80px 0;
}

.page-resources-j88-slot-high-payout-tips__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-resources-j88-slot-high-payout-tips__dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-resources-j88-slot-high-payout-tips__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-color);
}

.page-resources-j88-slot-high-payout-tips__dark-bg .page-resources-j88-slot-high-payout-tips__section-title {
    color: var(--secondary-color);
}

.page-resources-j88-slot-high-payout-tips__sub-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-resources-j88-slot-high-payout-tips__dark-bg .page-resources-j88-slot-high-payout-tips__sub-title {
    color: var(--secondary-color);
}

.page-resources-j88-slot-high-payout-tips__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-resources-j88-slot-high-payout-tips__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-resources-j88-slot-high-payout-tips__image-text-block img {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-j88-slot-high-payout-tips__image-text-block p {
    flex: 2;
    min-width: 300px;
}

.page-resources-j88-slot-high-payout-tips__content-image {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.page-resources-j88-slot-high-payout-tips__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.page-resources-j88-slot-high-payout-tips__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-resources-j88-slot-high-payout-tips__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-resources-j88-slot-high-payout-tips__card-description {
    font-size: 1em;
    margin-bottom: 15px;
    line-height: 1.7;
}

.page-resources-j88-slot-high-payout-tips__list {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
}

.page-resources-j88-slot-high-payout-tips__list li {
    margin-bottom: 10px;
}

.page-resources-j88-slot-high-payout-tips__video-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-resources-j88-slot-high-payout-tips__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 1000px;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-resources-j88-slot-high-payout-tips__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    cursor: pointer;
}

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

.page-resources-j88-slot-high-payout-tips__game-card {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-resources-j88-slot-high-payout-tips__game-image {
    max-width: 100%;\    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-resources-j88-slot-high-payout-tips__game-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-resources-j88-slot-high-payout-tips__game-description {
    font-size: 0.95em;
    margin-bottom: 20px;
    line-height: 1.6;
}

.page-resources-j88-slot-high-payout-tips__faq-section {
    padding: 80px 0;
}

.page-resources-j88-slot-high-payout-tips__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-j88-slot-high-payout-tips__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* For dark bg body, light bg for this section */
    color: var(--text-dark);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-j88-slot-high-payout-tips__faq-item .page-resources-j88-slot-high-payout-tips__faq-question {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-resources-j88-slot-high-payout-tips__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-resources-j88-slot-high-payout-tips__faq-question:hover {
    background-color: darken(var(--primary-color), 5%);
}

.page-resources-j88-slot-high-payout-tips__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-j88-slot-high-payout-tips__faq-item.active .page-resources-j88-slot-high-payout-tips__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-j88-slot-high-payout-tips__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-resources-j88-slot-high-payout-tips__faq-item.active .page-resources-j88-slot-high-payout-tips__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px;
}

.page-resources-j88-slot-high-payout-tips__faq-answer p {
    margin-bottom: 0;
}

.page-resources-j88-slot-high-payout-tips__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-resources-j88-slot-high-payout-tips__cta-container {
    max-width: 800px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-resources-j88-slot-high-payout-tips__hero-section {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding-top: var(--header-offset, 120px);
    }

    .page-resources-j88-slot-high-payout-tips__hero-content {
        padding: 40px 20px;
        order: 2;
    }

    .page-resources-j88-slot-high-payout-tips__hero-image-wrapper {
        padding: 20px;
        order: 1;
    }

    .page-resources-j88-slot-high-payout-tips__main-title {
        font-size: 2.8em;
    }

    .page-resources-j88-slot-high-payout-tips__hero-description {
        font-size: 1.1em;
    }

    .page-resources-j88-slot-high-payout-tips__image-text-block {
        flex-direction: column;
        gap: 20px;
    }

    .page-resources-j88-slot-high-payout-tips__image-text-block img,
    .page-resources-j88-slot-high-payout-tips__image-text-block p {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-resources-j88-slot-high-payout-tips {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-j88-slot-high-payout-tips__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-resources-j88-slot-high-payout-tips__main-title {
        font-size: 2em;
    }

    .page-resources-j88-slot-high-payout-tips__section-title {
        font-size: 2em;
    }

    .page-resources-j88-slot-high-payout-tips__sub-title {
        font-size: 1.5em;
    }

    .page-resources-j88-slot-high-payout-tips__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-resources-j88-slot-high-payout-tips__btn-primary,
    .page-resources-j88-slot-high-payout-tips__btn-secondary,
    .page-resources-j88-slot-high-payout-tips__btn-play,
    .page-resources-j88-slot-high-payout-tips__btn-center {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .page-resources-j88-slot-high-payout-tips__card-grid,
    .page-resources-j88-slot-high-payout-tips__game-list {
        grid-template-columns: 1fr;
    }

    .page-resources-j88-slot-high-payout-tips img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-resources-j88-slot-high-payout-tips__section,
    .page-resources-j88-slot-high-payout-tips__card,
    .page-resources-j88-slot-high-payout-tips__container,
    .page-resources-j88-slot-high-payout-tips__video-section,
    .page-resources-j88-slot-high-payout-tips__video-container,
    .page-resources-j88-slot-high-payout-tips__video-wrapper,
    .page-resources-j88-slot-high-payout-tips__game-card,
    .page-resources-j88-slot-high-payout-tips__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-resources-j88-slot-high-payout-tips__video-wrapper {
        padding-bottom: 56.25% !important; /* 16:9 Aspect Ratio */
        height: 0 !important;
    }

    .page-resources-j88-slot-high-payout-tips__video {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    .page-resources-j88-slot-high-payout-tips__faq-answer {
        padding: 15px !important;
    }
    
    .page-resources-j88-slot-high-payout-tips__card-image,
    .page-resources-j88-slot-high-payout-tips__game-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }
}