/* style/resources-fun88-latest-promotions.css */

/* Base styles for the page content */
.page-resources-fun88-latest-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
    padding-bottom: 60px; /* Space before footer */
}

.page-resources-fun88-latest-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-resources-fun88-latest-promotions__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    box-sizing: border-box;
}

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

.page-resources-fun88-latest-promotions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.page-resources-fun88-latest-promotions__hero-title {
    font-size: 3.2em;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #ffffff;
}

.page-resources-fun88-latest-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* Call to Action Buttons */
.page-resources-fun88-latest-promotions__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-fun88-latest-promotions__btn-primary,
.page-resources-fun88-latest-promotions__btn-secondary,
.page-resources-fun88-latest-promotions__btn-text {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Ensure padding and border are included in width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-resources-fun88-latest-promotions__btn-primary {
    background-color: #C30808; /* Custom color for login/register */
    color: #FFFF00; /* Custom font color for login/register */
    border: 2px solid #C30808;
}

.page-resources-fun88-latest-promotions__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-resources-fun88-latest-promotions__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-resources-fun88-latest-promotions__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.page-resources-fun88-latest-promotions__btn-text {
    background-color: transparent;
    color: #FFFF00; /* Use custom font color for links */
    border: none;
    padding: 0;
    text-decoration: underline;
    font-size: 0.9em;
    font-weight: normal;
}

.page-resources-fun88-latest-promotions__btn-text:hover {
    color: #d4d400;
    text-decoration: none;
}

/* General Section Styles */
.page-resources-fun88-latest-promotions__section {
    padding: 60px 0;
}

.page-resources-fun88-latest-promotions__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
}

.page-resources-fun88-latest-promotions__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
    text-align: justify;
}

/* Dark Section - for contrast */
.page-resources-fun88-latest-promotions__dark-section {
    background-color: #017439; /* Brand primary color as background */
    color: #ffffff;
}

.page-resources-fun88-latest-promotions__dark-section .page-resources-fun88-latest-promotions__section-title {
    color: #ffffff;
}

.page-resources-fun88-latest-promotions__dark-section .page-resources-fun88-latest-promotions__text-block {
    color: #ffffff;
}

/* Content Grid / Card Layout */
.page-resources-fun88-latest-promotions__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-resources-fun88-latest-promotions__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-resources-fun88-latest-promotions__card-title {
    font-size: 1.5em;
    color: #FFFF00; /* Highlight card titles */
    margin-bottom: 15px;
}

.page-resources-fun88-latest-promotions__card p {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* Benefits List */
.page-resources-fun88-latest-promotions__benefits-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}