/* style/mobile-access.css */

/* Base Styles for the page content */
.page-mobile-access {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #000000; /* Ensure consistency with body background */
}

/* Hero Section */
.page-mobile-access__hero-section {
    position: relative;
    padding: 120px 20px 60px; /* Adjusted padding-top for fixed header */
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #26A9E0, #1a7bb0); /* Gradient with brand color */
    color: #ffffff;
}

.page-mobile-access__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 10;
}

.page-mobile-access__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-mobile-access__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #f0f0f0;
}

.page-mobile-access__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-mobile-access__btn-primary,
.page-mobile-access__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1em;
    border: 2px solid transparent; /* Base for hover effect */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.page-mobile-access__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    border-color: #EA7C07;
}

.page-mobile-access__btn-primary:hover {
    background-color: #d46a00;
    border-color: #d46a00;
    transform: translateY(-2px);
}

.page-mobile-access__btn-secondary {
    background-color: #26A9E0; /* Brand color */
    color: #ffffff;
    border-color: #26A9E0;
}

.page-mobile-access__btn-secondary:hover {
    background-color: #1a7bb0;
    border-color: #1a7bb0;
    transform: translateY(-2px);
}

.page-mobile-access__hero-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%; /* Adjust size as needed */
    height: auto;
    max-width: 100%;
    opacity: 0.2; /* Subtle background image */
    z-index: 5;
    pointer-events: none; /* Make sure it doesn't interfere with clicks */
}

/* General Section Styles */
.page-mobile-access__section {
    padding: 80px 0;
}

.page-mobile-access__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-mobile-access__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    color: #f0f0f0;
}

.page-mobile-access__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text for light background */
}

.page-mobile-access__light-bg .page-mobile-access__section-title,
.page-mobile-access__light-bg .page-mobile-access__section-intro {
    color: #333333;
}

.page-mobile-access__dark-bg {
    background-color: #000000;
    color: #ffffff; /* Light text for dark background */
}

.page-mobile-access__dark-bg .page-mobile-access__section-title,
.page-mobile-access__dark-bg .page-mobile-access__section-intro {
    color: #ffffff;
}

/* Content Grid */
.page-mobile-access__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-mobile-access__content-grid .page-mobile-access__text-block {
    flex: 1;
    font-size: 1.05em;
    line-height: 1.7;
}

.page-mobile-access__content-grid .page-mobile-access__image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Feature Grid (Cards) */
.page-mobile-access__feature-grid,
.page-mobile-access__troubleshooting-grid,
.page-mobile-access__security-grid,
.page-mobile-access__game-promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-mobile-access__card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly visible on dark bg */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff; /* Default card text color for dark bg */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-mobile-access__light-bg .page-mobile-access__card {
    background-color: #ffffff;
    border-color: #e0e0e0;
    color: #333333; /* Dark text for cards on light bg */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-mobile-access__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.page-mobile-access__light-bg .page-mobile-access__card:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-mobile-access__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #26A9E0; /* Brand color for titles */
}

.page-mobile-access__card-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-mobile-access__card-title a:hover {
    text-decoration: underline;
}

.page-mobile-access__card p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-mobile-access__list {
    list-style: decimal;
    padding-left: 20px;
    margin-bottom: 20px;
}

.page-mobile-access__list li {
    margin-bottom: 8px;
}

.page-mobile-access__link {
    color: #26A9E0;
    text-decoration: none;
}

.page-mobile-access__link:hover {
    text-decoration: underline;
}

.page-mobile-access__btn-link {
    display: inline-block;
    margin-top: 15px;
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #26A9E0;
    padding-bottom: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-mobile-access__btn-link:hover {
    color: #1a7bb0;
    border-color: #1a7bb0;
}

.page-mobile-access__image--center {
    display: block;
    margin: 60px auto 0;
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-mobile-access__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover; /* Cover the area, crop if necessary */
    border-radius: 8px;
    margin-bottom: 15px;
}

/* FAQ Section */
.page-mobile-access__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-mobile-access__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly visible on dark bg */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-mobile-access__light-bg .page-mobile-access__faq-item {
    background-color: #ffffff;
    border-color: #e0e0e0;
    color: #333333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-mobile-access__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-mobile-access__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-mobile-access__light-bg .page-mobile-access__faq-question:hover {
    background-color: #f5f5f5;
}

.page-mobile-access__faq-title {
    margin: 0;
    color: inherit; /* Inherit color from parent item */
}

.page-mobile-access__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-mobile-access__faq-item.active .page-mobile-access__faq-toggle {
    transform: rotate(45deg);
}

.page-mobile-access__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 0.95em;
    color: #f0f0f0;
}

.page-mobile-access__light-bg .page-mobile-access__faq-answer {
    color: #555555;
}

.page-mobile-access__faq-item.active .page-mobile-access__faq-answer {
    max-height: 1000px !important; /* Ensure it expands sufficiently */
    padding: 15px 25px 20px; /* Add padding when active */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-mobile-access__hero-title {
        font-size: 2.8em;
    }
    .page-mobile-access__hero-description {
        font-size: 1.1em;
    }
    .page-mobile-access__hero-image {
        width: 70%;
    }
    .page-mobile-access__section-title {
        font-size: 2em;
    }
    .page-mobile-access__content-grid {
        flex-direction: column;
    }
    .page-mobile-access__content-grid .page-mobile-access__image {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    /* Fixed header spacing for mobile */
    .page-mobile-access__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }

    .page-mobile-access__hero-title {
        font-size: 2.2em;
    }
    .page-mobile-access__hero-description {
        font-size: 1em;
    }
    .page-mobile-access__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-mobile-access__btn-primary,
    .page-mobile-access__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-mobile-access__hero-image {
        position: static;
        width: 90%;
        margin: 40px auto 0;
        opacity: 0.4;
    }
    .page-mobile-access__section {
        padding: 60px 0;
    }
    .page-mobile-access__section-title {
        font-size: 1.8em;
    }
    .page-mobile-access__section-intro {
        font-size: 0.95em;
        margin-bottom: 40px;
    }
    .page-mobile-access__content-grid .page-mobile-access__image {
        max-width: 100%;
    }
    .page-mobile-access__feature-grid,
    .page-mobile-access__troubleshooting-grid,
    .page-mobile-access__security-grid,
    .page-mobile-access__game-promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-mobile-access__card {
        padding: 25px;
    }
    .page-mobile-access__card-title {
        font-size: 1.3em;
    }
    .page-mobile-access__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-mobile-access__faq-answer {
        padding: 0 20px;
    }
    .page-mobile-access__faq-item.active .page-mobile-access__faq-answer {
        padding: 15px 20px 15px;
    }

    /* Mobile image responsiveness */
    .page-mobile-access img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-mobile-access__section,
    .page-mobile-access__card,
    .page-mobile-access__container,
    .page-mobile-access__content-grid,
    .page-mobile-access__feature-grid,
    .page-mobile-access__troubleshooting-grid,
    .page-mobile-access__security-grid,
    .page-mobile-access__game-promo-grid,
    .page-mobile-access__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    /* Specific adjustment for elements that might have negative margins or complex layouts */
    .page-mobile-access__container {
        padding-left: 0;
        padding-right: 0;
    }
    .page-mobile-access__hero-section .page-mobile-access__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure no image filters */
.page-mobile-access img {
    filter: none !important;
}

/* Color contrast enforcement */
.page-mobile-access__dark-bg {
  color: #ffffff; /* Deep dark background, so light text */
}

.page-mobile-access__light-bg {
  color: #333333; /* Light background, so dark text */
}

/* Card titles always brand color for visibility */
.page-mobile-access__card-title {
    color: #26A9E0;
}
.page-mobile-access__light-bg .page-mobile-access__card-title {
    color: #26A9E0; /* Ensure brand color stands out on light cards */
}

/* Ensure link colors are visible */
.page-mobile-access__link {
    color: #26A9E0;
}
.page-mobile-access__dark-bg .page-mobile-access__link {
    color: #26A9E0;
}
.page-mobile-access__light-bg .page-mobile-access__link {
    color: #26A9E0;
}

/* Buttons */
.page-mobile-access__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
}
.page-mobile-access__btn-secondary {
    background-color: #26A9E0; /* Brand color */
    color: #ffffff;
}