.page-download {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: var(--background-color, #FFFFFF);
}

/* --- Hero Section --- */
.page-download__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #f8f8f8;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
    overflow: hidden;
}

.page-download__hero-content {
    max-width: 800px;
    z-index: 1;
    margin-bottom: 40px;
}

.page-download__hero-title {
    font-size: 3.2em;
    color: #26A9E0;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-download__hero-description {
    font-size: 1.2em;
    color: #555555;
    margin-bottom: 30px;
}

.page-download__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-download__hero-image {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin-top: 40px;
    z-index: 0;
}

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

/* --- Shared container & section styles --- */
.page-download__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-download__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
}

.page-download__section-title--light {
    color: #FFFFFF;
}

.page-download__section-description {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-download__section-description--light {
    color: #f0f0f0;
}

.page-download__dark-section {
    background-color: #26A9E0;
    color: #FFFFFF;
    padding: 80px 0;
}

.page-download__text-center {
    text-align: center;
}

/* --- Video Section --- */
.page-download__video-section {
    padding: 80px 0;
    background-color: #26A9E0;
    color: #FFFFFF;
    overflow: hidden;
}

.page-download__video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 0 auto 30px auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-download__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

.page-download__video-cta {
    text-align: center;
    margin-top: 30px;
}

/* --- Features Section --- */
.page-download__features-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.page-download__feature-card {
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-download__feature-card:hover {
    transform: translateY(-5px);
}

.page-download__feature-icon {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-download__feature-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

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

/* --- Guide Section --- */
.page-download__guide-section {
    padding: 80px 0;
}

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

.page-download__guide-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-download__guide-icon-wrapper {
    width: 120px;
    height: 120px;
    background-color: #e0f2f7;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.page-download__guide-icon {
    width: 100%;
    height: auto;
    object-fit: contain;
    min-width: 200px;
    min-height: 200px;
}

.page-download__guide-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-download__guide-text {
    font-size: 1em;
    color: #444444;
    flex-grow: 1;
}

/* --- Game Experience Section --- */
.page-download__experience-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

.page-download__game-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-download__game-card:hover {
    transform: translateY(-5px);
}

.page-download__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-download__game-title {
    font-size: 1.4em;
    color: #26A9E0;
    padding: 15px;
    margin-bottom: 0;
}

.page-download__game-title a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-download__game-title a:hover {
    color: #1a7bb5;
}

.page-download__game-text {
    font-size: 0.95em;
    color: #444444;
    padding: 0 15px 15px;
    flex-grow: 1;
}

/* --- Security Section --- */
.page-download__security-section {
    padding: 80px 0;
}

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

.page-download__security-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-download__security-icon {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-download__security-title {
    font-size: 1.5em;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.page-download__security-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* --- FAQ Section --- */
.page-download__faq-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.page-download__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-download__faq-item {
    background-color: #f0f8ff;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-download__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e0f2f7;
    border-bottom: 1px solid #d0e8f0;
    transition: background-color 0.3s ease;
}

.page-download__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-download__faq-item summary:hover {
    background-color: #d0e8f0;
}

.page-download__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #26A9E0;
}

.page-download__faq-item[open] .page-download__faq-toggle {
    transform: rotate(45deg);
}

.page-download__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #444444;
    background-color: #f0f8ff;
}

/* --- CTA Section --- */
.page-download__cta-section {
    padding: 80px 0;
    text-align: center;
}

/* --- Buttons --- */
.page-download__btn-primary,
.page-download__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-download__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-download__btn-primary:hover {
    background-color: #1a7bb5;
    border-color: #1a7bb5;
    transform: translateY(-2px);
}

.page-download__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-download__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1a7bb5;
    transform: translateY(-2px);
}

.page-download__btn-primary--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

.page-download__btn-primary--small,
.page-download__btn-secondary--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-download__hero-title {
        font-size: 2.8em;
    }
    .page-download__section-title {
        font-size: 2em;
    }
    .page-download__hero-section {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-download__hero-title {
        font-size: 2.2em;
    }
    .page-download__hero-description {
        font-size: 1em;
    }
    .page-download__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-download__btn-primary,
    .page-download__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-download__section-title {
        font-size: 1.8em;
    }
    .page-download__section-description {
        font-size: 0.95em;
    }

    .page-download img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-download__hero-image,
    .page-download__feature-icon,
    .page-download__guide-icon,
    .page-download__game-image,
    .page-download__security-icon {
        min-width: unset !important;
        min-height: unset !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-download video,
    .page-download__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-download__video-section,
    .page-download__video-container,
    .page-download__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-download__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-download__container,
    .page-download__features-section,
    .page-download__guide-section,
    .page-download__experience-section,
    .page-download__security-section,
    .page-download__faq-section,
    .page-download__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-download__hero-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-download__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-download__faq-answer {
        padding: 15px 20px;
    }
}