.page {
    padding: 40px 0;
}

.block {
    margin-bottom: 50px;
}

.block h2 {
    color: #ffd700;
    font-size: 28px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

/* Сетка карточек */
.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Карточка файла */
.file-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(42, 42, 78, 0.6));
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.file-card:hover {
    transform: translateY(-3px);
    border-color: #ffd700;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.file-info h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 5px;
}

.file-info p {
    color: #aaa;
    font-size: 13px;
}

.btn {
    background: linear-gradient(135deg, #2a2a4e, #1a1a2e);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 8px 20px;
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
    transform: scale(1.02);
}

/* Инструкция */
.text {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.6), rgba(42, 42, 78, 0.4));
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.text p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.text ul {
    margin: 10px 0 20px 25px;
}

.text li {
    margin: 8px 0;
    line-height: 1.5;
}

.text strong {
    color: #ffd700;
}
/* Кнопка на главную */
.btn-home {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #2a2a4e, #1a1a2e);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-home:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
    transform: translateY(-2px);
}

.guide-steps {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.6), rgba(42, 42, 78, 0.4));
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.step:last-child {
    border-bottom: none;
}

.step-num {
    width: 32px;
    height: 32px;
    background: #ffd700;
    color: #0a0a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

.step-text {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.4;
}

.step-text strong {
    color: #ffd700;
}

.step-img {
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    background: #1a1a2e;
    padding: 5px;
}

/* Адаптив для мобилок - картинки под текст */
@media (max-width: 768px) {
    .step {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .step-num {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .step-text {
        font-size: 13px;
        text-align: center;
    }
    
    .step-img {
        display: block;
        margin: 0 auto;
    }
}

/* Адаптив */
@media (max-width: 768px) {
    .block h2 {
        font-size: 22px;
    }
    
    .files-grid {
        grid-template-columns: 1fr;
    }
    
    .file-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .text {
        padding: 15px;
    }
}