/* Основные стили страницы */
.download-page {
    max-width: 100%;
    margin: 0 auto;
    padding: 15px;
    color: #fff;
}

@media (max-width: 768px) {
    .download-hero {
        padding: 20px;
    }
    
    .app-icon {
        width: 80px;
        height: 80px;
    }
    
    .app-details h1 {
        font-size: 1.8em;
    }
    
    .screenshot-gallery img {
        height: 180px;
    }
    
    .download-button {
        padding: 12px 24px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .download-hero {
        padding: 15px;
    }
    
    .app-icon {
        width: 60px;
        height: 60px;
    }
    
    .app-details h1 {
        font-size: 1.5em;
    }
    
    .screenshot-gallery img {
        height: 150px;
    }
    
    .download-button {
        width: 100%;
        text-align: center;
    }
}

/* Герой-секция */
.download-hero {
    background-color: #222;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.app-presentation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.app-details h1 {
    font-size: 2.2em;
    margin: 0 0 10px;
    color: #ffcc00;
}

.app-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #bbb;
}

.app-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: #ddd;
    max-width: 600px;
}

/* Кнопка скачивания */
.download-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #ffcc00;
    color: #000;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
}

.download-button:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
}

.requirements {
    color: #bbb;
    font-size: 0.9em;
}

.requirements p {
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Галерея скриншотов */
.screenshot-section {
    margin-bottom: 50px;
}

.screenshot-section h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffcc00;
}

.screenshot-gallery {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 15px 0;
    scrollbar-width: thin;
    scrollbar-color: #ffcc00 #333;
}

.screenshot-gallery::-webkit-scrollbar {
    height: 8px;
}

.screenshot-gallery::-webkit-scrollbar-track {
    background: #333;
    border-radius: 10px;
}

.screenshot-gallery::-webkit-scrollbar-thumb {
    background-color: #ffcc00;
    border-radius: 10px;
}

.screenshot-gallery img {
    height: 250px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 1px solid #444;
}

/* Секция возможностей */
.features-section {
    margin-bottom: 50px;
}

.features-section h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffcc00;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.feature-card {
    background-color: #222;
    border-radius: 15px;
    padding: 25px;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.bg-purple { background-color: #6a3093; }
.bg-yellow { background-color: #ffcc00; color: #000; }
.bg-blue { background-color: #1e88e5; }

.feature-card h3 {
    font-size: 1.3em;
    margin: 0 0 10px;
    color: #fff;
}

.feature-card p {
    color: #bbb;
    line-height: 1.6;
    margin: 0;
}

/* Инструкция по установке */
.install-guide {
    background-color: #222;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
}

.install-guide h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffcc00;
}

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

.step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.step-number {
    background-color: #ffcc00;
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step p {
    margin: 0;
    color: #ddd;
    line-height: 1.6;
}

/* Адаптивность */
@media (max-width: 768px) {
    .app-presentation {
        flex-direction: column;
        text-align: center;
    }
    
    .app-details {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .app-meta {
        justify-content: center;
    }
    
    .screenshot-gallery img {
        height: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .download-hero {
        padding: 20px;
    }
    
    .screenshot-gallery img {
        height: 250px;
    }
    
    .download-button {
        width: 100%;
        justify-content: center;
    }
}