/* style/resources-latest-fun88-link-guide.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-register: #C30808;
    --button-login: #C30808;
    --button-text-yellow: #FFFF00;
    --background-color: #FFFFFF;
}

.page-resources-latest-fun88-link-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-color);
}

.page-resources-latest-fun88-link-guide__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
}

.page-resources-latest-fun88-link-guide__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-latest-fun88-link-guide__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: 2;
}

.page-resources-latest-fun88-link-guide__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 20px;
}

.page-resources-latest-fun88-link-guide__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-resources-latest-fun88-link-guide__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.page-resources-latest-fun88-link-guide__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-resources-latest-fun88-link-guide__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--background-color);
    color: var(--text-dark);
}

.page-resources-latest-fun88-link-guide__container {
    max-width: 100%;
    margin: 0 auto;
}

.page-resources-latest-fun88-link-guide__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.page-resources-latest-fun88-link-guide__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-resources-latest-fun88-link-guide__card {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
}

.page-resources-latest-fun88-link-guide__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.page-resources-latest-fun88-link-guide__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-resources-latest-fun88-link-guide__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    padding: 15px 20px 10px;
    margin: 0;
}

.page-resources-latest-fun88-link-guide__card-text {
    font-size: 1em;
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-resources-latest-fun88-link-guide__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
    text-align: center;
}

.page-resources-latest-fun88-link-guide__step-item {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-dark);
}

.page-resources-latest-fun88-link-guide__step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-resources-latest-fun88-link-guide__step-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-resources-latest-fun88-link-guide__step-text {
    font-size: 1em;
}

.page-resources-latest-fun88-link-guide__cta-banner {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 50px 30px;
    text-align: center;
    border-radius: 8px;
    margin: 40px 0;
}

.page-resources-latest-fun88-link-guide__cta-title {
    font-size: 2.2em;
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-resources-latest-fun88-link-guide__cta-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-resources-latest-fun88-link-guide__btn-primary {
    display: inline-block;
    background-color: var(--button-register);
    color: var(--button-text-yellow);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-resources-latest-fun88-link-guide__btn-primary:hover {
    background-color: #a30606; /* Slightly darker red */
    transform: translateY(-2px);
}

.page-resources-latest-fun88-link-guide__btn-secondary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.page-resources-latest-fun88-link-guide__btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.page-resources-latest-fun88-link-guide__button-inline {
    margin-top: 20px;
    text-align: center;
    display: block;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-latest-fun88-link-guide__text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-resources-latest-fun88-link-guide__text-link:hover {
    text-decoration: underline;
}

.page-resources-latest-fun88-link-guide__dark-bg .page-resources-latest-fun88-link-guide__text-link {
    color: var(--button-text-yellow);
}

.page-resources-latest-fun88-link-guide__dark-bg .page-resources-latest-fun88-link-guide__text-link:hover {
    text-decoration: underline;
}

.page-resources-latest-fun88-link-guide__numbered-list,
.page-resources-latest-fun88-link-guide__bullet-list {
    margin-bottom: 20px;
    padding-left: 25px;
}

.page-resources-latest-fun88-link-guide__numbered-list li,
.page-resources-latest-fun88-link-guide__bullet-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--text-dark);
}

.page-resources-latest-fun88-link-guide__app-download {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-resources-latest-fun88-link-guide__app-image {
    width: 40%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.page-resources-latest-fun88-link-guide__app-info {
    flex-grow: 1;
}

.page-resources-latest-fun88-link-guide__product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-resources-latest-fun88-link-guide__product-card {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
}

.page-resources-latest-fun88-link-guide__product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.page-resources-latest-fun88-link-guide__product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-resources-latest-fun88-link-guide__product-title {
    font-size: 1.3em;
    color: var(--primary-color);
    padding: 15px 20px 10px;
    margin: 0;
}

.page-resources-latest-fun88-link-guide__product-description {
    font-size: 0.95em;
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-resources-latest-fun88-link-guide__faq-section {
    margin-top: 40px;
}

.page-resources-latest-fun88-link-guide__faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-resources-latest-fun88-link-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f9f9f9;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

.page-resources-latest-fun88-link-guide__faq-question:hover {
    background-color: #f0f0f0;
}

.page-resources-latest-fun88-link-guide__faq-title {
    margin: 0;
    font-size: 1em; /* Adjust to match parent font size */
    color: inherit;
}

.page-resources-latest-fun88-link-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-latest-fun88-link-guide__faq-item.active .page-resources-latest-fun88-link-guide__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-latest-fun88-link-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-resources-latest-fun88-link-guide__faq-item.active .page-resources-latest-fun88-link-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 15px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-resources-latest-fun88-link-guide__hero-title {
        font-size: 3em;
    }
    .page-resources-latest-fun88-link-guide__hero-description {
        font-size: 1.2em;
    }
    .page-resources-latest-fun88-link-guide__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-latest-fun88-link-guide {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-latest-fun88-link-guide__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-resources-latest-fun88-link-guide__hero-title {
        font-size: 2.2em;
    }
    .page-resources-latest-fun88-link-guide__hero-description {
        font-size: 1em;
    }
    .page-resources-latest-fun88-link-guide__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-latest-fun88-link-guide__btn-primary,
    .page-resources-latest-fun88-link-guide__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-resources-latest-fun88-link-guide__content-area,
    .page-resources-latest-fun88-link-guide__container,
    .page-resources-latest-fun88-link-guide__cta-banner,
    .page-resources-latest-fun88-link-guide__app-download,
    .page-resources-latest-fun88-link-guide__card,
    .page-resources-latest-fun88-link-guide__step-item,
    .page-resources-latest-fun88-link-guide__product-card,
    .page-resources-latest-fun88-link-guide__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-latest-fun88-link-guide img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-resources-latest-fun88-link-guide__app-download {
        flex-direction: column;
    }

    .page-resources-latest-fun88-link-guide__app-image {
        width: 100%;
    }

    .page-resources-latest-fun88-link-guide__faq-question {
        font-size: 1.1em;
        padding: 12px 15px;
    }

    .page-resources-latest-fun88-link-guide__faq-answer {
        padding: 10px 15px;
    }

    .page-resources-latest-fun88-link-guide__section-title {
        font-size: 1.8em;
    }
    .page-resources-latest-fun88-link-guide__paragraph,
    .page-resources-latest-fun88-link-guide__numbered-list li,
    .page-resources-latest-fun88-link-guide__bullet-list li {
        font-size: 1em;
    }

    .page-resources-latest-fun88-link-guide__cta-title {
        font-size: 1.8em;
    }
    .page-resources-latest-fun88-link-guide__cta-text {
        font-size: 1em;
    }
}

/* Ensure images meet minimum size requirements for content areas */
.page-resources-latest-fun88-link-guide__content-area img,
.page-resources-latest-fun88-link-guide__card-image,
.page-resources-latest-fun88-link-guide__app-image,
.page-resources-latest-fun88-link-guide__product-image {
    min-width: 200px;
    min-height: 200px;
}

/* No filter on images */
.page-resources-latest-fun88-link-guide img {
    filter: none !important;
}