/* style/download-center.css */

/* Base styles for the page content wrapper */
.page-download-center {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text on light background for readability */
    background-color: #f8f9fa; /* Light background */
    counter-reset: step-counter;
}

/* Container for consistent content width */
.page-download-center__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-download-center__intro-text {
    font-size: 1.1em;
    color: #555555;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

/* Hero Section */
.page-download-center__hero {
    background: linear-gradient(135deg, #1A237E, #3F51B5); /* Gradient from main color to a lighter variant */
    color: #ffffff; /* White text on dark background */
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-download-center__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:abstract_pattern,gaming,xocdia88]'); /* Abstract gaming pattern */
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.page-download-center__hero > .page-download-center__container {
    position: relative;
    z-index: 1;
}

.page-download-center__title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFC107; /* Highlight title with auxiliary color */
    font-weight: bold;
}

.page-download-center__subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-download-center__download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.page-download-center__btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-download-center__btn i {
    margin-right: 10px;
    font-size: 1.2em;
}

.page-download-center__btn--primary {
    background-color: #FFC107; /* Auxiliary color for primary action */
    color: #1A237E; /* Main color for text on auxiliary background */
    border: 2px solid #FFC107;
}

.page-download-center__btn--primary:hover {
    background-color: #e5ac00; /* Darker auxiliary on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-download-center__btn--secondary {
    background-color: transparent;
    color: #FFC107; /* Auxiliary color for text */
    border: 2px solid #FFC107;
}

.page-download-center__btn--secondary:hover {
    background-color: #FFC107;
    color: #1A237E;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-download-center__qr-code {
    margin-top: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-download-center__qr-image {
    width: 150px;
    height: 150px;
    border: 5px solid #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.page-download-center__qr-text {
    margin-top: 15px;
    font-size: 1.1em;
    color: #ffffff;
}

/* General Section Styling */
.page-download-center__features,
.page-download-center__installation-guide,
.page-download-center__app-benefits,
.page-download-center__cta {
    padding: 60px 0;
    text-align: center;
}

.page-download-center__section-title {
    font-size: 2.2em;
    color: #1A237E; /* Main color for section titles */
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-download-center__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFC107; /* Auxiliary color for underline */
    border-radius: 2px;
}

/* Features Section */
.page-download-center__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-download-center__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-download-center__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-download-center__feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 5px rgba(26, 35, 126, 0.3)); /* Shadow based on main color */
}

.page-download-center__feature-title {
    font-size: 1.5em;
    color: #1A237E;
    margin-bottom: 15px;
}

.page-download-center__feature-description {
    color: #555555;
    font-size: 1em;
}

.page-download-center__cta-bottom {
    margin-top: 60px;
}

/* Installation Guide Section */
.page-download-center__installation-guide {
    background-color: #eef2f7; /* Light background for contrast */
}

.page-download-center__guide-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 15px;
}

.page-download-center__tab-btn {
    background-color: #d0d8e2;
    color: #1A237E;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    font-weight: bold;
}

.page-download-center__tab-btn:hover {
    background-color: #c0c8d2;
}

.page-download-center__tab-btn--active {
    background-color: #1A237E; /* Main color for active tab */
    color: #ffffff; /* White text on active tab */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-download-center__guide-content {
    display: none;
    text-align: left;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.page-download-center__guide-content--active {
    display: block;
}

.page-download-center__guide-title {
    font-size: 1.8em;
    color: #1A237E;
    margin-bottom: 25px;
}

.page-download-center__guide-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-download-center__guide-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-size: 1.1em;
    color: #444444;
}

.page-download-center__guide-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #FFC107; /* Auxiliary color for step numbers */
    color: #1A237E;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.9em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-download-center__guide-list li p {
    margin: 0;
}

.page-download-center__guide-list li a {
    color: #1A237E;
    text-decoration: underline;
    font-weight: bold;
}

.page-download-center__guide-list li a:hover {
    color: #FFC107;
}

.page-download-center__guide-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

/* App Benefits Section */
.page-download-center__app-benefits {
    background-color: #ffffff;
}

.page-download-center__benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-download-center__benefit-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.page-download-center__benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-download-center__benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    filter: drop-shadow(0 3px 3px rgba(255, 193, 7, 0.4)); /* Shadow based on auxiliary color */
}

.page-download-center__benefit-title {
    font-size: 1.4em;
    color: #1A237E;
    margin-bottom: 10px;
}

.page-download-center__benefit-description {
    color: #666666;
    font-size: 0.95em;
}

/* Call to Action Section */
.page-download-center__cta {
    background: linear-gradient(45deg, #1A237E, #3F51B5); /* Similar to hero, but different angle */
    color: #ffffff;
    padding: 80px 0;
}

.page-download-center__cta .page-download-center__section-title {
    color: #FFC107; /* Highlight title */
}

.page-download-center__cta .page-download-center__section-title::after {
    background-color: #ffffff; /* White underline */
}

.page-download-center__cta-text {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-download-center__btn--large {
    padding: 18px 40px;
    font-size: 1.25em;
    border-radius: 10px;
}

.page-download-center__register-prompt {
    margin-top: 30px;
    font-size: 1.1em;
}

.page-download-center__register-prompt .page-download-center__link {
    color: #FFC107;
    text-decoration: underline;
    font-weight: bold;
}

.page-download-center__register-prompt .page-download-center__link:hover {
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-download-center__title {
        font-size: 2em;
    }

    .page-download-center__subtitle {
        font-size: 1.1em;
    }

    .page-download-center__download-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-download-center__btn {
        width: 80%;
        margin: 0 auto;
    }

    .page-download-center__section-title {
        font-size: 1.8em;
    }

    .page-download-center__feature-grid,
    .page-download-center__benefits-list {
        grid-template-columns: 1fr;
    }

    .page-download-center__guide-content {
        padding: 30px 20px;
    }

    .page-download-center__guide-list li {
        font-size: 1em;
    }
    .page-download-center__intro-text {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .page-download-center__hero,
    .page-download-center__features,
    .page-download-center__installation-guide,
    .page-download-center__app-benefits,
    .page-download-center__cta {
        padding: 40px 0;
    }

    .page-download-center__title {
        font-size: 1.8em;
    }

    .page-download-center__subtitle {
        font-size: 1em;
    }

    .page-download-center__btn {
        font-size: 1em;
        padding: 12px 20px;
    }

    .page-download-center__qr-image {
        width: 120px;
        height: 120px;
    }

    .page-download-center__section-title {
        font-size: 1.6em;
    }

    .page-download-center__tab-btn {
        font-size: 1em;
        padding: 10px 18px;
    }

    .page-download-center__guide-title {
        font-size: 1.5em;
    }
    .page-download-center__intro-text {
        font-size: 0.95em;
    }
}