/* style/index-about-fun88-casino.css */

/* Base styles for the page content, considering body background is dark #1a1a2e */
.page-index-about-fun88-casino {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Inherit from body or shared.css */
    padding-top: 0; /* Assuming shared.css handles body padding-top for header offset */
}

/* Section styling */
.page-index-about-fun88-casino__section-title {
    font-size: 2.5em;
    color: #ffffff; /* Default for dark sections */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    font-weight: bold;
}

.page-index-about-fun88-casino__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #017439;
    border-radius: 2px;
}

.page-index-about-fun88-casino__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-index-about-fun88-casino__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: justify;
}

/* Hero Section */
.page-index-about-fun88-casino__hero-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Adjust as needed */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding-top: 0; /* Handled by shared.css body padding-top */
}

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

.page-index-about-fun88-casino__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-index-about-fun88-casino__hero-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    max-width: 800px;
    padding: 20px;
}

.page-index-about-fun88-casino__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index-about-fun88-casino__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-index-about-fun88-casino__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Buttons */
.page-index-about-fun88-casino__btn-primary,
.page-index-about-fun88-casino__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Ensure padding is included in width */
    text-align: center;
}

.page-index-about-fun88-casino__btn-primary {
    background-color: #017439; /* Main brand color */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-index-about-fun88-casino__btn-primary:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

.page-index-about-fun88-casino__btn-secondary {
    background-color: transparent;
    color: #017439;
    border: 2px solid #017439;
}

.page-index-about-fun88-casino__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

/* Specific button colors for Login/Register */
.page-index-about-fun88-casino__btn-register {
    background-color: #C30808; /* Red for register */
    color: #FFFF00; /* Yellow text for register */
    border-color: #C30808;
}

.page-index-about-fun88-casino__btn-register:hover {
    background-color: #a30606;
    border-color: #a30606;
}

.page-index-about-fun88-casino__btn-login {
    background-color: #C30808; /* Red for login */
    color: #FFFF00; /* Yellow text for login */
    border-color: #C30808;
}

.page-index-about-fun88-casino__btn-login:hover {
    background-color: #a30606;
    border-color: #a30606;
}


/* Section backgrounds for contrast */
.page-index-about-fun88-casino__dark-bg {
    background-color: #1a1a2e; /* Body background color */
    color: #ffffff;
    padding: 60px 0;
}

.page-index-about-fun88-casino__light-bg {
    background-color: #FFFFFF; /* White background */
    color: #333333;
    padding: 60px 0;
}

.page-index-about-fun88-casino__light-bg .page-index-about-fun88-casino__section-title {
    color: #333333;
}

.page-index-about-fun88-casino__light-bg .page-index-about-fun88-casino__text-block,
.page-index-about-fun88-casino__light-bg .page-index-about-fun88-casino__card-title,
.page-index-about-fun88-casino__light-bg .page-index-about-fun88-casino__feature-title,
.page-index-about-fun88-casino__light-bg .page-index-about-fun88-casino__game-title {
    color: #333333;
}

.page-index-about-fun88-casino__light-bg .page-index-about-fun88-casino__game-title a {
    color: #017439;
}

.page-index-about-fun88-casino__light-bg .page-index-about-fun88-casino__game-title a:hover {
    color: #005a2e;
}


/* Grid layout for mission/vision and security */
.page-index-about-fun88-casino__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-index-about-fun88-casino__card {
    background-color: #f8f8f8; /* Light background for card in light section */
    color: #333333; /* Dark text for light card */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.page-index-about-fun88-casino__dark-bg .page-index-about-fun88-casino__card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark section cards */
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index-about-fun88-casino__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #017439; /* Brand color for titles */
}

.page-index-about-fun88-casino__dark-bg .page-index-about-fun88-casino__card-title {
    color: #ffffff; /* White for titles in dark cards */
}


/* Feature list */
.page-index-about-fun88-casino__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-index-about-fun88-casino__feature-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark section cards */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-about-fun88-casino__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-about-fun88-casino__feature-title {
    font-size: 1.5em;
    color: #017439; /* Brand color for feature titles */
    margin-bottom: 10px;
}
.page-index-about-fun88-casino__dark-bg .page-index-about-fun88-casino__feature-title {
    color: #ffffff; /* White for titles in dark sections */
}


/* Game Grid */
.page-index-about-fun88-casino__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-about-fun88-casino__game-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-about-fun88-casino__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index-about-fun88-casino__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-index-about-fun88-casino__game-title {
    font-size: 1.4em;
    margin: 15px 15px 10px;
    color: #333333;
}

.page-index-about-fun88-casino__game-title a {
    text-decoration: none;
    color: #017439;
    transition: color 0.3s ease;
}

.page-index-about-fun88-casino__game-title a:hover {
    color: #005a2e;
}

.page-index-about-fun88-casino__game-card p {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px 15px;
}

/* Customer Support Channels */
.page-index-about-fun88-casino__support-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-index-about-fun88-casino__channel-item {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-index-about-fun88-casino__channel-title {
    font-size: 1.6em;
    color: #017439;
    margin-bottom: 10px;
}

/* Video Section */
.page-index-about-fun88-casino__video-section {
    position: relative;
    padding: 60px 0;
    text-align: center;
    background-color: #1a1a2e; /* Ensure dark background */
    color: #ffffff;
}

.page-index-about-fun88-casino__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Max width for video */
    margin: 40px auto;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #000; /* Black background for video player */
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.page-index-about-fun88-casino__video {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block;
    border-radius: 10px;
}

.page-index-about-fun88-casino__video-caption {
    margin-top: 20px;
    font-style: italic;
    color: #f0f0f0;
}

/* FAQ Section */
.page-index-about-fun88-casino__faq-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    color: #333333;
}

.page-index-about-fun88-casino__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
    border-top: 1px solid #e0e0e0;
}

.page-index-about-fun88-casino__faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.page-index-about-fun88-casino__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    transition: color 0.3s ease;
}

.page-index-about-fun88-casino__faq-question:hover {
    color: #017439;
}

.page-index-about-fun88-casino__faq-question h3 {
    margin: 0;
    font-size: 1em; /* Adjust to match parent font size */
    flex-grow: 1;
}

.page-index-about-fun88-casino__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-index-about-fun88-casino__faq-item.active .page-index-about-fun88-casino__faq-toggle {
    transform: rotate(45deg);
}

.page-index-about-fun88-casino__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

.page-index-about-fun88-casino__faq-item.active .page-index-about-fun88-casino__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px;
    padding-bottom: 20px;
}

.page-index-about-fun88-casino__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}


/* CTA Section */
.page-index-about-fun88-casino__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #017439; /* Brand color for CTA background */
    color: #ffffff;
}

.page-index-about-fun88-casino__cta-section .page-index-about-fun88-casino__section-title {
    color: #ffffff;
}

.page-index-about-fun88-casino__cta-section .page-index-about-fun88-casino__section-title::after {
    background-color: #ffffff;
}

.page-index-about-fun88-casino__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* Ensure all images adhere to min size and no filter */
.page-index-about-fun88-casino img {
    min-width: 200px; /* Enforce min size */
    min-height: 200px;
    filter: none; /* Ensure no filter is applied */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-index-about-fun88-casino__hero-title {
        font-size: 3em;
    }
    .page-index-about-fun88-casino__hero-description {
        font-size: 1.2em;
    }
    .page-index-about-fun88-casino__section-title {
        font-size: 2em;
    }
    .page-index-about-fun88-casino__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-index-about-fun88-casino {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-index-about-fun88-casino__hero-section {
        height: 60vh;
        min-height: 400px;
    }
    .page-index-about-fun88-casino__hero-title {
        font-size: 2.2em;
    }
    .page-index-about-fun88-casino__hero-description {
        font-size: 1em;
    }
    .page-index-about-fun88-casino__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-about-fun88-casino__btn-primary,
    .page-index-about-fun88-casino__btn-secondary,
    .page-index-about-fun88-casino a[class*="button"],
    .page-index-about-fun88-casino a[class*="btn"] {
        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;
    }
}
}