/* style/blog-like88-app-exclusive-promotions.css */

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

.page-blog-like88-app-exclusive-promotions {
    background-color: var(--page-bg-color);
    color: var(--text-main-color); /* Main text color for contrast with dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 1rem;
}

/* Base section and container styling */
.page-blog-like88-app-exclusive-promotions__section {
    padding: 40px 20px;
    margin-bottom: 20px;
}

.page-blog-like88-app-exclusive-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 15px; /* Add horizontal padding for content */
}

/* Titles */
.page-blog-like88-app-exclusive-promotions__main-title {
    font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    color: var(--gold-color); /* Use gold for main title for prominence */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-blog-like88-app-exclusive-promotions__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 600;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.page-blog-like88-app-exclusive-promotions__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--border-color);
    border-radius: 2px;
}

.page-blog-like88-app-exclusive-promotions__sub-title,
.page-blog-like88-app-exclusive-promotions__card-title,
.page-blog-like88-app-exclusive-promotions__step-title,
.page-blog-like88-app-exclusive-promotions__benefit-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--text-main-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-blog-like88-app-exclusive-promotions__description,
.page-blog-like88-app-exclusive-promotions__intro-text,
.page-blog-like88-app-exclusive-promotions__video-description,
.page-blog-like88-app-exclusive-promotions p,
.page-blog-like88-app-exclusive-promotions li {
    color: var(--text-secondary-color);
    margin-bottom: 15px;
}

/* Links */
.page-blog-like88-app-exclusive-promotions a {
    color: var(--glow-color); /* Link color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog-like88-app-exclusive-promotions a:hover {
    color: var(--gold-color);
    text-decoration: underline;
}

/* Buttons */
.page-blog-like88-app-exclusive-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

.page-blog-like88-app-exclusive-promotions__btn-primary,
.page-blog-like88-app-exclusive-promotions__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure buttons are responsive */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-blog-like88-app-exclusive-promotions__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color); /* White-ish text for dark button */
    border: 2px solid transparent;
}

.page-blog-like88-app-exclusive-promotions__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-blog-like88-app-exclusive-promotions__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-blog-like88-app-exclusive-promotions__btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background: var(--primary-color);
    color: var(--text-main-color);
}

/* Hero Section */
.page-blog-like88-app-exclusive-promotions__hero-section {
    position: relative;
    padding: 10px 0 40px; /* Small top padding, not --header-offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Prevent content overflow */
}

.page-blog-like88-app-exclusive-promotions__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 20px;
}

.page-blog-like88-app-exclusive-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-blog-like88-app-exclusive-promotions__hero-content {
    max-width: 900px;
    padding: 0 15px;
}

/* Content Grid */
.page-blog-like88-app-exclusive-promotions__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-blog-like88-app-exclusive-promotions__text-block {
    background-color: var(--card-bg-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-blog-like88-app-exclusive-promotions__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* Card Grid */
.page-blog-like88-app-exclusive-promotions__cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-blog-like88-app-exclusive-promotions__card {
    background-color: var(--card-bg-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-blog-like88-app-exclusive-promotions__card-image {
    width: 100%;
    height: auto;
    max-height: 250px; /* Limit card image height */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-blog-like88-app-exclusive-promotions__card-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 20px;
    color: var(--text-secondary-color);
}

.page-blog-like88-app-exclusive-promotions__card-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-blog-like88-app-exclusive-promotions__card-list li::before {
    content: '✓';
    color: var(--glow-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-blog-like88-app-exclusive-promotions__card .page-blog-like88-app-exclusive-promotions__btn-primary {
    margin-top: auto; /* Push button to bottom */
    width: 100%;
}

/* Steps Grid */
.page-blog-like88-app-exclusive-promotions__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-blog-like88-app-exclusive-promotions__step-card {
    background-color: var(--card-bg-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

/* Benefits Grid */
.page-blog-like88-app-exclusive-promotions__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-blog-like88-app-exclusive-promotions__benefit-item {
    background-color: var(--card-bg-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    text-align: center;
}

/* FAQ Section */
.page-blog-like88-app-exclusive-promotions__faq-list {
    margin-top: 30px;
}

.page-blog-like88-app-exclusive-promotions__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-blog-like88-app-exclusive-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-main-color);
    background-color: var(--deep-green-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For <summary> tag */
}

.page-blog-like88-app-exclusive-promotions__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

.page-blog-like88-app-exclusive-promotions__faq-question:hover {
    background-color: var(--primary-color);
}

.page-blog-like88-app-exclusive-promotions__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--gold-color);
}

.page-blog-like88-app-exclusive-promotions__faq-answer {
    padding: 0 25px 18px;
    color: var(--text-secondary-color);
    font-size: 0.95rem;
}

/* Video Section */
.page-blog-like88-app-exclusive-promotions__video-section {
    padding-top: 10px; /* Small top padding, not --header-offset */
    text-align: center;
}

.page-blog-like88-app-exclusive-promotions__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
    margin: 30px auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    width: 100%; /* Ensure desktop width: 100% */
}

.page-blog-like88-app-exclusive-promotions__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    cursor: pointer; /* Indicate clickable */
}

.page-blog-like88-app-exclusive-promotions__video-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /* Ensure link is clickable over video */
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-blog-like88-app-exclusive-promotions__hero-image-wrapper {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .page-blog-like88-app-exclusive-promotions {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-blog-like88-app-exclusive-promotions__section {
        padding: 30px 10px;
    }

    .page-blog-like88-app-exclusive-promotions__container {
        padding: 0 15px;
    }

    .page-blog-like88-app-exclusive-promotions__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .page-blog-like88-app-exclusive-promotions__section-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .page-blog-like88-app-exclusive-promotions__sub-title,
    .page-blog-like88-app-exclusive-promotions__card-title,
    .page-blog-like88-app-exclusive-promotions__step-title,
    .page-blog-like88-app-exclusive-promotions__benefit-title {
        font-size: clamp(1.2rem, 5vw, 1.5rem);
    }

    /* Images responsiveness */
    .page-blog-like88-app-exclusive-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-blog-like88-app-exclusive-promotions__hero-image-wrapper,
    .page-blog-like88-app-exclusive-promotions__content-grid,
    .page-blog-like88-app-exclusive-promotions__cards-grid,
    .page-blog-like88-app-exclusive-promotions__steps-grid,
    .page-blog-like88-app-exclusive-promotions__benefits-grid,
    .page-blog-like88-app-exclusive-promotions__faq-list,
    .page-blog-like88-app-exclusive-promotions__video-wrapper,
    .page-blog-like88-app-exclusive-promotions__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Video responsiveness */
    .page-blog-like88-app-exclusive-promotions video,
    .page-blog-like88-app-exclusive-promotions__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-blog-like88-app-exclusive-promotions__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}