/* style/app-download.css */
.page-app-download {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f5f5f5;
}

.page-app-download__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-app-download__hero-section {
    background: linear-gradient(135deg, #FFD700, #8B0000);
    color: #fff;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-app-download__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract_patterns,golden_red,gaming_theme]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-app-download__hero-section > .page-app-download__container {
    position: relative;
    z-index: 1;
}

.page-app-download__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-app-download__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #eee;
}

.page-app-download__download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.page-app-download__button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.page-app-download__button--primary {
    background-color: #FFD700;
    color: #8B0000;
    border: 2px solid #FFD700;
}

.page-app-download__button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-app-download__button--secondary {
    background-color: #8B0000;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-app-download__button--secondary:hover {
    background-color: #6a0000;
    transform: translateY(-3px);
}

.page-app-download__qr-code-wrapper {
    margin-top: 30px;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
}

.page-app-download__qr-code {
    width: 150px;
    height: 150px;
    border: 5px solid #fff;
    border-radius: 5px;
}

.page-app-download__qr-text {
    margin-top: 15px;
    font-size: 1em;
    color: #fff;
}

.page-app-download__section-title {
    font-size: 2.5em;
    color: #8B0000;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-app-download__why-download-section {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.page-app-download__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-app-download__feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-app-download__feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-app-download__feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    color: #8B0000;
}

.page-app-download__feature-title {
    font-size: 1.5em;
    color: #8B0000;
    margin-bottom: 10px;
}

.page-app-download__feature-text {
    font-size: 1em;
    color: #555;
}

.page-app-download__installation-guide-section {
    padding: 80px 0;
    background-color: #eee;
}

.page-app-download__tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 15px;
}

.page-app-download__tab-button {
    background-color: #fff;
    border: 2px solid #FFD700;
    color: #8B0000;
    padding: 12px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.page-app-download__tab-button:hover {
    background-color: #FFD700;
    color: #8B0000;
}

.page-app-download__tab-button--active {
    background-color: #FFD700;
    color: #8B0000;
    border-color: #FFD700;
}

.page-app-download__tab-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: none;
}

.page-app-download__tab-content--active {
    display: block;
}

.page-app-download__subsection-title {
    font-size: 2em;
    color: #8B0000;
    margin-bottom: 30px;
    text-align: center;
}

.page-app-download__guide-list {
    list-style: none;
    padding: 0;
    counter-reset: guide-counter;
    margin-bottom: 30px;
}

.page-app-download__guide-list li {
    margin-bottom: 20px;
    padding-left: 50px;
    position: relative;
    font-size: 1.1em;
    color: #333;
}

.page-app-download__guide-list li::before {
    content: counter(guide-counter);
    counter-increment: guide-counter;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #FFD700;
    color: #8B0000;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
}

.page-app-download__guide-list li p {
    margin: 0;
}

.page-app-download__guide-list li strong {
    color: #8B0000;
}

.page-app-download__guide-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-app-download__app-features-section {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.page-app-download__section-description {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-app-download__features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-app-download__feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-app-download__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-app-download__feature-card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    color: #8B0000;
}

.page-app-download__feature-card-title {
    font-size: 1.6em;
    color: #8B0000;
    margin-bottom: 15px;
}

.page-app-download__feature-card-text {
    font-size: 1em;
    color: #555;
}

.page-app-download__faq-section {
    padding: 80px 0;
    background-color: #eee;
}

.page-app-download__faq-item {
    background-color: #fff;
    margin-bottom: 20px;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-app-download__faq-question {
    font-size: 1.3em;
    color: #8B0000;
    margin-top: 0;
    margin-bottom: 15px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-app-download__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-app-download__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-app-download__faq-answer {
    font-size: 1em;
    color: #555;
    margin-bottom: 0;
    display: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease-out, max-height 0.4s ease-out;
}

.page-app-download__faq-answer.active {
    display: block;
    opacity: 1;
    max-height: 200px; /* Adjust as needed */
}

.page-app-download__related-guides-section {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.page-app-download__guide-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-app-download__guide-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-app-download__guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-app-download__guide-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-app-download__guide-card-title {
    font-size: 1.4em;
    color: #8B0000;
    margin-bottom: 10px;
}

.page-app-download__guide-card-title a {
    color: #8B0000;
    text-decoration: none;
}

.page-app-download__guide-card-title a:hover {
    text-decoration: underline;
    color: #FFD700;
}

.page-app-download__guide-card-description {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
}

.page-app-download__button--small {
    padding: 10px 25px;
    font-size: 0.9em;
    background-color: #FFD700;
    color: #8B0000;
    border: 1px solid #FFD700;
}

.page-app-download__button--small:hover {
    background-color: #e6c200;
}

.page-app-download__cta-section {
    background: linear-gradient(135deg, #8B0000, #FFD700);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-app-download__cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:geometric_pattern,dark_red,gold_accents]') no-repeat center center/cover;
    opacity: 0.15;
    z-index: 0;
}

.page-app-download__cta-section > .page-app-download__container {
    position: relative;
    z-index: 1;
}

.page-app-download__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-app-download__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #eee;
}

.page-app-download__button--large {
    padding: 18px 45px;
    font-size: 1.2em;
    margin-right: 20px;
    background-color: #FFD700;
    color: #8B0000;
    border: 2px solid #FFD700;
}

.page-app-download__button--large:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-app-download__button--outline {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-app-download__button--outline:hover {
    background-color: #FFD700;
    color: #8B0000;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-app-download__hero-title {
        font-size: 2.5em;
    }
    .page-app-download__section-title {
        font-size: 2em;
    }
    .page-app-download__cta-title {
        font-size: 2.2em;
    }
    .page-app-download__features-grid, .page-app-download__features-list, .page-app-download__guide-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-app-download__hero-section, .page-app-download__why-download-section, .page-app-download__installation-guide-section, .page-app-download__app-features-section, .page-app-download__faq-section, .page-app-download__related-guides-section, .page-app-download__cta-section {
        padding: 60px 0;
    }
    .page-app-download__hero-title {
        font-size: 2em;
    }
    .page-app-download__hero-description, .page-app-download__section-description, .page-app-download__cta-description {
        font-size: 1em;
    }
    .page-app-download__download-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-app-download__button, .page-app-download__button--large, .page-app-download__button--outline {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    .page-app-download__button--large {
        margin-bottom: 15px;
        margin-right: auto; /* Override previous margin-right */
    }
    .page-app-download__tab-button {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-app-download__tab-content {
        padding: 30px;
    }
    .page-app-download__subsection-title {
        font-size: 1.6em;
    }
    .page-app-download__guide-list li {
        padding-left: 40px;
        font-size: 1em;
    }
    .page-app-download__guide-list li::before {
        width: 30px;
        height: 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-app-download__hero-title {
        font-size: 1.8em;
    }
    .page-app-download__section-title {
        font-size: 1.8em;
    }
    .page-app-download__cta-title {
        font-size: 1.8em;
    }
    .page-app-download__qr-code {
        width: 120px;
        height: 120px;
    }
    .page-app-download__qr-text {
        font-size: 0.9em;
    }
    .page-app-download__features-grid, .page-app-download__features-list, .page-app-download__guide-cards {
        grid-template-columns: 1fr;
    }
    .page-app-download__button, .page-app-download__button--large, .page-app-download__button--outline {
        width: 90%;
    }
    .page-app-download__tab-button {
        font-size: 0.9em;
        padding: 8px 15px;
    }
    .page-app-download__tab-content {
        padding: 20px;
    }
    .page-app-download__faq-question {
        font-size: 1.1em;
    }
    .page-app-download__guide-card-title {
        font-size: 1.2em;
    }
}