/* style/resources-8xbet-app-installation-guide.css */

/* Base styles for the page content */
.page-resources-8xbet-app-installation-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #1a1a1a; /* Inherit from body or set explicitly if needed */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-resources-8xbet-app-installation-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-resources-8xbet-app-installation-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #017439, #004d26); /* Brand color gradient */
    color: #ffffff;
    overflow: hidden;
}

.page-resources-8xbet-app-installation-guide__hero-content {
    max-width: 800px;
    z-index: 1;
}

.page-resources-8xbet-app-installation-guide__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-resources-8xbet-app-installation-guide__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-resources-8xbet-app-installation-guide__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15; /* Subtle background image */
    overflow: hidden;
}

.page-resources-8xbet-app-installation-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%); /* Make it monochrome to blend with background, NO color changing filter */
    transform: scale(1.1);
}

/* General Section Styling */
.page-resources-8xbet-app-installation-guide__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-8xbet-app-installation-guide__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #017439;
    border-radius: 2px;
}

.page-resources-8xbet-app-installation-guide__why-choose-section,
.page-resources-8xbet-app-installation-guide__installation-guide-section,
.page-resources-8xbet-app-installation-guide__features-overview-section,
.page-resources-8xbet-app-installation-guide__faq-section,
.page-resources-8xbet-app-installation-guide__cta-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Dark background */
    color: #ffffff; /* Light text */
}

/* Feature Cards */
.page-resources-8xbet-app-installation-guide__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-8xbet-app-installation-guide__feature-card {
    background-color: #2a2a2a; /* Slightly lighter dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-8xbet-app-installation-guide__feature-card:hover {
    transform: translateY(-10px);
}

.page-resources-8xbet-app-installation-guide__feature-icon {
    width: 200px; /* Min size 200px */
    height: 200px; /* Min size 200px */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-resources-8xbet-app-installation-guide__feature-title {
    font-size: 1.8em;
    color: #017439; /* Brand color for titles */
    margin-bottom: 15px;
}

.page-resources-8xbet-app-installation-guide__feature-description {
    font-size: 1.1em;
    color: #cccccc;
}

/* Installation Guide */
.page-resources-8xbet-app-installation-guide__guide-step-card {
    background-color: #2a2a2a;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-8xbet-app-installation-guide__guide-subtitle {
    font-size: 2em;
    color: #017439;
    margin-bottom: 30px;
    text-align: center;
}

.page-resources-8xbet-app-installation-guide__ios-note {
    font-style: italic;
    text-align: center;
    margin-bottom: 30px;
    color: #ccc;
    font-size: 1.1em;
}

.page-resources-8xbet-app-installation-guide__step-list {
    list-style: none;
    padding: 0;
}

.page-resources-8xbet-app-installation-guide__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background-color: #3a3a3a;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-resources-8xbet-app-installation-guide__step-number {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFFF00; /* Yellow for step numbers */
    margin-right: 20px;
    flex-shrink: 0;
    padding-top: 5px;
}

.page-resources-8xbet-app-installation-guide__step-content h4 {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-resources-8xbet-app-installation-guide__step-content p {
    font-size: 1.1em;
    color: #cccccc;
    margin-bottom: 15px;
}

.page-resources-8xbet-app-installation-guide__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: block; /* Ensure it behaves as a block element for max-width */
}

/* Features Overview */
.page-resources-8xbet-app-installation-guide__features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.page-resources-8xbet-app-installation-guide__feature-item {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-8xbet-app-installation-guide__feature-item-title {
    font-size: 1.6em;
    color: #017439;
    margin-bottom: 15px;
}

.page-resources-8xbet-app-installation-guide__feature-item p {
    color: #cccccc;
    font-size: 1.05em;
}

/* FAQ Section */
.page-resources-8xbet-app-installation-guide__faq-list {
    margin-top: 40px;
}

.page-resources-8xbet-app-installation-guide__faq-item {
    background-color: #2a2a2a;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-8xbet-app-installation-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-color: #017439; /* Brand color for question background */
    color: #ffffff;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-resources-8xbet-app-installation-guide__faq-question:hover {
    background-color: #004d26;
}

.page-resources-8xbet-app-installation-guide__faq-question h3 {
    margin: 0;
    color: #ffffff;
    flex-grow: 1;
}

.page-resources-8xbet-app-installation-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.page-resources-8xbet-app-installation-guide__faq-item.active .page-resources-8xbet-app-installation-guide__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-8xbet-app-installation-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #3a3a3a; /* Darker background for answer */
    color: #cccccc;
    font-size: 1.1em;
}

.page-resources-8xbet-app-installation-guide__faq-item.active .page-resources-8xbet-app-installation-guide__faq-answer {
    max-height: 1000px !important; /* Ensure it expands fully */
    padding: 20px 30px;
}

/* Call to Action Section */
.page-resources-8xbet-app-installation-guide__cta-section {
    text-align: center;
    background-color: #017439; /* Brand color background */
    color: #ffffff;
    padding: 100px 20px;
}

.page-resources-8xbet-app-installation-guide__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-resources-8xbet-app-installation-guide__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-resources-8xbet-app-installation-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* Buttons */
.page-resources-8xbet-app-installation-guide__btn-primary,
.page-resources-8xbet-app-installation-guide__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    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;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-resources-8xbet-app-installation-guide__btn-primary {
    background-color: #FFFF00; /* Yellow for primary CTA */
    color: #017439; /* Dark green text on yellow */
    border: 2px solid #FFFF00;
}

.page-resources-8xbet-app-installation-guide__btn-primary:hover {
    background-color: #e6e600;
    border-color: #e6e600;
}

.page-resources-8xbet-app-installation-guide__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-resources-8xbet-app-installation-guide__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-8xbet-app-installation-guide__hero-title {
        font-size: 2.8em;
    }
    .page-resources-8xbet-app-installation-guide__hero-description {
        font-size: 1.2em;
    }
    .page-resources-8xbet-app-installation-guide__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-8xbet-app-installation-guide {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-8xbet-app-installation-guide__hero-section {
        padding: 60px 15px;
    }
    .page-resources-8xbet-app-installation-guide__hero-title {
        font-size: 2.2em;
    }
    .page-resources-8xbet-app-installation-guide__hero-description {
        font-size: 1.1em;
    }
    .page-resources-8xbet-app-installation-guide__section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    .page-resources-8xbet-app-installation-guide__why-choose-section,
    .page-resources-8xbet-app-installation-guide__installation-guide-section,
    .page-resources-8xbet-app-installation-guide__features-overview-section,
    .page-resources-8xbet-app-installation-guide__faq-section,
    .page-resources-8xbet-app-installation-guide__cta-section {
        padding: 60px 0;
    }
    .page-resources-8xbet-app-installation-guide__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images responsiveness */
    .page-resources-8xbet-app-installation-guide img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-resources-8xbet-app-installation-guide__step-item {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
    .page-resources-8xbet-app-installation-guide__step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .page-resources-8xbet-app-installation-guide__step-content h4 {
        text-align: center;
    }
    .page-resources-8xbet-app-installation-guide__step-content p {
        text-align: center;
    }
    .page-resources-8xbet-app-installation-guide__feature-icon {
        width: 200px !important;
        height: 200px !important;
    }

    /* Buttons responsiveness */
    .page-resources-8xbet-app-installation-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-8xbet-app-installation-guide__btn-primary,
    .page-resources-8xbet-app-installation-guide__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 25px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-resources-8xbet-app-installation-guide__cta-section {
        padding: 60px 15px;
    }
    .page-resources-8xbet-app-installation-guide__cta-title {
        font-size: 2em;
    }
    .page-resources-8xbet-app-installation-guide__cta-description {
        font-size: 1.1em;
    }

    /* FAQ responsiveness */
    .page-resources-8xbet-app-installation-guide__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-resources-8xbet-app-installation-guide__faq-answer {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-resources-8xbet-app-installation-guide__video-section {
        padding-top: var(--header-offset, 120px) !important; /* This section is not present in HTML, but kept for strict adherence to prompt's CSS example. */
    }
    .page-resources-8xbet-app-installation-guide__video-section,
    .page-resources-8xbet-app-installation-guide__video-container,
    .page-resources-8xbet-app-installation-guide__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-resources-8xbet-app-installation-guide__hero-title {
        font-size: 1.8em;
    }
    .page-resources-8xbet-app-installation-guide__section-title {
        font-size: 1.6em;
    }
    .page-resources-8xbet-app-installation-guide__features-grid {
        grid-template-columns: 1fr;
    }
    .page-resources-8xbet-app-installation-guide__features-list {
        grid-template-columns: 1fr;
    }
}

/* Ensure no filter on images */
.page-resources-8xbet-app-installation-guide img {
    filter: none; /* Explicitly ensure no filters are applied */
}