/* style/index-sabong67-app-features.css */

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-index-sabong67-app-features {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main, #F2FFF6); /* Use Text Main for general text */
    background-color: var(--background, #08160F); /* Ensure consistency with overall site dark theme */
}

.page-index-sabong67-app-features__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-index-sabong67-app-features__section {
    padding: 80px 0;
    position: relative;
    overflow: hidden; /* Prevent content overflow */
}

/* Specific section backgrounds based on custom colors */
.page-index-sabong67-app-features__dark-section,
.page-index-sabong67-app-features__dark-bg {
    background-color: var(--card-bg, #11271B); /* Darker background for contrast */
    color: var(--text-main, #F2FFF6);
}

.page-index-sabong67-app-features__section-title {
    font-size: clamp(28px, 3.5vw, 48px); /* H1 font size constraint, apply to H2 as well */
    color: var(--gold, #F2C14E); /* Gold for main titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-index-sabong67-app-features__text-block {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-secondary, #A7D9B8);
}

/* Hero Section */
.page-index-sabong67-app-features__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--background, #08160F);
}

.page-index-sabong67-app-features__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px; /* Space between image and content */
}

.page-index-sabong67-app-features__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-index-sabong67-app-features__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px 60px;
}

.page-index-sabong67-app-features__main-title {
    font-size: clamp(32px, 4.5vw, 56px); /* H1 font size constraint */
    color: var(--text-main, #F2FFF6);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-index-sabong67-app-features__hero-description {
    font-size: 20px;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.page-index-sabong67-app-features__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-index-sabong67-app-features__btn-primary,
.page-index-sabong67-app-features__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    min-width: 180px;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-sabong67-app-features__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff; /* White text for contrast */
    border: 2px solid transparent;
}

.page-index-sabong67-app-features__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-index-sabong67-app-features__btn-secondary {
    background-color: transparent;
    color: var(--text-main, #F2FFF6); /* Light text for dark background */
    border: 2px solid var(--border, #2E7A4E);
}

.page-index-sabong67-app-features__btn-secondary:hover {
    background-color: var(--border, #2E7A4E);
    color: #ffffff;
    transform: translateY(-3px);
}

.page-index-sabong67-app-features__btn-text {
    color: var(--glow, #57E38D); /* Use Glow for text links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 15px;
}

.page-index-sabong67-app-features__btn-text:hover {
    color: #ffffff;
    text-decoration: underline;
}

.page-index-sabong67-app-features__cta-buttons--centered {
    margin-top: 40px;
}

/* Feature Grid */
.page-index-sabong67-app-features__feature-grid,
.page-index-sabong67-app-features__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-sabong67-app-features__feature-card,
.page-index-sabong67-app-features__promo-card {
    background-color: var(--card-bg, #11271B);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-index-sabong67-app-features__feature-card:hover,
.page-index-sabong67-app-features__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-index-sabong67-app-features__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency in cards */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure it's a block element */
}

.page-index-sabong67-app-features__card-title {
    font-size: 24px;
    color: var(--text-main, #F2FFF6);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-sabong67-app-features__card-description {
    font-size: 16px;
    color: var(--text-secondary, #A7D9B8);
    flex-grow: 1; /* Allow description to take available space */
}

/* Advantage List */
.page-index-sabong67-app-features__advantage-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-sabong67-app-features__advantage-item {
    background-color: var(--deep-green, #0A4B2C); /* Use deep green for advantage items */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--text-main, #F2FFF6);
}

.page-index-sabong67-app-features__item-title {
    font-size: 22px;
    color: var(--gold, #F2C14E);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-sabong67-app-features__advantage-item p {
    font-size: 16px;
    color: var(--text-secondary, #A7D9B8);
}

/* Download Section */
.page-index-sabong67-app-features__download-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-index-sabong67-app-features__download-content {
    flex: 1;
    min-width: 300px;
}

.page-index-sabong67-app-features__download-image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-index-sabong67-app-features__download-steps {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-index-sabong67-app-features__download-steps li {
    font-size: 18px;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.page-index-sabong67-app-features__download-steps li::before {
    content: '•';
    color: var(--gold, #F2C14E);
    font-size: 24px;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Register Section */
.page-index-sabong67-app-features__register-steps {
    list-style: decimal;
    padding-left: 25px;
    margin: 30px 0;
    color: var(--text-secondary, #A7D9B8);
    font-size: 18px;
}

.page-index-sabong67-app-features__register-steps li {
    margin-bottom: 15px;
    color: var(--text-secondary, #A7D9B8);
}

.page-index-sabong67-app-features__register-steps strong {
    color: var(--text-main, #F2FFF6);
}

/* FAQ Section */
.page-index-sabong67-app-features__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-sabong67-app-features__faq-item {
    background-color: var(--background, #08160F); /* Slightly different dark background */
    border: 1px solid var(--divider, #1E3A2A);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-index-sabong67-app-features__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 20px;
    font-weight: bold;
    color: var(--text-main, #F2FFF6);
    cursor: pointer;
    background-color: var(--card-bg, #11271B); /* Darker background for question */
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-index-sabong67-app-features__faq-question::-webkit-details-marker {
    display: none;
}
.page-index-sabong67-app-features__faq-question::marker {
    display: none;
}

.page-index-sabong67-app-features__faq-question:hover {
    background-color: var(--deep-green, #0A4B2C);
}

.page-index-sabong67-app-features__faq-qtext {
    flex-grow: 1;
}

.page-index-sabong67-app-features__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold, #F2C14E);
}

.page-index-sabong67-app-features__faq-answer {
    padding: 15px 25px 20px;
    font-size: 17px;
    color: var(--text-secondary, #A7D9B8);
    background-color: var(--background, #08160F);
    border-top: 1px solid var(--divider, #1E3A2A);
}

/* Conclusion Section */
.page-index-sabong67-app-features__conclusion-section {
    text-align: center;
}

/* Global image styling for content images */
.page-index-sabong67-app-features__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 30px auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-index-sabong67-app-features__section {
        padding: 60px 0;
    }
    .page-index-sabong67-app-features__hero-image-wrapper {
        max-height: 500px;
    }
}